/* ===== base ===== */
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:112px}body{margin:0;background:#090a12;color:#f5f5fb;font:15px/1.5 "Space Grotesk",system-ui,sans-serif;overflow-x:hidden}
:root{--bg:#090a12;--fg:#f5f5fb;--accent:#a78bfa;--accent2:#32e6d0;--surface:#131522;--line:#ffffff20;--font:"Space Grotesk",sans-serif;--radius:22px;--cursor:#a78bfa}
button,a{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid var(--accent2);outline-offset:4px}
#cursor,#fx{position:fixed;inset:0;pointer-events:none;z-index:1000;overflow:hidden}.cursor-core{position:absolute;left:0;top:0;width:18px;height:18px;border:1px solid var(--cursor);border-radius:50%;transform:translate(-50%,-50%);mix-blend-mode:screen;transition:width .18s,height .18s,background .18s;box-shadow:0 0 18px color-mix(in srgb,var(--cursor),transparent 40%)}.cursor-core:after{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--cursor)}body.cursor-hover .cursor-core{width:38px;height:38px;background:color-mix(in srgb,var(--cursor),transparent 85%)}
.fxbit{position:absolute;left:0;top:0;transform:translate(-50%,-50%);animation:burst .75s ease-out forwards;will-change:transform,opacity;font-size:22px;color:var(--accent)}@keyframes burst{0%{opacity:1;transform:translate(-50%,-50%) scale(.4) rotate(0)}100%{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(1.4) rotate(150deg)}}
.topbar{position:sticky;top:0;z-index:100;display:flex;align-items:center;gap:16px;padding:14px clamp(16px,4vw,54px);background:#090a12d9;backdrop-filter:blur(18px);border-bottom:1px solid #ffffff12}.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.12em}.logo-mark{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--accent);color:var(--accent);font:700 17px var(--font);clip-path:polygon(0 0,100% 0,100% 72%,72% 100%,0 100%);box-shadow:inset 0 0 18px #a78bfa22}.brand small{display:block;color:#9698ac;letter-spacing:.22em;font-size:9px;font-weight:500}.topspacer{flex:1}.navbtn,.ghostbtn{border:1px solid #ffffff22;background:#ffffff08;color:#f5f5fb;border-radius:999px;padding:9px 14px;transition:.2s}.navbtn:hover,.ghostbtn:hover{border-color:var(--accent);background:#ffffff12}.tinylabel{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--accent)}
#hub{max-width:1450px;margin:auto;padding:clamp(30px,6vw,88px) clamp(16px,4vw,54px) 90px}.eyebrow{display:flex;align-items:center;gap:12px;color:var(--accent2);font-size:11px;letter-spacing:.26em;text-transform:uppercase}.eyebrow:before{content:"";width:34px;height:1px;background:currentColor}.hubhero{display:grid;grid-template-columns:1.15fr .85fr;gap:36px;align-items:center;padding:25px 0 54px}.hubhero h1{font-size:clamp(3.3rem,9vw,8.5rem);line-height:.88;letter-spacing:-.08em;margin:18px 0 24px;font-weight:700}.hubhero h1 span{display:block;color:transparent;-webkit-text-stroke:1px #ffffff90}.hubhero p{max-width:580px;color:#a5a8bd;font-size:clamp(15px,1.7vw,19px)}.hubhero .prompt{color:#fff;font-weight:700;margin-top:25px;letter-spacing:.01em}.heroart{min-height:350px;position:relative;display:grid;place-items:center;isolation:isolate}.orb{width:min(29vw,330px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 32% 25%,#fff 0,#b5a1ff 5%,#7d52e9 18%,#202045 48%,#0a0b15 70%);box-shadow:0 0 90px #815bff55,inset -35px -35px 60px #05060c;animation:float 6s ease-in-out infinite}.orbit{position:absolute;width:min(39vw,440px);aspect-ratio:1;border:1px solid #a78bfa55;border-radius:50%;transform:rotate(-24deg) scaleY(.35);animation:spin 16s linear infinite}.orbit.o2{transform:rotate(54deg) scaleY(.48);border-color:#32e6d055;animation-duration:23s}.orbit:after{content:"";position:absolute;top:50%;left:0;width:9px;height:9px;border-radius:50%;background:var(--accent2);box-shadow:0 0 20px var(--accent2)}.orb-caption{position:absolute;bottom:8%;right:4%;font:10px "Share Tech Mono";color:#a9a6c7;letter-spacing:.16em}.scrollhint{display:flex;align-items:center;gap:12px;color:#888ba3;font-size:11px;letter-spacing:.2em;text-transform:uppercase;margin:10px 0 25px}.scrollhint:before{content:"";width:30px;height:1px;background:#62647a}
@keyframes float{50%{transform:translateY(-12px) rotate(5deg)}}@keyframes spin{to{rotate:360deg}}
.sectionhead{display:flex;justify-content:space-between;gap:20px;align-items:end;margin:25px 0}.sectionhead h2{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.05em;margin:0}.sectionhead p{color:#999bb1;max-width:400px;margin:0}
.worldgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.world{position:relative;min-height:250px;border:1px solid var(--wline);border-radius:var(--wr,20px);background:var(--wbg);color:var(--wfg);padding:20px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;isolation:isolate;transition:transform .3s,border-color .3s;cursor:pointer}.world:hover{transform:translateY(-6px) rotate(var(--tilt,0deg));border-color:var(--wa)}.world:before{content:"";position:absolute;inset:0;background:var(--pattern);opacity:.7;z-index:-1;transition:transform .5s}.world:hover:before{transform:scale(1.15) rotate(4deg)}.world:after{content:"";position:absolute;width:140px;height:140px;right:-35px;top:42px;border:1px solid var(--wa);border-radius:var(--shape,50%);opacity:.6;box-shadow:0 0 50px color-mix(in srgb,var(--wa),transparent 75%);z-index:-1}.wtop{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.16em;opacity:.75}.wicon{font-size:35px;line-height:1;margin:18px 0 12px}.world h3{font:inherit;font-size:clamp(1.3rem,2vw,1.8rem);line-height:1.05;margin:0 0 8px;letter-spacing:-.04em}.world p{font-size:12px;opacity:.78;max-width:220px;margin:0}.wfoot{display:flex;align-items:center;justify-content:space-between;margin-top:22px;font-size:10px;letter-spacing:.12em;text-transform:uppercase}.arrow{width:30px;height:30px;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center;transition:transform .2s}.world:hover .arrow{transform:rotate(45deg)}
/* Each world has a different visual signature */
.w-modern{--wbg:#f3f4ff;--wfg:#17152b;--wa:#6c5ce7;--wline:#c9c8ed;--pattern:linear-gradient(135deg,#6c5ce722,transparent 50%),radial-gradient(circle at 75% 25%,#9ef5e5 0,transparent 33%);--wr:22px;--shape:38% 62% 52% 48%;--font:"Space Grotesk",sans-serif}
.w-elegant{--wbg:#f5ece4;--wfg:#392820;--wa:#a87850;--wline:#d8c4b2;--pattern:repeating-linear-gradient(90deg,transparent 0 32px,#a8785010 33px 34px);--wr:0;--font:"Cormorant Garamond",serif}
.w-hospital{--wbg:#e9fbfc;--wfg:#14394b;--wa:#0b9da8;--wline:#b7e5e7;--pattern:linear-gradient(135deg,#0b9da822,transparent),radial-gradient(circle at 70% 80%,#6cb7ff44,transparent 50%);--wr:20px;--font:"Nunito",sans-serif}
.w-salon{--wbg:#fff0f4;--wfg:#502238;--wa:#cf5d8a;--wline:#efc5d4;--pattern:radial-gradient(ellipse at 80% 10%,#f6c3d7,transparent 45%),linear-gradient(130deg,#fff,transparent);--wr:34px;--shape:50% 50% 12px 12px;--font:"Playfair Display",serif}
.w-illus{--wbg:#fff0ce;--wfg:#243b4a;--wa:#e76f51;--wline:#243b4a;--pattern:repeating-linear-gradient(-8deg,transparent 0 21px,#243b4a0b 22px 23px);--wr:26px 8px 30px 8px;--font:"Caveat",cursive}
.w-mandala{--wbg:#fff1d6;--wfg:#2a1f4d;--wa:#c8391f;--wline:#2a1f4d;--pattern:repeating-conic-gradient(from 0deg at 84% 20%,#0b7a7c24 0 11.25deg,transparent 11.25deg 22.5deg),repeating-radial-gradient(circle at 84% 20%,transparent 0 14px,#c8391f55 15px 16px,transparent 17px 26px),radial-gradient(circle at 84% 20%,#f2a516 0 11px,transparent 12px);--wr:34px 6px 34px 6px;--font:"Yatra One","DM Serif Display",serif}
.w-interior{--wbg:#e8e0d2;--wfg:#38382f;--wa:#788365;--wline:#c0ad93;--pattern:linear-gradient(135deg,#fff7 0 1px,transparent 1px 35px),radial-gradient(ellipse at 70% 15%,#b6bba0,transparent 45%);--wr:90px 90px 8px 8px;--shape:100px 100px 4px 4px;--font:"DM Serif Display",serif}
.w-arch{--wbg:#0d3768;--wfg:#e8f1ff;--wa:#8bbcff;--wline:#7da7d6;--pattern:linear-gradient(#ffffff18 1px,transparent 1px) 0 0/100% 20px,linear-gradient(90deg,#ffffff18 1px,transparent 1px) 0 0/20px 100%;--wr:0;--font:"Share Tech Mono",monospace}
.w-funny{--wbg:#ffe75e;--wfg:#2b1b3d;--wa:#ff4f87;--wline:#2b1b3d;--pattern:radial-gradient(circle at 80% 20%,#ff4f8766 0 12%,transparent 13%),radial-gradient(circle at 20% 85%,#31c9e055 0 20%,transparent 21%);--wr:25px;--tilt:-.5deg;--font:"Fredoka",sans-serif}
.w-kids{--wbg:#dff4ff;--wfg:#1d3b63;--wa:#ff7a1a;--wline:#1d3b63;--pattern:radial-gradient(circle at 80% 25%,#ff7a1a44 0 8%,transparent 9%),radial-gradient(circle at 70% 80%,#7ac94355 0 15%,transparent 16%);--wr:32px;--font:"Fredoka",sans-serif}
.w-auto{--wbg:#101114;--wfg:#f4f4f5;--wa:#e10600;--wline:#45454d;--pattern:repeating-linear-gradient(135deg,#ffffff05 0 8px,#ffffff11 9px 10px),linear-gradient(110deg,transparent 45%,#e1060028 46% 70%,transparent 71%);--wr:2px;--font:"Oswald",sans-serif}
.w-future{--wbg:#070914;--wfg:#d6f6ff;--wa:#00e5ff;--wline:#00e5ff88;--pattern:linear-gradient(#00e5ff10 1px,transparent 1px) 0 0/100% 22px,radial-gradient(circle at 70% 30%,#ff2bd633,transparent 50%);--wr:0;--font:"Orbitron",sans-serif}
.world .wname{font-family:var(--font)}
/* Full world overlay */
#worldView{position:fixed;inset:0;z-index:80;background:var(--bg);color:var(--fg);overflow:auto;display:none;--bg:#0a0b13;--fg:#f5f5fb;--accent:#a78bfa;--accent2:#32e6d0;--surface:#141522;--line:#ffffff22;--font:"Space Grotesk",sans-serif;--radius:20px}
#worldView{scroll-padding-top:84px}#worldView.open{display:block;animation:enter .55s cubic-bezier(.2,.8,.2,1)}@keyframes enter{from{clip-path:circle(0 at var(--cx,50%) var(--cy,50%));opacity:.7}to{clip-path:circle(150% at var(--cx,50%) var(--cy,50%));opacity:1}}
#worldView .worldnav{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px;padding:14px clamp(14px,4vw,52px);background:color-mix(in srgb,var(--bg),transparent 8%);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}#worldView .wbrand{font-family:var(--font);font-size:18px;letter-spacing:.12em}#worldView .wbrand small{display:block;font:10px "Share Tech Mono";letter-spacing:.22em;opacity:.7}#worldView .worldnav .push{flex:1}#worldView .wlinks{display:flex;gap:18px;align-items:center;font-size:12px}#worldView .wlinks a{opacity:.8}#worldView .wlinks a:hover{color:var(--accent)}
#worldView .whero{position:relative;min-height:500px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:32px;padding:clamp(30px,6vw,90px) clamp(16px,6vw,86px);overflow:hidden}#worldView .whero:before{content:"";position:absolute;inset:0;background:var(--hero-pattern,radial-gradient(circle at 75% 35%,color-mix(in srgb,var(--accent),transparent 72%),transparent 42%));pointer-events:none}#worldView .whero>*{position:relative}#worldView .kicker{font:10px "Share Tech Mono";letter-spacing:.25em;color:var(--accent2);text-transform:uppercase}#worldView h1{font-family:var(--font);font-size:clamp(3rem,7.5vw,7rem);line-height:.92;letter-spacing:-.07em;margin:18px 0 22px;font-weight:700}#worldView .lead{max-width:580px;color:color-mix(in srgb,var(--fg),transparent 24%);font-size:clamp(15px,1.5vw,19px)}#worldView .actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}#worldView .cta{padding:12px 18px;border:1px solid var(--accent);background:var(--accent);color:var(--btnfg,#090a12);border-radius:var(--radius);font-weight:700;transition:transform .2s,box-shadow .2s}#worldView .cta:hover{transform:translateY(-3px);box-shadow:0 8px 30px color-mix(in srgb,var(--accent),transparent 65%)}#worldView .cta.alt{background:transparent;color:var(--fg);border-color:var(--line)}#worldView .hero-object{min-height:300px;display:grid;place-items:center;position:relative}#worldView .hero-symbol{font-size:clamp(8rem,20vw,17rem);line-height:1;filter:drop-shadow(0 20px 40px color-mix(in srgb,var(--accent),transparent 50%));animation:float 5s ease-in-out infinite}#worldView .halo{position:absolute;width:min(32vw,370px);aspect-ratio:1;border:1px solid var(--accent);border-radius:var(--halo,50%);opacity:.6;transform:rotate(-25deg) scaleY(.55);box-shadow:0 0 45px color-mix(in srgb,var(--accent),transparent 80%)}#worldView .halo.h2{transform:rotate(60deg) scaleY(.38);border-color:var(--accent2);width:min(38vw,430px)}
#worldView .wsection{padding:clamp(30px,5vw,72px) clamp(16px,6vw,86px);border-top:1px solid var(--line)}#worldView .wsection h2{font:inherit;font-size:clamp(2rem,4.5vw,4rem);letter-spacing:-.06em;margin:0 0 12px}#worldView .wsub{color:color-mix(in srgb,var(--fg),transparent 35%);max-width:650px;margin:0 0 26px}#worldView .servicegrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}#worldView .service{border:1px solid var(--line);background:var(--surface);padding:22px;border-radius:var(--radius);min-height:180px}#worldView .service i{font-style:normal;font-size:27px}#worldView .service h3{font:inherit;font-size:18px;margin:20px 0 8px}#worldView .service p{font-size:13px;opacity:.7;margin:0}
#worldView .projectgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}#worldView .project{border:1px solid var(--line);background:var(--surface);padding:18px;border-radius:var(--radius);text-align:left;color:var(--fg);min-height:145px;transition:transform .2s,border-color .2s}#worldView .project:hover{transform:translateY(-4px);border-color:var(--accent)}#worldView .project .pico{font-size:30px;display:block;margin-bottom:14px}#worldView .project strong{display:block;font-size:15px}#worldView .project small{display:block;opacity:.65;margin-top:5px}
#worldView .lab{background:color-mix(in srgb,var(--surface),transparent 8%)}.labhead{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.labhead .wsub{margin:0}.appselect{min-width:220px;max-width:100%;background:var(--surface);color:var(--fg);border:1px solid var(--line);padding:10px 12px;border-radius:var(--radius)}.devices{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;align-items:start}.device{border:1px solid var(--line);background:#08090e;border-radius:22px;padding:10px;box-shadow:0 25px 70px #0003;min-width:0}.devicetop{display:flex;justify-content:space-between;gap:10px;color:#9ea1b8;font:10px "Share Tech Mono";padding:2px 5px 9px;letter-spacing:.12em}.desktopframe{height:650px;background:#fff;border-radius:12px;overflow:hidden}.desktopframe iframe{width:100%;height:100%;border:0;background:white}.phone-shell{width:100%;max-width:290px;margin:auto;border:3px solid #383b47;border-radius:34px;padding:8px;background:#090a0e;box-shadow:inset 0 0 0 1px #ffffff15}.phone-notch{height:15px;width:78px;background:#262832;border-radius:0 0 12px 12px;margin:-1px auto 5px;position:relative;z-index:2}.phone-screen{height:600px;border-radius:23px;overflow:hidden;background:#fff}.phone-screen iframe{width:100%;height:100%;border:0;background:white}.device-note{color:#9ea1b8;font-size:11px;margin:12px 3px 2px}.previewbar{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:10px}.previewbar button{font-size:11px;padding:6px 10px}.labnote{border:1px dashed var(--line);border-radius:var(--radius);padding:14px;margin-top:18px;color:color-mix(in srgb,var(--fg),transparent 30%);font-size:12px}
#worldView .contactgrid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}.contact-card{border:1px solid var(--line);border-radius:var(--radius);padding:25px;background:var(--surface)}.person{padding:14px 0;border-bottom:1px solid var(--line)}.person:last-child{border-bottom:0}.person small{display:block;opacity:.65;margin-bottom:3px}.person strong{font-size:19px}.person a{color:var(--accent2);display:inline-block;margin-top:5px}.footer{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:25px clamp(16px,6vw,86px);font-size:11px;opacity:.6;border-top:1px solid var(--line)}
/* Theme variants of the immersive world */
#worldView.theme-elegant{--bg:#f7f0e9;--fg:#3b2c27;--accent:#9c6b57;--accent2:#b89458;--surface:#efe2d7;--line:#cdb6a3;--font:"Cormorant Garamond",serif;--radius:0px;--hero-pattern:linear-gradient(90deg,transparent 0 72%,#9c6b5710 72% 72.2%,transparent 72.2%);--halo:0}
#worldView.theme-hospital{--bg:#effbfc;--fg:#15394a;--accent:#0b95a6;--accent2:#2f7de1;--surface:#fff;--line:#bfe3e7;--font:"Nunito",sans-serif;--radius:16px;--btnfg:#fff}
#worldView.theme-salon{--bg:#fff0f3;--fg:#4a2230;--accent:#d4607c;--accent2:#e9b7a2;--surface:#fff;--line:#f1c9d1;--font:"Playfair Display",serif;--radius:28px;--hero-pattern:radial-gradient(ellipse at 75% 30%,#e9b7a255,transparent 48%);--halo:50% 50% 18px 18px;--btnfg:#fff}
#worldView.theme-illus{--bg:#fdf3dc;--fg:#243b4a;--accent:#e76f51;--accent2:#2a9d8f;--surface:#fffdf6;--line:#243b4a;--font:"Caveat",cursive;--radius:25px 8px 25px 8px;--hero-pattern:repeating-linear-gradient(-7deg,transparent 0 25px,#243b4a0a 26px 27px);--btnfg:#fff}
#worldView.theme-mandala{--bg:#fff4e0;--fg:#2a1f4d;--accent:#c8391f;--accent2:#0b7a7c;--surface:#fffaf0;--line:#2a1f4d38;--font:"Nunito",sans-serif;--radius:14px;--hero-pattern:none;--btnfg:#2a1f4d}
#worldView.theme-interior{--bg:#ece5d9;--fg:#38372f;--accent:#66765a;--accent2:#b08560;--surface:#f7f2ea;--line:#b0856066;--font:"DM Serif Display",serif;--radius:60px 60px 6px 6px;--hero-pattern:radial-gradient(ellipse at 80% 25%,#b9bca5,transparent 45%);--btnfg:#fff}
#worldView.theme-arch{--bg:#0d3b6e;--fg:#e8f1ff;--accent:#fff;--accent2:#8bbcff;--surface:#0d3b6e;--line:#ffffff55;--font:"Share Tech Mono",monospace;--radius:0;--hero-pattern:linear-gradient(#ffffff14 1px,transparent 1px) 0 0/100% 30px,linear-gradient(90deg,#ffffff14 1px,transparent 1px) 0 0/30px 100%;--btnfg:#0d3b6e}
#worldView.theme-funny{--bg:#ffe45e;--fg:#2b1b3d;--accent:#ff5d8f;--accent2:#3ec6e0;--surface:#fff;--line:#2b1b3d;--font:"Fredoka",sans-serif;--radius:22px;--hero-pattern:radial-gradient(circle at 75% 25%,#ff5d8f44 0 12%,transparent 13%);--btnfg:#2b1b3d}
#worldView.theme-kids{--bg:#dff4ff;--fg:#1d3b63;--accent:#ff7a1a;--accent2:#7ac943;--surface:#fff;--line:#1d3b63;--font:"Fredoka",sans-serif;--radius:30px;--hero-pattern:radial-gradient(circle at 80% 20%,#ff7a1a33 0 12%,transparent 13%),radial-gradient(circle at 20% 90%,#7ac94344 0 18%,transparent 19%);--btnfg:#fff}
#worldView.theme-auto{--bg:#0e0e10;--fg:#f2f2f2;--accent:#e10600;--accent2:#ffb400;--surface:#1a1a1d;--line:#3a3a40;--font:"Oswald",sans-serif;--radius:0;--hero-pattern:repeating-linear-gradient(135deg,#ffffff05 0 8px,#ffffff10 8px 9px);--btnfg:#fff}
#worldView.theme-future{--bg:#06070f;--fg:#d6f6ff;--accent:#00e5ff;--accent2:#ff2bd6;--surface:#0d1124;--line:#00e5ff66;--font:"Orbitron",sans-serif;--radius:0;--hero-pattern:linear-gradient(#00e5ff10 1px,transparent 1px) 0 0/100% 28px,radial-gradient(circle at 80% 15%,#ff2bd633,transparent 42%);--btnfg:#06070f}
#worldView.theme-modern{--bg:#f5f6fb;--fg:#14142b;--accent:#5b4ff5;--accent2:#10b8a6;--surface:#fff;--line:#dcdff0;--font:"Space Grotesk",sans-serif;--radius:18px;--hero-pattern:radial-gradient(circle at 75% 30%,#10b8a622,transparent 42%);--btnfg:#fff}
#worldView.theme-funny .whero h1{transform:rotate(-2deg);text-shadow:3px 3px 0 color-mix(in srgb,var(--accent),transparent 60%)}#worldView.theme-auto .whero h1{text-transform:uppercase;font-style:italic}#worldView.theme-illus .service:nth-child(odd){transform:rotate(-1deg)}#worldView.theme-illus .service:nth-child(even){transform:rotate(1deg)}
#worldView .worldnav .ghostbtn{flex:none;white-space:nowrap}
@media(max-width:1050px){#worldView .wlinks{display:none}.worldgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.servicegrid,.projectgrid{grid-template-columns:repeat(2,1fr)}.devices{grid-template-columns:minmax(0,1fr) 280px}.hubhero{grid-template-columns:1fr .7fr}.wlinks{display:none}}
@media(max-width:760px){.topbar{padding:11px 14px}.topbar .navbtn{display:none}.hubhero{grid-template-columns:1fr;padding-top:8px}.heroart{min-height:220px;grid-row:1}.orb{width:160px}.orbit{width:220px}.orbit.o2{width:260px}.orb-caption{bottom:0;right:10%}.hubhero h1{font-size:clamp(3.1rem,16vw,5.7rem)}.worldgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.world{min-height:225px;padding:15px}.sectionhead{align-items:start;flex-direction:column}.sectionhead p{font-size:13px}#worldView .worldnav{padding:12px 14px}#worldView .whero{grid-template-columns:1fr;min-height:0;padding:45px 18px 35px;gap:8px}#worldView .hero-object{min-height:200px;grid-row:1}#worldView .hero-symbol{font-size:8rem}#worldView .halo{width:200px}#worldView .halo.h2{width:240px}#worldView .whero h1{font-size:clamp(3rem,15vw,5rem)}#worldView .servicegrid,#worldView .projectgrid{grid-template-columns:repeat(2,minmax(0,1fr))}#worldView .service{padding:16px;min-height:160px}#worldView .labhead{align-items:start;flex-direction:column}.devices{grid-template-columns:1fr}.desktopframe{height:520px}.phone-shell{max-width:310px}.phone-screen{height:580px}.contactgrid{grid-template-columns:1fr!important}.footer{padding:20px 18px}#worldView .wbrand small{display:none}}
@media(max-width:420px){.worldgrid{grid-template-columns:1fr 1fr}.world{min-height:210px;padding:12px}.world h3{font-size:1.25rem}.world p{font-size:11px}.wicon{font-size:28px}.wfoot{font-size:9px}.servicegrid,.projectgrid{grid-template-columns:1fr!important}.desktopframe{height:460px}.phone-screen{height:550px}}
@media(pointer:coarse){#cursor{display:none}.world{cursor:pointer}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* DEVOCRAT v2: stronger legibility, new landing identity and action feedback */
.topbar{background:rgba(7,7,10,.94);border-bottom:1px solid #d1a92a55;box-shadow:0 8px 40px #0005}
#hub{max-width:none;padding:0 clamp(18px,5vw,76px) 100px;background:radial-gradient(ellipse at 80% 12%,#332719 0,transparent 32%),linear-gradient(135deg,#09090b,#101016 60%,#17120b)}
.hubhero{min-height:calc(100svh - 86px);grid-template-columns:1fr 1fr;gap:clamp(20px,5vw,80px);padding:clamp(38px,7vh,90px) 0 50px;position:relative}
.hubhero:after{content:'THE JOINT FAMILY  /  DESIGN × CODE × EXPERIENCE';position:absolute;bottom:24px;left:0;color:#d6b84d99;font:10px 'Share Tech Mono',monospace;letter-spacing:.2em}
.hubhero h1{font-family:'DM Serif Display',serif;font-size:clamp(3.4rem,8vw,8.4rem);letter-spacing:-.045em;line-height:.88;color:#f4eee1}.hubhero h1 span{-webkit-text-stroke:1px #d1a92a;color:transparent}.hubhero p{color:#c5c0b6}.hubhero .prompt{display:inline-flex;padding:14px 18px;border:1px solid #d1a92a;border-radius:2px;background:#d1a92a12;color:#f5e9c7;letter-spacing:.03em}
.eyebrow{color:#d1a92a}.eyebrow:before{width:46px;height:2px}.heroart{min-height:clamp(300px,48vw,570px)}.orb{width:min(34vw,390px);background:radial-gradient(circle at 34% 25%,#fff5d6 0,#d7b33b 8%,#9b671e 24%,#29201b 52%,#07070b 72%);box-shadow:0 0 100px #d1a92a45,inset -35px -35px 60px #05060c}.orbit{border-color:#d1a92a88}.orbit.o2{border-color:#eee2c755}.orb-caption{color:#e7d9a9}
.worldgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}.world{min-width:0;min-height:260px;padding:clamp(16px,2vw,25px);color:var(--wfg)!important;background-color:var(--wbg);border:1px solid var(--wline);text-shadow:none}.world .wtop,.world .wfoot,.world h3,.world p,.world .wicon{position:relative;z-index:2;opacity:1;overflow-wrap:anywhere}.world h3{font-family:var(--wfont,inherit);font-size:clamp(1.25rem,1.8vw,1.9rem);line-height:1.12;color:var(--wfg)!important;text-shadow:0 1px 0 #00000012}.world p{font-size:13px;line-height:1.45;color:var(--wfg)!important;opacity:.9;max-width:100%}.world .wtop{font-size:10px;letter-spacing:.12em;color:var(--wfg)!important;opacity:.82}.world .wfoot{font-size:10px;color:var(--wfg)!important;letter-spacing:.1em}.world .arrow{flex:0 0 32px;width:32px;height:32px}.world:before{z-index:0;opacity:.5}.world:after{z-index:0}.world:hover{transform:translateY(-5px) scale(1.012)}
#worldView .worldnav .ghostbtn,#worldView button,#worldView .project,.navbtn,.ghostbtn,.cta{position:relative;overflow:hidden;isolation:isolate}
/* Fixed roaming mascot stays in viewport during page and world scrolling. */
#patrolBuddy{position:fixed;z-index:990;right:18px;bottom:22px;width:76px;height:112px;pointer-events:none;filter:drop-shadow(0 0 16px #d1a92a55);animation:buddyPatrol 18s ease-in-out infinite}
#patrolBuddy svg{width:100%;height:100%;overflow:visible}#patrolBuddy .buddy-glow{animation:buddyPulse 2.5s ease-in-out infinite;transform-origin:50% 50%}
@keyframes buddyPatrol{0%,100%{right:18px;bottom:22px;transform:rotate(-3deg)}20%{right:24px;bottom:30px;transform:rotate(3deg)}45%{right:calc(100vw - 104px);bottom:25px;transform:scaleX(-1) rotate(-2deg)}70%{right:calc(100vw - 104px);bottom:calc(100vh - 145px);transform:scaleX(-1) rotate(2deg)}90%{right:18px;bottom:calc(100vh - 145px);transform:rotate(0)}}
@keyframes buddyPulse{50%{opacity:.35;transform:scale(1.1)}}
#cursorCore{transition:border-radius .15s, width .15s,height .15s;will-change:left,top}body.cursor-hover .cursor-core{width:44px;height:44px}
@media(max-width:900px){.worldgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.hubhero{grid-template-columns:1fr}.heroart{min-height:300px}.orb{width:min(55vw,300px)}#patrolBuddy{width:58px;height:88px;right:8px;bottom:12px}}
@media(max-width:560px){.worldgrid{grid-template-columns:1fr}.world{min-height:220px}.topbar{gap:8px;padding:10px 12px}.brand>span:last-child{width:130px;height:42px}.topbar .navbtn,.topbar .ghostbtn{font-size:11px;padding:8px}.hubhero h1{font-size:clamp(3.3rem,17vw,5.5rem)}#patrolBuddy{opacity:.82}}


/* V4 — genuinely themed world particles; text-safe decorative layer */
#themeObjects{position:fixed;inset:0;z-index:85;pointer-events:none;overflow:hidden;display:none;contain:strict}
body.world-open #themeObjects{display:block}
.theme-pop{position:absolute;left:var(--x);top:var(--y);font-size:var(--size,32px);line-height:1;opacity:0;filter:drop-shadow(0 5px 9px #0002);transform:translate(-50%,30px) rotate(var(--rot,-12deg)) scale(.35);animation:themePop var(--life,1500ms) cubic-bezier(.2,.85,.25,1) forwards;will-change:transform,opacity;user-select:none}
@keyframes themePop{0%{opacity:0;transform:translate(-50%,45px) rotate(var(--rot,-12deg)) scale(.25)}18%{opacity:.82;transform:translate(-50%,-12px) rotate(8deg) scale(1.12)}35%{opacity:.78;transform:translate(-50%,-25px) rotate(-5deg) scale(1)}70%{opacity:.55;transform:translate(-50%,-70px) rotate(12deg) scale(.88)}100%{opacity:0;transform:translate(-50%,-120px) rotate(24deg) scale(.55)}}
/* ===== MANDALA — "Rangoli": ivory ground, block-print colour, real radial geometry ===== */
body[data-active-world="mandala"] #cursorCore{width:22px!important;height:22px!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;transform:translate(-50%,-50%)!important}
body[data-active-world="mandala"] #cursorCore:before{content:"✺";position:absolute;inset:-4px;display:grid;place-items:center;color:#c8391f;font:22px/1 serif;text-shadow:1px 1px 0 #fff4e0}
body[data-active-world="mandala"] #cursorCore:after{inset:8px!important;border-radius:50%;background:#f2a516!important;box-shadow:0 0 0 1.5px #2a1f4d}
.world.w-mandala{border:2px solid #2a1f4d;box-shadow:5px 5px 0 #f2a516}.world.w-mandala .wicon{color:#c8391f}.world.w-mandala:hover{border-color:#c8391f}
#worldView.theme-mandala{background-color:#fff4e0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%232a1f4d' stroke-opacity='.09' stroke-width='1.2'%3E%3Ccircle cx='48' cy='48' r='6'/%3E%3Ccircle cx='48' cy='48' r='16'/%3E%3Cpath d='M48 24L72 48L48 72L24 48Z'/%3E%3Cpath d='M0 0L12 12M96 0L84 12M0 96L12 84M96 96L84 84'/%3E%3C/g%3E%3Cg fill='%23c8391f' fill-opacity='.10'%3E%3Ccircle cx='48' cy='48' r='2.4'/%3E%3Ccircle cx='0' cy='0' r='3'/%3E%3Ccircle cx='96' cy='0' r='3'/%3E%3Ccircle cx='0' cy='96' r='3'/%3E%3Ccircle cx='96' cy='96' r='3'/%3E%3C/g%3E%3C/svg%3E");background-size:96px 96px;color:#2a1f4d;font-family:"Nunito",system-ui,sans-serif}
#worldView.theme-mandala h1,#worldView.theme-mandala h2,#worldView.theme-mandala .wbrand,#worldView.theme-mandala .service h3,#worldView.theme-mandala .project strong,#worldView.theme-mandala .person strong{font-family:"Yatra One","DM Serif Display",Georgia,serif;font-weight:400;letter-spacing:0}
#worldView.theme-mandala h1{font-size:clamp(2.7rem,6vw,5.2rem);line-height:1.06;color:#2a1f4d;text-shadow:3px 3px 0 #f2a51666}
/* nav */
#worldView.theme-mandala .worldnav{background:#fff4e0f2;border-bottom:2px solid #2a1f4d;box-shadow:0 4px 0 #f2a51655}
#worldView.theme-mandala .wbrand{font-size:19px;letter-spacing:.06em;color:#2a1f4d}
#worldView.theme-mandala .wbrand small{font:800 9px "Nunito",sans-serif;letter-spacing:.22em;color:#c8391f;opacity:1}
#worldView.theme-mandala .wlinks a{font-weight:700;color:#2a1f4d;opacity:1}
#worldView.theme-mandala .worldnav .ghostbtn{background:transparent;color:#2a1f4d;border:2px solid #2a1f4d}
#worldView.theme-mandala .worldnav .ghostbtn:hover{background:#f2a516;border-color:#2a1f4d}
/* hero */
#worldView.theme-mandala .whero:before{background:radial-gradient(circle at 76% 48%,#f2a51640 0,transparent 44%),radial-gradient(circle at 8% 92%,#0b7a7c1f 0,transparent 38%),radial-gradient(circle at 96% 6%,#c8391f1f 0,transparent 30%)}
#worldView.theme-mandala .kicker{font:800 11px/1 "Nunito",sans-serif;letter-spacing:.22em;color:#c8391f}
#worldView.theme-mandala .kicker:before{content:"✺ "}
#worldView.theme-mandala .lead{color:#4a3d78;font-weight:500}
#worldView.theme-mandala .cta{background:#f2a516;color:#2a1f4d;border:2px solid #2a1f4d;border-radius:999px;box-shadow:4px 4px 0 #2a1f4d;font-weight:800}
#worldView.theme-mandala .cta:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 #2a1f4d}
#worldView.theme-mandala .cta.alt{background:#fffaf0;color:#2a1f4d;border-color:#2a1f4d}
#worldView.theme-mandala .hero-object{min-height:0}
#worldView.theme-mandala .mnd{display:block;width:min(100%,540px);height:auto;overflow:visible;filter:drop-shadow(10px 10px 0 #f2a51659)}
#worldView.theme-mandala .mnd .s1,#worldView.theme-mandala .mnd .s2,#worldView.theme-mandala .mnd .s3,#worldView.theme-mandala .mnd .s4{transform-box:view-box;transform-origin:0 0}
#worldView.theme-mandala .mnd .s1{animation:mndSpin 140s linear infinite}#worldView.theme-mandala .mnd .s2{animation:mndSpin 100s linear infinite reverse}
#worldView.theme-mandala .mnd .s3{animation:mndSpin 75s linear infinite}#worldView.theme-mandala .mnd .s4{animation:mndSpin 55s linear infinite reverse}
@keyframes mndSpin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#worldView.theme-mandala .mnd *{animation:none!important}}
/* sections */
#worldView.theme-mandala .wsection{position:relative;border-top:0;padding-top:clamp(44px,6vw,84px)}
#worldView.theme-mandala .wsection:before{content:"";position:absolute;left:0;right:0;top:0;height:10px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10' viewBox='0 0 24 10'%3E%3Cpath d='M12 1L19 5L12 9L5 5Z' fill='none' stroke='%23c8391f' stroke-width='1'/%3E%3Ccircle cx='0' cy='5' r='1.4' fill='%232a1f4d'/%3E%3Ccircle cx='24' cy='5' r='1.4' fill='%232a1f4d'/%3E%3C/svg%3E") repeat-x center}
#worldView.theme-mandala .wsection h2{font-size:clamp(2rem,4.2vw,3.5rem);line-height:1.08;margin-bottom:6px;color:#2a1f4d}
#worldView.theme-mandala .wsection h2:after{content:"";display:block;width:180px;height:14px;margin:14px 0 4px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='14' viewBox='0 0 180 14'%3E%3Cpath d='M0 7H70M110 7H180' stroke='%23c8391f' stroke-width='1.5'/%3E%3Cpath d='M90 0L97 7L90 14L83 7Z' fill='%23f2a516' stroke='%232a1f4d'/%3E%3Ccircle cx='76' cy='7' r='2.2' fill='%230b7a7c'/%3E%3Ccircle cx='104' cy='7' r='2.2' fill='%230b7a7c'/%3E%3C/svg%3E") no-repeat left center/contain}
#worldView.theme-mandala .wsub{color:#4a3d78}
/* cards */
#worldView.theme-mandala .service,#worldView.theme-mandala .project,#worldView.theme-mandala .contact-card{--c:#f2a516;--ic:#2a1f4d;position:relative;background:#fffaf0;color:#2a1f4d;border:2px solid #2a1f4d;border-radius:44px 6px 44px 6px;box-shadow:6px 6px 0 var(--c);outline:1px solid #2a1f4d38;outline-offset:-9px}
#worldView.theme-mandala .service,#worldView.theme-mandala .project{padding:28px 24px}
#worldView.theme-mandala .servicegrid>:nth-child(4n+2),#worldView.theme-mandala .projectgrid>:nth-child(4n+2){--c:#c8391f;--ic:#fff4e0}
#worldView.theme-mandala .servicegrid>:nth-child(4n+3),#worldView.theme-mandala .projectgrid>:nth-child(4n+3){--c:#0b7a7c;--ic:#fff4e0}
#worldView.theme-mandala .servicegrid>:nth-child(4n+4),#worldView.theme-mandala .projectgrid>:nth-child(4n+4){--c:#b3205e;--ic:#fff4e0}
#worldView.theme-mandala .contact-card{--c:#0b7a7c;padding:30px}
#worldView.theme-mandala .service i,#worldView.theme-mandala .project .pico{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--c);color:var(--ic);border:2px solid #2a1f4d;font-size:24px;margin-bottom:0}
#worldView.theme-mandala .service h3{font-size:21px;margin:18px 0 8px}
#worldView.theme-mandala .project strong{font-size:17px}
#worldView.theme-mandala .service p,#worldView.theme-mandala .project small{opacity:1;color:#4a3d78}
#worldView.theme-mandala .project:hover{transform:translate(-3px,-3px);box-shadow:9px 9px 0 var(--c);border-color:#2a1f4d}
#worldView.theme-mandala .person{border-bottom:1px dashed #2a1f4d55}
#worldView.theme-mandala .person small{opacity:1;color:#c8391f;font-weight:800;letter-spacing:.12em}
#worldView.theme-mandala .person a{color:#0b6b6d;font-weight:800;border-bottom:2px solid #f2a516}
/* virtual lab */
#worldView.theme-mandala .lab{background:#fbe5c0}
#worldView.theme-mandala .appselect{background:#fffaf0;color:#2a1f4d;border:2px solid #2a1f4d;border-radius:999px;font-weight:700}
#worldView.theme-mandala .device{background:#2a1f4d;border:2px solid #2a1f4d;border-radius:28px;box-shadow:8px 8px 0 #0b7a7c}
#worldView.theme-mandala .devicetop{color:#f0dfba}#worldView.theme-mandala .tinylabel{color:#f2a516}#worldView.theme-mandala .device-note{color:#e8d9b5}
#worldView.theme-mandala .phone-shell{background:#171030;border-color:#6a5bb3}
#worldView.theme-mandala .labnote{border:2px dashed #2a1f4d66;color:#4a3d78;background:#fffaf0}
/* footer */
#worldView.theme-mandala .footer{opacity:1;background:#2a1f4d;color:#fff4e0;border-top:4px double #f2a516}

/* ===== devocrat-universe-css ===== */
/* ===== DEVOCRAT Universe: galaxy intro + 12-planet home ===== */
:root{--cursor:#d4ad35;--logo:url("../images/logo.png")}
html,body{height:100%;overflow:hidden}
body{background:#02030a}
/* On mouse devices the custom cursor replaces the normal pointer — but only while the custom one is
   actually showing (body.m-cursor-on is set by js/motion.js on real mouse movement). If it isn't
   running for any reason (pen, touch, script blocked, window not focused), the normal pointer stays. */
@media (hover:hover) and (pointer:fine){body.m-cursor-on,body.m-cursor-on *,body.m-cursor-on *::before,body.m-cursor-on *::after{cursor:none!important}}
@media (hover:none),(pointer:coarse){#cursor{display:none!important}}

#universe{position:fixed;inset:0;z-index:1;overflow:hidden;background:#02030a;color:#f4eee1;transition:opacity .5s}
.uni-loading{position:absolute;left:50%;top:50%;z-index:2;margin:0;transform:translate(-50%,-50%);font:12px/1 "Share Tech Mono",monospace;letter-spacing:.3em;text-transform:uppercase;color:#d4ad35;animation:uniPulse 1.6s ease-in-out infinite}
@keyframes uniPulse{50%{opacity:.35}}
.nojs-msg{position:absolute;inset:0;z-index:5;display:grid;place-content:center;gap:20px;padding:24px 16px;text-align:center;background:#02030a;color:#e9e1cf;font:15px/1.6 system-ui,sans-serif}
.nojs-msg p{max-width:420px;margin:0 auto}.nojs-msg .w-logo{width:min(80vw,420px);margin:0 auto}
html.js .nojs-msg{display:none}
#universe.away{visibility:hidden;opacity:0}
#uniCanvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}
#universe.dragging #uniCanvas{cursor:grabbing}

/* Intro wording */
.intro{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;padding:16px;text-align:center}
.intro::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 62% 44% at 50% 50%,rgba(1,2,8,.82),rgba(1,2,8,.45) 58%,rgba(1,2,8,0) 82%);opacity:0;transition:opacity 1s ease}
.intro.dim::before{opacity:1}
.intro-line{position:relative}
.intro-line{grid-area:1/1;margin:0;opacity:0;filter:blur(18px);transform:scale(1.18);transition:opacity 1.1s ease,filter 1.1s ease,transform 1.4s cubic-bezier(.2,.8,.2,1),letter-spacing 1.4s ease}
.intro-line.in{opacity:1;filter:blur(0);transform:scale(1)}
.intro-line.out{opacity:0;filter:blur(14px);transform:scale(.92) translateY(-14px);transition-duration:.9s,.9s,1s,1s}
.intro-hoi{font:800 clamp(4.2rem,15vw,10rem)/1 "Orbitron",sans-serif;letter-spacing:.08em;padding-left:.08em;color:#fff;text-shadow:0 3px 8px #000,0 0 30px #000,0 0 60px #000c,0 0 90px #d4ad3555}
.intro-hoi.out{letter-spacing:.35em}
.intro-welcome{display:flex;flex-direction:column;align-items:center;gap:clamp(10px,2vw,18px)}
.intro-welcome .w-to,.intro-welcome .w-uni{font:600 clamp(1.3rem,3vw,2.4rem)/1 "Josefin Sans",sans-serif;letter-spacing:.32em;text-transform:uppercase;color:#fff;padding-left:.32em;text-shadow:0 2px 6px #000,0 0 26px #000,0 0 50px #000c}
.intro-welcome .w-uni{letter-spacing:.5em;padding-left:.5em;color:#f2c94c;text-shadow:0 2px 6px #000,0 0 24px #000,0 0 34px #d4ad3566}
.w-logo{display:block;width:min(88vw,780px);aspect-ratio:900/115;background:var(--logo) center/contain no-repeat;filter:drop-shadow(0 3px 4px #000) drop-shadow(0 0 26px #000) drop-shadow(0 0 34px #d4ad3566)}

/* Planet label (hover / tap / focus) */
.planet-label{position:absolute;left:0;top:0;z-index:3;min-width:190px;max-width:260px;padding:12px 16px 13px;border:1px solid color-mix(in srgb,var(--pl,#d4ad35),transparent 35%);border-radius:14px;background:#070912d9;backdrop-filter:blur(10px);box-shadow:0 0 0 1px #0006,0 14px 40px #000a,0 0 30px color-mix(in srgb,var(--pl,#d4ad35),transparent 75%);pointer-events:none;transform:translate(-50%,calc(-100% - 14px));opacity:0;transition:opacity .2s}
.planet-label.show{opacity:1}
.planet-label small{display:block;font:10px/1 "Share Tech Mono",monospace;letter-spacing:.24em;color:var(--pl,#d4ad35)}
.planet-label strong{display:block;margin:7px 0 4px;font:400 1.55rem/1.05 "DM Serif Display",Georgia,serif;color:#fff}
.planet-label span{display:block;font-size:12.5px;line-height:1.4;color:#c9cbe0}
.planet-label em{display:block;margin-top:9px;font:normal 10px/1 "Share Tech Mono",monospace;letter-spacing:.18em;text-transform:uppercase;color:var(--pl,#d4ad35)}
.planet-label.below{transform:translate(-50%,14px)}
.planet-label.side{transform:none}

/* Bottom hint */
.uni-hint{position:absolute;left:50%;bottom:max(18px,env(safe-area-inset-bottom));z-index:2;width:max-content;max-width:calc(100% - 32px);margin:0;transform:translateX(-50%);padding:9px 16px;border:1px solid #d4ad3540;border-radius:999px;background:#05060ccc;color:#e9e1cf;font:11px/1.4 "Share Tech Mono",monospace;letter-spacing:.14em;text-transform:uppercase;text-align:center;opacity:0;transition:opacity .8s;pointer-events:none}
.uni-hint.show{opacity:1}

/* Keyboard / screen-reader access to the planets */
.planet-nav{position:absolute;left:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* Fallback when the 3D engine can't load (offline) */
.uni-fallback{position:absolute;inset:0;z-index:4;display:grid;place-content:center;gap:22px;padding:24px 16px;text-align:center;background:radial-gradient(ellipse at 50% 45%,#2a2140 0,#05060c 60%);overflow:auto}
.uni-fallback[hidden]{display:none}
.uni-fallback p{margin:0;color:#c9cbe0;font-size:13px}
.uni-fallback .fb-logo{width:min(70vw,420px);margin:0 auto}
.fb-grid{display:grid;grid-template-columns:repeat(4,minmax(0,140px));gap:14px;justify-content:center}
.fb-grid button{aspect-ratio:1;border-radius:50%;border:1px solid #ffffff30;background:radial-gradient(circle at 32% 28%,#fff8 0,var(--pc) 22%,#0b0d1a 78%);color:#fff;font:600 13px/1.2 "Space Grotesk",sans-serif;text-shadow:0 1px 4px #000}
@media(max-width:560px){.fb-grid{grid-template-columns:repeat(3,minmax(0,100px))}}

/* World nav: logo + Meet the family panel */
#worldView .wbrand{display:flex;flex-direction:column;gap:5px;min-width:0}
#worldView .wlogo{display:block;width:150px;aspect-ratio:900/115;background:linear-gradient(90deg,var(--logo-dev,#9b7716) 0 37.3%,var(--fg) 37.3%);-webkit-mask:var(--logo) left center/contain no-repeat;mask:var(--logo) left center/contain no-repeat}
#worldView.theme-arch,#worldView.theme-auto,#worldView.theme-future{--logo-dev:#d4ad35}
#worldView .familybtn{flex:none;white-space:nowrap}
.family-panel{position:fixed;top:0;right:0;bottom:0;z-index:30;width:min(400px,100%);padding:26px 24px;overflow:auto;background:var(--surface);color:var(--fg);border-left:1px solid var(--line);box-shadow:-30px 0 80px #0006;transform:translateX(105%);transition:transform .45s cubic-bezier(.2,.8,.2,1);visibility:hidden}
.family-panel.open{transform:none;visibility:visible}
.family-panel h2{font-family:var(--font);font-size:2rem;line-height:1.1;margin:14px 0 6px}
.family-panel p{margin:0 0 18px;opacity:.75;font-size:13px}
#worldView .family-panel .closefamily{position:absolute;top:18px;right:18px;width:40px;height:40px;padding:0;display:grid;place-items:center;font-size:16px;border:1px solid var(--line);border-radius:50%;background:var(--bg);color:var(--fg)}
.family-scrim{position:fixed;inset:0;z-index:29;background:#0006;opacity:0;visibility:hidden;transition:opacity .3s}
.family-scrim.open{opacity:1;visibility:visible}
@media(max-width:560px){#worldView .wlogo{width:104px}#worldView .worldnav{gap:8px}#worldView .worldnav .ghostbtn{padding:8px 10px;font-size:12px}#worldView .familybtn .long{display:none}}

/* ===== devocrat-worlds-css ===== */
/* ================= World pages: shared layout ================= */
#worldView{scroll-padding-top:84px}
#worldView .worldnav{gap:18px}
#worldView .wlinks{display:flex;gap:4px;align-items:center;font-size:13px;margin-left:clamp(20px,2.4vw,40px)}
#worldView .wlinks a{opacity:1;padding:8px 12px;border-radius:999px;font-weight:600;transition:background .2s,color .2s}
#worldView .wlinks a:hover{background:color-mix(in srgb,var(--accent),transparent 86%);color:inherit}
#worldView .menubtn{display:none}
body.overlay-open #themeObjects{display:none!important}
#worldView .whero{position:relative;min-height:calc(100svh - 74px);display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:clamp(20px,4vw,64px);padding:clamp(40px,7vw,100px) clamp(16px,6vw,86px);overflow:hidden;isolation:isolate}
#worldView .whero .herotext{position:relative;z-index:2}
#worldView:not(.theme-mandala) .whero:before{display:none}
#worldView .whero h1{font-size:clamp(2.6rem,6.2vw,5.6rem);line-height:1.02;margin:16px 0 22px}
#worldView .whero .lead{font-size:clamp(16px,1.6vw,20px);line-height:1.55;max-width:560px}
#worldView .hero-object{position:relative;z-index:1;min-height:0;display:grid;place-items:center}
#worldView .hart{display:block;width:100%;max-width:560px;height:auto;overflow:visible}
#worldView .whero.art-left .hero-object{order:-1}
#worldView .whero.art-behind{grid-template-columns:1fr;justify-items:center;text-align:center}
#worldView .whero.art-behind .herotext{max-width:900px;display:flex;flex-direction:column;align-items:center}
#worldView .whero.art-behind .hero-object{position:absolute;inset:0;z-index:0;pointer-events:none}
#worldView .whero.art-behind .hart{max-width:none;width:min(1100px,120%);height:100%;object-fit:contain}
#worldView .fl{animation:hfloat 7s ease-in-out infinite}#worldView .f2{animation-delay:-2s;animation-duration:8s}#worldView .f3{animation-delay:-4s;animation-duration:6.5s}#worldView .f4{animation-delay:-1s;animation-duration:5.5s}
@keyframes hfloat{50%{transform:translateY(-10px)}}
#worldView .wsection h2{line-height:1.08}
#worldView .servicegrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
#worldView .service{position:relative}
#worldView .service .num{position:absolute;top:16px;right:18px;font:600 12px/1 "Share Tech Mono",monospace;opacity:.45}
#worldView.theme-mandala .service .num{display:none}
#worldView .offer-soon{margin-top:18px;padding:26px;border:1px dashed var(--line);border-radius:var(--radius);text-align:center}
#worldView .offer-soon .wsub{margin:0 auto}
#worldView .picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}
#worldView .picker .project{text-align:left;cursor:pointer;color:inherit;font:inherit}
#worldView .picker .project small{line-height:1.4}
#worldView .picker .project.active{outline:2px solid var(--accent);outline-offset:3px}
#worldView .aboutgrid{display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(24px,5vw,70px);align-items:start}
#worldView .about-lead{margin:4px 0 20px;max-width:640px;font-size:clamp(1.15rem,1.9vw,1.5rem);line-height:1.35;font-weight:700;color:var(--accent)}
#worldView.theme-salon .about-lead{color:#d4607c}#worldView.theme-arch .about-lead{color:#8bbcff}#worldView.theme-hospital .about-lead{color:#0b7f8e}#worldView.theme-elegant .about-lead{font:italic 500 clamp(1.4rem,2.4vw,1.9rem)/1.3 "Cormorant Garamond",serif;color:#a8834a}#worldView.theme-illus .about-lead{font:700 clamp(1.6rem,2.6vw,2.1rem)/1.2 "Caveat",cursive;color:#e76f51}#worldView.theme-mandala .about-lead{color:#c8391f}#worldView.theme-kids .about-lead{color:#ff7a1a}
#worldView .about .wsub{max-width:640px;margin:0 0 14px;line-height:1.65}
#worldView .highlights{display:grid;gap:14px}
#worldView .contactgrid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,70px);align-items:start}
#worldView .direct{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}
#worldView .direct .person{border:0;padding:0}
#worldView .enquiry{display:grid;gap:14px}
#worldView .enquiry label{display:grid;gap:7px;font-size:13px;font-weight:700;letter-spacing:.02em}
#worldView .enquiry input,#worldView .enquiry select,#worldView .enquiry textarea{font:inherit;font-weight:500;font-size:15px;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--bg);color:var(--fg);width:100%;resize:vertical}
#worldView .enquiry input:focus,#worldView .enquiry select:focus,#worldView .enquiry textarea:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
#worldView .enquiry .cta{justify-self:start;padding:13px 24px}
#worldView .formnote{opacity:.7;font-size:12px}
#worldView .sendrow{display:flex;flex-wrap:wrap;gap:12px;align-items:center}#worldView .enquiry .mailbtn{padding:12px 20px}#worldView .formnote a{color:var(--accent);font-weight:700;text-decoration:underline;word-break:break-all}
#worldView .footer{justify-content:center;opacity:1;padding:34px 16px;font-size:13px;letter-spacing:.24em;text-transform:uppercase;text-align:center}
@media(max-width:1050px){#worldView .wlinks{display:none}#worldView .menubtn{display:inline-flex}
 #worldView .worldnav.menu-open .wlinks{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:100%;left:12px;right:12px;margin:8px 0 0;padding:10px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 50px #0004}
 #worldView .worldnav.menu-open .wlinks a{padding:12px 14px;font-size:15px}
 #worldView .servicegrid,#worldView .picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){#worldView .whero{grid-template-columns:1fr;min-height:0;text-align:left}#worldView .whero.art-left .hero-object{order:0}#worldView .whero:not(.art-behind) .hero-object{max-width:440px;margin:0 auto}
 #worldView .whero.art-behind{min-height:78svh}#worldView .aboutgrid,#worldView .contactgrid{grid-template-columns:1fr}}
@media(max-width:560px){#worldView .servicegrid,#worldView .picker,#worldView .direct{grid-template-columns:1fr}#worldView .wbrand small{display:none}#worldView .backbtn .long{display:none}#worldView .worldnav{gap:8px}}
@media(prefers-reduced-motion:reduce){#worldView .hart *{animation:none!important}}

/* ================= MANDALA: keep the design, style the new parts ================= */
#worldView.theme-mandala .enquiry input,#worldView.theme-mandala .enquiry select,#worldView.theme-mandala .enquiry textarea{background:#fff4e0;border:2px solid #2a1f4d;border-radius:14px;color:#2a1f4d}
#worldView.theme-mandala .enquiry label{color:#2a1f4d}
#worldView.theme-mandala .picker .project.active{outline:3px solid #c8391f}
#worldView.theme-mandala .offer-soon{border:2px dashed #2a1f4d66;background:#fffaf0;border-radius:44px 6px 44px 6px}
#worldView.theme-mandala .wlinks a{color:#2a1f4d;font-weight:800}

/* ================= MODERN: glass, gradient mesh, crisp product UI ================= */
#worldView.theme-modern{--bg:#f6f7fc;--fg:#14142b;--accent:#5b4ff5;--accent2:#10b8a6;--surface:#ffffffcc;--line:#e1e3f3;--radius:20px;font-family:"Space Grotesk",sans-serif;background:radial-gradient(1200px 600px at 85% -10%,#e2ddff 0,transparent 60%),radial-gradient(900px 500px at -10% 40%,#d5f6f1 0,transparent 55%),#f6f7fc}
#worldView.theme-modern .worldnav{margin:12px clamp(10px,3vw,40px) 0;top:12px;border:1px solid #ffffffaa;border-radius:20px;background:#ffffffb8;box-shadow:0 10px 40px #3b2fd114}
#worldView.theme-modern h1{font-weight:700;letter-spacing:-.045em;background:linear-gradient(100deg,#14142b 30%,#5b4ff5 60%,#10b8a6);-webkit-background-clip:text;background-clip:text;color:transparent}
#worldView.theme-modern .kicker{font:600 12px/1 "Space Grotesk";letter-spacing:.18em;color:#5b4ff5;display:inline-flex;align-items:center;gap:10px}
#worldView.theme-modern .kicker:before{content:"";width:22px;height:2px;border-radius:2px;background:linear-gradient(90deg,#5b4ff5,#10b8a6)}
#worldView.theme-modern .wsection{border-top:0}
#worldView.theme-modern .wsection h2{font-weight:700;letter-spacing:-.04em}
#worldView.theme-modern .service,#worldView.theme-modern .project,#worldView.theme-modern .contact-card,#worldView.theme-modern .offer-soon{background:#ffffffb3;backdrop-filter:blur(14px);border:1px solid #fff;border-radius:22px;box-shadow:0 1px 0 #fff inset,0 18px 50px #3b2fd112}
#worldView.theme-modern .service{padding:26px 24px;transition:transform .3s,box-shadow .3s}
#worldView.theme-modern .service:hover{transform:translateY(-6px);box-shadow:0 30px 60px #3b2fd122}
#worldView.theme-modern .service i{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;font-style:normal;color:#fff;background:linear-gradient(135deg,#5b4ff5,#10b8a6)}
#worldView.theme-modern .cta{background:linear-gradient(100deg,#5b4ff5,#10b8a6);border:0;color:#fff;border-radius:999px;box-shadow:0 10px 30px #5b4ff544}
#worldView.theme-modern .ghostbtn{border-radius:999px;border:1px solid #e1e3f3;background:#fff;color:#14142b}
#worldView.theme-modern .lab{background:transparent}#worldView.theme-modern .device{background:#14142b;border:0;border-radius:24px;box-shadow:0 30px 70px #14142b33}
#worldView.theme-modern .footer{background:#14142b;color:#fff;border:0}
#worldView.theme-modern .enquiry input,#worldView.theme-modern .enquiry select,#worldView.theme-modern .enquiry textarea{background:#f6f7fc;border-color:#e1e3f3}

/* ================= ELEGANT (luxury): ivory, espresso, gold hairlines, centred editorial ================= */
#worldView.theme-elegant{--bg:#f6f0e6;--fg:#2b211c;--accent:#a8834a;--accent2:#b8955a;--surface:#fbf7f0;--line:#d8c6a8;--radius:0px;font-family:"Jost",sans-serif;font-weight:300}
#worldView.theme-elegant .worldnav{background:#f6f0e6f2;border-bottom:1px solid #d8c6a8}
#worldView.theme-elegant .wlinks a{font-weight:400;letter-spacing:.16em;text-transform:uppercase;font-size:11px;border-radius:0}
#worldView.theme-elegant .wlinks a:hover{background:none;color:#a8834a}
#worldView.theme-elegant h1,#worldView.theme-elegant h2,#worldView.theme-elegant h3{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;letter-spacing:0}
#worldView.theme-elegant .whero h1{font-size:clamp(3rem,7vw,6.4rem);font-style:italic;line-height:1}
#worldView.theme-elegant .kicker{font:400 11px/1 "Jost";letter-spacing:.42em;color:#a8834a}
#worldView.theme-elegant .whero .kicker:before,#worldView.theme-elegant .whero .kicker:after{content:"—";margin:0 12px;opacity:.6}
#worldView.theme-elegant .wsection{text-align:center;border-top:0;position:relative}
#worldView.theme-elegant .wsection:before{content:"";display:block;width:1px;height:56px;margin:-20px auto 30px;background:linear-gradient(#0000,#a8834a)}
#worldView.theme-elegant .wsection h2{font-size:clamp(2.4rem,5vw,4.2rem)}
#worldView.theme-elegant .wsub{margin-left:auto;margin-right:auto}
#worldView.theme-elegant .servicegrid{counter-reset:roman;gap:0;border-top:1px solid #d8c6a8;border-bottom:1px solid #d8c6a8}
#worldView.theme-elegant .service{counter-increment:roman;background:none;border:0;border-right:1px solid #d8c6a8;border-radius:0;padding:40px 26px;text-align:center}
#worldView.theme-elegant .service:last-child{border-right:0}
#worldView.theme-elegant .service i{display:none}#worldView.theme-elegant .service .num{display:none}
#worldView.theme-elegant .service:before{content:counter(roman,upper-roman);display:block;font:italic 500 30px "Cormorant Garamond";color:#a8834a;margin-bottom:12px}
#worldView.theme-elegant .service h3{font-size:24px}
#worldView.theme-elegant .cta,#worldView.theme-elegant .ghostbtn{background:transparent;color:#2b211c;border:1px solid #a8834a;border-radius:0;letter-spacing:.24em;text-transform:uppercase;font-size:11px;font-weight:500;padding:14px 26px}
#worldView.theme-elegant .cta:hover,#worldView.theme-elegant .ghostbtn:hover{background:#2b211c;color:#f6f0e6}
#worldView.theme-elegant .project,#worldView.theme-elegant .contact-card,#worldView.theme-elegant .highlights .service{background:#fbf7f0;border:1px solid #d8c6a8;border-radius:0}
#worldView.theme-elegant .highlights .service{border-right:1px solid #d8c6a8;padding:24px;text-align:left}#worldView.theme-elegant .highlights .service:before{display:none}
#worldView.theme-elegant .aboutgrid,#worldView.theme-elegant .contactgrid{text-align:left}
#worldView.theme-elegant .device{background:#2b211c;border-radius:4px}
#worldView.theme-elegant .device .ghostbtn,#worldView.theme-interior .device .ghostbtn{color:#efe8dc;border-color:#c9a26a}
#worldView.theme-elegant .whero:before{background:none}
#worldView.theme-elegant .enquiry input,#worldView.theme-elegant .enquiry select,#worldView.theme-elegant .enquiry textarea{border:0;border-bottom:1px solid #a8834a;border-radius:0;background:transparent;padding:10px 2px}
#worldView.theme-elegant .footer{background:#2b211c;color:#e9dcc2;font-family:"Cormorant Garamond";font-size:16px;letter-spacing:.4em}

/* ================= HOSPITAL: calm, clinical clarity, soft rounded, ECG pulse ================= */
#worldView.theme-hospital{--bg:#f3fbfb;--fg:#123447;--accent:#0b95a6;--accent2:#2f7de1;--surface:#fff;--line:#cfe8eb;--radius:18px;font-family:"Nunito",sans-serif}
#worldView.theme-hospital .worldnav{background:#fffffff2;border-bottom:1px solid #cfe8eb;box-shadow:0 4px 20px #0b95a60f}
#worldView.theme-hospital h1,#worldView.theme-hospital h2{font-family:"Nunito";font-weight:800;letter-spacing:-.02em}
#worldView.theme-hospital .whero{background:linear-gradient(180deg,#e6f7f8,#f3fbfb)}
#worldView.theme-hospital .kicker{font:800 12px/1 "Nunito";letter-spacing:.14em;color:#0b95a6;display:inline-flex;gap:8px;align-items:center}
#worldView.theme-hospital .kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:#0b95a6;box-shadow:0 0 0 0 #0b95a666;animation:hpulse 1.8s infinite}
@keyframes hpulse{70%{box-shadow:0 0 0 10px #0b95a600}100%{box-shadow:0 0 0 0 #0b95a600}}
#worldView.theme-hospital .ecg{stroke-dasharray:900;stroke-dashoffset:900;animation:ecg 3.2s linear infinite}
@keyframes ecg{60%{stroke-dashoffset:0}100%{stroke-dashoffset:-900}}
#worldView.theme-hospital .wsection{border-top:0}
#worldView.theme-hospital .service,#worldView.theme-hospital .project,#worldView.theme-hospital .contact-card,#worldView.theme-hospital .offer-soon{background:#fff;border:1px solid #cfe8eb;border-radius:20px;box-shadow:0 10px 30px #0b95a60f}
#worldView.theme-hospital .service{padding:24px 22px 24px 26px;border-left:5px solid #0b95a6}
#worldView.theme-hospital .servicegrid>:nth-child(even){border-left-color:#2f7de1}
#worldView.theme-hospital .service i{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#e6f7f8;color:#0b95a6;font-style:normal;font-size:20px}
#worldView.theme-hospital .cta{background:#0b95a6;border:0;color:#fff;border-radius:14px;font-weight:800;box-shadow:0 8px 20px #0b95a633}
#worldView.theme-hospital .ghostbtn{border-radius:12px;border:1px solid #cfe8eb;background:#fff;color:#123447}
#worldView.theme-hospital .lab{background:#e9f6f7}#worldView.theme-hospital .device{background:#123447;border-radius:22px}
#worldView.theme-hospital .enquiry input,#worldView.theme-hospital .enquiry select,#worldView.theme-hospital .enquiry textarea{background:#f3fbfb;font-size:16px;padding:14px}
#worldView.theme-hospital .footer{background:#0b95a6;color:#fff;border:0}

/* ================= SALON (unisex): navy + blush + brass, mirror arches, a style menu ================= */
#worldView.theme-salon{--bg:#fbf4f1;--fg:#1f2a44;--accent:#c9a24a;--accent2:#d4607c;--surface:#fff;--line:#ead7d6;--radius:18px;font-family:"Jost",sans-serif}
#worldView.theme-salon .worldnav{background:#1f2a44f2;color:#fbf4f1;border-bottom:2px solid #c9a24a}
#worldView.theme-salon .worldnav .ghostbtn{background:transparent;border:1px solid #c9a24a;color:#fbf4f1;border-radius:999px}
#worldView.theme-salon .wlogo{--fg:#fbf4f1;--logo-dev:#e2c27a}
#worldView.theme-salon .wbrand small{color:#e2c27a}
#worldView.theme-salon .whero{background:linear-gradient(105deg,#f3c9d6 0 54%,#1f2a44 54% 100%);color:#fbf4f1}
#worldView.theme-salon .whero .herotext{background:#1f2a44;padding:clamp(20px,3vw,40px);border-radius:28px;box-shadow:0 30px 60px #1f2a4433}
#worldView.theme-salon .whero .lead{color:#e8dfe6}
#worldView.theme-salon h1,#worldView.theme-salon h2{font-family:"Playfair Display",serif;font-weight:700}
#worldView.theme-salon .whero h1 {font-style:italic}
#worldView.theme-salon .kicker{font:500 12px/1 "Oswald";letter-spacing:.3em;color:#c9a24a}
#worldView.theme-salon .wsection{border-top:0}
#worldView.theme-salon #services .servicegrid{grid-template-columns:1fr 1fr;gap:0 48px;background:#fff;padding:clamp(20px,3vw,40px);border-radius:28px;border:1px solid #ead7d6}
#worldView.theme-salon #services .service{background:none;border:0;border-bottom:1px dashed #d9bfc1;border-radius:0;padding:22px 0;display:grid;grid-template-columns:auto 1fr;column-gap:16px}
#worldView.theme-salon #services .service i{grid-row:span 2;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#1f2a44;color:#e2c27a;font-style:normal}
#worldView.theme-salon #services .service h3{margin:0;display:flex;gap:10px;align-items:baseline;font-family:"Playfair Display";font-size:21px}
#worldView.theme-salon #services .service h3:after{content:"";flex:1;border-bottom:2px dotted #c9a24a;transform:translateY(-4px)}
#worldView.theme-salon #services .service .num{position:static;grid-column:2;order:-1;font:500 11px "Oswald";letter-spacing:.2em;color:#d4607c}
#worldView.theme-salon .project,#worldView.theme-salon .contact-card,#worldView.theme-salon .highlights .service,#worldView.theme-salon .offer-soon{background:#fff;border:1px solid #ead7d6;border-radius:999px 999px 22px 22px;padding:44px 22px 24px;text-align:center}
#worldView.theme-salon .contact-card{border-radius:160px 160px 24px 24px;padding:112px 30px 30px;text-align:left}
#worldView.theme-salon .highlights .service i{display:grid;place-items:center;width:40px;height:40px;margin:0 auto 6px;border-radius:50%;background:#f3c9d6;color:#1f2a44;font-style:normal}
#worldView.theme-salon .cta{background:#c9a24a;color:#1f2a44;border:0;border-radius:999px;font-weight:600;letter-spacing:.06em}
#worldView.theme-salon .lab{background:#1f2a44;color:#fbf4f1}#worldView.theme-salon .lab .project{color:#1f2a44}#worldView.theme-salon .lab .wsub{color:#e8dfe6}
#worldView.theme-salon .lab .ghostbtn{border-color:#c9a24a;color:#fbf4f1;background:transparent}
#worldView.theme-salon .enquiry .mailbtn{background:transparent;border:1px solid #1f2a44;color:#1f2a44;border-radius:999px}
#worldView.theme-salon .enquiry .mailbtn:hover{background:#1f2a44;color:#fbf4f1}
#worldView.theme-mandala .enquiry .mailbtn{background:transparent;border:1px solid #2a1f4d88;color:#2a1f4d}
#worldView.theme-mandala .enquiry .mailbtn:hover{background:#2a1f4d;color:#fffaf0}
#worldView.theme-salon .device{background:#151d33;border:1px solid #c9a24a55}
#worldView.theme-salon .footer{background:#1f2a44;color:#e2c27a;border-top:2px solid #c9a24a}

/* ================= ILLUSTRATIVE: sketchbook paper, ink outlines, sticky notes ================= */
#worldView.theme-illus{--bg:#fdf6e3;--fg:#243b4a;--accent:#e76f51;--accent2:#2a9d8f;--surface:#fffdf6;--line:#243b4a;--radius:14px;font-family:"Patrick Hand",cursive;font-size:17px;background:repeating-linear-gradient(transparent 0 31px,#9ec5d433 31px 32px),#fdf6e3}
#worldView.theme-illus .worldnav{background:#fdf6e3f2;border-bottom:3px solid #243b4a;border-radius:0 0 12px 30px/0 0 30px 12px}
#worldView.theme-illus .wlinks a{font-size:17px;font-weight:400}
#worldView.theme-illus .wlinks a:hover{background:#ffd16688}
#worldView.theme-illus h1,#worldView.theme-illus h2,#worldView.theme-illus h3{font-family:"Caveat",cursive;font-weight:700;letter-spacing:0}
#worldView.theme-illus .whero h1{font-size:clamp(3.2rem,8vw,6.8rem);line-height:.95}
#worldView.theme-illus .whero h1{background:linear-gradient(transparent 62%,#ffd166aa 62% 90%,transparent 90%);display:inline}
#worldView.theme-illus .kicker{font:400 15px "Patrick Hand";letter-spacing:.08em;color:#e76f51}
#worldView.theme-illus .wsection{border-top:0}
#worldView.theme-illus .wsection h2{font-size:clamp(2.6rem,5.5vw,4.4rem)}
#worldView.theme-illus .wsection h2:after{content:"";display:block;width:180px;height:12px;margin-top:2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 12'%3E%3Cpath d='M2 8C40 2 80 2 120 6s46 2 56-2' fill='none' stroke='%23e76f51' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat}
#worldView.theme-illus .service,#worldView.theme-illus .project,#worldView.theme-illus .contact-card,#worldView.theme-illus .offer-soon{background:#fffdf6;border:3px solid #243b4a;border-radius:255px 15px 225px 15px/15px 225px 15px 255px;box-shadow:5px 6px 0 #243b4a}
#worldView.theme-illus .servicegrid .service{padding:30px 22px;transform:rotate(-1.5deg)}
#worldView.theme-illus .servicegrid .service:nth-child(1){background:#fff3b0}#worldView.theme-illus .servicegrid .service:nth-child(2){background:#ffd6d6;transform:rotate(1.2deg)}#worldView.theme-illus .servicegrid .service:nth-child(3){background:#cdeffd;transform:rotate(-.8deg)}#worldView.theme-illus .servicegrid .service:nth-child(4){background:#d8f5d0;transform:rotate(1.6deg)}
#worldView.theme-illus .servicegrid .service:before{content:"";position:absolute;top:-14px;left:50%;width:70px;height:24px;transform:translateX(-50%) rotate(-4deg);background:#ffffffaa;border:1px solid #243b4a33}
#worldView.theme-illus .service{transition:transform .25s}#worldView.theme-illus .servicegrid .service:nth-child(n):hover,#worldView.theme-illus .highlights .service:hover{transform:rotate(0) scale(1.04)}
#worldView.theme-illus .service i{font-style:normal;font-size:28px;color:#e76f51}
#worldView.theme-illus .service h3{font-size:30px;margin:8px 0 4px}
#worldView.theme-illus .cta,#worldView.theme-illus .ghostbtn{font-family:"Patrick Hand";font-size:18px;background:#ffd166;color:#243b4a;border:3px solid #243b4a;border-radius:255px 15px 225px 15px/15px 225px 15px 255px;box-shadow:3px 4px 0 #243b4a}
#worldView.theme-illus .draw{animation:dash 1.6s linear infinite}@keyframes dash{to{stroke-dashoffset:-30}}
#worldView.theme-illus .lab{background:transparent}#worldView.theme-illus .device{background:#243b4a;border-radius:20px 8px 22px 10px}
#worldView.theme-illus .enquiry input,#worldView.theme-illus .enquiry select,#worldView.theme-illus .enquiry textarea{font-family:"Patrick Hand";font-size:17px;border:2px solid #243b4a;border-radius:12px 4px 14px 6px;background:#fff}
#worldView.theme-illus .footer{border-top:3px dashed #243b4a;font-family:"Caveat";font-size:24px;letter-spacing:.1em;text-transform:none}

/* ================= ARCHITECT: blueprint grid, technical linework, crop marks ================= */
#worldView.theme-arch{--bg:#0d3b6e;--fg:#eaf3ff;--accent:#ffffff;--accent2:#8bbcff;--surface:#0f4580;--line:#ffffff55;--radius:0px;font-family:"Space Grotesk",sans-serif;background:linear-gradient(#ffffff12 1px,transparent 1px) 0 0/100% 24px,linear-gradient(90deg,#ffffff12 1px,transparent 1px) 0 0/24px 100%,linear-gradient(#ffffff22 1px,transparent 1px) 0 0/100% 120px,linear-gradient(90deg,#ffffff22 1px,transparent 1px) 0 0/120px 100%,#0d3b6e}
#worldView.theme-arch .worldnav{background:#0b335ff2;border-bottom:1px solid #ffffff66}
#worldView.theme-arch .wlinks a{font-family:"Share Tech Mono";letter-spacing:.08em;text-transform:uppercase;border-radius:0}
#worldView.theme-arch h1,#worldView.theme-arch h2,#worldView.theme-arch h3{font-family:"Space Grotesk";text-transform:uppercase;letter-spacing:.02em;font-weight:700}
#worldView.theme-arch .whero h1{font-size:clamp(2.4rem,5.6vw,5rem)}
#worldView.theme-arch .hart{opacity:.38}#worldView.theme-arch .draw{stroke-dasharray:1400;stroke-dashoffset:1400;animation:adraw 4s ease-out forwards}@keyframes adraw{to{stroke-dashoffset:0}}
#worldView.theme-arch .kicker{font:400 12px "Share Tech Mono";letter-spacing:.2em;color:#8bbcff}
#worldView.theme-arch .kicker:before{content:"[ ";}#worldView.theme-arch .kicker:after{content:" ]"}
#worldView.theme-arch .wsection{border-top:1px solid #ffffff44}
#worldView.theme-arch .wsection h2{display:inline-block;position:relative;padding-bottom:16px}
#worldView.theme-arch .wsection h2:after{content:"";position:absolute;left:0;right:0;bottom:0;height:9px;border:1px solid #8bbcff;border-top:0}
#worldView.theme-arch .service,#worldView.theme-arch .project,#worldView.theme-arch .contact-card,#worldView.theme-arch .offer-soon{background:#0d3b6e;border:1px solid #ffffff88;border-radius:0;--c:#fff;background-image:linear-gradient(var(--c),var(--c)),linear-gradient(var(--c),var(--c)),linear-gradient(var(--c),var(--c)),linear-gradient(var(--c),var(--c));background-repeat:no-repeat;background-size:14px 2px,2px 14px,14px 2px,2px 14px;background-position:-1px -1px,-1px -1px,calc(100% + 1px) calc(100% + 1px),calc(100% + 1px) calc(100% + 1px)}
#worldView.theme-arch .service{padding:28px 22px}
#worldView.theme-arch .service i{font-style:normal;font-family:"Share Tech Mono";color:#8bbcff}
#worldView.theme-arch .service .num{opacity:.8;color:#8bbcff}#worldView.theme-arch .service .num:before{content:"A-"}
#worldView.theme-arch .cta,#worldView.theme-arch .ghostbtn{background:transparent;color:#fff;border:1px solid #fff;border-radius:0;font-family:"Share Tech Mono";letter-spacing:.14em;text-transform:uppercase}
#worldView.theme-arch .cta:hover,#worldView.theme-arch .ghostbtn:hover{background:#fff;color:#0d3b6e}
#worldView.theme-arch .lab{background:transparent}#worldView.theme-arch .device{background:#082848;border:1px solid #ffffff66;border-radius:0}
#worldView.theme-arch .enquiry input,#worldView.theme-arch .enquiry select,#worldView.theme-arch .enquiry textarea{background:#0b335f;border:1px solid #ffffff77;border-radius:0;color:#fff;font-family:"Share Tech Mono"}
#worldView.theme-arch .person a{color:#8bbcff}
#worldView.theme-arch .footer{border-top:1px solid #fff;font-family:"Share Tech Mono"}

/* ================= FUNNY: neo-brutalist, chunky outlines, wobbly stickers ================= */
#worldView.theme-funny{--bg:#fff3b0;--fg:#2b1b3d;--accent:#ff5d8f;--accent2:#3ec6e0;--surface:#fff;--line:#2b1b3d;--radius:20px;font-family:"Fredoka",sans-serif;background:radial-gradient(#2b1b3d22 1.5px,transparent 1.6px) 0 0/22px 22px,#fff3b0}
#worldView.theme-funny .worldnav{background:#ffe45e;border-bottom:4px solid #2b1b3d}
#worldView.theme-funny .wlinks a{font-weight:600;font-size:15px}
#worldView.theme-funny .wlinks a:hover{background:#ff5d8f;color:#fff;transform:rotate(-3deg)}
#worldView.theme-funny h1,#worldView.theme-funny h2{font-family:"Bungee",sans-serif;font-weight:400;letter-spacing:0;line-height:1.05}
#worldView.theme-funny .whero h1{font-size:clamp(2.4rem,5.6vw,4.8rem);transform:rotate(-2deg);text-shadow:4px 4px 0 #ff5d8f}
#worldView.theme-funny .kicker{display:inline-block;font:600 13px "Fredoka";letter-spacing:.1em;background:#3ec6e0;color:#2b1b3d;border:3px solid #2b1b3d;border-radius:999px;padding:6px 14px;transform:rotate(-3deg);box-shadow:3px 3px 0 #2b1b3d}
#worldView.theme-funny .wsection{border-top:4px solid #2b1b3d}
#worldView.theme-funny .wsection:nth-of-type(even){background:#ffd6e5}
#worldView.theme-funny .service,#worldView.theme-funny .project,#worldView.theme-funny .contact-card,#worldView.theme-funny .offer-soon{background:#fff;border:4px solid #2b1b3d;border-radius:22px;box-shadow:7px 7px 0 #2b1b3d}
#worldView.theme-funny .service{padding:26px 22px;transition:transform .2s}
#worldView.theme-funny .servicegrid>:nth-child(odd){transform:rotate(-2deg)}#worldView.theme-funny .servicegrid>:nth-child(even){transform:rotate(2deg)}
#worldView.theme-funny .servicegrid .service:nth-child(n):hover,#worldView.theme-funny .highlights .service:hover{animation:wobble .5s}@keyframes wobble{25%{transform:rotate(4deg) scale(1.04)}50%{transform:rotate(-4deg)}75%{transform:rotate(2deg)}}
#worldView.theme-funny .service i{display:grid;place-items:center;width:52px;height:52px;border:3px solid #2b1b3d;border-radius:50%;font-style:normal;font-size:22px;background:#ffe45e}
#worldView.theme-funny .servicegrid>:nth-child(2) i{background:#3ec6e0}#worldView.theme-funny .servicegrid>:nth-child(3) i{background:#7ac943}#worldView.theme-funny .servicegrid>:nth-child(4) i{background:#ff5d8f}
#worldView.theme-funny .cta,#worldView.theme-funny .ghostbtn{font-family:"Fredoka";font-weight:700;background:#ff5d8f;color:#fff;border:3px solid #2b1b3d;border-radius:14px;box-shadow:4px 4px 0 #2b1b3d}
#worldView.theme-funny .ghostbtn{background:#fff;color:#2b1b3d}
#worldView.theme-funny .cta:active,#worldView.theme-funny .ghostbtn:active{transform:translate(4px,4px);box-shadow:0 0 0 #2b1b3d}
#worldView.theme-funny .eyes .pupil{animation:look 3s ease-in-out infinite}@keyframes look{30%{transform:translate(4px,-2px)}60%{transform:translate(-4px,2px)}}
#worldView.theme-funny .device{background:#2b1b3d;border:4px solid #2b1b3d;border-radius:22px}
#worldView.theme-funny .enquiry input,#worldView.theme-funny .enquiry select,#worldView.theme-funny .enquiry textarea{border:3px solid #2b1b3d;border-radius:12px;background:#fff}
#worldView.theme-funny .footer{background:#2b1b3d;color:#ffe45e;font-family:"Bungee";letter-spacing:.1em}

/* ================= KIDS: sky, clouds, rainbow, bubbly colour cards, wavy edges ================= */
#worldView.theme-kids{--bg:#e8f6ff;--fg:#1d3b63;--accent:#ff7a1a;--accent2:#7ac943;--surface:#fff;--line:#bfe0f7;--radius:28px;font-family:"Baloo 2",sans-serif}
#worldView.theme-kids .worldnav{background:#fffffff0;border-bottom:0;box-shadow:0 6px 0 #bfe0f7}
#worldView.theme-kids .wlinks a{font-weight:700;font-size:15px}
#worldView.theme-kids .wlinks a:nth-child(1):hover{background:#ffe1e1}#worldView.theme-kids .wlinks a:nth-child(2):hover{background:#fff1c2}#worldView.theme-kids .wlinks a:nth-child(3):hover{background:#dff5d0}#worldView.theme-kids .wlinks a:nth-child(4):hover{background:#dcecff}#worldView.theme-kids .wlinks a:nth-child(5):hover{background:#f0e2ff}
#worldView.theme-kids .whero{background:linear-gradient(#9fd6ff,#e8f6ff 80%)}
#worldView.theme-kids .whero .herotext{background:#ffffffd9;padding:clamp(22px,3vw,40px);border-radius:40px;box-shadow:0 14px 0 #bfe0f7}
#worldView.theme-kids .sun{animation:spin 30s linear infinite;transform-box:fill-box;transform-origin:center}
#worldView.theme-kids h1,#worldView.theme-kids h2,#worldView.theme-kids h3{font-family:"Baloo 2";font-weight:800;letter-spacing:-.01em}
#worldView.theme-kids .whero h1{font-size:clamp(2.6rem,6vw,5.2rem);color:#1d3b63}
#worldView.theme-kids .whero h1{background:linear-gradient(90deg,#ff4d4d,#ff9f1c,#ffd23f,#7ac943,#4d9dff,#b36bff);-webkit-background-clip:text;background-clip:text;color:transparent}
#worldView.theme-kids .kicker{display:inline-block;font:800 13px "Baloo 2";letter-spacing:.06em;color:#fff;background:#ff7a1a;border-radius:999px;padding:5px 14px}
#worldView.theme-kids .wsection{border-top:0;position:relative}
#worldView.theme-kids .wsection:before{content:"";position:absolute;left:0;right:0;top:-1px;height:22px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath d='M0 0h120v8c-15 0-15 12-30 12S75 8 60 8 45 20 30 20 15 8 0 8z' fill='%23ffffff'/%3E%3C/svg%3E") repeat-x 0 0/120px 22px}
#worldView.theme-kids .wsection:nth-of-type(odd){background:#fff}
#worldView.theme-kids .wsection:nth-of-type(odd):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath d='M0 0h120v8c-15 0-15 12-30 12S75 8 60 8 45 20 30 20 15 8 0 8z' fill='%23e8f6ff'/%3E%3C/svg%3E")}
#worldView.theme-kids .service,#worldView.theme-kids .project,#worldView.theme-kids .contact-card,#worldView.theme-kids .offer-soon{border:0;border-radius:30px;box-shadow:0 8px 0 #0000001a}
#worldView.theme-kids .service{padding:28px 22px;text-align:center;transition:transform .25s cubic-bezier(.3,1.6,.5,1)}
#worldView.theme-kids .service:hover{transform:translateY(-8px) scale(1.03)}
#worldView.theme-kids .servicegrid>:nth-child(1),#worldView.theme-kids .highlights>:nth-child(1){background:#ffe1e1}#worldView.theme-kids .servicegrid>:nth-child(2),#worldView.theme-kids .highlights>:nth-child(2){background:#fff1c2}#worldView.theme-kids .servicegrid>:nth-child(3),#worldView.theme-kids .highlights>:nth-child(3){background:#dff5d0}#worldView.theme-kids .servicegrid>:nth-child(4){background:#dcecff}
#worldView.theme-kids .service i{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 6px;border-radius:50%;background:#fff;font-style:normal;font-size:26px;color:#ff7a1a;box-shadow:0 5px 0 #0000001a}
#worldView.theme-kids .project,#worldView.theme-kids .contact-card,#worldView.theme-kids .offer-soon{background:#fff}
#worldView.theme-kids .cta{background:#ff7a1a;color:#fff;border:0;border-radius:999px;font-weight:800;font-size:17px;box-shadow:0 6px 0 #c95a0b}
#worldView.theme-kids .cta:active{transform:translateY(4px);box-shadow:0 2px 0 #c95a0b}
#worldView.theme-kids .ghostbtn{border-radius:999px;border:0;background:#e8f6ff;color:#1d3b63;font-weight:700}
#worldView.theme-kids .device{background:#1d3b63;border-radius:30px}
#worldView.theme-kids .enquiry input,#worldView.theme-kids .enquiry select,#worldView.theme-kids .enquiry textarea{border:2px solid #bfe0f7;border-radius:18px;background:#f5fbff;font-size:16px}
#worldView.theme-kids .footer{background:#1d3b63;color:#fff;font-weight:800}

/* ================= FUTURISTIC: HUD panels, neon edges, hex grid, scanlines ================= */
#worldView.theme-future{--bg:#05060f;--fg:#d6f6ff;--accent:#00e5ff;--accent2:#ff2bd6;--surface:#0b1022;--line:#00e5ff44;--radius:0px;font-family:"Rajdhani",sans-serif;font-weight:500;font-size:16px;background:radial-gradient(ellipse at 50% -20%,#00e5ff1f,transparent 60%),#05060f}
#worldView.theme-future:after{content:"";position:fixed;inset:0;pointer-events:none;background:repeating-linear-gradient(#ffffff05 0 1px,transparent 1px 3px);z-index:25}
#worldView.theme-future .worldnav{background:#05060fe6;border-bottom:1px solid #00e5ff66;box-shadow:0 0 20px #00e5ff22}
#worldView.theme-future .wlinks a{font-family:"Orbitron";font-size:11px;letter-spacing:.14em;text-transform:uppercase;border-radius:0}
#worldView.theme-future .wlinks a:hover{background:none;color:#00e5ff;text-shadow:0 0 10px #00e5ff}
#worldView.theme-future h1,#worldView.theme-future h2,#worldView.theme-future h3{font-family:"Orbitron";font-weight:700;letter-spacing:.02em;text-transform:uppercase}
#worldView.theme-future .whero h1{font-size:clamp(2rem,4.8vw,4.3rem);line-height:1.12;text-shadow:0 0 22px #00e5ff66}
#worldView.theme-future .whero .lead{color:#9fd8e6}
#worldView.theme-future .globe{animation:spin 60s linear infinite;transform-box:fill-box;transform-origin:center}
#worldView.theme-future .r1{animation:spin 18s linear infinite;transform-box:fill-box;transform-origin:center}#worldView.theme-future .r2{animation:spin 40s linear infinite reverse;transform-box:fill-box;transform-origin:center}
#worldView.theme-future .kicker{font:500 12px "Share Tech Mono";letter-spacing:.24em;color:#ff2bd6}
#worldView.theme-future .kicker:before{content:"> ";color:#00e5ff}
#worldView.theme-future .wsection{border-top:1px solid #00e5ff22}
#worldView.theme-future .service,#worldView.theme-future .project,#worldView.theme-future .contact-card,#worldView.theme-future .offer-soon{background:linear-gradient(135deg,#0b1022,#0d1530);border:1px solid #00e5ff55;border-radius:0;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px));box-shadow:inset 0 0 30px #00e5ff14}
#worldView.theme-future .service{padding:28px 22px;transition:box-shadow .3s,transform .3s}
#worldView.theme-future .service:hover{transform:translateY(-4px);box-shadow:inset 0 0 40px #00e5ff33}
#worldView.theme-future .service i{font-style:normal;color:#00e5ff;font-size:24px;text-shadow:0 0 12px #00e5ff}
#worldView.theme-future .service .num{color:#ff2bd6;opacity:.9}
#worldView.theme-future .cta,#worldView.theme-future .ghostbtn{font-family:"Orbitron";font-size:11px;letter-spacing:.16em;text-transform:uppercase;border-radius:0;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
#worldView.theme-future .cta{background:#00e5ff;color:#05060f;border:0;box-shadow:0 0 24px #00e5ff88;padding:14px 26px}
#worldView.theme-future .ghostbtn{background:#00e5ff14;border:1px solid #00e5ff;color:#d6f6ff}
#worldView.theme-future .lab{background:transparent}#worldView.theme-future .device{background:#000;border:1px solid #00e5ff66;border-radius:0;box-shadow:0 0 30px #00e5ff22}
#worldView.theme-future .enquiry input,#worldView.theme-future .enquiry select,#worldView.theme-future .enquiry textarea{background:#05060f;border:1px solid #00e5ff55;border-radius:0;color:#d6f6ff;font-family:"Share Tech Mono"}
#worldView.theme-future .person a{color:#ff2bd6}
#worldView.theme-future .footer{border-top:1px solid #00e5ff66;font-family:"Orbitron";font-size:11px;color:#00e5ff}
@keyframes spin{to{transform:rotate(360deg)}}
/* hover feedback on every card, in every style */
#worldView.theme-arch .service,#worldView.theme-elegant .service,#worldView.theme-hospital .service,#worldView.theme-salon .service,#worldView.theme-interior .service,#worldView.theme-modern .highlights .service,#worldView.theme-auto .highlights .service,#worldView.theme-future .highlights .service,#worldView.theme-kids .highlights .service{transition:transform .25s,box-shadow .25s,background-color .25s}
#worldView.theme-arch .service:hover{transform:translate(-3px,-3px);background-color:#11467f;box-shadow:6px 6px 0 #8bbcff66}
#worldView.theme-elegant .service:hover{background-color:#efe4d2}
#worldView.theme-hospital .service:hover{transform:translateY(-4px);box-shadow:0 18px 40px #0b95a626}
#worldView.theme-salon .highlights .service:hover{transform:translateY(-5px);box-shadow:0 16px 36px #1f2a4422}
#worldView.theme-salon #services .service:hover h3{color:#d4607c}
#worldView.theme-interior .service:hover{transform:translateY(-6px);box-shadow:0 20px 40px #38372f22}
#worldView.theme-modern .highlights .service:hover{transform:translateY(-5px)}
#worldView.theme-future .highlights .service:hover{transform:translateY(-4px);box-shadow:inset 0 0 40px #00e5ff33}
#worldView.theme-kids .highlights .service:hover{transform:translateY(-6px) scale(1.02)}
/* About highlight icons visible in every style (elegant and interior hide service icons) */
#worldView.theme-elegant .highlights .service i{display:block;font-style:normal;font-size:24px;color:#a8834a;margin-bottom:6px}
#worldView.theme-interior .highlights .service i{display:grid;place-items:center;width:44px;height:44px;margin-bottom:6px;border-radius:50% 50% 8px 8px;background:#e3d9c8;color:#66765a;font-style:normal;font-size:20px}
#worldView .highlights .service i{line-height:1}

/* ===== devocrat-lang-css ===== */
.swap{display:inline-grid;vertical-align:baseline}
.swap>span{grid-area:1/1;transition:opacity .22s ease,transform .22s ease;white-space:nowrap}
.swap>.sw-en{opacity:0;transform:translateY(5px)}
:is(a,button):hover .swap>.sw-loc,a.swap:hover>.sw-loc{opacity:0;transform:translateY(-5px)}
:is(a,button):hover .swap>.sw-en,a.swap:hover>.sw-en{opacity:1;transform:none}
#worldView .wbrand.no-tag small{display:none}
#worldView .wbrand{flex:none}
#worldView .wbrand small{white-space:nowrap}
.swap .sw-loc{justify-self:center}.swap .sw-en{justify-self:center}
#worldView .backbtn .swap .long,#worldView .familybtn .swap .long{display:inline}
.lang-dialog{position:fixed;inset:0;z-index:990;display:grid;place-items:center;padding:16px;background:#04050ce6;backdrop-filter:blur(10px);animation:langIn .35s ease}
@keyframes langIn{from{opacity:0}}
.lang-card{width:min(480px,100%);padding:30px 28px 24px;border-radius:22px;background:#0d0f1c;color:#f4eee1;border:1px solid #d4ad3555;box-shadow:0 30px 80px #000c;font:15px/1.5 "Space Grotesk",system-ui,sans-serif}
.lang-kicker{font:11px "Share Tech Mono",monospace;letter-spacing:.3em;color:#d4ad35}
.lang-card h2{margin:10px 0 8px;font:400 1.9rem/1.15 "DM Serif Display",Georgia,serif;color:#fff}
.lang-card p{margin:0 0 16px;color:#c9cbe0}
.lang-field{display:grid;gap:8px;font-size:13px;font-weight:600;margin-bottom:18px}
.lang-field select{font:inherit;font-size:16px;padding:12px 14px;border-radius:12px;border:1px solid #d4ad3566;background:#05060c;color:#fff}
.lang-actions{display:flex;flex-wrap:wrap;gap:10px}
.lang-btn{font:inherit;font-weight:600;padding:11px 18px;border-radius:999px;border:1px solid #d4ad35aa;background:transparent;color:#f4eee1}
.lang-btn.primary{background:#d4ad35;color:#0d0f1c;border-color:#d4ad35}
.lang-btn.ghost{border-color:#ffffff33;color:#c9cbe0}
.lang-btn:hover{filter:brightness(1.12)}.lang-btn:focus-visible,.lang-field select:focus-visible{outline:2px solid #fff;outline-offset:2px}
.lang-remember{display:flex;align-items:center;gap:10px;margin-top:16px;font-size:14px;color:#e9e1cf;user-select:none}
.lang-remember input{width:18px;height:18px;margin:0;accent-color:#d4ad35}
.lang-remember input:focus-visible{outline:2px solid #fff;outline-offset:2px}
.lang-status{min-height:1.4em;margin:12px 0 0!important;font-size:13px;color:#d4ad35!important}
.lang-note{margin:6px 0 0!important;padding-top:14px;border-top:1px solid #ffffff1a;font-size:12.5px;color:#a9abc4!important}

/* ===== devocrat-scroll-css ===== */
/* ===== Scroll-built scenes ===== */
#worldView .scrolly{position:relative;height:420vh;border-top:1px solid var(--line)}
#worldView .sc-sticky{position:sticky;top:72px;height:calc(100svh - 72px);display:grid;grid-template-columns:1fr;place-items:center;gap:clamp(18px,3vw,44px);align-items:center;padding:clamp(16px,2.5vw,36px) clamp(16px,5vw,72px);box-sizing:border-box;overflow:hidden}
#worldView .sc-copy h2{font-family:var(--font);font-size:clamp(1.7rem,2.8vw,2.6rem);line-height:1.08;margin:10px 0 22px}
#worldView .sc-steps{list-style:none;margin:0;padding:0;display:grid;gap:4px}
#worldView .sc-steps li{display:flex;gap:12px;align-items:baseline;padding:9px 0;font-size:14px;line-height:1.35;opacity:.42;transition:opacity .35s,background .35s,transform .35s}
#worldView .sc-steps li span{font:600 11px "Share Tech Mono",monospace;letter-spacing:.08em;color:var(--accent)}
#worldView .sc-steps li.done{opacity:.7}
#worldView .sc-steps li.active{opacity:1;transform:translateX(6px);font-weight:700}
#worldView .sc-steps li.active span{color:var(--accent);font-size:13px}
#worldView .sc-bar{height:3px;margin-top:20px;background:color-mix(in srgb,var(--fg),transparent 86%);border-radius:3px;overflow:hidden}
#worldView .sc-bar i{display:block;height:100%;background:var(--accent);transform-origin:left;transform:scaleX(0)}
#worldView .sc-stage{width:min(100%,1200px,calc((100svh - 120px) * 12 / 7));height:auto;aspect-ratio:12/7;justify-self:center;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);box-shadow:0 30px 80px #0003;background:var(--surface)}
#worldView .sc-stage svg{display:block;width:100%;height:100%}
#worldView .scrolly.sc-static{height:auto}#worldView .scrolly.sc-static .sc-sticky{position:static;height:auto}
/* effects: --t runs 0→1 across each element's own slice of the scroll */
.scrolly [data-s]{transform-box:fill-box;transform-origin:center}
.sc-draw{stroke-dasharray:1 1;stroke-dashoffset:calc(1 - var(--t,0));opacity:calc(var(--t,0) * 30)}
.sc-fade{opacity:var(--t,0)}
.sc-out{opacity:calc(1 - var(--t,0))}
.sc-rise{opacity:var(--t,0);translate:0 calc((1 - var(--t,0)) * 70px)}
.sc-drop{opacity:var(--t,0);translate:0 calc((var(--t,0) - 1) * 90px)}
.sc-left{opacity:var(--t,0);translate:calc((var(--t,0) - 1) * 260px) 0}
.sc-right{opacity:var(--t,0);translate:calc((1 - var(--t,0)) * 260px) 0}
.sc-pop{scale:max(0.001,var(--t,0));opacity:min(1,calc(var(--t,0) * 4))}
.sc-grow-y{scale:1 max(0.001,var(--t,0));transform-origin:bottom center!important}
.sc-grow-x{scale:max(0.001,var(--t,0)) 1;transform-origin:left center!important}
.sc-scoot{translate:calc(var(--t,0) * 300px) 0;rotate:calc(var(--t,0) * -14deg)}
.sc-bend{rotate:calc(var(--t,0) * 34deg);transform-origin:bottom center!important}
.sc-tilt{rotate:calc(var(--t,0) * 16deg);transform-origin:top center!important}
.sc-drive{translate:calc(var(--t,0) * 160px) 0}
.sc-pencil{translate:calc(var(--t,0) * 900px) calc(var(--t,0) * -260px)}
.sc-up{translate:0 calc(var(--t,0) * -200px)}
.sc-spin{rotate:calc(var(--t,0) * 90deg)}
/* living details once the scene is complete */
.sc-live.on .liv-sun{animation:scSpin 18s linear infinite;transform-box:fill-box;transform-origin:center}
.sc-live.on .liv-smoke circle{animation:scSmoke 2.4s ease-in-out infinite}.sc-live.on .liv-smoke circle:nth-child(2){animation-delay:.4s}.sc-live.on .liv-smoke circle:nth-child(3){animation-delay:.8s}
.sc-live.on .liv-bird{animation:scBird 3s ease-in-out infinite}
.sc-live.on .liv-wave{animation:scWave .8s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:left bottom}
.sc-live.on .liv-breathe{animation:scBreathe 4s ease-in-out infinite}
.sc-live.on .liv-wheel{animation:scSpin .5s linear infinite}
.sc-live.on .liv-road{animation:scRoad .6s linear infinite}
@keyframes scSpin{to{rotate:360deg}}@keyframes scSmoke{50%{translate:6px -10px;opacity:.3}}@keyframes scBird{50%{translate:40px -14px}}
@keyframes scWave{to{rotate:-30deg}}@keyframes scBreathe{50%{scale:1.04}}@keyframes scRoad{to{translate:-140px 0}}
/* per-world framing */
#worldView.theme-elegant .sc-stage,#worldView.theme-auto .sc-stage,#worldView.theme-arch .sc-stage,#worldView.theme-future .sc-stage{border-radius:0}
#worldView.theme-funny .sc-stage{border:4px solid #2b1b3d;box-shadow:8px 8px 0 #2b1b3d}
#worldView.theme-illus .sc-stage{border:3px solid #243b4a;border-radius:255px 15px 225px 15px/15px 225px 15px 255px;box-shadow:5px 6px 0 #243b4a}
#worldView.theme-mandala .sc-stage{border:2px solid #2a1f4d;border-radius:44px 6px 44px 6px;box-shadow:8px 8px 0 #f2a516}
#worldView.theme-kids .sc-stage{border:0;border-radius:36px;box-shadow:0 10px 0 #bfe0f7}
#worldView.theme-future .sc-stage{border-color:#00e5ff66;box-shadow:0 0 40px #00e5ff22}
#worldView.theme-elegant .sc-copy,#worldView.theme-elegant .sc-steps li{text-align:left}
#worldView.theme-salon .scrolly{background:#1f2a44;color:#fbf4f1}
#worldView.theme-elegant .scrolly{background:#1a1310;color:#efe4d2}
@media(max-width:900px){
 #worldView .scrolly{height:360vh}
 #worldView .sc-sticky{grid-template-columns:1fr;grid-template-rows:auto auto;align-content:center;gap:22px;padding:14px 16px 18px}
 #worldView .sc-copy h2{font-size:1.5rem;margin:6px 0 8px}
 #worldView .sc-steps{display:block;min-height:44px}
 #worldView .sc-steps li{display:none;padding:8px 10px;transform:none}#worldView .sc-steps li.active{display:flex}
 #worldView .sc-bar{margin-top:8px}
 #worldView .sc-stage{width:100%;align-self:center;aspect-ratio:12/7}
}
@media(max-width:900px) and (orientation:portrait){#worldView .sc-sticky{align-content:center}#worldView .sc-stage{box-shadow:0 18px 40px #0003}}

/* ===== devocrat-team-css ===== */
#worldView .team{display:grid;grid-template-columns:repeat(2,minmax(0,340px));justify-content:center;gap:clamp(24px,5vw,72px);margin-top:clamp(40px,6vw,72px)}
#worldView .tm{margin:0;text-align:center}
#worldView .tm-frame{position:relative;aspect-ratio:2/3;overflow:visible}
#worldView .tm-frame img{display:block;width:100%;height:100%;object-fit:cover}
#worldView .tm figcaption{margin-top:18px;display:grid;gap:4px}
#worldView .tm figcaption small{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);font-weight:700}
#worldView .tm figcaption strong{font-size:20px}#worldView .tm figcaption em{font-style:normal;opacity:.7;font-weight:500}
#worldView .tm figcaption a{color:var(--accent2);font-weight:700}
#worldView .tm-tag,#worldView .tm-c,#worldView .tm-sticker{display:none}
/* KIDS: chunky candy-coloured polaroid, washi tape, sticker badge, wobble */
#worldView.theme-kids .tm-frame{padding:14px 14px 58px;background:#fff;border-radius:28px;box-shadow:0 10px 0 #bfe0f7,0 20px 40px #1d3b6322;rotate:calc(-3deg + var(--i) * 6deg);transition:rotate .35s cubic-bezier(.3,1.6,.5,1),scale .35s}
#worldView.theme-kids .tm-frame img{border-radius:18px;height:calc(100% + 44px);margin-bottom:-44px;border:5px solid;border-color:#ff4d4d #ffd23f #4d9dff #7ac943}
#worldView.theme-kids .tm-dev .tm-frame img{border-color:#b36bff #ff9f1c #7ac943 #4d9dff}
#worldView.theme-kids .tm-frame:before{content:"";position:absolute;top:-14px;left:50%;width:110px;height:30px;translate:-50% 0;rotate:-4deg;background:repeating-linear-gradient(45deg,#ffd23fcc 0 10px,#ff9f1ccc 10px 20px);border-radius:4px;z-index:2}
#worldView.theme-kids .tm-dev .tm-frame:before{background:repeating-linear-gradient(45deg,#4d9dffcc 0 10px,#7ac943cc 10px 20px);rotate:5deg}
#worldView.theme-kids .tm-sticker{display:grid;place-items:center;position:absolute;right:-16px;bottom:22px;width:62px;height:62px;border-radius:50%;background:#ffd23f;border:4px solid #fff;box-shadow:0 6px 0 #c9a200;font-size:26px;font-style:normal;z-index:2}
#worldView.theme-kids .tm-dev .tm-sticker{background:#4d9dff;box-shadow:0 6px 0 #2a6fd0}
#worldView.theme-kids .tm:hover .tm-frame{rotate:0deg;scale:1.04}
#worldView.theme-kids .tm figcaption strong{font-family:"Baloo 2",sans-serif;font-weight:800;color:#1d3b63}
#worldView.theme-kids .tm figcaption small{display:inline-block;justify-self:center;padding:4px 12px;border-radius:999px;background:#ff7a1a;color:#fff;letter-spacing:.06em}
#worldView.theme-kids .tm-dev figcaption small{background:#4d9dff}
/* ARCHITECTURE: drafting sheet with crop marks, dimension lines and a title block */
#worldView.theme-arch .tm-frame{padding:16px;background:#0b335f;border:1px solid #ffffffaa;transition:translate .3s,box-shadow .3s}
#worldView.theme-arch .tm-frame img{filter:saturate(.9) contrast(1.05);outline:1px solid #8bbcff;outline-offset:6px}
#worldView.theme-arch .tm-frame:before{content:"";position:absolute;inset:16px;background:linear-gradient(#ffffff22 1px,transparent 1px) 0 0/100% 24px,linear-gradient(90deg,#ffffff22 1px,transparent 1px) 0 0/24px 100%;pointer-events:none;mix-blend-mode:screen;opacity:0;transition:opacity .4s}
#worldView.theme-arch .tm:hover .tm-frame:before{opacity:1}
#worldView.theme-arch .tm-frame:after{content:"";position:absolute;left:16px;right:16px;bottom:-26px;height:10px;border:1px solid #8bbcff;border-top:0}
#worldView.theme-arch .tm-c{display:block;position:absolute;width:22px;height:22px;border:0 solid #fff}
#worldView.theme-arch .tm-c.tl{top:-8px;left:-8px;border-top-width:2px;border-left-width:2px}#worldView.theme-arch .tm-c.tr{top:-8px;right:-8px;border-top-width:2px;border-right-width:2px}
#worldView.theme-arch .tm-c.bl{bottom:-8px;left:-8px;border-bottom-width:2px;border-left-width:2px}#worldView.theme-arch .tm-c.br{bottom:-8px;right:-8px;border-bottom-width:2px;border-right-width:2px}
#worldView.theme-arch .tm-tag{display:block;position:absolute;left:28px;bottom:28px;padding:6px 10px;background:#0d3b6ee6;border:1px solid #8bbcff;font:12px "Share Tech Mono",monospace;letter-spacing:.14em;color:#cfe3ff}
#worldView.theme-arch .tm:hover .tm-frame{translate:-4px -4px;box-shadow:8px 8px 0 #8bbcff55}
#worldView.theme-arch .tm figcaption{margin-top:40px;font-family:"Share Tech Mono",monospace}
#worldView.theme-arch .tm figcaption strong{font-family:"Space Grotesk",sans-serif;text-transform:uppercase;letter-spacing:.04em}
#worldView.theme-arch .tm figcaption small{color:#8bbcff}#worldView.theme-arch .tm figcaption a{color:#cfe3ff}
@media(max-width:560px){#worldView .team{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}#worldView .tm figcaption strong{font-size:16px}#worldView .tm figcaption small{font-size:9px}
 #worldView.theme-kids .tm-frame{padding:8px 8px 34px;border-radius:18px}#worldView.theme-kids .tm-sticker{width:42px;height:42px;font-size:18px;right:-10px}
 #worldView.theme-arch .tm-tag{left:20px;bottom:20px;font-size:9px;padding:4px 6px}}
/* FUNNY: comic-panel frame, chunky outline, offset shadow, burst sticker, wobble */
#worldView.theme-funny .tm-frame{padding:12px;background:#fff;border:5px solid #2b1b3d;border-radius:22px;box-shadow:10px 10px 0 #2b1b3d;rotate:calc(-2.5deg + var(--i) * 5deg);transition:rotate .2s}
#worldView.theme-funny .tm-dev .tm-frame{background:#3ec6e0}#worldView.theme-funny .tm-des .tm-frame{background:#ffe45e}
#worldView.theme-funny .tm-frame img{border:4px solid #2b1b3d;border-radius:14px}
#worldView.theme-funny .tm-sticker{display:grid;place-items:center;position:absolute;right:-26px;top:-22px;width:92px;height:92px;background:#ff5d8f;color:#fff;font:400 20px "Bungee",sans-serif;font-style:normal;clip-path:polygon(50% 0,61% 22%,85% 12%,78% 37%,100% 50%,78% 63%,85% 88%,61% 78%,50% 100%,39% 78%,15% 88%,22% 63%,0 50%,22% 37%,15% 12%,39% 22%);rotate:12deg;z-index:3}
#worldView.theme-funny .tm-dev .tm-sticker{background:#7ac943;rotate:-10deg;right:auto;left:-26px}
#worldView.theme-funny .tm:hover .tm-frame{animation:tmWobble .5s}
@keyframes tmWobble{25%{rotate:5deg;scale:1.03}50%{rotate:-5deg}75%{rotate:3deg}}
#worldView.theme-funny .tm figcaption strong{font-family:"Fredoka",sans-serif;font-weight:700}
#worldView.theme-funny .tm figcaption small{display:inline-block;justify-self:center;padding:5px 12px;border:3px solid #2b1b3d;border-radius:999px;background:#fff;color:#2b1b3d;box-shadow:3px 3px 0 #2b1b3d;rotate:-2deg}
#worldView.theme-funny .tm figcaption a{color:#ff5d8f}
@media(max-width:560px){#worldView.theme-funny .tm-sticker{width:60px;height:60px;font-size:13px;right:-14px;top:-14px}#worldView.theme-funny .tm-dev .tm-sticker{left:-14px}#worldView.theme-funny .tm-frame{padding:7px;border-width:4px;box-shadow:6px 6px 0 #2b1b3d}#worldView.theme-auto .tm-tag{font-size:9px;padding:4px 8px 4px 12px}}
/* FUTURISTIC: holographic HUD panel, neon edge, corner brackets, scanline sweep */
#worldView.theme-future .tm-frame{padding:10px;background:linear-gradient(135deg,#00e5ff55,#ff2bd655);clip-path:polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,24px 100%,0 calc(100% - 24px));filter:drop-shadow(0 0 14px #00e5ff55);transition:filter .3s}
#worldView.theme-future .tm-frame img{clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px))}
#worldView.theme-future .tm-frame:before{content:"";position:absolute;inset:10px;background:repeating-linear-gradient(#00e5ff12 0 1px,transparent 1px 4px),linear-gradient(transparent 40%,#00e5ff33 50%,transparent 60%) 0 -100%/100% 200% no-repeat;pointer-events:none;z-index:2;clip-path:inherit}
#worldView.theme-future .tm:hover .tm-frame:before{animation:tmScan 1.4s linear infinite}@keyframes tmScan{to{background-position:0 0,0 200%}}
#worldView.theme-future .tm:hover .tm-frame{filter:drop-shadow(0 0 24px #00e5ffaa)}
#worldView.theme-future .tm-c{display:block;position:absolute;width:26px;height:26px;border:0 solid #00e5ff;z-index:3}
#worldView.theme-future .tm-c.tl{top:-10px;left:-10px;border-top-width:2px;border-left-width:2px}#worldView.theme-future .tm-c.br{bottom:-10px;right:-10px;border-bottom-width:2px;border-right-width:2px;border-color:#ff2bd6}
#worldView.theme-future .tm-tag{display:block;position:absolute;left:22px;bottom:22px;padding:6px 10px;background:#05060fcc;border:1px solid #00e5ff;color:#00e5ff;font:11px "Orbitron",sans-serif;letter-spacing:.16em;z-index:3;text-shadow:0 0 8px #00e5ff}
#worldView.theme-future .tm figcaption strong{font-family:"Orbitron",sans-serif;font-size:16px;text-transform:uppercase;letter-spacing:.06em;text-shadow:0 0 12px #00e5ff66}
#worldView.theme-future .tm figcaption small{color:#ff2bd6}#worldView.theme-future .tm figcaption a{color:#00e5ff}
/* ILLUSTRATIVE: sketchbook page, hand-drawn ink outline, paint splash behind, doodle sticker */
#worldView.theme-illus .tm-frame{padding:14px;background:#fffdf6;border:3px solid #243b4a;border-radius:255px 15px 225px 15px/15px 225px 15px 255px;box-shadow:6px 7px 0 #243b4a;rotate:calc(-2deg + var(--i) * 4deg);transition:rotate .3s}
#worldView.theme-illus .tm-frame img{border-radius:225px 12px 200px 12px/12px 200px 12px 225px;border:2px solid #243b4a}
#worldView.theme-illus .tm:before{content:"";position:absolute;width:78%;aspect-ratio:1;left:11%;top:12%;background:radial-gradient(circle at 30% 30%,#ffd166 0 30%,transparent 31%),radial-gradient(circle at 70% 40%,#e76f51 0 26%,transparent 27%),radial-gradient(circle at 50% 75%,#2a9d8f 0 28%,transparent 29%);filter:blur(1px);opacity:.55;z-index:-1;scale:1.25}
#worldView.theme-illus .tm{position:relative;isolation:isolate}
#worldView.theme-illus .tm-sticker{display:grid;place-items:center;position:absolute;right:-18px;top:-18px;width:66px;height:66px;border-radius:50%;background:#ffd166;border:3px solid #243b4a;font:700 22px "Caveat",cursive;font-style:normal;color:#243b4a;rotate:10deg;z-index:3}
#worldView.theme-illus .tm-dev .tm-sticker{background:#9bf6ff;font:700 18px "Share Tech Mono",monospace;rotate:-8deg}
#worldView.theme-illus .tm:hover .tm-frame{rotate:0deg}
#worldView.theme-illus .tm figcaption strong{font-family:"Caveat",cursive;font-size:30px}
#worldView.theme-illus .tm figcaption small{font-family:"Patrick Hand",cursive;font-size:14px;letter-spacing:.06em;color:#e76f51}
/* LUXURY: gilded gallery frame, double gold border, deep mat, engraved plaque, warm glow */
#worldView.theme-elegant .tm-frame{padding:22px;background:linear-gradient(135deg,#f6e3a6,#b8955a 25%,#f1d58a 50%,#8a6a2e 75%,#e8c66a);box-shadow:0 26px 50px #2b211c55,inset 0 0 0 2px #fff6d8aa;transition:box-shadow .4s}
#worldView.theme-elegant .tm-frame:before{content:"";position:absolute;inset:10px;border:1px solid #2b211c88;pointer-events:none}
#worldView.theme-elegant .tm-frame img{border:14px solid #1a1310;outline:1px solid #c9a24a;outline-offset:-8px}
#worldView.theme-elegant .tm-tag{display:block;position:absolute;left:50%;bottom:-18px;translate:-50% 0;padding:8px 22px;background:linear-gradient(#2b211c,#120d0a);border:1px solid #c9a24a;color:#e8c66a;font:italic 500 15px "Cormorant Garamond",serif;letter-spacing:.12em;white-space:nowrap}
#worldView.theme-elegant .tm:hover .tm-frame{box-shadow:0 30px 60px #2b211c66,0 0 50px #f1d58a66,inset 0 0 0 2px #fff6d8}
#worldView.theme-elegant .tm figcaption{margin-top:36px;text-align:center}#worldView.theme-elegant .tm figcaption strong{font-family:"Cormorant Garamond",serif;font-weight:600;font-size:26px;letter-spacing:.04em}
#worldView.theme-elegant .tm figcaption small{color:#a8834a;letter-spacing:.32em}
@media(max-width:560px){#worldView.theme-elegant .tm-frame{padding:10px}#worldView.theme-elegant .tm-frame img{border-width:6px}#worldView.theme-elegant .tm-tag,#worldView.theme-interior .tm-tag{font-size:9px;padding:5px 9px;letter-spacing:.1em}
 #worldView.theme-future .tm-tag{font-size:8px;left:14px;bottom:14px}#worldView.theme-illus .tm-sticker{width:44px;height:44px;font-size:15px;right:-10px;top:-10px}#worldView.theme-interior .tm-frame{padding:8px}#worldView.theme-interior .tm-frame img{border-width:5px}
 #worldView.theme-illus .tm figcaption strong{font-size:22px}#worldView.theme-interior .tm figcaption strong,#worldView.theme-elegant .tm figcaption strong{font-size:18px}}
/* Meet the family panel: round portrait icons */
#worldView .fam-row{display:flex;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}#worldView .fam-row:last-child{border-bottom:0}
#worldView .fam-row .person{border:0;flex:1;min-width:0}
#worldView .fam-ava{flex:none;width:120px;height:auto;aspect-ratio:2/3;border-radius:14px;object-fit:cover;border:3px solid var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent),transparent 80%)}
#worldView.theme-arch .fam-ava,#worldView.theme-auto .fam-ava,#worldView.theme-future .fam-ava,#worldView.theme-elegant .fam-ava{border-radius:2px}
#worldView.theme-funny .fam-ava{border:3px solid #2b1b3d;box-shadow:4px 4px 0 #2b1b3d}
#worldView.theme-interior .fam-ava,#worldView.theme-salon .fam-ava{border-radius:999px 999px 8px 8px}
/* MODERN: frosted glass card, gradient ring, soft float */
#worldView.theme-modern .tm-frame{padding:10px;border-radius:28px;background:linear-gradient(135deg,#5b4ff5,#10b8a6);box-shadow:0 30px 60px #3b2fd133;transition:translate .35s,box-shadow .35s}
#worldView.theme-modern .tm-frame img{border-radius:20px;border:6px solid #ffffffcc}
#worldView.theme-modern .tm-tag{display:block;position:absolute;left:50%;bottom:20px;translate:-50% 0;padding:8px 18px;border-radius:999px;background:#ffffffd9;backdrop-filter:blur(10px);color:#14142b;font:600 12px "Space Grotesk",sans-serif;letter-spacing:.08em;box-shadow:0 8px 20px #0002}
#worldView.theme-modern .tm:hover .tm-frame{translate:0 -8px;box-shadow:0 40px 70px #3b2fd144}
/* HOSPITAL: clean ID-badge card with lanyard clip, cross mark and pulse line */
#worldView.theme-hospital .tm-frame{padding:14px 14px 44px;background:#fff;border-radius:22px;border:1px solid #cfe8eb;box-shadow:0 20px 40px #0b95a622;transition:translate .3s}
#worldView.theme-hospital .tm-frame:before{content:"";position:absolute;top:-22px;left:50%;width:46px;height:30px;translate:-50% 0;border-radius:10px 10px 6px 6px;background:linear-gradient(#e6f7f8,#cfe8eb);border:2px solid #0b95a6}
#worldView.theme-hospital .tm-frame img{border-radius:14px}
#worldView.theme-hospital .tm-tag{display:flex;align-items:center;gap:8px;position:absolute;left:14px;right:14px;bottom:10px;justify-content:center;color:#0b95a6;font:800 12px "Nunito",sans-serif;letter-spacing:.14em}
#worldView.theme-hospital .tm-tag:before{content:"✚";display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e5383b;color:#fff;font-size:12px}
#worldView.theme-hospital .tm:hover .tm-frame{translate:0 -6px}
/* SALON: navy mirror with brass rim and vanity bulbs */
#worldView.theme-salon .tm-frame{padding:16px;border-radius:999px 999px 20px 20px;background:#1f2a44;border:5px solid #c9a24a;box-shadow:0 24px 50px #1f2a4444}
#worldView.theme-salon .tm-frame img{border-radius:999px 999px 10px 10px}
#worldView.theme-salon .tm-frame:after{content:"";position:absolute;inset:-14px;border-radius:999px 999px 26px 26px;background:radial-gradient(circle,#fff3c4 0 4px,transparent 5px) 0 0/40px 40px;-webkit-mask:linear-gradient(#000,#000) content-box,linear-gradient(#000,#000);-webkit-mask-composite:xor;mask-composite:exclude;padding:10px;pointer-events:none;opacity:.9}
#worldView.theme-salon .tm-tag{display:block;position:absolute;left:50%;bottom:-14px;translate:-50% 0;padding:7px 18px;border-radius:999px;background:#c9a24a;color:#1f2a44;font:600 12px "Jost",sans-serif;letter-spacing:.14em;white-space:nowrap}
#worldView.theme-salon .tm figcaption{margin-top:32px}
/* MANDALA: block-print card with rangoli border and saffron offset */
#worldView.theme-mandala .tm-frame{padding:14px;background:#fffaf0;border:2px solid #2a1f4d;border-radius:44px 6px 44px 6px;box-shadow:8px 8px 0 #f2a516;outline:1px solid #2a1f4d55;outline-offset:-8px}
#worldView.theme-mandala .tm-dev .tm-frame{box-shadow:8px 8px 0 #0b7a7c}
#worldView.theme-mandala .tm-frame img{border-radius:36px 4px 36px 4px;border:2px solid #2a1f4d}
#worldView.theme-mandala .tm-tag{display:block;position:absolute;left:50%;bottom:-16px;translate:-50% 0;padding:7px 16px;border-radius:999px;background:#c8391f;color:#fff4e0;border:2px solid #2a1f4d;font:800 11px "Nunito",sans-serif;letter-spacing:.12em;white-space:nowrap}
#worldView.theme-mandala .tm-dev .tm-tag{background:#0b7a7c}
#worldView.theme-mandala .tm figcaption{margin-top:30px}#worldView.theme-mandala .tm figcaption strong{font-family:"Yatra One",serif;font-weight:400}
@media(max-width:560px){#worldView .fam-ava{width:104px}#worldView.theme-modern .tm-tag,#worldView.theme-salon .tm-tag,#worldView.theme-mandala .tm-tag,#worldView.theme-hospital .tm-tag{font-size:9px;padding:4px 9px}}
#worldView #contact .team{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;gap:clamp(18px,2.5vw,34px);margin-top:34px;max-width:520px}

/* ===== devocrat-v3-css ===== */
/* V3: 13 distinct impact grammars and a landing-only 3D patrol character */
#patrolBuddy{width:100px;height:142px;z-index:1001;pointer-events:none;transform-style:preserve-3d;perspective:700px;filter:drop-shadow(0 10px 18px #0009);animation:buddyOrbit3d 16s cubic-bezier(.45,0,.55,1) infinite}
#patrolBuddy svg{overflow:visible;transform-style:preserve-3d;animation:buddyTilt3d 3.8s ease-in-out infinite}
#patrolBuddy .buddy-glow{filter:blur(2px)}
body.world-open #patrolBuddy,#worldView.open~#patrolBuddy{display:none!important}
@keyframes buddyOrbit3d{0%,100%{right:18px;bottom:22px}18%{right:calc(50vw - 50px);bottom:24px}38%{right:calc(100vw - 120px);bottom:calc(55vh - 70px)}60%{right:calc(100vw - 120px);bottom:calc(100vh - 165px)}80%{right:calc(50vw - 50px);bottom:calc(100vh - 165px)}}
@keyframes buddyTilt3d{0%,100%{transform:rotateY(-22deg) rotateX(5deg) rotateZ(-3deg)}25%{transform:rotateY(25deg) rotateX(-6deg) rotateZ(4deg)}50%{transform:rotateY(0deg) rotateX(12deg) rotateZ(-2deg) translateY(-7px)}75%{transform:rotateY(-35deg) rotateX(-4deg) rotateZ(3deg)}}
#patrolBuddy .action-orbit{transform-origin:40px 55px;animation:orbitSpin 5s linear infinite}#patrolBuddy .action-arm{transform-origin:31px 39px;animation:buddyAim 3.6s ease-in-out infinite}#patrolBuddy .action-eye{animation:eyeScan 2.2s ease-in-out infinite alternate}
@keyframes orbitSpin{to{transform:rotate(360deg)}}@keyframes buddyAim{0%,100%{transform:rotate(0)}35%{transform:rotate(-28deg)}55%{transform:rotate(20deg)}}@keyframes eyeScan{from{transform:translateX(-2px)}to{transform:translateX(3px)}}
/* Distinct pointer silhouettes per world */
body[data-active-world="modern"] #cursorCore{border-radius:50%;border:1px solid #72e7d4}
body[data-active-world="elegant"] #cursorCore{border-radius:0;border:1px solid #d7bd83;transform:translate(-50%,-50%) rotate(45deg)}
body[data-active-world="hospital"] #cursorCore{border-radius:50%;border:2px solid #65c9c2}
body[data-active-world="salon"] #cursorCore{border-radius:50% 50% 4px 50%;border:1px solid #ff83bd;transform:translate(-50%,-50%) rotate(-35deg)}
body[data-active-world="illus"] #cursorCore{border-radius:4px 50% 50% 50%;border:2px dashed #f5a45b}
body[data-active-world="interior"] #cursorCore{border-radius:2px;border:1px solid #8a8b67;transform:translate(-50%,-50%) rotate(45deg)}
body[data-active-world="arch"] #cursorCore{border-radius:0;border:2px solid #7db6ff}
body[data-active-world="funny"] #cursorCore{border-radius:35%;border:2px solid #ff6f5d;transform:translate(-50%,-50%) rotate(15deg)}
body[data-active-world="kids"] #cursorCore{border-radius:50%;border:3px solid #ffcf4a;box-shadow:0 0 0 5px #ffcf4a22}
body[data-active-world="auto"] #cursorCore{border-radius:0;border:2px solid #ff5e43;transform:translate(-50%,-50%) skew(-20deg)}
body[data-active-world="future"] #cursorCore{border-radius:0;border:1px solid #6cf8ff;box-shadow:0 0 14px #6cf8ff;transform:translate(-50%,-50%) rotate(45deg)}
body[data-active-world="landing"] #cursorCore{border-radius:50%;border:1px solid #d4ad35;box-shadow:0 0 18px #d4ad3577}
#worldView button,.worldnav button,.project,.cta,.navbtn,.ghostbtn{transition:transform .22s cubic-bezier(.2,.8,.2,1),filter .22s,box-shadow .22s;}
#worldView button:hover,.worldnav button:hover,.project:hover,.cta:hover,.navbtn:hover,.ghostbtn:hover{filter:brightness(1.12) saturate(1.12);box-shadow:0 0 0 1px var(--fx-color,#d4ad35),0 7px 28px #0003;transform:translateY(-2px)}
#worldView button:active,.worldnav button:active,.project:active,.cta:active,.navbtn:active,.ghostbtn:active{transform:scale(.96)}
@media(max-width:600px){#patrolBuddy{width:65px;height:95px;opacity:.9}}

/* ===== devocrat-final-polish ===== */
/* Final layout polish: protect labels and keep world-card contents inside their frames. */
.world{min-width:0;overflow:hidden;position:relative}
.world .wtop{position:relative;z-index:2;min-width:0;gap:10px;overflow:hidden;white-space:nowrap}
.world .wtop span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.world .wicon,.world h3,.world p,.world .wfoot{position:relative;z-index:2}
.world .wicon{display:block;width:max-content;max-width:100%;margin:18px 0 12px;line-height:1.1}
.world .wfoot{gap:10px}
.world .wfoot>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.world:before,.world:after{pointer-events:none}
/* Larger, animated wordmark on the landing page only. */
.brand{min-width:290px;min-height:76px;align-items:center}
.brand>span:last-child{width:290px!important;height:76px!important;min-width:290px;background-size:contain!important;background-position:left center!important;background-repeat:no-repeat!important;animation:devocratWordmark 4.8s ease-in-out infinite;filter:drop-shadow(0 0 0 rgba(212,173,53,0))}
@keyframes devocratWordmark{0%,100%{transform:translateY(0) scale(1);filter:drop-shadow(0 0 0 rgba(212,173,53,0))}45%{transform:translateY(-2px) scale(1.025);filter:drop-shadow(0 5px 15px rgba(212,173,53,.24))}55%{transform:translateY(0) scale(1.015);filter:drop-shadow(0 0 12px rgba(212,173,53,.22))}}
/* The world overlay has its own nav; the landing top bar must not sit on top of it. */
body.world-open .topbar{display:none}
/* Screen-impact visuals are drawn at a fresh random location and remain behind readable content. */
#devocratShotLayer{position:fixed;inset:0;pointer-events:none;z-index:1800;overflow:hidden}
.dev-shot{position:absolute;pointer-events:none;left:var(--tx);top:var(--ty);width:var(--size,150px);height:var(--size,150px);transform:translate(-50%,-50%);opacity:0;animation:devImpactIn 760ms cubic-bezier(.12,.8,.2,1) forwards;filter:drop-shadow(0 0 8px var(--shot-color))}
.dev-shot svg{width:100%;height:100%;overflow:visible}
.dev-shot .pulse{fill:none;stroke:var(--shot-color);stroke-width:1.7;transform-origin:50% 50%;animation:devPulse 720ms ease-out forwards}
.dev-shot .spike{fill:none;stroke:var(--shot-color);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.dev-shot .symbol{fill:var(--shot-color);font-size:21px;font-weight:700;text-anchor:middle;dominant-baseline:middle}
.dev-bullet-trail{position:fixed;z-index:1801;pointer-events:none;height:3px;transform-origin:left center;border-radius:9px;background:linear-gradient(90deg,transparent,#fff7b8,var(--shot-color));box-shadow:0 0 8px var(--shot-color),0 0 18px var(--shot-color);animation:devTrail 230ms ease-out forwards}
.dev-muzzle-flash{position:absolute;right:-10px;top:61px;width:30px;height:24px;border-radius:50%;background:radial-gradient(circle,#fff 0 8%,#fff1a6 18%,#ff9b22 42%,transparent 72%);filter:blur(.4px);opacity:0;transform:scale(.2);pointer-events:none}
#patrolBuddy{pointer-events:none;z-index:1802}
#patrolBuddy .buddy-gun{transform-origin:69px 72px;filter:drop-shadow(0 0 4px #d4ad3580)}
#patrolBuddy.firing .buddy-gun{animation:buddyRecoil 180ms ease-out}
#patrolBuddy.firing .dev-muzzle-flash{animation:muzzleFlash 180ms ease-out}
@keyframes devImpactIn{0%{opacity:0;scale:.05;rotate:-24deg}18%{opacity:1;scale:.5;rotate:0deg}35%{opacity:1;scale:1.04}100%{opacity:0;scale:1.18;rotate:8deg}}
@keyframes devPulse{0%{scale:.05;opacity:1}100%{scale:1.25;opacity:0}}
@keyframes devTrail{0%{opacity:1;scale:1}100%{opacity:0;scale:1 0.25}}
@keyframes buddyRecoil{0%,100%{transform:translate(0,0) rotate(0)}45%{transform:translate(-4px,2px) rotate(-7deg)}}
@keyframes muzzleFlash{0%{opacity:0;transform:scale(.2)}30%{opacity:1;transform:scale(1.2)}100%{opacity:0;transform:scale(.1)}}
@media(max-width:650px){html{scroll-padding-top:80px}.brand{min-width:150px;min-height:50px}.brand>span:last-child{width:155px!important;min-width:155px;height:48px!important}.dev-shot{--size:112px}}
@media(prefers-reduced-motion:reduce){.brand>span:last-child{animation:none!important}.dev-shot,.dev-bullet-trail{animation-duration:1ms!important}}
/* Muzzle flash: SVG-native styling (HTML box properties do not apply to SVG shapes). */
#patrolBuddy .dev-muzzle-flash{position:static;width:auto;height:auto;border-radius:0;background:none;fill:#ffd878;stroke:#fff5c8;stroke-width:1;transform-box:fill-box;transform-origin:center;opacity:0;filter:drop-shadow(0 0 6px #ff9b22)}
/* AUTOMOTIVE world = drive.html, shown full screen. The page has its own cursor and controls, so the site's cursor and effects step aside. */
.driveframe{position:fixed;inset:0;width:100%;height:100%;border:0;display:block;background:#0d0c0a;z-index:1}
body.drive-open #cursor,body.drive-open #fx,body.drive-open .m-cursor-dot,body.drive-open .m-cursor-ring{display:none!important}
body.drive-open,body.drive-open *{cursor:auto!important}

/* ---------- text version of the site (SEO + accessibility) ---------- */
.seo-open{position:fixed;left:max(14px,env(safe-area-inset-left));top:max(14px,env(safe-area-inset-top));z-index:3;padding:7px 13px;border:1px solid #d4ad3540;border-radius:999px;background:#05060ccc;color:#cfc6b0;font:500 11px/1.3 system-ui,sans-serif;letter-spacing:.04em;cursor:pointer;opacity:.8;transition:opacity .2s,border-color .2s}
.seo-open:hover,.seo-open:focus-visible{opacity:1;border-color:#d4ad35;color:#f3ead6}
body.overlay-open .seo-open,body.drive-open .seo-open{display:none}
html.js .seo-doc{position:fixed;inset:0;z-index:60;overflow:auto;background:#05060cf2;visibility:hidden;opacity:0;transition:opacity .25s,visibility 0s .25s}
html.js .seo-doc.open{visibility:visible;opacity:1;transition:opacity .25s}
.seo-doc{color:#e9e1cf;font:16px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif}
.seo-in{position:relative;max-width:760px;margin:0 auto;padding:56px 16px 64px}
.seo-doc h1{margin:.2em 0 .6em;color:#f3ead6;font:700 clamp(24px,4vw,34px)/1.25 Georgia,serif}
.seo-doc h2{margin:1.8em 0 .5em;color:#d4ad35;font:700 21px/1.3 Georgia,serif}
.seo-doc h3{margin:1.1em 0 .2em;color:#f3ead6;font-size:16px}
.seo-doc p,.seo-doc ul{margin:0 0 .8em}.seo-doc ul{padding-left:1.2em}.seo-doc li{margin:.35em 0}
.seo-doc a{color:#e8c766}.seo-doc strong{color:#f3ead6}
.seo-kick{color:#d4ad35;font-size:12px;letter-spacing:.2em;text-transform:uppercase}
.seo-doc footer{margin-top:2.5em;padding-top:1em;border-top:1px solid #d4ad3533;font-size:13px;color:#a9a08c}
.seo-close{position:sticky;top:12px;float:right;width:40px;height:40px;margin:-40px 0 0;border:1px solid #d4ad3566;border-radius:50%;background:#0b0c14;color:#f3ead6;font-size:16px;cursor:pointer}
html:not(.js) .seo-open,html:not(.js) .seo-close{display:none}
