/* LBcode Dual Reality V3 — Studio: editorial design. Extreme is untouched. */
@font-face{font-family:Anton;src:url('/fonts/anton.woff2') format('woff2');font-display:swap}@font-face{font-family:Inter;src:url('/fonts/inter-400.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Inter;src:url('/fonts/inter-500.woff2') format('woff2');font-weight:500;font-display:swap}@font-face{font-family:Inter;src:url('/fonts/inter-600.woff2') format('woff2');font-weight:600;font-display:swap}
:root{--paper:#eeeee8;--ink:#161b1d;--blue:#1159bb;--ice:#a7e5f5;--line:#b9bebc;--pad:clamp(22px,5vw,82px);color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.5 Inter,Arial,sans-serif}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}a:focus-visible,summary:focus-visible{outline:3px solid #196bdc;outline-offset:4px}.skip{position:fixed;top:10px;left:10px;transform:translateY(-180%);padding:12px 18px;background:#fff;color:#111;z-index:100}.skip:focus{transform:none}.brand{font:600 34px/.9 Inter,Arial,sans-serif;letter-spacing:-.1em;white-space:nowrap;display:inline-block}.brand b{font-weight:600}.brand-dot{color:var(--blue)}.micro{font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;line-height:1.4}.micro i{display:inline-block;width:7px;height:7px;background:var(--blue);margin-right:9px;vertical-align:1px}.shell{max-width:1600px;margin:0 auto;padding-inline:var(--pad)}
/* The gate is an architectural split, not a card grid. */
.gateway{background:#101619;color:#eef2ef}.gate{min-height:100svh;min-height:100dvh;display:flex;flex-direction:column;max-width:2000px;margin:auto}.gate-header{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:20px;padding:clamp(16px,3vh,32px) var(--pad);border-bottom:1px solid #394447}.gate-header .brand-dot{color:#a6e8f7}.gate-header h1{font-size:clamp(14px,1.45vw,22px);font-weight:400;line-height:1.25;text-align:center;color:#b4c0c5;letter-spacing:-.04em}.gate-header h1 strong{font-weight:600;color:white}.gate-status{justify-self:end;font-size:9px;letter-spacing:.14em;line-height:1.4;text-align:right;color:#a9bec6}.gate-status i{display:inline-block;width:6px;height:6px;background:#a8e8f4;border-radius:50%;margin-right:6px}.portals{display:grid;grid-template-columns:1fr 1fr;flex:1;position:relative;min-height:0}.portal{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:480px;padding:clamp(25px,4vw,64px);overflow:hidden;transition:background .3s}.portal-studio{background:#eeeee8;color:#151b1d}.portal-extreme{background:#070c10;color:#f2f6f7}.portal-top{display:flex;justify-content:space-between;align-items:flex-start;z-index:3;font-size:10px;letter-spacing:.13em;font-weight:600}.portal-index{font:400 clamp(42px,7vw,100px)/.8 Anton,Impact,sans-serif;letter-spacing:-.035em;color:#12171922}.portal-extreme .portal-index{color:#b8e7f01e}.studio-symbol{position:absolute;z-index:-1;left:49%;top:33%;transform:translate(-50%,-50%);font:600 clamp(120px,24vw,360px)/.72 Inter,Arial,sans-serif;letter-spacing:-.14em;color:#d4d8d6;white-space:nowrap;transition:transform .6s cubic-bezier(.2,.8,.2,1)}.studio-symbol .symbol-dot{color:#1259bb;opacity:.82}.studio-symbol i{position:absolute;display:block;background:#a0adac;height:1px;width:125%;left:-12%;opacity:.65}.studio-symbol i:nth-of-type(1){top:-18%}.studio-symbol i:nth-of-type(2){top:110%}.studio-symbol i:nth-of-type(3){height:135%;width:1px;left:17%;top:-18%}.portal-studio:hover .studio-symbol{transform:translate(-47%,-50%) scale(1.025)}.portal-portrait{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 62% 40%,#163742 0%,#070c10 63%);overflow:hidden}.portal-portrait picture{display:block;position:absolute;inset:0}.portal-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 37%;transition:transform .65s cubic-bezier(.2,.8,.2,1);opacity:.85}.portal-portrait:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#060a0e 0%,#060a0ee6 24%,#060a0e42 57%,transparent 85%)}.portal-extreme:hover .portal-portrait img{transform:scale(1.035)}.portal-content{position:relative;z-index:2;padding-top:22px}.portal-kicker{font-size:10px;font-weight:600;letter-spacing:.14em;display:block;margin-bottom:8px;color:#3d5963}.portal-extreme .portal-kicker{color:#a0d8e9}.portal h2{font:600 clamp(65px,9vw,153px)/.88 Inter,Arial,sans-serif;letter-spacing:-.105em;margin-left:-.055em}.portal h2 span{color:var(--blue)}.portal-extreme h2 span{color:var(--ice)}.portal p{margin:22px 0 24px;font-size:clamp(14px,1.45vw,20px);line-height:1.4;letter-spacing:-.025em}.portal-action{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #9aa6a6;padding-top:17px;font-size:14px;font-weight:600}.portal-action i{font-style:normal;font-size:26px;line-height:1;transition:transform .2s}.portal:hover .portal-action i{transform:translate(3px,-3px)}.portal-extreme .portal-action{border-color:#48646d;color:#b9eaf6}.portal-seam{position:absolute;z-index:4;left:50%;top:50%;width:48px;height:48px;background:#11181d;border:1px solid #91c0cb;transform:translate(-50%,-50%);border-radius:50%;display:grid;place-items:center;pointer-events:none}.portal-seam span{font:600 16px/1 Inter,sans-serif;letter-spacing:-.1em;color:#b9e6f1}.gate-last{display:none;position:absolute;right:clamp(25px,4vw,64px);bottom:clamp(66px,7vw,108px);font-size:8px;letter-spacing:.08em;background:#f9faf3;color:#151b1d;padding:4px 6px;border:1px solid #c6cdca}.gate-choice[data-last=true] .gate-last{display:block}.gate-footer{display:flex;justify-content:space-between;align-items:center;padding:14px var(--pad);gap:10px;font-size:9px;letter-spacing:.12em;color:#9aafb7;border-top:1px solid #394447}.gate-footer a{letter-spacing:0;color:#d5e4e8}
/* Studio: independent, typographic and light, with original projects as evidence. */
.studio-header{position:sticky;top:0;z-index:20;background:#eeeee8;border-bottom:1px solid #c0c6c1}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:76px}.desktop-nav{display:flex;gap:clamp(18px,3vw,46px);align-items:center}.desktop-nav a{font-size:13px;font-weight:500;padding-block:18px}.desktop-nav a:hover{color:var(--blue)}.header-mode{display:flex;gap:16px;align-items:center;border:1px solid #151b1d;padding:10px 15px;font-size:11px;font-weight:600;letter-spacing:.06em;min-height:43px}.header-mode:hover{background:#151b1d;color:white}.mobile-menu{display:none}.hero{padding-top:clamp(36px,6vw,86px);padding-bottom:20px}.hero-label{display:flex;justify-content:space-between;align-items:center;gap:16px;color:#4d5c60}.hero h1{font:600 clamp(74px,12vw,190px)/.84 Inter,Arial,sans-serif;letter-spacing:-.105em;margin:clamp(24px,3vw,45px) 0 clamp(26px,4.4vw,65px) -.055em}.hero h1 em,.section-intro h2 em,.expertise-inner h2 em,.studio-footer h2 em{font-style:normal;color:#4e646b}.hero h1 em span,.section-intro h2 span,.expertise-inner h2 span,.studio-footer h2 span{color:var(--blue)}.hero-bottom{display:grid;grid-template-columns: .85fr 1.3fr;align-items:end;gap:clamp(25px,8vw,130px);border-top:1px solid var(--line);padding-top:24px}.hero-description>p{font-size:clamp(16px,1.8vw,24px);line-height:1.42;letter-spacing:-.035em;margin:14px 0 28px;max-width:37ch}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px 25px}.solid-link,.text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;font-size:13px;font-weight:600;min-height:44px}.solid-link{background:var(--ink);color:#f1f3ed;padding:12px 16px}.solid-link:hover{background:var(--blue)}.text-link{border-bottom:1px solid currentColor;padding:5px 0}.text-link:hover{color:var(--blue)}.hero-showcase{display:block;position:relative;overflow:hidden;background:#11262f;aspect-ratio:2.05}.hero-showcase img{width:100%;height:100%;object-fit:cover;object-position:center 35%;transition:transform .55s ease}.hero-showcase:hover img{transform:scale(1.025)}.showcase-label{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;background:#0e171ee6;color:white;padding:10px 15px;font-size:9px;line-height:1.3;letter-spacing:.1em}.showcase-label strong{font-size:13px;font-weight:600;letter-spacing:.04em}.showcase-label>span:last-child{font-size:23px}.hero-baseline{display:flex;justify-content:space-between;gap:10px;padding-top:20px;font-size:9px;letter-spacing:.13em;font-weight:600;color:#4c6067}.studio section[id]{scroll-margin-top:90px}.projects-section,.method-section{padding-top:clamp(75px,10vw,150px);padding-bottom:clamp(75px,10vw,150px)}.section-intro{display:grid;grid-template-columns:1fr 3fr 1.35fr;align-items:end;gap:clamp(20px,3vw,50px);padding-bottom:clamp(28px,4vw,60px);border-bottom:1px solid var(--line)}.section-intro>.micro{align-self:start;padding-top:8px;color:#50636a}.section-intro h2,.expertise-inner h2,.studio-footer h2{font:600 clamp(42px,6.1vw,98px)/.95 Inter,Arial,sans-serif;letter-spacing:-.085em;margin-left:-.045em}.section-intro>p{font-size:15px;line-height:1.55;color:#46575d;max-width:33ch}.work-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(26px,4.5vw,70px);padding-top:30px}.work{min-width:0}.work-1{grid-column:1/-1;display:grid;grid-template-columns:1.8fr 1fr;gap:18px 36px;align-content:start;align-items:start}.work-1 .work-image{grid-row:1/5}.work-1 .work-caption{align-self:end;display:block;border-top:1px solid var(--line);padding-top:20px}.work-1 .work-caption h3{font-size:clamp(36px,5vw,76px);margin-bottom:15px}.work-1 .text-link{justify-self:start;align-self:start}.work-1>p{font-size:16px;max-width:40ch}.work-image{position:relative;display:block;overflow:hidden;background:#17232a;aspect-ratio:1.6}.work-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.work-image:hover img{transform:scale(1.035)}.work-arrow{position:absolute;right:12px;bottom:12px;background:#eeeee8;color:#151b1d;width:46px;height:46px;display:grid;place-items:center;font-size:24px;transition:background .2s,color .2s}.work-image:hover .work-arrow{background:var(--blue);color:white}.work-caption{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;padding-top:16px}.work-caption .micro{color:#566a70}.work-caption h3{font-size:clamp(25px,3.1vw,46px);letter-spacing:-.07em;line-height:1.1;margin-top:5px}.work-tag{font-size:9px;letter-spacing:.08em;color:#4e6067;text-align:right;font-weight:600}.work>p{color:#46575d;font-size:14px;line-height:1.55;margin:12px 0 8px}.work>.text-link{font-size:12px;min-height:38px}.services-section{background:#172126;color:#f0f4f1;padding-block:clamp(75px,9vw,140px)}.services-section .section-intro{border-color:#506068}.services-section .section-intro h2 em{color:#b2c8ce}.services-section .section-intro h2 span{color:var(--ice)}.services-section .section-intro>p,.services-section .micro{color:#b1c2c8}.service-list{margin-top:28px}.service{display:grid;grid-template-columns: .24fr 1fr 1fr 38px;gap:20px;align-items:center;padding:27px 0;border-bottom:1px solid #465960}.service h3{font-size:clamp(22px,3.3vw,48px);letter-spacing:-.07em;line-height:1.1;font-weight:500}.service p{max-width:42ch;color:#bdcbd0;font-size:14px;line-height:1.55}.service-mark{font-size:23px;justify-self:end;color:var(--ice)}.method-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding-top:30px}.method{padding:25px 20px 28px;border-left:1px solid var(--line);min-width:0}.method:last-child{border-right:1px solid var(--line)}.method .micro{color:var(--blue)}.method h3{font-size:clamp(19px,2.4vw,34px);letter-spacing:-.055em;line-height:1.15;margin:36px 0 15px}.method p{font-size:14px;color:#46575d;line-height:1.6}.expertise-section{background:#dfe4e1;padding-block:clamp(55px,8vw,110px)}.expertise-inner{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,8vw,120px);align-items:center}.expertise-inner h2{margin-block:18px 24px}.expertise-inner p{max-width:47ch;color:#46575d}.tech-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0;border-top:1px solid #a4b2b0}.tech-list li{font-size:14px;font-weight:500;padding:13px 10px;border-bottom:1px solid #a4b2b0}.tech-list li:nth-child(odd){border-right:1px solid #a4b2b0}.studio-footer{background:#11181c;color:#eff3f1;padding-top:clamp(50px,8vw,120px)}.studio-footer h2{margin:20px 0 36px;max-width:18ch}.studio-footer h2 em{color:#a6bfc7}.studio-footer h2 span{color:var(--ice)}.studio-footer .micro{color:#a6c3cc}.footer-info{display:flex;justify-content:space-between;gap:25px;border-top:1px solid #51636b;padding:24px 0 40px;color:#b4c5cd;font-size:14px}.footer-info>div:last-child{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.email{font-size:clamp(18px,2.5vw,33px);letter-spacing:-.055em;color:#eff8f9;font-weight:500;display:inline-block;margin:6px 0}.footer-info a:hover{color:var(--ice)}.footer-bottom{border-top:1px solid #51636b;display:flex;justify-content:space-between;gap:10px;padding:19px 0;font-size:9px;letter-spacing:.1em;color:#a7bfc7}
@media(max-width:950px){.hero-bottom{gap:35px;grid-template-columns:1fr 1.15fr}.section-intro{grid-template-columns:1fr 2.7fr}.section-intro>p{grid-column:2;max-width:50ch}.work-1{grid-template-columns:1.45fr 1fr}.desktop-nav{gap:20px}.portal{padding:28px;min-height:460px}.portal h2{font-size:clamp(60px,10vw,110px)}}
@media(max-width:680px){:root{--pad:20px}.gate-header{grid-template-columns:1fr 1.4fr;padding:13px 16px;gap:10px;min-height:60px}.gate-header .brand{font-size:29px}.gate-header h1{font-size:12px;text-align:right;justify-self:end}.gate-status{display:none}.portals{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.portal{min-height:218px;padding:18px 20px 16px;justify-content:space-between}.portal-top{font-size:9px;letter-spacing:.07em}.portal-index{font-size:43px}.portal h2{font-size:clamp(55px,12vw,85px)}.portal-content{padding-top:8px}.portal-kicker{font-size:8px;margin-bottom:3px}.portal p{font-size:12px;margin:9px 0 10px;line-height:1.4}.portal-action{padding-top:9px;font-size:12px}.portal-action i{font-size:23px}.studio-symbol{font-size:clamp(140px,45vw,270px);left:73%;top:38%}.portal-portrait picture{left:28%;top:-30%;bottom:-20%;right:-8%}.portal-portrait img{object-position:center 38%;object-fit:contain;opacity:.7}.portal-portrait:after{background:linear-gradient(90deg,#060a0e 0%,#060a0eae 29%,transparent 80%),linear-gradient(0deg,#060a0e 0%,#060a0ec0 24%,transparent 65%)}.portal-seam{display:none}.gate-last{right:20px;bottom:54px;font-size:7px}.gate-footer{padding:10px 16px;font-size:8px}.gate-footer span:nth-child(2){display:none}.header-inner{min-height:62px;gap:10px}.header-inner .brand{font-size:30px}.desktop-nav,.header-mode{display:none}.mobile-menu{display:block}.mobile-menu summary{list-style:none;cursor:pointer;font-size:12px;font-weight:600;min-height:44px;display:flex;align-items:center;gap:14px}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu summary span{font-size:22px;line-height:1}.mobile-menu[open] summary span{transform:rotate(45deg)}.mobile-menu nav{position:absolute;left:0;right:0;top:100%;background:var(--paper);padding:10px var(--pad) 20px;border-bottom:1px solid var(--line);box-shadow:0 12px 18px #0001;display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.mobile-menu nav a{padding:14px 0;border-bottom:1px solid var(--line);font-size:14px;font-weight:500}.hero{padding-top:32px}.hero-label .micro{font-size:8px}.hero-label .micro:last-child{display:none}.hero h1{font-size:clamp(57px,13.5vw,93px);margin:22px 0 28px -.045em;line-height:.9}.hero-bottom{grid-template-columns:1fr;gap:24px;padding-top:16px}.hero-description>p{font-size:18px;margin:10px 0 16px}.hero-actions{gap:10px 20px}.solid-link,.text-link{font-size:12px;gap:14px}.hero-showcase{aspect-ratio:1.65}.hero-baseline{font-size:8px;padding-top:14px}.projects-section,.method-section{padding-block:64px}.section-intro{grid-template-columns:1fr;gap:14px;padding-bottom:24px}.section-intro>p{grid-column:auto;font-size:14px}.section-intro h2,.expertise-inner h2,.studio-footer h2{font-size:clamp(39px,9.5vw,65px);margin-left:-.035em}.section-intro>.micro{padding-top:0}.work-grid{grid-template-columns:1fr;gap:40px;padding-top:20px}.work-1{display:block;grid-column:auto}.work-1 .work-caption{border:0;display:flex;padding-top:16px}.work-1 .work-caption h3{font-size:30px;margin-bottom:0}.work-1>p{font-size:14px}.work-caption h3{font-size:29px}.work-tag{font-size:8px;max-width:110px}.work-arrow{width:40px;height:40px;font-size:21px}.services-section{padding-block:60px}.service{grid-template-columns:35px 1fr 24px;gap:8px 12px;padding:22px 0}.service h3{font-size:25px}.service p{grid-column:2/4;grid-row:2;font-size:13px}.service-mark{grid-column:3;grid-row:1;font-size:20px}.method-grid{grid-template-columns:1fr 1fr;padding-top:18px}.method{padding:20px 12px;border-bottom:1px solid var(--line)}.method:nth-child(even){border-right:1px solid var(--line)}.method h3{font-size:21px;margin:23px 0 10px}.method p{font-size:13px}.expertise-inner{grid-template-columns:1fr;gap:25px}.tech-list li{font-size:13px}.studio-footer h2{margin:18px 0 25px}.footer-info{flex-direction:column;padding-bottom:25px}.footer-info>div:last-child{align-items:flex-start}.footer-bottom{font-size:8px}.studio section[id]{scroll-margin-top:75px}}
@media(max-width:360px){:root{--pad:16px}.portal{min-height:207px;padding:15px 16px 13px}.portal h2{font-size:53px}.portal p{font-size:11px}.portal-kicker{font-size:7px}.portal-top{font-size:8px}.portal-action{padding-top:7px}.gate-header{padding-block:10px;min-height:54px}.gate-footer{padding-block:8px}.gate-last{right:16px;bottom:50px}.hero h1{font-size:54px}.hero-description>p{font-size:16px}.section-intro h2,.expertise-inner h2,.studio-footer h2{font-size:36px}.method h3{font-size:18px}}
@media(max-height:560px) and (orientation:landscape){.gate-header{padding-block:10px}.gate-header .brand{font-size:28px}.gate-header h1{font-size:14px}.portal{min-height:265px;padding:16px 24px}.portal h2{font-size:clamp(46px,8vw,80px)}.portal-index{font-size:40px}.portal-kicker{font-size:8px}.portal p{margin:8px 0 12px;font-size:12px}.portal-action{padding-top:8px;font-size:12px}.gate-footer{padding-block:8px}.studio-symbol{font-size:clamp(110px,20vw,240px)}.portal-seam{width:36px;height:36px}.portal-portrait img{object-position:center 30%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
/* Final optical spacing: preserve distinct letterforms and show the main CTA above the desktop fold. */
.brand{letter-spacing:-.075em}.portal h2{letter-spacing:-.075em}.studio-symbol{letter-spacing:-.105em}.hero h1{font-size:clamp(70px,10.5vw,160px);letter-spacing:-.065em;line-height:.9;margin-top:clamp(22px,2.5vw,34px);margin-bottom:clamp(24px,3vw,43px)}.hero{padding-top:clamp(34px,4vw,58px)}.hero-bottom{align-items:center}.section-intro h2,.expertise-inner h2,.studio-footer h2{letter-spacing:-.06em}.work-caption h3,.service h3{letter-spacing:-.045em}
@media(max-width:680px){.hero h1{font-size:clamp(48px,13vw,78px);letter-spacing:-.065em;line-height:.94;margin:21px 0 26px -.035em}.hero{padding-top:32px}.portal-portrait picture{left:30%;top:-3%;bottom:-26%;right:-6%}.portal-portrait img{object-fit:contain;object-position:center top}.studio-symbol{left:68%;font-size:clamp(120px,39vw,240px)}.portal h2{letter-spacing:-.07em}}
@media(max-width:360px){.hero h1{font-size:45px}.portal-portrait picture{top:0;bottom:-26%}}


/* === Dual Reality V4: dark mode standard, selectable light mode, refined Extreme box === */
:root{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}
.gate-tools,.header-utility{display:flex;align-items:center;gap:12px;justify-self:end}
.gate-tools{justify-content:flex-end}
.header-utility{margin-left:auto}
.theme-toggle{appearance:none;border:1px solid currentColor;background:transparent;color:inherit;display:inline-flex;align-items:center;gap:10px;padding:6px 10px 6px 12px;min-height:42px;border-radius:999px;cursor:pointer;font:600 10px/1 Inter,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;transition:background .25s,border-color .25s,color .25s,box-shadow .25s;white-space:nowrap}
.studio .theme-toggle{position:relative;border-color:var(--line);background:color-mix(in srgb,var(--paper) 84%,transparent);color:var(--ink);padding:5px 8px 5px 11px;gap:8px;min-height:38px;border-radius:14px;letter-spacing:.12em;font-size:9px;box-shadow:inset 0 0 0 1px rgba(152,229,244,.04)}
.studio .theme-toggle::before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(90deg,rgba(152,229,244,.12),transparent 28%,transparent 72%,rgba(152,229,244,.08));opacity:.55}
.studio .theme-toggle:hover{background:color-mix(in srgb,var(--paper) 92%,transparent);border-color:color-mix(in srgb,var(--line) 72%,#98e5f4 28%);box-shadow:0 0 0 1px rgba(152,229,244,.08),0 10px 22px rgba(0,0,0,.08)}
.studio .theme-toggle-text{min-width:30px}
.studio .theme-toggle-ui{width:36px;height:20px;background:rgba(255,255,255,.04)}
.studio .theme-toggle-ui i{width:14px;height:14px}
html[data-theme="light"] .studio .theme-toggle-ui i{transform:translateX(16px)}
.theme-toggle:hover{background:rgba(255,255,255,.06);box-shadow:0 0 0 1px rgba(169,232,247,.08),0 0 18px rgba(46,146,171,.12)}
.theme-toggle:focus-visible{outline:2px solid #8ce3f5;outline-offset:3px}
.theme-toggle-text{min-width:36px;text-align:center}
.theme-toggle-ui{position:relative;width:42px;height:22px;border-radius:999px;border:1px solid currentColor;display:inline-block;background:rgba(255,255,255,.05);overflow:hidden}
.theme-toggle-ui i{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:currentColor;transform:translateX(0);transition:transform .25s ease,background .25s ease}
html[data-theme="light"] .theme-toggle-ui i{transform:translateX(20px)}
html[data-theme="light"] .gateway .theme-toggle:hover,html[data-theme="light"] .studio .theme-toggle:hover{background:rgba(8,15,20,.06);box-shadow:0 0 0 1px rgba(8,15,20,.05),0 0 14px rgba(17,89,187,.09)}

/* default theme is dark for intro and Studio */
html[data-theme="dark"] body{background:#0a1014;color:#eaf1f3}
html[data-theme="dark"] .skip{background:#111a20;color:#eaf1f3}
html[data-theme="dark"] .brand-dot{color:#98e5f4}
html[data-theme="dark"] .gateway{background:#060b0f;color:#ecf3f5}
html[data-theme="dark"] .gate-header{border-bottom-color:#23333b;background:linear-gradient(180deg,rgba(10,16,20,.95),rgba(10,16,20,.82))}
html[data-theme="dark"] .gate-header h1{color:#acc0c7}
html[data-theme="dark"] .gate-status{color:#b8cbd2}
html[data-theme="dark"] .portal-studio{background:#10181d;color:#edf4f4}
html[data-theme="dark"] .portal-extreme{background:radial-gradient(circle at 72% 35%,rgba(31,83,98,.35),transparent 38%),linear-gradient(145deg,#0b1217 0%,#05090d 100%);color:#f2f7f8}
html[data-theme="dark"] .portal-top{color:#b9d0d8}
html[data-theme="dark"] .portal-index{color:rgba(160,210,224,.14)}
html[data-theme="dark"] .studio-symbol{color:#203039}
html[data-theme="dark"] .studio-symbol .symbol-dot{color:#94e5f4}
html[data-theme="dark"] .studio-symbol i{background:#2b414a}
html[data-theme="dark"] .portal-kicker{color:#99c6d0}
html[data-theme="dark"] .portal h2 span{color:#94e5f4}
html[data-theme="dark"] .portal-action{border-color:#31454d;color:#d7e7eb}
html[data-theme="dark"] .portal-seam{background:#0b1115;border-color:#8ddaea}
html[data-theme="dark"] .gate-last{background:#e7eff2;color:#0a1014;border-color:#adc9d2}
html[data-theme="dark"] .gate-footer{border-top-color:#23333b;color:#8da3ac}
html[data-theme="dark"] .gate-footer a{color:#d9eaef}

/* extreme panel optical effects */
.portal-extreme{position:relative}
.portal-extreme::before{content:'';position:absolute;inset:18px;border:1px solid rgba(148,229,244,.22);box-shadow:inset 0 0 0 1px rgba(76,140,159,.08),inset 0 0 38px rgba(24,74,88,.12),0 0 36px rgba(16,72,90,.09);pointer-events:none;animation:lbExtremeFrame 7s ease-in-out infinite}
.portal-extreme::after{content:'';position:absolute;inset:18px;pointer-events:none;background:radial-gradient(circle at 10% 14%,rgba(165,235,250,.55) 0,rgba(165,235,250,0) 28%),radial-gradient(circle at 91% 84%,rgba(165,235,250,.38) 0,rgba(165,235,250,0) 26%),linear-gradient(90deg,transparent 0,rgba(165,235,250,.25) 16%,transparent 34%) top/100% 1px no-repeat,linear-gradient(90deg,transparent 0,rgba(165,235,250,.18) 80%,transparent 100%) bottom/100% 1px no-repeat,linear-gradient(180deg,transparent 0,rgba(165,235,250,.14) 12%,transparent 25%) left/1px 100% no-repeat,linear-gradient(180deg,transparent 0,rgba(165,235,250,.18) 76%,transparent 100%) right/1px 100% no-repeat;opacity:.58;mix-blend-mode:screen;animation:lbExtremeNoise 9s steps(3,end) infinite}
.portal-extreme .portal-portrait::before{content:'';position:absolute;inset:18px 18px auto 18px;height:28%;background:repeating-linear-gradient(180deg,rgba(255,255,255,.035) 0 1px,transparent 1px 5px);opacity:.22;pointer-events:none;mask-image:linear-gradient(180deg,rgba(0,0,0,.7),transparent)}
.portal-extreme .portal-content::after{content:'';position:absolute;left:0;right:0;bottom:-10px;height:36px;background:linear-gradient(90deg,transparent 0%,rgba(152,229,244,.22) 10%,rgba(152,229,244,.04) 32%,transparent 55%,rgba(152,229,244,.12) 78%,transparent 100%);filter:blur(10px);opacity:.45;pointer-events:none}
@keyframes lbExtremeFrame{0%,100%{opacity:.58;transform:translate3d(0,0,0)}50%{opacity:.9;transform:translate3d(0,-1px,0)}}
@keyframes lbExtremeNoise{0%,100%{opacity:.42;filter:blur(0)}33%{opacity:.6;filter:blur(.2px)}66%{opacity:.48;filter:blur(0)}}

/* Studio dark mode */
html[data-theme="dark"] .studio{background:#0a1014;color:#eef4f5}
html[data-theme="dark"] .studio-header{background:rgba(10,16,20,.86);border-bottom-color:#23333b;backdrop-filter:blur(12px)}
html[data-theme="dark"] .desktop-nav a,html[data-theme="dark"] .mobile-menu summary,html[data-theme="dark"] .mobile-menu nav a{color:#d8e5e8}
html[data-theme="dark"] .desktop-nav a:hover,html[data-theme="dark"] .mobile-menu nav a:hover{color:#98e5f4}
html[data-theme="dark"] .header-mode{border-color:#33444b;color:#dbebee;background:#0c1318}
html[data-theme="dark"] .header-mode:hover{background:#131c21;color:#fff}
html[data-theme="dark"] .hero-label,html[data-theme="dark"] .hero-baseline,html[data-theme="dark"] .section-intro>.micro,html[data-theme="dark"] .work-caption .micro,html[data-theme="dark"] .work-tag,html[data-theme="dark"] .section-intro>p,html[data-theme="dark"] .work>p,html[data-theme="dark"] .method p,html[data-theme="dark"] .expertise-inner p,html[data-theme="dark"] .footer-info,html[data-theme="dark"] .footer-bottom{color:#95aab1}
html[data-theme="dark"] .hero h1 em,html[data-theme="dark"] .section-intro h2 em,html[data-theme="dark"] .expertise-inner h2 em,html[data-theme="dark"] .studio-footer h2 em{color:#8eaab2}
html[data-theme="dark"] .hero-bottom,html[data-theme="dark"] .section-intro,html[data-theme="dark"] .service,html[data-theme="dark"] .footer-info,html[data-theme="dark"] .footer-bottom,html[data-theme="dark"] .tech-list,html[data-theme="dark"] .tech-list li,html[data-theme="dark"] .method,html[data-theme="dark"] .mobile-menu nav{border-color:#25343c}
html[data-theme="dark"] .solid-link{background:#ebf3f5;color:#071015}
html[data-theme="dark"] .solid-link:hover{background:#98e5f4;color:#081014}
html[data-theme="dark"] .text-link:hover{color:#98e5f4}
html[data-theme="dark"] .hero-showcase,html[data-theme="dark"] .work-image{background:#0d151b;box-shadow:0 10px 30px rgba(0,0,0,.2)}
html[data-theme="dark"] .showcase-label{background:rgba(8,13,17,.86)}
html[data-theme="dark"] .work-arrow{background:#0c1318;color:#eef4f5;border:1px solid #31444b}
html[data-theme="dark"] .work-image:hover .work-arrow{background:#98e5f4;color:#071015}
html[data-theme="dark"] .services-section{background:#081015;color:#eff5f5}
html[data-theme="dark"] .services-section .section-intro{border-color:#34454d}
html[data-theme="dark"] .services-section .section-intro>p,html[data-theme="dark"] .services-section .micro,html[data-theme="dark"] .service p{color:#aabdc4}
html[data-theme="dark"] .services-section .section-intro h2 em{color:#a8c1c8}
html[data-theme="dark"] .services-section .section-intro h2 span,html[data-theme="dark"] .service-mark{color:#98e5f4}
html[data-theme="dark"] .method .micro{color:#98e5f4}
html[data-theme="dark"] .expertise-section{background:#10181d}
html[data-theme="dark"] .tech-list li:nth-child(odd){border-right-color:#25343c}
html[data-theme="dark"] .studio-footer{background:#060b0f}
html[data-theme="dark"] .studio-footer .micro{color:#a9c5cd}
html[data-theme="dark"] .email{color:#eff9fa}

/* light mode refinements */
html[data-theme="light"] body{background:#eeeee8;color:#161b1d}
html[data-theme="light"] .gateway{background:#eeeee8;color:#161b1d}
html[data-theme="light"] .gate-header{background:#eef1ec;border-bottom-color:#ccd3cf}
html[data-theme="light"] .gate-header h1{color:#415159}
html[data-theme="light"] .gate-status{color:#566970}
html[data-theme="light"] .portal-studio{background:#f6f6f1}
html[data-theme="light"] .portal-extreme{background:radial-gradient(circle at 72% 35%,rgba(68,132,150,.16),transparent 38%),linear-gradient(145deg,#10181d 0%,#070c10 100%)}
html[data-theme="light"] .theme-toggle{color:#151b1d}
html[data-theme="light"] .studio-header{background:#f6f5f0}

@media(max-width:950px){.header-utility{gap:10px}.theme-toggle{min-height:40px;padding:6px 9px 6px 10px}}
@media(max-width:680px){.gate-header{grid-template-columns:1fr auto;align-items:center}.gate-header h1{grid-column:1/-1;text-align:left;justify-self:start;padding-top:4px}.gate-tools{grid-column:2;grid-row:1;align-self:start;justify-content:flex-end}.theme-toggle{min-height:38px;padding:6px 8px 6px 10px;font-size:9px;gap:8px}.theme-toggle-text{min-width:32px}.header-inner{align-items:center}.header-utility{gap:10px}.mobile-menu summary{min-height:38px}.mobile-menu nav{background:var(--paper)}html[data-theme="dark"] .mobile-menu nav{background:#0e161b}}

/* Theme contrast and mobile header refinements. */
html[data-theme="light"] .gate-header h1 strong{color:#161b1d}html[data-theme="light"] .gate-header .brand-dot{color:#1159bb}html[data-theme="light"] .gate-footer{color:#52636a;border-top-color:#ccd3cf}html[data-theme="light"] .gate-footer a{color:#253f49}html[data-theme="dark"]{--paper:#0a1014;--ink:#eef4f5;--line:#25343c;--blue:#98e5f4}html[data-theme="dark"] .studio-header{background:#0a1014;backdrop-filter:none}html[data-theme="dark"] .portal-extreme .portal-action{color:#b9eaf6;border-color:#48646d}html[data-theme="dark"] .gate-header .brand-dot{color:#98e5f4}@media(max-width:680px){.gate-header{grid-template-columns:1fr auto;gap:4px 10px}.gate-header h1{font-size:11px;line-height:1.15;grid-column:1/-1;padding-top:0}.gate-header{padding-block:9px}.theme-toggle{min-height:38px}.gate-tools{align-self:center}.header-utility{gap:8px}}@media(max-width:360px){.portal{min-height:198px}.gate-header .brand{font-size:27px}.gate-footer{padding-block:7px}}
