:root{--bg:#fff;--ink:#1d1d1f;--muted:#6e6e73;--line:#cfcfd2;--soft:#f5f5f7;--accent:#4c36ff;--nav:rgba(255,255,255,.9);color-scheme:light}[data-theme="dark"]{--bg:#111113;--ink:#f5f5f7;--muted:#a1a1a6;--line:#3a3a3d;--soft:#1c1c1e;--accent:#9b8cff;--nav:rgba(17,17,19,.9);color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:"DM Sans",sans-serif;transition:background .25s,color .25s}button,a{font:inherit;color:inherit}.skip{position:fixed;top:-5rem;left:1rem;background:var(--ink);color:var(--bg);padding:.8rem;z-index:100}.skip:focus{top:1rem}.topbar{height:72px;position:sticky;top:0;z-index:40;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 5vw;background:var(--nav);backdrop-filter:blur(18px);border-bottom:1px solid transparent}.brand{display:flex;align-items:center;gap:.55rem;text-decoration:none;font-size:.84rem;font-weight:600}.brand span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:var(--bg);font-size:.68rem}.topbar nav{display:flex;padding:4px;background:var(--soft);border-radius:99px}.topbar nav a,.topbar nav button{border:0;background:none;text-decoration:none;border-radius:99px;padding:.55rem .85rem;font-size:.74rem;cursor:pointer}.topbar nav .active{background:var(--ink);color:var(--bg)}.top-actions{justify-self:end;display:flex;align-items:center;gap:1.2rem}.top-actions a{font-size:.72rem;text-decoration:none}.theme{width:32px;height:32px;border:1px solid var(--line);border-radius:50%;background:transparent;cursor:pointer}.menu{display:none;border:0;background:none;font-size:1.2rem}.hero{min-height:620px;padding:7rem 5vw 5rem;display:flex;flex-direction:column;align-items:center;text-align:center}.hero-name{font:400 clamp(5rem,9.8vw,10rem)/.8 "Playfair Display",serif;letter-spacing:-.065em;margin:0}.hero-role{font-size:clamp(1rem,1.4vw,1.4rem);margin:4rem 0 2rem}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:3vw}.metrics div{display:flex;flex-direction:column}.metrics strong{font:500 clamp(1.5rem,2.4vw,2.6rem) "DM Sans"}.metrics span{font-size:.68rem;margin-top:.35rem}.page-section{padding:5rem 6vw}.section-title{display:grid;grid-template-columns:1fr auto 1fr;gap:2rem;align-items:center;margin-bottom:3rem}.section-title i{height:1px;background:var(--line)}.section-title h1,.section-title h2{font-size:clamp(2rem,3vw,3.2rem);font-weight:400;letter-spacing:-.045em;margin:0}.projects{display:grid;grid-template-columns:1fr 1fr;gap:5rem 3rem}.project:first-child{grid-column:1/-1}.project-button{display:block;width:100%;border:0;background:none;padding:0;text-align:left;cursor:pointer}.project-image{position:relative;overflow:hidden;border-radius:16px;background:var(--soft);border:1px solid var(--line)}.project-image img{display:block;width:100%;height:auto;transition:transform .45s ease}.project-button:hover img{transform:scale(1.015)}.project-number{position:absolute;right:1rem;top:1rem;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.92);color:#111;font-size:.7rem}.project-info{display:grid;grid-template-columns:1fr 1fr;gap:2rem;padding-top:1rem}.project:not(:first-child) .project-info{grid-template-columns:1fr}.project-kicker{font-size:.67rem;text-transform:uppercase;letter-spacing:.12em;font-weight:600}.project-info h3{font-size:clamp(1.8rem,3vw,3.6rem);letter-spacing:-.05em;font-weight:400;margin:.45rem 0}.project-info p{font-size:.9rem;line-height:1.45;margin:.2rem 0}.project-link{display:block;color:var(--accent);font-size:.78rem;margin-top:.6rem}.innovations{padding-top:8rem}.innovation-lede{text-align:center;font-size:clamp(1.25rem,2.2vw,2rem);margin:.5rem auto}.innovation-copy{text-align:center;max-width:760px;margin:1rem auto 3rem;font-size:.85rem;line-height:1.5}.patent-placeholder{max-width:980px;margin:auto;border-radius:16px;background:var(--soft);padding:4rem;text-align:center;border:1px solid var(--line)}.patent-placeholder span{font-size:.67rem;text-transform:uppercase;letter-spacing:.14em;color:var(--muted)}.patent-placeholder h3{font:400 clamp(2.3rem,5vw,5rem)/1 "Playfair Display";margin:1rem}.patent-placeholder p{max-width:650px;margin:0 auto 1.5rem;color:var(--muted);line-height:1.55}.patent-placeholder a{font-size:.82rem;color:var(--accent);text-decoration:none}.contact{text-align:center;padding:10rem 5vw 8rem}.contact h2{font-size:clamp(3.5rem,7.5vw,8rem);letter-spacing:-.065em;font-weight:400;margin:0}.contact p{font-size:.85rem;line-height:1.5}.email{display:inline-block;font-size:clamp(1rem,1.7vw,1.5rem);text-decoration:none;border-bottom:1px solid;margin:2.5rem 0 1rem}.social{display:flex;gap:.6rem;justify-content:center}.social a{text-decoration:none;border:1px solid var(--line);border-radius:99px;padding:.45rem .75rem;font-size:.65rem}footer{border-top:1px solid var(--line);padding:2rem 5vw;display:flex;justify-content:space-between;font-size:.7rem}footer a{text-decoration:none}.viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;border:0;padding:0;background:#111;color:#fff}.viewer::backdrop{background:#111}.viewer header{height:76px;position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:0 1.25rem;background:rgba(15,15,15,.94);border-bottom:1px solid #333}.viewer header small{font-size:.6rem;text-transform:uppercase;letter-spacing:.12em;color:#999}.viewer header h2{font-size:1.1rem;margin:.2rem 0}.viewer-actions{display:flex;align-items:center;gap:.4rem}.viewer-actions button{height:36px;padding:0 .8rem;border:1px solid #444;background:#222;color:#fff;cursor:pointer}.viewer-actions #close-viewer{font-size:1.4rem}.viewer-actions span{font-size:.72rem;color:#aaa;padding:0 .5rem}.viewer-pages{--width:min(1400px,94vw);height:calc(100vh - 76px);overflow:auto;padding:2rem 0 8rem}.viewer-pages-inner{width:var(--width);margin:auto;display:grid;gap:2rem}.pdf-page{margin:0;content-visibility:auto;contain-intrinsic-size:900px 506px}.pdf-page img{display:block;width:100%;height:auto;background:#222;box-shadow:0 15px 45px rgba(0,0,0,.35)}
@media(max-width:800px){.topbar{grid-template-columns:1fr auto}.topbar nav,.top-actions{display:none}.menu{display:block}.topbar.open{height:auto;min-height:72px;align-items:start;padding-top:1.4rem;padding-bottom:1.4rem}.topbar.open nav,.topbar.open .top-actions{grid-column:1/-1;display:flex;flex-direction:column;align-items:stretch;gap:.3rem;background:none}.topbar.open nav a,.topbar.open nav button,.topbar.open .top-actions a{text-align:left;padding:.7rem 0}.hero{min-height:auto;padding-top:6rem}.metrics{grid-template-columns:1fr 1fr;gap:2rem}.projects{grid-template-columns:1fr}.project:first-child{grid-column:auto}.project-info{grid-template-columns:1fr}.viewer header{height:auto;min-height:88px;align-items:flex-start;flex-direction:column;padding:.7rem}.viewer-pages{height:calc(100vh - 120px);padding-top:1rem}.viewer-actions #fullscreen{display:none}}
@media(max-width:520px){.hero-name{font-size:20vw}.hero-role{margin-top:2.5rem}.page-section{padding:4rem 5vw}.section-title{gap:1rem}.project-image{border-radius:10px}.projects{gap:3.5rem}.patent-placeholder{padding:2.5rem 1rem}.contact{padding:7rem 5vw}.contact h2{font-size:15vw}.contact p br{display:none}footer{flex-direction:column;gap:.8rem}.viewer-actions button{padding:0 .55rem}.viewer-actions #fullscreen{display:none}.viewer-pages-inner{width:100%;gap:1rem}}
/* Tighter section rhythm and a persistent in-page About destination. */
.hero{min-height:auto;padding-top:5.25rem;padding-bottom:4.25rem}.hero-role{margin-top:2.75rem}.page-section{padding-top:3.75rem;padding-bottom:3.75rem}.section-title{margin-bottom:2.25rem}.projects{gap:3.5rem 3rem}.innovations{padding-top:4.75rem}.innovation-copy{margin-bottom:2rem}.contact{padding-top:6rem;padding-bottom:5.5rem}.about-section{display:grid;grid-template-columns:1.1fr .9fr;gap:6vw;align-items:center;border-top:1px solid var(--line)}.about-image{overflow:hidden;border-radius:16px;border:1px solid var(--line);background:var(--soft)}.about-image img{display:block;width:100%;height:auto}.about-copy>span{font-size:.68rem;text-transform:uppercase;letter-spacing:.14em;color:var(--muted)}.about-copy h2{font:400 clamp(3rem,6vw,6.5rem)/.9 "Playfair Display";letter-spacing:-.05em;margin:1rem 0}.about-copy p{max-width:520px;color:var(--muted);line-height:1.55}.about-copy button{margin-top:1rem;border:0;border-radius:99px;background:var(--ink);color:var(--bg);padding:.9rem 1.2rem;cursor:pointer}.topbar nav a.active{background:var(--ink);color:var(--bg)}
@media(max-width:800px){.about-section{grid-template-columns:1fr}.hero{padding-top:4.5rem;padding-bottom:3.5rem}.page-section{padding-top:3rem;padding-bottom:3rem}.contact{padding-top:5rem;padding-bottom:4.5rem}}
@media(max-width:520px){.about-image{border-radius:10px}.projects{gap:2.75rem}.hero{padding-bottom:3rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.project-image img{transition:none}}
.patent-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2.25rem}.patent-card{border-top:1px solid var(--line);padding-top:1rem}.patent-card button{width:100%;padding:0;border:0;background:none;color:inherit;text-align:left;cursor:pointer}.patent-cover{position:relative;overflow:hidden;border-radius:14px;border:1px solid var(--line);background:var(--soft);aspect-ratio:1.5}.patent-cover img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;transition:transform .35s ease}.patent-card button:hover img{transform:scale(1.015)}.patent-no{position:absolute;right:.75rem;top:.75rem;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#111;font-size:.68rem}.patent-meta{padding:1rem .15rem}.patent-meta span{font-size:.65rem;text-transform:uppercase;letter-spacing:.11em;color:var(--muted)}.patent-meta h3{font-size:clamp(1.35rem,2.2vw,2.25rem);font-weight:500;line-height:1.05;letter-spacing:-.04em;margin:.65rem 0}.patent-meta p{color:var(--muted);font-size:.83rem;line-height:1.5;margin:0}.patent-action{display:block;color:var(--accent)!important;margin-top:1rem}.justia-link{display:block;width:max-content;margin:2rem auto 0;text-decoration:none;color:var(--accent);font-size:.8rem}@media(max-width:700px){.patent-grid{grid-template-columns:1fr;gap:2rem}.patent-cover{aspect-ratio:1.35}}
/* Unified spacing, rounded document overlay, and first-fold interaction. */
.hero{position:relative;isolation:isolate;overflow:hidden;padding:3.75rem 5vw 2.75rem}.hero>*:not(.hero-splash){position:relative;z-index:1}.hero-role{margin:1.8rem 0 1.5rem}.metrics{gap:2.5vw}.page-section{padding:3.25rem 6vw}.section-title{margin-bottom:1.75rem}.projects{gap:3rem}.project-info{padding-top:.85rem}.innovations{padding-top:3.25rem}.innovation-copy{margin-bottom:1.5rem}.about-section{gap:5vw}.contact{padding:4.25rem 5vw 3.75rem}.email{margin:1.8rem 0 .9rem}.hero-splash{position:absolute;left:-170px;top:-170px;width:340px;height:340px;border-radius:50%;pointer-events:none;z-index:0;opacity:0;transform:translate3d(50%,50%,0);background:radial-gradient(circle at 35% 35%,rgba(255,92,146,.32),rgba(111,83,255,.23) 38%,rgba(56,207,255,.14) 58%,transparent 72%);filter:blur(6px);mix-blend-mode:multiply;transition:opacity .22s ease;will-change:transform}.hero-splash.visible{opacity:1}[data-theme="dark"] .hero-splash{mix-blend-mode:screen;opacity:0}[data-theme="dark"] .hero-splash.visible{opacity:.7}
.viewer{inset:16px;width:calc(100% - 32px);height:calc(100% - 32px);margin:auto;border-radius:24px;overflow:hidden;background:#090909;box-shadow:0 30px 100px rgba(0,0,0,.5)}.viewer::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(10px)}.viewer header{height:70px;padding:0 1.35rem;background:#111;border-bottom:1px solid #2c2c2c}.viewer-actions{gap:.75rem}.viewer-actions #close-viewer{width:40px;height:40px;padding:0;border-radius:50%;background:#262626}.viewer-actions span{min-width:62px;text-align:center}.viewer-pages{height:calc(100% - 70px);padding:1.5rem 0 5rem;background:#090909}.viewer-pages-inner{gap:1.4rem}.pdf-page img{border-radius:8px;box-shadow:none}
@media(max-width:800px){.hero{padding:3rem 5vw 2.25rem}.page-section{padding:2.75rem 5vw}.viewer{inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);border-radius:18px}.viewer header{min-height:74px;height:74px;flex-direction:row;align-items:center;padding:.65rem .8rem}.viewer header h2{font-size:.9rem;max-width:65vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.viewer-pages{height:calc(100% - 74px);padding-top:.75rem}.hero-splash{display:none}}
/* Typography and alignment refinements. */
.hero-name{font-family:"DM Sans",sans-serif;font-weight:500;line-height:.8;letter-spacing:-.075em}.patent-card{border-top:0;padding-top:0}.project:not(:first-child) .project-button{height:100%;display:flex;flex-direction:column}.project:not(:first-child) .project-info{flex:1;display:grid;grid-template-rows:auto 1fr}.project:not(:first-child) .project-kicker{display:block;min-height:2.1em}.project:not(:first-child) .project-info h3{min-height:1.2em}.project:not(:first-child) .project-info>div:last-child{display:flex;flex-direction:column;height:100%}.project:not(:first-child) .project-link{margin-top:auto;padding-top:.85rem}.viewer header>#close-viewer{width:40px;height:40px;padding:0;border:1px solid #444;border-radius:50%;background:#262626;color:#fff;font-size:1.4rem;cursor:pointer;flex:0 0 auto}.load-error{min-height:240px;display:grid;place-items:center;background:#191919;border-radius:12px}.load-error::after{content:"This page could not be loaded.";color:#aaa;font-size:.8rem}.load-error img{display:none}
.hero{padding-top:4rem;padding-bottom:2.75rem}.hero-role{margin-top:2rem}.page-section{padding-top:3rem;padding-bottom:3rem}.section-title{margin-bottom:1.75rem}.projects{gap:3rem}.innovations{padding-top:3.5rem}.innovation-copy{margin-bottom:1.5rem}.contact{padding-top:4.5rem;padding-bottom:4rem}@media(max-width:800px){.hero{padding-top:3.5rem;padding-bottom:2.5rem}.page-section{padding-top:2.5rem;padding-bottom:2.5rem}.contact{padding-top:4rem;padding-bottom:3.5rem}}
/* Direct About experience and final spacing rhythm. */
[hidden]{display:none!important}.hero{padding:3rem 5vw 2.35rem}.hero-role{margin:1.55rem 0 1.25rem}.page-section{padding:2.75rem 6vw}.work.page-section{padding-top:2.5rem}.innovations{padding-top:3rem}.contact{padding:3.75rem 5vw 3.5rem}.hero-splash{left:-90px;top:-90px;width:180px;height:180px;filter:blur(4px);background:radial-gradient(circle at 35% 35%,rgba(255,92,146,.28),rgba(111,83,255,.2) 40%,rgba(56,207,255,.11) 62%,transparent 76%)}
.about-view{padding:1.25rem 4.5vw 4rem}.about-intro{max-width:760px;margin:0 auto 2.5rem;text-align:center}.about-intro h1{font-size:clamp(2.2rem,4vw,4.5rem);font-weight:400;letter-spacing:-.055em;margin:0 0 .8rem}.about-intro p{max-width:620px;margin:0 auto .9rem;font-size:clamp(.95rem,1.35vw,1.25rem);line-height:1.45}.about-intro small{display:block;max-width:720px;margin:auto;color:var(--muted);font-size:.74rem;line-height:1.5}.about-pages{max-width:1060px;margin:auto;display:grid;gap:1.4rem}.about-pages figure{margin:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--soft)}.about-pages img{display:block;width:100%;height:auto}.about-pages figure:first-child{background:#000}
@media(max-width:800px){.hero{padding:2.75rem 5vw 2.1rem}.page-section{padding:2.35rem 5vw}.contact{padding:3.5rem 5vw 3.15rem}.about-view{padding:1rem 4vw 3rem}.about-intro{margin-bottom:1.75rem}.about-pages{gap:.8rem}.about-pages figure{border-radius:12px}}
/* Shared content width and aligned secondary case-study copy. */
.about-view{padding-left:6vw;padding-right:6vw}.about-pages{width:100%;max-width:none}.about-social{display:flex;flex-wrap:wrap;justify-content:center;gap:.55rem;margin-top:1.25rem}.about-social a{padding:.45rem .7rem;border:1px solid var(--line);border-radius:99px;color:var(--ink);font-size:.68rem;text-decoration:none}.project:not(:first-child) .project-image{aspect-ratio:16/9}.project:not(:first-child) .project-image img{width:100%;height:100%;object-fit:contain}.project:not(:first-child) .project-info{grid-template-rows:6.8rem auto;gap:0}.project:not(:first-child) .project-info>div:first-child{display:flex;flex-direction:column;justify-content:flex-start}.project:not(:first-child) .project-info>div:last-child{padding-top:.25rem}.project:not(:first-child) .project-info p{margin:0;min-height:2.9em}.project:not(:first-child) .project-link{padding-top:.65rem}
@media(max-width:800px){.about-view{padding-left:5vw;padding-right:5vw}.project:not(:first-child) .project-info{grid-template-rows:auto auto}.project:not(:first-child) .project-info p{min-height:0}.about-social{margin-top:1rem}}
/* Outlined view toggle, innovation filters, Microsoft mark, and welcome toast. */
.topbar nav{padding:3px;border:1px solid var(--line);background:transparent}.topbar nav a,.topbar nav button{padding:.55rem 1rem}.microsoft-word{display:inline-flex;align-items:baseline;gap:.32em}.ms-mark{display:grid;flex:0 0 auto;grid-template-columns:repeat(2,.38em);grid-template-rows:repeat(2,.38em);gap:.08em;transform:translateY(-.12em)}.ms-mark i:nth-child(1){background:#f25022}.ms-mark i:nth-child(2){background:#7fba00}.ms-mark i:nth-child(3){background:#00a4ef}.ms-mark i:nth-child(4){background:#ffb900}.patent-filters{display:flex;justify-content:center;flex-wrap:wrap;gap:.55rem;margin:0 auto 2rem}.patent-filters button{border:1px solid var(--line);border-radius:99px;background:transparent;color:var(--muted);padding:.55rem .8rem;font-size:.68rem;cursor:pointer;transition:background .2s,color .2s,border-color .2s}.patent-filters button:hover{color:var(--ink)}.patent-filters button.active{background:var(--ink);border-color:var(--ink);color:var(--bg)}.welcome-toast{position:fixed;right:1.25rem;bottom:1.25rem;z-index:80;width:min(370px,calc(100vw - 2rem));display:grid;grid-template-columns:auto 1fr auto;gap:.8rem;align-items:start;padding:1rem;background:var(--bg);border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.14);opacity:0;transform:translateY(16px) scale(.98);transition:opacity .25s ease,transform .25s ease}.welcome-toast.show{opacity:1;transform:none}.toast-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--soft)}.welcome-toast strong{font-size:.84rem}.welcome-toast p{margin:.25rem 0 0;color:var(--muted);font-size:.7rem;line-height:1.4}.welcome-toast button{border:0;background:transparent;color:var(--muted);font-size:1.15rem;line-height:1;cursor:pointer;padding:0}.welcome-toast[hidden]{display:none!important}
@media(max-width:800px){.patent-filters{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:.25rem}.patent-filters button{white-space:nowrap}.welcome-toast{right:1rem;bottom:1rem}}
/* One consistent section rhythm. */
.hero,.page-section,.contact,.about-view{padding-top:3rem;padding-bottom:3rem;padding-left:6vw;padding-right:6vw}.work.page-section,.innovations{padding-top:3rem}.section-title{margin-bottom:2rem}.innovation-copy{margin-bottom:2rem}
@media(max-width:800px){.hero,.page-section,.contact,.about-view{padding:2.5rem 5vw}.work.page-section,.innovations{padding-top:2.5rem}.section-title{margin-bottom:1.6rem}.innovation-copy{margin-bottom:1.6rem}}
/* Exact optical alignment for the Microsoft signature line. */
.hero-role{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;column-gap:.32em;row-gap:.2em;line-height:1.2}.microsoft-word{display:inline-flex;align-items:center;gap:.32em;line-height:1.2}.ms-mark{width:.76em;height:.76em;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:.08em;transform:none;align-self:center}
/* Larger, more legible innovation filters. */
.patent-filters{gap:.7rem;margin-bottom:2.25rem}.patent-filters button{min-height:44px;padding:.72rem 1.15rem;font-size:.82rem;font-weight:500;line-height:1.15;color:var(--ink);border-color:color-mix(in srgb,var(--line) 85%,var(--ink) 15%)}.patent-filters button.active{font-weight:600}.patent-filters button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:800px){.patent-filters button{min-height:42px;padding:.68rem 1rem;font-size:.78rem}}
.patent-filters button{background:var(--soft);border-color:transparent}.patent-filters button:hover{background:color-mix(in srgb,var(--soft) 88%,var(--ink) 12%)}.patent-filters button.active,.patent-filters button.active:hover{background:var(--ink);border-color:transparent;color:var(--bg)}
/* Evenly spaced, more legible hero metrics. */
.metrics{width:min(820px,100%);grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.metrics div{align-items:center;justify-content:flex-start;padding:0 1rem}.metrics span{font-size:.78rem;line-height:1.35;margin-top:.45rem;white-space:nowrap}
@media(max-width:800px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:1.8rem}.metrics div{padding:0 .75rem}.metrics span{font-size:.76rem;white-space:normal}}
/* Illustrated invention archive. */
.hero-role{margin-top:2.4rem}.patent-cover{aspect-ratio:3/2;background:#f6f3ee}.patent-cover img{object-fit:cover;object-position:center}.patent-badge{position:absolute;left:.8rem;top:.8rem;padding:.42rem .62rem;border-radius:99px;background:rgba(255,255,255,.9);color:#222;font-size:.61rem!important;font-style:normal;text-transform:uppercase;letter-spacing:.09em}.patent-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.9rem}.patent-tags i{padding:.38rem .55rem;border-radius:99px;background:var(--soft);color:var(--muted);font-size:.61rem;font-style:normal}.more-patents{display:flex;align-items:center;gap:.7rem;margin:2.5rem auto 0;padding:.9rem 1.2rem;border:0;border-radius:99px;background:var(--ink);color:var(--bg);cursor:pointer;font-weight:500}.more-patents span{font-size:1.1rem}.patents-view{padding:3rem 6vw 5rem}.archive-head{max-width:900px;margin:0 auto 3rem;text-align:center}.archive-head>button{border:0;background:none;color:var(--muted);cursor:pointer;margin-bottom:2rem}.archive-head>span{display:block;text-transform:uppercase;letter-spacing:.14em;font-size:.68rem;color:var(--muted)}.archive-head h1{font-size:clamp(4rem,8vw,8rem);font-weight:500;letter-spacing:-.075em;line-height:.82;margin:1.2rem 0}.archive-head p{color:var(--muted);font-size:1rem}.archive-grid{margin-top:1rem}.archive-grid .patent-card{content-visibility:auto;contain-intrinsic-size:700px}.patent-meta .patent-action{margin-top:1.15rem}
/* Lightweight animated welcome. */
.welcome-toast{overflow:visible;border:0;background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(14px);box-shadow:0 14px 44px rgba(0,0,0,.12);padding:1.05rem 1.1rem}.welcome-toast strong{font-size:1rem}.welcome-toast p{font-size:.8rem;line-height:1.45}.toast-icon{font-size:1.1rem;background:var(--soft)}.confetti-field{position:absolute;inset:-34px 15px auto;height:46px;pointer-events:none}.confetti-field i{position:absolute;top:0;width:7px;height:13px;border-radius:2px;background:#ff4f87;opacity:0;animation:confetti-drop 1.5s ease-out .2s both}.confetti-field i:nth-child(2){left:14%;background:#6c5cff;animation-delay:.3s;transform:rotate(24deg)}.confetti-field i:nth-child(3){left:28%;background:#00a4ef;animation-delay:.18s}.confetti-field i:nth-child(4){left:43%;background:#ffb900;animation-delay:.38s}.confetti-field i:nth-child(5){left:58%;background:#7fba00;animation-delay:.24s}.confetti-field i:nth-child(6){left:72%;background:#f25022;animation-delay:.43s}.confetti-field i:nth-child(7){left:86%;background:#6c5cff;animation-delay:.28s}.confetti-field i:nth-child(8){left:96%;background:#00a4ef;animation-delay:.36s}@keyframes confetti-drop{0%{opacity:0;transform:translateY(-18px) rotate(0)}18%{opacity:1}100%{opacity:0;transform:translateY(56px) rotate(220deg)}}
@media(max-width:800px){.hero-role{margin-top:2rem}.patents-view{padding:2.5rem 5vw 4rem}.archive-head h1{font-size:15vw}.archive-grid{grid-template-columns:1fr}.welcome-toast strong{font-size:.92rem}.welcome-toast p{font-size:.76rem}}
/* Small cursor glow with short-lived sparkles. */
.hero>.cursor-fx{position:absolute;left:-42px;top:-42px;z-index:0;width:84px;height:84px;border-radius:50%;pointer-events:none;opacity:0;background:radial-gradient(circle,rgba(255,105,180,.2) 0,rgba(111,92,255,.14) 38%,rgba(0,164,239,.08) 58%,transparent 73%);filter:blur(3px);transition:opacity .16s ease;will-change:transform}.hero>.cursor-fx.visible{opacity:1}.cursor-spark{position:absolute;z-index:2;width:4px;height:4px;border-radius:50%;pointer-events:none;background:#7c63ff;box-shadow:0 0 7px rgba(124,99,255,.6);animation:cursor-spark .65s ease-out forwards}@keyframes cursor-spark{0%{opacity:0;transform:translate3d(0,2px,0) scale(.3)}25%{opacity:.85;transform:translate3d(0,0,0) scale(1)}100%{opacity:0;transform:translate3d(var(--drift),-16px,0) scale(.1)}}[data-theme="dark"] .hero>.cursor-fx{mix-blend-mode:screen}.hero>*:not(.cursor-fx):not(.cursor-spark){position:relative;z-index:1}@media(max-width:800px),(prefers-reduced-motion:reduce){.hero>.cursor-fx,.cursor-spark{display:none}}
/* Keep secondary case-study titles and descriptions visually connected. */
.project:not(:first-child) .project-info{grid-template-rows:auto auto;row-gap:.65rem}
.project:not(:first-child) .project-info h3{min-height:0;margin-bottom:0}
.project:not(:first-child) .project-info>div:last-child{padding-top:0}

/* Keep the complete Selected Work section fixed while decorative effects run. */
html{overflow-anchor:none}
.hero{height:clamp(410px,34vw,500px);min-height:0;overflow-anchor:none}
.work{position:relative;inset:auto;isolation:isolate;contain:layout style;overflow-anchor:none;transform:none!important;transition:none!important;animation:none!important}
.work .section-title{min-height:3.2rem;margin-block:0 2rem}
.work .section-title h1{line-height:1;min-height:1em;white-space:nowrap}
.work .section-title i{transform:translateZ(0)}
@media(max-width:800px){.hero{height:auto;min-height:390px}.work .section-title{min-height:2.4rem;margin-bottom:1.6rem}}

/* Premium light-theme ambient glass background. */
[data-theme="light"] body{background-color:#fafcff;background-image:radial-gradient(ellipse 48% 38% at -8% 8%,rgba(255,234,245,.78) 0,rgba(255,234,245,.3) 42%,transparent 72%),radial-gradient(ellipse 46% 34% at 104% 4%,rgba(237,231,255,.82) 0,rgba(221,248,255,.28) 50%,transparent 74%),radial-gradient(ellipse 42% 34% at 104% 46%,rgba(221,248,255,.64) 0,rgba(234,245,255,.26) 52%,transparent 76%),radial-gradient(ellipse 42% 38% at -5% 76%,rgba(234,245,255,.74) 0,rgba(237,231,255,.22) 54%,transparent 78%),radial-gradient(ellipse 38% 32% at 72% 106%,rgba(255,231,218,.42) 0,rgba(255,234,245,.16) 52%,transparent 76%),linear-gradient(180deg,#fafcff 0%,#f7fbff 42%,#fcfbff 72%,#fafcff 100%);background-attachment:fixed;background-repeat:no-repeat}
[data-theme="light"] body::before,[data-theme="light"] body::after{content:"";position:fixed;z-index:0;pointer-events:none;border-radius:50%;border:1px solid rgba(255,255,255,.82);background:linear-gradient(145deg,rgba(255,255,255,.52),rgba(255,255,255,.12) 46%,rgba(221,248,255,.2));box-shadow:inset 18px 20px 34px rgba(255,255,255,.68),inset -18px -22px 34px rgba(173,207,238,.1),0 30px 80px rgba(113,144,184,.1),0 2px 1px rgba(255,255,255,.88);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}[data-theme="light"] body::before{width:430px;height:430px;left:-230px;top:9vh}[data-theme="light"] body::after{width:520px;height:520px;right:-310px;bottom:-90px;background:linear-gradient(145deg,rgba(255,255,255,.5),rgba(237,231,255,.14) 48%,rgba(255,234,245,.18))}
[data-theme="light"] .topbar{background:rgba(250,252,255,.72);border-bottom-color:rgba(255,255,255,.7);box-shadow:0 1px 0 rgba(135,158,184,.08)}[data-theme="light"] main,[data-theme="light"] footer{position:relative;z-index:1}[data-theme="light"] .project-image,[data-theme="light"] .patent-cover,[data-theme="light"] .about-pages figure{box-shadow:0 20px 54px rgba(89,119,153,.075);border-color:rgba(174,195,217,.54)}[data-theme="light"] .topbar nav,[data-theme="light"] .social a,[data-theme="light"] .about-social a{background:rgba(255,255,255,.42);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
@media(max-width:800px){[data-theme="light"] body{background-image:radial-gradient(ellipse 78% 30% at -18% 8%,rgba(255,234,245,.64),transparent 74%),radial-gradient(ellipse 72% 28% at 116% 4%,rgba(237,231,255,.72),transparent 76%),radial-gradient(ellipse 74% 32% at 108% 58%,rgba(221,248,255,.52),transparent 76%),linear-gradient(180deg,#fafcff,#f7fbff 52%,#fcfbff)}[data-theme="light"] body::before{width:250px;height:250px;left:-160px;top:18vh}[data-theme="light"] body::after{width:300px;height:300px;right:-210px;bottom:2vh}}
@media(prefers-reduced-motion:reduce){[data-theme="light"] body{background-attachment:scroll}}

/* Creative Intelligence editorial feature. */
.creative-intelligence{position:relative;overflow:hidden;background:transparent;scroll-margin-top:72px}
.creative-intelligence>*{position:relative;z-index:1}
.creative-intro{max-width:850px;margin:0 auto 2.6rem;text-align:center}
.creative-intro>span,.creative-content>span{color:#7057d9;font-size:.7rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.creative-intro h3{margin:.8rem 0 1rem;font-size:clamp(2.5rem,5vw,5.5rem);font-weight:500;line-height:.95;letter-spacing:-.065em}
.creative-intro p{max-width:790px;margin:0 auto;color:var(--muted);font-size:clamp(.9rem,1.25vw,1.08rem);line-height:1.6}
.creative-byline{display:flex;align-items:center;justify-content:center;gap:.65rem;margin-top:1.25rem;color:var(--muted);font-size:.78rem}
.creative-byline strong{color:var(--ink);font-weight:600}.creative-byline i{width:3px;height:3px;border-radius:50%;background:currentColor}
.creative-feature{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);align-items:stretch;max-width:1320px;margin:0 auto;padding:1rem;border:1px solid rgba(147,120,218,.26);border-radius:28px;background:color-mix(in srgb,var(--bg) 86%,#f3efff 14%);box-shadow:0 24px 70px rgba(93,70,150,.1)}
.creative-visual{min-height:440px;overflow:hidden;border-radius:20px;background:#f1eadf}
.creative-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.creative-content{display:flex;flex-direction:column;justify-content:center;padding:clamp(2rem,4.5vw,4.5rem)}
.creative-content h3{margin:.9rem 0 1.2rem;font-size:clamp(2.2rem,4vw,4.5rem);font-weight:500;line-height:.98;letter-spacing:-.06em}
.creative-content p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.6}
.creative-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:2rem}
.creative-actions button,.creative-actions a{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.8rem 1.05rem;border-radius:99px;font-size:.8rem;font-weight:600;text-decoration:none;cursor:pointer}
.creative-actions button{border:1px solid var(--ink);background:var(--ink);color:var(--bg)}
.creative-actions a{border:1px solid color-mix(in srgb,var(--line) 80%,var(--ink) 20%);background:color-mix(in srgb,var(--bg) 86%,var(--soft) 14%);color:var(--ink)}
.creative-actions button:focus-visible,.creative-actions a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
[data-theme="dark"] .creative-feature{background:#19191d;border-color:rgba(169,145,236,.28);box-shadow:0 24px 70px rgba(0,0,0,.24)}
[data-theme="dark"] .creative-visual{filter:brightness(.88) contrast(1.04)}
@media(max-width:900px){.creative-feature{grid-template-columns:1fr}.creative-visual{min-height:0;aspect-ratio:3/2}.creative-content{padding:2.25rem 1.5rem 2rem}.creative-content h3{max-width:680px}}
@media(max-width:520px){.creative-intro{margin-bottom:1.8rem}.creative-intro h3{font-size:11.5vw}.creative-feature{padding:.6rem;border-radius:20px}.creative-visual{border-radius:15px}.creative-content{padding:1.7rem .9rem 1.25rem}.creative-content h3{font-size:10vw}.creative-actions{flex-direction:column}.creative-actions button,.creative-actions a{width:100%}}

/* Hero positioning statement and stable responsive metrics. */
.hero-role{max-width:none;margin:1.7rem auto 2.35rem;color:var(--ink);font-size:clamp(.95rem,1.2vw,1.08rem);flex-wrap:nowrap;white-space:nowrap}
.hero-role>span:first-child{font-weight:500;color:var(--ink)}
.hero-role .microsoft-word{font-weight:500;color:var(--ink)}
.hero{height:auto;min-height:clamp(430px,38vw,540px)}
.metrics{max-width:900px;margin-inline:auto;align-items:start}
.metrics div{min-width:0;align-items:center;text-align:center}
.metrics strong{display:block;width:100%;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.15}
.metrics span{width:100%;text-align:center}

/* More readable innovation metadata across the featured and archive grids. */
.patent-meta>span:first-child{font-size:.74rem;font-weight:600;line-height:1.3;letter-spacing:.1em;color:color-mix(in srgb,var(--ink) 72%,var(--muted) 28%)}
.patent-tags{gap:.5rem;margin-top:1rem}
.patent-tags i{padding:.44rem .75rem;border-radius:999px;background:#f0f0f2;color:#454545;font-size:.78rem;font-weight:550;line-height:1.15;white-space:normal}
.patent-badge{padding:.46rem .7rem;background:rgba(255,255,255,.94);color:#303030;font-size:.7rem!important;font-weight:600;line-height:1;letter-spacing:.08em;box-shadow:0 1px 8px rgba(0,0,0,.08)}
.patent-no{width:36px;height:36px;background:rgba(255,255,255,.95);color:#222;font-size:.75rem;font-weight:600;box-shadow:0 1px 8px rgba(0,0,0,.08)}
[data-theme="dark"] .patent-tags i{background:#2b2b2f;color:#e5e5e7}
[data-theme="dark"] .patent-meta>span:first-child{color:#b8b8bd}

@media(max-width:800px){
  .hero-role{max-width:none;margin:1.4rem auto 2rem;font-size:clamp(.58rem,2.45vw,.8rem)}
  .hero{min-height:0}
  .metrics{width:min(560px,100%);column-gap:0;row-gap:1.6rem}
  .metrics div{padding-inline:.5rem}
  .patent-tags{gap:.5rem}
  .patent-tags i{font-size:.78rem;padding:.44rem .75rem}
  .patent-meta>span:first-child{font-size:.72rem}
}
@media(max-width:420px){
  .metrics strong{font-size:clamp(1.35rem,7vw,1.75rem)}
  .metrics span{font-size:.74rem}
}

/* Minimal Fluent-inspired voice introduction. */
.voice-intro{width:min(590px,100%);min-height:86px;margin:2.15rem auto 0;padding:12px 18px 12px 14px;display:grid;grid-template-columns:58px 1px auto minmax(130px,1fr) auto;gap:14px;align-items:center;text-align:left;border:1px solid color-mix(in srgb,var(--line) 84%,transparent);border-radius:9999px;background:color-mix(in srgb,var(--soft) 88%,var(--bg) 12%);box-shadow:0 14px 34px rgba(44,48,72,.11)}
.voice-intro h2{margin:0;white-space:nowrap;font-size:1.25rem;font-weight:600;letter-spacing:-.025em}.voice-intro audio{display:none}.voice-divider{width:1px;height:34px;background:var(--line)}.voice-play{width:58px;height:58px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#171719;color:#fff;cursor:pointer;transition:background-color .16s ease,transform .12s ease}.voice-play:hover{background:#2a2a2d}.voice-play:active{transform:scale(.97)}.voice-play:disabled{cursor:not-allowed;opacity:.45}.voice-play span{font-size:1rem;line-height:1;transform:translateX(1px)}.voice-intro.is-playing .voice-play span{transform:none;font-weight:600}.voice-timeline{position:relative;min-width:0;height:38px;border-radius:8px}.voice-waveform{height:100%;display:flex;align-items:center;gap:2px;overflow:hidden;pointer-events:none}.voice-waveform i{width:3px;height:var(--wave-height);flex:1;max-width:4px;min-width:2px;border-radius:99px;background:linear-gradient(to right,#6b57d9 0 var(--bar-fill),color-mix(in srgb,var(--muted) 42%,transparent) var(--bar-fill) 100%);transition:background .12s linear;transform-origin:center}.voice-timeline:hover .voice-waveform i{filter:contrast(1.08)}.voice-seek{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:.001;cursor:pointer}.voice-time{display:flex;align-items:center;gap:.32rem;color:var(--ink);font-size:1.02rem;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}.voice-time i{color:var(--muted);font-style:normal;font-weight:400}.voice-play:focus-visible,.voice-seek:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.voice-intro.has-error .voice-waveform{opacity:.45}
[data-theme="dark"] .voice-intro{background:#1d1d20;border-color:#353539;box-shadow:0 14px 38px rgba(0,0,0,.3)}[data-theme="dark"] .voice-play{background:#f0f0f2;color:#171719}[data-theme="dark"] .voice-play:hover{background:#fff}[data-theme="dark"] .voice-divider{background:#414146}[data-theme="dark"] .voice-time{color:#f5f5f7}
@media(max-width:700px){.voice-intro{width:100%;min-height:72px;margin-top:1.8rem;padding:9px 14px 9px 10px;grid-template-columns:50px 1px auto minmax(62px,1fr) auto;gap:10px}.voice-play{width:50px;height:50px}.voice-divider{height:28px}.voice-intro h2{font-size:.92rem}.voice-timeline{height:30px}.voice-waveform{gap:1px}.voice-time{gap:.22rem;font-size:.74rem}}
@media(max-width:390px){.voice-intro{grid-template-columns:48px 1px auto minmax(48px,1fr) auto;gap:8px;padding-right:11px}.voice-play{width:48px;height:48px}.voice-intro h2{font-size:.84rem}.voice-time{font-size:.68rem}}
@media(prefers-reduced-motion:reduce){.voice-play,.voice-waveform i{transition:none}}

/* Mobile project rhythm and true fit-to-screen document viewing. */
.viewer-pages-inner{grid-template-columns:minmax(0,1fr)}
.pdf-page{min-width:0;max-width:100%;overflow:hidden}
.pdf-page img{max-width:100%}
@media(max-width:800px){
  .project-info{row-gap:.7rem;padding-top:.8rem}
  .project-info h3{margin:.35rem 0 0;line-height:1.02}
  .project-info p{margin:0}
  .project-link{margin-top:.5rem}
  .viewer{height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}
  .viewer-pages{width:100%;height:calc(100% - 74px);padding:.75rem .75rem 3rem;overflow-x:hidden;overscroll-behavior:contain}
  .viewer-pages-inner{width:100%;max-width:100%;gap:.75rem}
  .pdf-page{width:100%;border-radius:8px}
  .pdf-page img{width:100%;height:auto;object-fit:contain}
}
@media(max-width:520px){
  .projects{gap:2.5rem}
  .project-info{row-gap:.55rem}
  .viewer{inset:6px;width:calc(100% - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:16px}
  .viewer header{min-height:68px;height:68px;padding:.55rem .7rem}
  .viewer header small{display:block;max-width:calc(100vw - 86px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .viewer header h2{max-width:calc(100vw - 86px)}
  .viewer-pages{height:calc(100% - 68px);padding:.6rem .6rem 2.5rem}
  .viewer-pages-inner{gap:.6rem}
}

/* Compact mobile archive, readable hero signature, and one unified mobile menu. */
@media(max-width:800px){
  .hero-role{width:100%;max-width:34rem;margin:1.55rem auto 2rem;flex-direction:column;row-gap:.35rem;font-size:clamp(.88rem,3.5vw,1rem);line-height:1.35}
  .hero-role .microsoft-word{width:100%;min-width:0;max-width:100%;justify-content:center;flex-wrap:nowrap}
  .hero-role .microsoft-word>span:last-child{min-width:0;max-width:calc(100% - 1.1em);white-space:normal}
  .topbar{transition:background-color .18s ease,box-shadow .18s ease}
  .topbar .menu{grid-column:2;grid-row:1;align-self:center;justify-self:end}
  .topbar.open{grid-template-columns:1fr auto;row-gap:0;height:auto;max-height:calc(100dvh - 12px);padding:1.15rem 5vw 1.25rem;overflow-y:auto;background:color-mix(in srgb,var(--bg) 96%,transparent);border-bottom:1px solid var(--line);box-shadow:0 18px 42px rgba(25,28,40,.14);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
  .topbar.open .menu{font-size:1.65rem;line-height:1;width:36px;height:36px;padding:0}
  .topbar.open nav,.topbar.open .top-actions{grid-column:1/-1;width:100%;margin:0;display:flex;flex-direction:column;align-items:stretch;gap:0;background:none;border:0;border-radius:0}
  .topbar.open nav{margin-top:1rem;padding-top:.55rem;border-top:1px solid var(--line)}
  .topbar.open .top-actions{padding-bottom:.2rem}
  .topbar.open nav a,.topbar.open .top-actions a,.topbar.open .theme{display:flex;align-items:center;width:100%;min-height:48px;padding:.75rem .15rem;border:0;border-bottom:1px solid color-mix(in srgb,var(--line) 68%,transparent);border-radius:0;background:transparent;color:var(--ink);font-size:1rem;font-weight:500;text-align:left;text-decoration:none}
  .topbar.open nav a.active{background:transparent;color:var(--accent)}
  .topbar.open .theme{gap:.65rem;cursor:pointer}
  .topbar.open .theme::after{content:"Switch theme";font-size:1rem}
}
@media(max-width:700px){
  .archive-head{margin-bottom:2rem}
  .archive-grid{gap:1rem}
  .archive-grid .patent-card{padding-bottom:1rem;border-bottom:1px solid var(--line)}
  .archive-grid .patent-card button{display:grid;grid-template-columns:minmax(118px,38%) minmax(0,1fr);gap:.9rem;align-items:start}
  .archive-grid .patent-cover{width:100%;aspect-ratio:1/1;border-radius:12px}
  .archive-grid .patent-meta{min-width:0;padding:0}
  .archive-grid .patent-meta h3{margin:.42rem 0;font-size:clamp(1rem,4.5vw,1.25rem);line-height:1.08;letter-spacing:-.035em}
  .archive-grid .patent-meta p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:.74rem;line-height:1.4}
  .archive-grid .patent-meta>span:first-child{font-size:.62rem}
  .archive-grid .patent-tags{gap:.3rem;margin-top:.6rem}
  .archive-grid .patent-tags i{padding:.34rem .52rem;font-size:.65rem}
  .archive-grid .patent-action{margin-top:.65rem;font-size:.66rem}
  .archive-grid .patent-badge{left:.45rem;top:.45rem;padding:.34rem .48rem;font-size:.56rem!important}
  .archive-grid .patent-no{right:.45rem;top:.45rem;width:28px;height:28px;font-size:.62rem}
}
@media(max-width:390px){
  .hero-role{font-size:.86rem}
  .archive-grid .patent-card button{grid-template-columns:108px minmax(0,1fr);gap:.75rem}
  .archive-grid .patent-tags i:nth-child(n+3){display:none}
}

/* Mrinal Sharma simple white-M brand signature. */
.brand{gap:.65rem;letter-spacing:-.015em}
.brand-mark{width:30px;height:30px;display:block;flex:0 0 auto;overflow:visible;filter:drop-shadow(0 4px 10px rgba(34,36,48,.12))}
.brand-mark-bg{fill:#18181c}
.brand-mark-letter{fill:#fff;transform-origin:15px 15px;transition:transform .22s ease}
.brand-name{width:auto!important;height:auto!important;display:inline!important;border-radius:0!important;background:none!important;color:inherit!important;font-size:inherit!important;line-height:1!important}
.brand:focus-visible{outline:2px solid var(--accent);outline-offset:5px;border-radius:8px}
.brand:hover .brand-mark-letter{transform:scale(1.035)}
[data-theme="dark"] .brand-mark{filter:drop-shadow(0 4px 12px rgba(0,0,0,.35))}
@media(max-width:800px){.brand-mark{width:29px;height:29px}.brand{gap:.6rem}}
@media(prefers-reduced-motion:reduce){.brand-mark-letter{transition:none}.brand:hover .brand-mark-letter{transform:none}}

/* Personal portrait inside the existing voice control. */
.voice-play{position:relative;isolation:isolate;overflow:hidden}
.voice-play::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(135deg,rgba(0,0,0,.02),rgba(0,0,0,.3));pointer-events:none}
.voice-play img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 28%;filter:saturate(.88) contrast(1.04)}
.voice-play span{position:relative;z-index:2;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:rgba(15,15,17,.7);color:#fff;font-size:.72rem!important;box-shadow:0 2px 8px rgba(0,0,0,.24);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.voice-intro.is-playing .voice-play span{background:rgba(15,15,17,.76)}
[data-theme="dark"] .voice-play{background:#1d1d20;color:#fff}
[data-theme="dark"] .voice-play:hover{background:#1d1d20}

/* Keep the primary action black; use the portrait as a separate identity cue. */
.voice-intro{grid-template-columns:58px 1px 40px auto minmax(90px,1fr) auto;gap:12px}
.voice-avatar{width:40px;height:40px;display:block;border-radius:50%;object-fit:cover;object-position:center 25%;border:1px solid color-mix(in srgb,var(--line) 76%,transparent);background:var(--soft)}
.voice-play,.voice-play:hover,[data-theme="dark"] .voice-play,[data-theme="dark"] .voice-play:hover{background:#171719;color:#fff}
.voice-play::after{display:none}
.voice-play span{width:auto;height:auto;display:block;border-radius:0;background:none;color:#fff;font-size:1rem!important;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.voice-intro.is-playing .voice-play span{background:none}
@media(max-width:700px){
  .voice-intro{grid-template-columns:50px 1px 34px auto minmax(42px,1fr) auto;gap:8px}
  .voice-avatar{width:34px;height:34px}
}
@media(max-width:390px){
  .voice-intro{grid-template-columns:48px 1px 32px auto minmax(34px,1fr) auto;gap:7px;padding-right:10px}
  .voice-avatar{width:32px;height:32px}
}

/* The Curious Minds — decorative atmosphere only. */
[data-theme="light"] body{
  background-color:#fffaf5;
  background-image:
    radial-gradient(circle at 8% 2%,rgba(237,221,255,.68) 0,transparent 28%),
    radial-gradient(circle at 96% 8%,rgba(255,221,232,.62) 0,transparent 30%),
    radial-gradient(circle at 14% 64%,rgba(220,239,255,.42) 0,transparent 27%),
    linear-gradient(180deg,#fffaf7 0%,#fff 38%,#fffaf6 100%);
}

.hero,.work,.creative-intelligence,.innovations,.contact,footer{
  isolation:isolate;
}

.hero::before,.hero::after,.work::before,.work::after,
.innovations::before,.contact::before,.contact::after{
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:0;
}

.hero::before{
  width:clamp(190px,24vw,390px);
  aspect-ratio:3/2;
  left:-3.5vw;
  top:14px;
  background:url("assets/curious-blue-binoculars.png") center/contain no-repeat;
  animation:curious-float 8s ease-in-out infinite;
}

.hero::after{
  width:clamp(235px,28vw,450px);
  aspect-ratio:3/2;
  right:-6vw;
  top:108px;
  background:url("assets/curious-purple-orange.png") center/contain no-repeat;
  animation:curious-float 10s ease-in-out -2.2s infinite;
}

.hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(ellipse at 2% 8%,rgba(224,208,255,.55),transparent 32%),
    radial-gradient(ellipse at 98% 24%,rgba(255,221,205,.55),transparent 34%),
    linear-gradient(165deg,rgba(255,250,247,.76),rgba(255,255,255,.5) 46%,rgba(247,239,255,.46));
}

.hero>*{position:relative;z-index:2}
.hero>.cursor-fx,.hero>.cursor-spark{z-index:3}

.work,.creative-intelligence,.innovations,.contact{position:relative}
.work,.creative-intelligence,.innovations{overflow:hidden}

.work::before{
  left:-5vw;
  right:-5vw;
  bottom:-58px;
  height:104px;
  background:linear-gradient(100deg,rgba(230,216,255,.36),rgba(255,229,215,.26) 54%,rgba(215,240,255,.3));
  border-radius:50% 48% 0 0/72% 68% 0 0;
}

.work::after{
  width:clamp(92px,10vw,145px);
  aspect-ratio:3/2;
  left:-28px;
  bottom:-8px;
  background:url("assets/curious-blue-wave.png") center/contain no-repeat;
  animation:curious-float 9s ease-in-out -1s infinite;
}

.innovations::before{
  width:clamp(116px,13vw,190px);
  aspect-ratio:3/2;
  right:-48px;
  top:44px;
  background:url("assets/curious-purple-orange.png") center/contain no-repeat;
  opacity:.92;
}

.contact{overflow:hidden}
.contact::before{
  left:-8vw;
  right:-8vw;
  bottom:-72px;
  height:145px;
  background:
    radial-gradient(ellipse at 18% 70%,rgba(225,207,255,.58),transparent 48%),
    radial-gradient(ellipse at 77% 70%,rgba(255,221,201,.54),transparent 48%);
  border-radius:50% 50% 0 0/72% 72% 0 0;
}

.contact::after{
  width:clamp(165px,20vw,290px);
  aspect-ratio:1672/941;
  right:clamp(-30px,2vw,36px);
  bottom:-4px;
  background:url("assets/curious-footer-trio.png") center/contain no-repeat;
  animation:curious-float 11s ease-in-out -4s infinite;
}

.contact>*{position:relative;z-index:2}
footer{position:relative;background:color-mix(in srgb,var(--bg) 88%,rgba(238,225,255,.55))}

[data-theme="dark"] body{
  background-image:
    radial-gradient(circle at 7% 2%,rgba(91,63,145,.22),transparent 27%),
    radial-gradient(circle at 96% 9%,rgba(112,61,92,.16),transparent 29%),
    linear-gradient(180deg,#111114,#121216 42%,#101014);
}
[data-theme="dark"] .hero{
  background:
    radial-gradient(ellipse at 2% 8%,rgba(92,58,154,.2),transparent 32%),
    radial-gradient(ellipse at 98% 24%,rgba(127,70,74,.17),transparent 34%),
    linear-gradient(165deg,rgba(18,18,23,.82),rgba(16,16,20,.54));
}
[data-theme="dark"] .hero::before,[data-theme="dark"] .hero::after,
[data-theme="dark"] .work::after,[data-theme="dark"] .innovations::before,
[data-theme="dark"] .contact::after{filter:saturate(.82) brightness(.86);opacity:.86}
[data-theme="dark"] .work::before{background:linear-gradient(100deg,rgba(79,52,124,.2),rgba(100,62,73,.16),rgba(53,80,108,.16))}
[data-theme="dark"] .contact::before{opacity:.28;filter:saturate(.7)}

@keyframes curious-float{
  0%,100%{transform:translate3d(0,0,0) rotate(-.35deg)}
  50%{transform:translate3d(0,-5px,0) rotate(.35deg)}
}

@media(max-width:1100px){
  .hero::before{width:150px;left:-36px;top:32px}
  .hero::after{width:210px;right:-60px;top:150px}
  .innovations::before{width:124px;right:-46px}
  .contact::after{width:180px;right:-35px}
}

@media(max-width:800px){
  .hero::before,.hero::after,.innovations::before{display:none}
  .work::after{width:84px;left:-28px;bottom:-4px;opacity:.78}
  .contact::after{width:125px;right:-32px;bottom:0;opacity:.88}
  .work::before{bottom:-66px;opacity:.72}
  .contact::before{bottom:-88px;opacity:.68}
}

@media(max-width:520px){
  .work::after{display:none}
  .contact::after{width:105px;right:-36px;opacity:.72}
}

@media(prefers-reduced-motion:reduce){
  .hero::before,.hero::after,.work::after,.contact::after{animation:none}
}

/* Curious Minds v2 — a continuous illustrated environment. */
[data-theme="light"] body{
  background:#fffaf6;
  background-image:
    radial-gradient(circle at 12% 24%,rgba(242,226,255,.42),transparent 34%),
    radial-gradient(circle at 88% 58%,rgba(255,226,218,.38),transparent 36%);
}

[data-theme="light"] body::before{
  opacity:.12;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode:multiply;
}

.hero{
  background-color:#fffaf6;
  background-image:url("assets/curious-hero-environment-v2.jpg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:100% 100%;
}

.hero::before{
  width:clamp(205px,25vw,400px);
  left:-3.8vw;
  top:10px;
  filter:drop-shadow(0 15px 24px rgba(84,58,137,.11));
}

.hero::after{
  width:clamp(250px,29vw,465px);
  right:-6.5vw;
  top:92px;
  filter:drop-shadow(0 18px 28px rgba(109,65,122,.12));
}

.work{
  overflow:visible;
  background:
    linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,253,251,.95) 36%,rgba(255,255,255,.96)),
    url("assets/curious-section-environment-v2.jpg") center bottom/100% auto no-repeat;
}
.work>*{position:relative;z-index:2}
.work::before{
  left:0;right:0;top:0;bottom:0;height:auto;
  border-radius:0;
  background:
    linear-gradient(180deg,rgba(255,255,255,.72) 0%,rgba(255,255,255,.92) 22%,rgba(255,255,255,.83) 75%,rgba(255,249,246,.72) 100%),
    url("assets/curious-section-environment-v2.jpg") center bottom/100% auto no-repeat;
}
.work::after{
  width:clamp(112px,12vw,170px);
  aspect-ratio:1672/941;
  left:50%;right:auto;top:-56px;bottom:auto;
  transform:translateX(-50%);
  background:url("assets/curious-footer-trio.png") center/contain no-repeat;
  animation:curious-trio-float 10s ease-in-out infinite;
  filter:drop-shadow(0 12px 18px rgba(100,70,136,.13));
}

.creative-intelligence{
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,251,248,.76)),
    url("assets/curious-section-environment-v2.jpg") center bottom/100% auto no-repeat;
}
.creative-intelligence::before{
  content:"";position:absolute;z-index:0;pointer-events:none;
  width:clamp(88px,9vw,132px);aspect-ratio:3/2;
  left:-28px;bottom:-2px;
  background:url("assets/curious-blue-wave.png") center/contain no-repeat;
  filter:drop-shadow(0 10px 18px rgba(58,104,143,.1));
}
.creative-intelligence>*{position:relative;z-index:2}

.innovations{
  background:
    linear-gradient(180deg,rgba(255,255,255,.88),rgba(255,252,248,.82)),
    url("assets/curious-section-environment-v2.jpg") center bottom/100% auto no-repeat;
}
.innovations::after{
  content:"";position:absolute;z-index:0;pointer-events:none;
  left:-6vw;right:-6vw;bottom:-62px;height:130px;
  border-radius:52% 48% 0 0/74% 70% 0 0;
  background:linear-gradient(100deg,rgba(221,205,255,.52),rgba(255,220,210,.42) 52%,rgba(220,235,255,.42));
}
.innovations>*{position:relative;z-index:2}

.contact{
  background:
    linear-gradient(180deg,rgba(255,251,248,.72),rgba(255,248,245,.42)),
    url("assets/curious-section-environment-v2.jpg") center bottom/100% 48% no-repeat;
}
.contact::after{width:clamp(190px,22vw,310px);right:clamp(-22px,2vw,32px);bottom:-2px}

[data-theme="dark"] .hero{
  background-image:
    linear-gradient(rgba(16,15,22,.78),rgba(16,15,22,.83)),
    url("assets/curious-hero-environment-v2.jpg");
  background-size:100% 100%;
}
[data-theme="dark"] .work,
[data-theme="dark"] .creative-intelligence,
[data-theme="dark"] .innovations,
[data-theme="dark"] .contact{
  background-image:
    linear-gradient(180deg,rgba(17,17,21,.9),rgba(19,17,25,.86)),
    url("assets/curious-section-environment-v2.jpg");
  background-blend-mode:multiply;
}
[data-theme="dark"] .work::before{
  background:
    linear-gradient(180deg,rgba(17,17,21,.82),rgba(18,17,23,.94) 36%,rgba(20,17,25,.84)),
    url("assets/curious-section-environment-v2.jpg") center bottom/100% auto no-repeat;
  background-blend-mode:multiply;
}
[data-theme="dark"] .innovations::after{background:linear-gradient(100deg,rgba(73,50,111,.24),rgba(93,54,65,.2),rgba(46,67,89,.18))}

@keyframes curious-trio-float{
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%{transform:translateX(-50%) translateY(-4px)}
}

@media(max-width:1100px){
  .hero::before{width:170px;left:-30px;top:18px}
  .hero::after{width:225px;right:-52px;top:112px}
  .work::after{width:126px;top:-42px}
}

@media(max-width:800px){
  .hero{background-size:auto 100%;background-position:center top}
  .work::after{display:block;width:94px;top:-31px;opacity:.94}
  .creative-intelligence::before{display:none}
  .work,.creative-intelligence,.innovations,.contact{background-size:auto 280px;background-position:center bottom}
}

@media(max-width:520px){
  .work::after{width:78px;top:-25px}
  .contact{background-size:auto 190px}
}

@media(prefers-reduced-motion:reduce){.work::after{animation:none}}

/* Seamless illustrated header: transparent at rest, quietly frosted on scroll. */
[data-theme="light"] body{
  background-color:#fffaf6;
  background-image:
    url("assets/curious-hero-environment-v2.jpg"),
    radial-gradient(circle at 12% 24%,rgba(242,226,255,.42),transparent 34%),
    radial-gradient(circle at 88% 58%,rgba(255,226,218,.38),transparent 36%);
  background-position:center top,center top,center top;
  background-size:100% 692px,auto,auto;
  background-repeat:no-repeat,no-repeat,no-repeat;
}

.hero{
  background-color:transparent;
  background-image:none;
}

.topbar,
[data-theme="light"] .topbar{
  background:transparent;
  border-bottom-color:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  transition:background-color .24s ease,border-color .24s ease,box-shadow .24s ease,backdrop-filter .24s ease;
}

.topbar.is-scrolled,
[data-theme="light"] .topbar.is-scrolled{
  background:rgba(255,250,247,.74);
  border-bottom-color:rgba(255,255,255,.38);
  box-shadow:0 8px 28px rgba(81,61,105,.07);
  backdrop-filter:blur(20px) saturate(1.08);
  -webkit-backdrop-filter:blur(20px) saturate(1.08);
}

[data-theme="dark"] body{
  background-color:#111114;
  background-image:
    linear-gradient(rgba(16,15,22,.8),rgba(16,15,22,.84)),
    url("assets/curious-hero-environment-v2.jpg"),
    radial-gradient(circle at 7% 2%,rgba(91,63,145,.22),transparent 27%);
  background-position:center top,center top,center top;
  background-size:100% 692px,100% 692px,auto;
  background-repeat:no-repeat,no-repeat,no-repeat;
}

[data-theme="dark"] .hero{background:transparent}
[data-theme="dark"] .topbar{background:transparent;border-bottom-color:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
[data-theme="dark"] .topbar.is-scrolled{
  background:rgba(18,17,23,.76);
  border-bottom-color:rgba(255,255,255,.06);
  box-shadow:0 8px 30px rgba(0,0,0,.2);
  backdrop-filter:blur(20px) saturate(1.04);
  -webkit-backdrop-filter:blur(20px) saturate(1.04);
}

@media(max-width:800px){
  [data-theme="light"] body{background-size:auto 692px,auto,auto}
  [data-theme="dark"] body{background-size:auto 692px,auto 692px,auto}
  .topbar.open,
  [data-theme="light"] .topbar.open{
    background:rgba(255,250,247,.94);
    border-bottom-color:rgba(91,76,112,.1);
    box-shadow:0 18px 42px rgba(45,34,58,.12);
    backdrop-filter:blur(22px) saturate(1.08);
    -webkit-backdrop-filter:blur(22px) saturate(1.08);
  }
  [data-theme="dark"] .topbar.open{
    background:rgba(18,17,23,.95);
    border-bottom-color:rgba(255,255,255,.07);
    box-shadow:0 18px 42px rgba(0,0,0,.28);
  }
}

/* Match archive filter pills to the white innovation-tag treatment. */
.patent-filters button:not(.active){
  border-color:#dedee4;
  background:#fff;
  color:#303036;
  box-shadow:0 2px 8px rgba(47,39,61,.07);
}
.patent-filters button:not(.active):hover{
  border-color:#c9c9d1;
  background:#fff;
  color:#111115;
  box-shadow:0 4px 12px rgba(47,39,61,.1);
}
[data-theme="dark"] .patent-filters button:not(.active){
  border-color:#47474f;
  background:#34343a;
  color:#f0f0f2;
  box-shadow:none;
}
[data-theme="dark"] .patent-filters button:not(.active):hover{background:#3d3d44;border-color:#56565f}

/* Branded social buttons and paired contact details. */
.contact-details{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:.8rem 1.4rem;
  margin:1.8rem 0 .9rem;
}
.contact-details .email,
.contact-details .phone{
  display:inline-flex;
  align-items:center;
  margin:0;
  border-bottom:1px solid currentColor;
  color:var(--ink);
  font-size:clamp(1rem,1.55vw,1.4rem);
  line-height:1.35;
  text-decoration:none;
}
.social a,
.about-social a{
  display:inline-flex;
  align-items:center;
  gap:.42rem;
}
.social a img,
.about-social a img{
  width:20px;
  height:20px;
  flex:0 0 20px;
  border-radius:50%;
  box-shadow:0 1px 3px rgba(23,23,31,.12);
}
@media(max-width:600px){
  .contact-details{flex-direction:column;gap:.65rem;margin:1.4rem 0 1rem}
  .contact-details .email,.contact-details .phone{font-size:1rem}
  .social{flex-wrap:wrap}
}

@media(prefers-reduced-motion:reduce){.topbar{transition:none}}

/* Patent archive: keep the same large visual-card experience as the homepage. */
@media(max-width:700px){
  .archive-grid{gap:2.25rem}
  .archive-grid .patent-card{width:100%;max-width:100%;padding-bottom:0;border-bottom:0;content-visibility:visible;contain-intrinsic-size:none}
  .archive-grid .patent-card button{display:block;min-width:0;white-space:normal;overflow:hidden}
  .archive-grid .patent-cover{width:100%;aspect-ratio:3/2;border-radius:14px}
  .archive-grid .patent-meta{min-width:0;padding:1rem .15rem}
  .archive-grid .patent-meta h3{max-width:100%;margin:.65rem 0;font-size:clamp(1.35rem,6.5vw,1.9rem);line-height:1.05;letter-spacing:-.04em;overflow-wrap:anywhere}
  .archive-grid .patent-meta p{display:block;overflow:visible;font-size:.83rem;line-height:1.5}
  .archive-grid .patent-meta>span:first-child{font-size:.72rem}
  .archive-grid .patent-tags{gap:.5rem;margin-top:.9rem}
  .archive-grid .patent-tags i{padding:.44rem .68rem;font-size:.72rem}
  .archive-grid .patent-action{margin-top:1rem;font-size:.72rem}
  .archive-grid .patent-badge{left:.8rem;top:.8rem;padding:.42rem .62rem;font-size:.61rem!important}
  .archive-grid .patent-no{right:.75rem;top:.75rem;width:34px;height:34px;font-size:.68rem}
  .archive-grid .patent-tags i:nth-child(n){display:inline-block}
}

/* Art-directed section storytelling: richer edges, quiet content fields. */
.projects{position:relative;isolation:isolate}
.projects::before,.projects::after{
  content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:50%;
  border:1px solid rgba(255,255,255,.72);
  box-shadow:inset 14px 18px 24px rgba(255,255,255,.48),0 18px 44px rgba(111,83,155,.08);
}
.projects::before{
  width:84px;height:84px;left:-8.5vw;top:24%;
  background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.88),rgba(220,210,255,.42) 38%,rgba(198,180,244,.18) 68%,transparent 72%);
}
.projects::after{
  width:48px;height:48px;right:-5vw;top:67%;
  background:radial-gradient(circle at 32% 26%,rgba(255,255,255,.88),rgba(255,210,188,.46) 42%,rgba(237,172,150,.13) 70%,transparent 74%);
}

.creative-intelligence{
  background:
    radial-gradient(circle at 94% 18%,rgba(222,208,255,.34),transparent 19%),
    radial-gradient(circle at 4% 76%,rgba(206,237,255,.24),transparent 17%),
    linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,251,248,.72)),
    url("assets/curious-section-environment-v2.jpg") center bottom/100% auto no-repeat;
}
.creative-intelligence::after{
  content:"";position:absolute;z-index:0;pointer-events:none;
  width:clamp(130px,14vw,210px);aspect-ratio:1;right:-58px;top:23%;border-radius:50%;
  border:1px solid rgba(255,255,255,.7);
  background:
    radial-gradient(circle at 34% 27%,rgba(255,255,255,.92) 0 8%,transparent 9%),
    radial-gradient(circle at 46% 42%,rgba(226,214,255,.48),rgba(206,188,248,.18) 54%,transparent 71%);
  box-shadow:inset 18px 20px 32px rgba(255,255,255,.48),-28px 42px 80px rgba(119,81,174,.1),-68px 82px 0 -58px rgba(123,86,224,.62),-90px 46px 0 -72px rgba(255,181,145,.72);
  opacity:.82;
}

.innovations{
  background:
    radial-gradient(ellipse at 104% 11%,rgba(255,216,192,.4),rgba(232,216,255,.24) 28%,transparent 43%),
    linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,252,248,.82)),
    url("assets/curious-section-environment-v2.jpg") center bottom/100% auto no-repeat;
}
.innovations::after{
  left:-6vw;right:-6vw;bottom:-62px;height:138px;
  background:
    radial-gradient(ellipse at 86% 60%,rgba(255,218,194,.5),transparent 34%),
    linear-gradient(100deg,rgba(221,205,255,.52),rgba(255,220,210,.42) 52%,rgba(220,235,255,.42));
}

.contact::before{
  background:
    radial-gradient(ellipse at 18% 70%,rgba(225,207,255,.58),transparent 48%),
    radial-gradient(ellipse at 77% 70%,rgba(255,221,201,.54),transparent 48%),
    linear-gradient(104deg,rgba(235,222,255,.2),rgba(255,228,218,.3));
}

[data-theme="dark"] .projects::before,[data-theme="dark"] .projects::after,[data-theme="dark"] .creative-intelligence::after{opacity:.28;filter:saturate(.65)}
[data-theme="dark"] .creative-intelligence{
  background:
    radial-gradient(circle at 94% 18%,rgba(91,62,142,.18),transparent 19%),
    linear-gradient(180deg,rgba(17,17,21,.92),rgba(19,17,25,.84)),
    url("assets/curious-section-environment-v2.jpg") center bottom/100% auto no-repeat;
  background-blend-mode:normal,normal,multiply;
}
[data-theme="dark"] .innovations{
  background:
    radial-gradient(ellipse at 104% 11%,rgba(117,72,53,.18),rgba(84,61,124,.14) 28%,transparent 43%),
    linear-gradient(180deg,rgba(17,17,21,.92),rgba(19,17,25,.86)),
    url("assets/curious-section-environment-v2.jpg") center bottom/100% auto no-repeat;
  background-blend-mode:normal,normal,multiply;
}
@media(max-width:1100px){
  .creative-intelligence::after{width:132px;right:-54px}
}
@media(max-width:800px){
  .projects::before{width:54px;height:54px;left:-30px}
  .projects::after{width:36px;height:36px;right:-22px}
  .creative-intelligence::after{width:86px;right:-42px;top:18%;opacity:.58}
}
@media(max-width:520px){
  .projects::before,.projects::after,.creative-intelligence::after{display:none}
}

/* One continuous landscape for Innovations and the closing contact scene. */
.closing-landscape{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(ellipse at 8% 10%,rgba(230,219,255,.34),transparent 30%),
    radial-gradient(ellipse at 92% 24%,rgba(255,222,212,.36),transparent 34%),
    radial-gradient(ellipse at 50% 73%,rgba(255,255,255,.94),rgba(255,250,247,.58) 40%,transparent 69%),
    linear-gradient(180deg,#fffdf9 0%,#fffaf8 43%,#fdf4ff 72%,#f4e7ff 100%);
}
.closing-landscape::before{
  content:"";
  position:absolute;
  z-index:0;
  pointer-events:none;
  left:-2px;right:-2px;bottom:-2px;height:54%;
  background:url("assets/curious-section-environment-v2.jpg") center bottom/100% 100% no-repeat;
  opacity:.9;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.08) 16%,rgba(0,0,0,.64) 42%,#000 68%);
  mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.08) 16%,rgba(0,0,0,.64) 42%,#000 68%);
}
.closing-landscape::after{
  content:"";
  position:absolute;
  z-index:0;
  pointer-events:none;
  left:-12%;right:-10%;bottom:-11%;height:28%;
  border-radius:52% 48% 0 0/55% 60% 0 0;
  background:
    radial-gradient(ellipse at 20% 38%,rgba(204,176,255,.42),transparent 42%),
    radial-gradient(ellipse at 70% 55%,rgba(255,196,176,.36),transparent 38%),
    linear-gradient(104deg,rgba(213,190,255,.32),rgba(255,220,232,.4) 51%,rgba(216,188,255,.4));
  opacity:.72;
  filter:blur(.2px);
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.18) 22%,#000 62%);
  mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.18) 22%,#000 62%);
}
.closing-landscape>.innovations,
.closing-landscape>.contact{
  position:relative;
  z-index:1;
  background:transparent!important;
}
.closing-landscape>.innovations::after,
.closing-landscape>.contact::before{display:none}
.closing-landscape>.contact::after{z-index:1}
.closing-landscape>.contact>*{z-index:2}

/* The unified landscape artwork supplies the lower hills; avoid a second layer edge. */
.closing-landscape::after{display:none}

[data-theme="dark"] .closing-landscape{
  background:
    radial-gradient(ellipse at 8% 10%,rgba(93,65,143,.18),transparent 30%),
    radial-gradient(ellipse at 92% 24%,rgba(116,68,72,.16),transparent 34%),
    radial-gradient(ellipse at 50% 73%,rgba(20,19,25,.94),rgba(22,19,29,.72) 42%,transparent 70%),
    linear-gradient(180deg,#111115 0%,#141218 48%,#1b1524 100%);
}
[data-theme="dark"] .closing-landscape::before{opacity:.2;filter:saturate(.62) brightness(.58);mix-blend-mode:screen}
[data-theme="dark"] .closing-landscape::after{opacity:.28;filter:saturate(.62) brightness(.58)}

@media(max-width:800px){
  .closing-landscape::before{left:-180px;right:-180px;bottom:-2px;height:43%;background-size:auto 100%;background-position:center bottom}
  .closing-landscape::after{left:-35%;right:-30%;bottom:-6%;height:21%}
}

@media(max-width:520px){
  .closing-landscape{
    background:
      radial-gradient(ellipse at 14% 9%,rgba(230,219,255,.27),transparent 28%),
      radial-gradient(ellipse at 88% 32%,rgba(255,222,212,.28),transparent 32%),
      linear-gradient(180deg,#fffdf9 0%,#fffaf8 55%,#f5e8ff 100%);
  }
  [data-theme="dark"] .closing-landscape{background:linear-gradient(180deg,#111115 0%,#15121b 58%,#1b1524 100%)}
}

/* Stronger tag surfaces for clear separation from pastel section backgrounds. */
.patent-tags i,
.archive-grid .patent-tags i{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:.46rem .8rem;
  border:1px solid #dedee4;
  background:#fff;
  color:#303036;
  font-size:.8rem;
  font-weight:600;
  line-height:1;
  box-shadow:0 2px 8px rgba(47,39,61,.07);
}
[data-theme="dark"] .patent-tags i,
[data-theme="dark"] .archive-grid .patent-tags i{
  border-color:#47474f;
  background:#34343a;
  color:#f0f0f2;
  box-shadow:none;
}
@media(max-width:700px){
  .patent-tags i,
  .archive-grid .patent-tags i{
    min-height:29px;
    padding:.44rem .72rem;
    font-size:.76rem;
  }
}

/* Intent-based portfolio journey selector and its persistent companion. */
.journey-selector{position:relative;z-index:3;padding:.6rem 6vw 3.2rem;text-align:center;scroll-margin-top:80px}
.journey-heading h2{margin:0;font-size:clamp(2rem,3.5vw,3.8rem);font-weight:600;line-height:1;letter-spacing:-.055em}.journey-heading p{margin:.8rem 0 1.8rem;color:var(--muted);font-size:clamp(.9rem,1.15vw,1.05rem)}
.journey-cards{width:min(1100px,100%);margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.journey-card{position:relative;min-height:142px;display:grid;grid-template-columns:40% minmax(0,1fr);align-items:center;gap:.65rem;padding:.75rem 1.05rem;border:1px solid color-mix(in srgb,var(--line) 80%,transparent);border-radius:22px;background:color-mix(in srgb,var(--bg) 91%,#f7f3ff 9%);color:var(--ink);text-align:left;cursor:pointer;box-shadow:0 12px 28px rgba(61,46,97,.085),0 2px 7px rgba(61,46,97,.04);transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease,transform .12s ease}
.journey-card>img{width:100%;height:108px;object-fit:contain;filter:drop-shadow(0 9px 11px rgba(47,31,76,.11));transition:transform .2s ease}.journey-card>span{min-width:0;display:grid;gap:.45rem}.journey-card strong{font-size:clamp(1.08rem,1.55vw,1.42rem);line-height:1.05;letter-spacing:-.035em}.journey-card small{color:var(--muted);font-size:.8rem;line-height:1.32}.journey-check{position:absolute;right:.85rem;top:.85rem;width:27px;height:27px;display:grid;place-items:center;border:2px solid color-mix(in srgb,var(--line) 86%,#a98ee8 14%);border-radius:50%;background:transparent;color:transparent;font-size:.78rem;font-style:normal;opacity:1;transform:none;transition:border-color .2s ease,background-color .2s ease,color .2s ease,transform .2s ease}
.journey-card:hover{border-color:color-mix(in srgb,var(--accent) 68%,var(--line));box-shadow:0 17px 38px rgba(82,57,151,.14),0 3px 9px rgba(61,46,97,.06);transform:translateY(-2px)}.journey-card:hover>img{transform:translateY(-3px) rotate(-1deg)}.journey-card:active{transform:translateY(0) scale(.985)}.journey-card:focus-visible,.journey-trigger:focus-visible,.journey-popover button:focus-visible,.journey-start:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 72%,white);outline-offset:3px}.journey-card.is-selected{border-color:var(--accent);background:color-mix(in srgb,var(--bg) 77%,#e9e1ff 23%);box-shadow:0 17px 40px rgba(91,55,180,.18),0 4px 12px rgba(91,55,180,.08)}.journey-card.is-selected .journey-check{border-color:var(--accent);background:var(--accent);color:#fff;transform:scale(1)}
.journey-plan{width:min(1100px,100%);min-height:96px;margin:1.15rem auto 0;display:grid;grid-template-columns:minmax(240px,1.45fr) 3fr;align-items:center;border:1px solid color-mix(in srgb,var(--line) 82%,transparent);border-radius:22px;background:color-mix(in srgb,var(--bg) 91%,#f8f4ff 9%);box-shadow:0 12px 30px rgba(61,46,97,.08);overflow:hidden;text-align:left}.journey-plan-lead{min-height:64px;display:flex;align-items:center;gap:.8rem;padding:0 1.25rem;border-right:1px solid var(--line)}.journey-plan-lead>i{width:45px;height:45px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:#eee7ff;color:#7a43ff;font-size:1.45rem;font-style:normal}.journey-plan-lead strong{font-size:clamp(.95rem,1.3vw,1.15rem);line-height:1.2}.journey-plan-items{display:grid;grid-template-columns:repeat(4,1fr);align-items:center}.journey-plan-items>span{min-height:64px;display:grid;place-items:center;align-content:center;gap:.25rem;padding:.5rem .7rem;text-align:center;border-right:1px solid var(--line)}.journey-plan-items>span:last-child{border-right:0}.journey-plan-items i{color:#7a43ff;font-size:1.25rem;font-style:normal;line-height:1}.journey-plan-items small{color:var(--ink);font-size:.72rem;font-weight:500;line-height:1.25}.journey-start{min-width:320px;min-height:50px;margin:1.15rem auto 0;display:inline-flex;align-items:center;justify-content:center;gap:.75rem;padding:.8rem 1.45rem;border:0;border-radius:999px;background:linear-gradient(100deg,#6e2cff,#8b32f7);color:#fff;font-weight:600;box-shadow:0 11px 24px rgba(112,43,244,.24);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.journey-start:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 15px 30px rgba(112,43,244,.3)}.journey-start:active:not(:disabled){transform:scale(.985)}.journey-start:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}.journey-start i{font-size:1.15rem;font-style:normal}.journey-switch-note{display:flex;align-items:center;justify-content:center;gap:.4rem;margin:.75rem 0 0!important;color:var(--muted);font-size:.76rem!important;font-weight:500}.journey-switch-note i{font-style:normal}
.journey-companion{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:65;width:min(372px,calc(100vw - 32px));animation:journey-enter .22s ease both}.journey-trigger{width:max-content;max-width:100%;min-width:248px;min-height:68px;margin-left:auto;display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:.72rem;padding:.5rem .85rem .5rem .55rem;border:1px solid color-mix(in srgb,var(--line) 88%,transparent);border-radius:999px;background:color-mix(in srgb,var(--bg) 94%,transparent);color:var(--ink);text-align:left;cursor:pointer;box-shadow:0 15px 42px rgba(31,27,43,.15);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);transition:transform .18s ease,border-color .18s ease,background-color .18s ease}.journey-trigger:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}.journey-trigger:active{transform:scale(.985)}.journey-trigger-character{width:50px;height:50px;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:115%;background-color:color-mix(in srgb,var(--soft) 85%,#eee6ff 15%)}.journey-trigger-character:empty:not([style*="background-image: url"]){background-image:radial-gradient(circle at 34% 35%,#bca8ff 0 12%,#8b6cff 13% 22%,transparent 23%),radial-gradient(circle at 64% 35%,#bca8ff 0 12%,#8b6cff 13% 22%,transparent 23%)}.journey-trigger>span:nth-child(2){display:grid;gap:.12rem}.journey-trigger strong{font-size:.93rem;line-height:1.1}.journey-trigger small{color:var(--muted);font-size:.72rem}.journey-trigger>i{font-size:1.15rem;font-style:normal;transition:transform .2s ease}.journey-companion.is-open .journey-trigger>i{transform:rotate(180deg)}
.journey-popover{position:absolute;right:0;bottom:calc(100% + 12px);width:min(372px,calc(100vw - 32px));padding:1rem;border:1px solid color-mix(in srgb,var(--line) 88%,transparent);border-radius:25px;background:color-mix(in srgb,var(--bg) 96%,transparent);color:var(--ink);box-shadow:0 24px 70px rgba(31,27,43,.18);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);transform-origin:bottom right;animation:journey-pop .2s ease both}.journey-popover header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.2rem .15rem .9rem}.journey-popover h2{margin:0;font-size:1.28rem;letter-spacing:-.035em}.journey-popover header p{margin:.3rem 0 0;color:var(--muted);font-size:.78rem}.journey-popover header button{width:34px;height:34px;flex:0 0 auto;border:0;border-radius:50%;background:transparent;color:var(--ink);font-size:1.35rem;cursor:pointer}.journey-popover-options{display:grid;gap:.55rem}.journey-popover-options>button{position:relative;min-height:92px;display:grid;grid-template-columns:76px minmax(0,1fr) 24px;align-items:center;gap:.65rem;padding:.55rem .7rem;border:1px solid color-mix(in srgb,var(--line) 76%,transparent);border-radius:18px;background:color-mix(in srgb,var(--bg) 84%,var(--soft) 16%);color:var(--ink);text-align:left;cursor:pointer;transition:border-color .2s ease,background-color .2s ease,transform .12s ease}.journey-popover-options>button:hover{border-color:color-mix(in srgb,var(--accent) 60%,var(--line));transform:translateX(-2px)}.journey-popover-options img{width:76px;height:76px;object-fit:contain}.journey-popover-options span{display:grid;gap:.3rem}.journey-popover-options strong{font-size:1rem;line-height:1.1}.journey-popover-options small{color:var(--muted);font-size:.72rem;line-height:1.3}.journey-popover-options i{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:var(--accent);font-size:1.3rem;font-style:normal}.journey-popover-options .is-selected{border-color:var(--accent);background:color-mix(in srgb,var(--bg) 74%,#e9e1ff 26%)}.journey-popover-options .is-selected i{background:var(--accent);color:#fff;font-size:.72rem}
[data-theme="dark"] .journey-card{background:#1b1a20;border-color:#393640;box-shadow:0 14px 34px rgba(0,0,0,.24)}[data-theme="dark"] .journey-card.is-selected{background:#24202e;border-color:#9b8cff}[data-theme="dark"] .journey-plan{background:#1b1a20;border-color:#393640;box-shadow:0 14px 34px rgba(0,0,0,.22)}[data-theme="dark"] .journey-plan-lead>i{background:#302747;color:#b8a5ff}[data-theme="dark"] .journey-trigger,[data-theme="dark"] .journey-popover{background:rgba(28,27,32,.94);border-color:#414047;box-shadow:0 18px 48px rgba(0,0,0,.4)}[data-theme="dark"] .journey-popover-options>button{background:#242329;border-color:#414047}[data-theme="dark"] .journey-popover-options .is-selected{background:#2e2840;border-color:#9b8cff}
@keyframes journey-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes journey-pop{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:900px){.journey-selector{padding-inline:5vw}.journey-card{min-height:132px;grid-template-columns:38% minmax(0,1fr);padding:.7rem}.journey-card>img{height:100px}.journey-card strong{font-size:1.02rem}.journey-card small{font-size:.7rem}.journey-plan{grid-template-columns:1fr}.journey-plan-lead{justify-content:center;border-right:0;border-bottom:1px solid var(--line)}.journey-plan-items small{font-size:.68rem}}
@media(max-width:700px){.journey-selector{padding-top:.35rem;padding-bottom:2.4rem}.journey-heading p{margin-bottom:1.3rem}.journey-cards{grid-template-columns:1fr;gap:.7rem}.journey-card{min-height:102px;grid-template-columns:94px minmax(0,1fr);border-radius:18px;padding:.45rem .9rem}.journey-card>img{height:88px}.journey-card strong{font-size:1.08rem}.journey-card small{font-size:.76rem}.journey-plan{margin-top:.9rem;border-radius:18px}.journey-plan-lead{min-height:58px;padding:.6rem .9rem}.journey-plan-lead>i{width:38px;height:38px}.journey-plan-items{grid-template-columns:1fr 1fr}.journey-plan-items>span{min-height:66px;border-bottom:1px solid var(--line)}.journey-plan-items>span:nth-child(2){border-right:0}.journey-plan-items>span:nth-child(n+3){border-bottom:0}.journey-start{width:100%;min-width:0;margin-top:.9rem}.journey-switch-note{font-size:.72rem!important}.journey-companion{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:min(350px,calc(100vw - 32px))}.journey-trigger{min-width:220px;min-height:62px;grid-template-columns:44px 1fr auto}.journey-trigger-character{width:44px;height:44px}.journey-popover{width:min(350px,calc(100vw - 32px));max-height:min(510px,calc(100dvh - 112px));overflow:auto}.journey-popover-options>button{min-height:84px;grid-template-columns:66px minmax(0,1fr) 24px}.journey-popover-options img{width:66px;height:66px}}
@media(prefers-reduced-motion:reduce){.journey-card,.journey-card>img,.journey-trigger,.journey-trigger>i,.journey-check{transition:none}.journey-companion,.journey-popover{animation:none}.journey-card:hover,.journey-card:hover>img,.journey-trigger:hover,.journey-popover-options>button:hover{transform:none}}

/* Compact segmented light/dark control. */
.theme{width:76px;height:38px;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:3px;border:1px solid rgba(133,92,238,.18);border-radius:999px;background:rgba(229,210,255,.72);box-shadow:0 5px 16px rgba(91,55,180,.12);cursor:pointer;transition:background-color .2s ease,border-color .2s ease}.theme>span{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;color:#7545df;font-size:1rem;line-height:1;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease}.theme-sun{background:#fff;color:#5a31bd!important;box-shadow:0 2px 8px rgba(67,42,122,.12)}.theme:hover>span{transform:scale(1.03)}.theme:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 70%,white);outline-offset:3px}[data-theme="dark"] .theme{background:rgba(91,68,134,.55);border-color:rgba(183,157,245,.28);box-shadow:0 5px 18px rgba(0,0,0,.25)}[data-theme="dark"] .theme-sun{background:transparent;color:#bba8e8!important;box-shadow:none}[data-theme="dark"] .theme-moon{background:#f5f0ff;color:#5d32c8;box-shadow:0 2px 9px rgba(0,0,0,.2)}
@media(max-width:800px){.topbar.open .theme{width:100%;height:50px;display:flex;align-items:center;justify-content:flex-start;gap:.3rem;padding:.55rem .15rem;border:0;border-bottom:1px solid color-mix(in srgb,var(--line) 68%,transparent);border-radius:0;background:transparent;box-shadow:none}.topbar.open .theme>span{width:32px;height:32px;flex:0 0 auto}.topbar.open .theme::after{margin-left:.4rem}}
@media(prefers-reduced-motion:reduce){.theme,.theme>span{transition:none}}
