:root{--paper:#fff;--soft:#F3F3F3;--card:#fff;--ink:#17191d;--muted:#686c72;--line:#e6e7e8;--accent:#bb2d35;--header:80px;--rad:25px;--max:1180px;--ease:cubic-bezier(.2,.75,.25,1);--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}html[data-theme=dark]{--paper:#141619;--soft:#1b1d21;--card:#22252a;--ink:#f4f4f4;--muted:#b1b4ba;--line:#35373d;--accent:#f78f94;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header) + 14px)}body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.55 var(--font);-webkit-font-smoothing:antialiased;overflow-x:hidden}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;border:0;cursor:pointer;background:transparent}button,a{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #7f9fdf;outline-offset:4px}button[hidden],article[hidden],nav[hidden],[hidden]{display:none!important}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}p{color:var(--muted)}.wrap{max-width:var(--max);width:100%;margin:0 auto;padding:0 28px}.section{padding:100px 0}.soft{background:var(--soft)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:34px}.eyebrow{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px}.eyebrow::before{content:"";width:7px;height:7px;border-radius:2px;background:var(--accent)}h2{font-size:clamp(30px,4.4vw,48px);letter-spacing:-.055em;line-height:1.12;font-weight:750}h3{font-size:21px;line-height:1.25;letter-spacing:-.035em;font-weight:700}.section-head p{max-width:380px;font-size:15px;line-height:1.6}.section-head.center{text-align:center;display:block;margin-bottom:38px}.section-head.center .eyebrow{justify-content:center}.section-head.center p{max-width:560px;margin:13px auto 0}.btn{min-height:48px;padding:12px 22px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--line);font-size:14px;font-weight:600;transition:transform .25s var(--ease),background .25s,color .25s;white-space:nowrap}.btn:hover{transform:translateY(-2px)}.btn.primary{background:var(--ink);color:var(--paper);border-color:var(--ink)}.btn.secondary{background:var(--paper)}.btn.secondary:hover{background:var(--soft)}.btn .icon{width:17px;height:17px}.round{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;border:1px solid var(--line);background:var(--paper);transition:background .2s,transform .2s}.round:hover{background:var(--soft);transform:translateY(-2px)}.brand{display:inline-flex;gap:10px;align-items:center;font-size:23px;font-weight:750;letter-spacing:-.065em;line-height:1;white-space:nowrap}.brand-mark{width:41px;height:41px;display:grid;place-items:center;background:var(--ink);color:var(--paper);border-radius:8px;font-size:18px;letter-spacing:-.1em;font-weight:800;padding-right:1px}.header{position:sticky;top:0;z-index:50;background:var(--paper);height:var(--header);border-bottom:1px solid transparent;transition:border .25s,background .25s}.header.scrolled{border-color:var(--line);background:color-mix(in srgb,var(--paper) 94%,transparent);backdrop-filter:blur(14px)}.nav-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1360px}.nav{display:flex;gap:30px;align-items:center}.nav a{font-size:14px;color:var(--muted);font-weight:500;position:relative;padding:12px 0;white-space:nowrap;transition:color .2s}.nav a::after{content:"";width:5px;height:5px;border-radius:50%;background:var(--accent);position:absolute;bottom:2px;left:50%;transform:translate(-50%,5px);opacity:0;transition:all .25s}.nav a:hover,.nav a.active{color:var(--ink)}.nav a.active::after{opacity:1;transform:translate(-50%,0)}.header-actions{display:flex;align-items:center;gap:8px}.header-actions .btn{min-height:42px;padding:9px 15px;background:var(--soft);border-color:transparent}.mobile-toggle{display:none}.mobile-nav{position:absolute;top:calc(var(--header) - 2px);left:12px;right:12px;padding:10px;border:1px solid var(--line);border-radius:18px;background:var(--card);box-shadow:0 12px 35px #0002}.mobile-nav a{display:block;padding:13px;border-radius:9px}.mobile-nav a:hover{background:var(--soft)}
/* Hero: a personal introduction, with a small interactive desktop. */
.hero{min-height:min(820px,calc(100svh - var(--header)));display:flex;flex-direction:column;justify-content:center;align-items:center;padding:72px 20px 28px;position:relative;isolation:isolate;background:radial-gradient(ellipse at 50% 76%,color-mix(in srgb,var(--soft) 76%,transparent),transparent 53%),var(--paper);overflow:hidden}.hero-content{text-align:center;max-width:850px;position:relative;z-index:1}.location{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;font-weight:500;letter-spacing:.01em;padding:6px 11px;border:1px solid var(--line);border-radius:99px;background:var(--paper)}.location .icon{width:14px;height:14px;color:var(--accent)}.hero h1{font-size:clamp(48px,8.4vw,110px);line-height:1.07;letter-spacing:-.083em;font-weight:750;margin:24px 0 16px}.hero h1 .hello{font-weight:450;letter-spacing:-.083em}.hero h1 .period{color:var(--accent)}.hero-sub{font-size:clamp(19px,2.5vw,28px);letter-spacing:-.035em;font-weight:500;color:var(--ink)}.hero-description{font-size:16px;max-width:520px;margin:13px auto 0;min-height:50px;line-height:1.6}.hero-description.change{animation:text-in .38s var(--ease)}@keyframes text-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.hero-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:23px}.hero-actions .btn{padding:12px 23px}.workbench{position:relative;margin:54px auto 0;width:min(100%,620px)}.bench-top{display:flex;justify-content:space-between;align-items:center;padding:0 5px 13px;color:var(--muted);font-size:11px;font-weight:500;letter-spacing:.02em}.bench-title{display:flex;gap:7px;align-items:center}.bench-title .icon{width:15px;height:15px}.bench-hint{font-size:11px}.bench-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;position:relative}.bench-card{text-align:left;min-width:0;display:flex;gap:11px;align-items:center;min-height:85px;padding:13px 12px;background:var(--card);border:1px solid var(--line);border-radius:16px;transition:transform .4s var(--ease),box-shadow .4s,background .4s,border-color .4s;position:relative}.bench-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #0000000c}.bench-card.active{border-color:#a1aaa8;box-shadow:0 9px 25px #0000000b;transform:translateY(-4px)}.bench-card.active::after{position:absolute;content:"";left:14px;right:14px;bottom:0;height:2px;border-radius:3px;background:var(--tab-color)}.bench-icon{display:grid;place-items:center;position:relative;width:43px;height:43px;flex:0 0 43px;border-radius:12px;background:var(--tab-bg);color:var(--tab-color);overflow:hidden}.bench-icon .icon{width:23px;height:23px;position:relative;z-index:1}.bench-card b{display:block;font-size:14px;line-height:1.2;letter-spacing:-.025em}.bench-card small{display:block;color:var(--muted);font-size:10px;line-height:1.3;margin-top:4px;white-space:normal}.bench-card[data-role=build]{--tab-bg:#e6ede9;--tab-color:#416e5a}.bench-card[data-role=research]{--tab-bg:#e8edf9;--tab-color:#465f9b}.bench-card[data-role=write]{--tab-bg:#fae9e7;--tab-color:#b14b43}.bench-card.active .bench-icon::before{content:"";position:absolute;inset:-100%;background:linear-gradient(110deg,transparent 40%,#ffffffb0 50%,transparent 60%);animation:shimmer 4s 1s infinite}@keyframes shimmer{0%,70%{transform:translateX(-35%)}100%{transform:translateX(35%)}}.bench-card.active[data-role=build] .bench-icon .icon{animation:codepulse 3s infinite}@keyframes codepulse{0%,85%,100%{transform:scale(1)}92%{transform:scale(1.12)}}.bench-card.active[data-role=research] .bench-icon .icon{animation:inspect 3.5s infinite}@keyframes inspect{0%,80%,100%{transform:translate(0)}85%{transform:translate(-2px,-2px)}92%{transform:translate(2px,1px)}}.bench-card.active[data-role=write] .bench-icon .icon{animation:write 3s infinite}@keyframes write{0%,80%,100%{transform:rotate(0)}90%{transform:rotate(-9deg) translate(-1px,1px)}}.signal-rail{height:25px;position:relative;margin:0 17%;display:flex;align-items:end;justify-content:space-between}.signal-rail::before{content:"";height:1px;background:var(--line);position:absolute;bottom:3px;left:0;right:0}.signal-rail i{height:7px;width:7px;border-radius:50%;background:var(--line);position:relative}.signal-rail .signal{position:absolute;left:0;bottom:0;height:7px;width:7px;background:#7e9e87;box-shadow:0 0 0 4px #8fad9122;border-radius:50%;transition:left .55s var(--ease),background .3s}.scroll-note{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:12px;margin-top:20px}.scroll-note .icon{width:15px;height:15px;animation:nudge 2.8s infinite}@keyframes nudge{0%,65%,100%{transform:translateY(0)}80%{transform:translateY(4px)}}
/* Project gallery: static accessible links, original illustrated browser previews. */
.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.project-card{background:var(--card);border:1px solid var(--line);border-radius:var(--rad);overflow:hidden;transition:transform .3s var(--ease),box-shadow .3s}.project-card:hover{transform:translateY(-4px);box-shadow:0 15px 40px #0000000c}.project-link{display:block;height:100%}.project-art{height:clamp(220px,26vw,290px);position:relative;overflow:hidden;margin:9px 9px 0;border-radius:18px;background:#f0e4e4;isolation:isolate;padding:16px 20px 0}.project-art.hs{background:linear-gradient(140deg,#f1e5e2,#e6d5d3)}.project-art.hf{background:linear-gradient(140deg,#e9edf8,#dce4f1)}.project-art.radio{background:linear-gradient(140deg,#f1e5e3,#e9dbd8)}.project-art.dns{background:linear-gradient(140deg,#e7eeeb,#d8e5dd)}.project-art::before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(#fff9 1px,transparent 1px);background-size:19px 19px;mask-image:linear-gradient(135deg,#000,transparent 75%);opacity:.65}.art-caption{display:flex;justify-content:space-between;color:#48474a;font-size:10px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;position:relative;z-index:2}.art-caption .icon{width:15px;height:15px}.mini-browser{position:absolute;top:51px;left:50%;width:82%;height:275px;transform:translateX(-50%);border-radius:10px 10px 0 0;background:#fff;box-shadow:0 16px 45px #24232c25;overflow:hidden;color:#20232b;transition:transform .65s var(--ease)}.project-card:hover .mini-browser{transform:translate(-50%,-8px)}.browser-bar{height:30px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;background:#fafafa;border-bottom:1px solid #e9e9eb}.browser-dots{display:flex;gap:4px;align-items:center}.browser-dots i{width:5px;height:5px;border-radius:50%;background:#cfd2d6}.browser-address{flex:1;max-width:50%;font-size:8px;text-align:center;padding:3px 8px;background:#eeeef0;border-radius:5px;color:#6b6c72}.browser-plus{font-size:12px;color:#898c93}.browser-page{padding:15px 20px}.mini-brand{display:flex;align-items:center;font-weight:800;font-size:14px;letter-spacing:-.07em;gap:3px}.mini-brand .icon{width:14px;height:14px;margin-right:3px}.mini-brand span{font-weight:650;color:#6c7179;margin-left:-3px}.red{color:#b12a34}.blue{color:#345f9b}.green{color:#367356}.mini-hero{text-align:center;padding:18px 0 11px}.mini-hero>b,.radio-inner b{font-size:clamp(13px,1.65vw,23px);line-height:1.15;letter-spacing:-.055em;display:block}.mini-hero p,.radio-inner p{font-size:9px;color:#707681;margin:5px 0 9px}.mini-cta{font-size:8px;border-radius:5px;padding:5px 8px;display:inline-flex;align-items:center;gap:4px;color:white}.mini-cta .icon{width:10px;height:10px}.red-bg{background:#b12a34}.mini-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.mini-trio>span{display:flex;flex-direction:column;gap:2px;border:1px solid #e9e9e9;border-radius:5px;padding:6px 4px;align-items:center;text-align:center;font-size:7px}.mini-trio i{width:12px;height:12px;background:#f4dfdf;border-radius:3px}.mini-trio em{font-size:6px;font-style:normal;color:#7b7c81}.mini-search{display:flex;gap:5px;align-items:center;justify-content:space-between;margin:10px auto 0;border:1px solid #dfe1e4;border-radius:6px;padding:6px 8px;text-align:left;font-size:8px;color:#696d75;max-width:230px}.mini-search .icon{width:12px;height:12px}.mini-search span{border-radius:3px;padding:3px 5px;color:#fff;background:#345f9b;font-size:7px}.mini-search span.green-bg{background:#367356}.mini-list{display:grid;gap:5px}.mini-list span,.mini-stations span{border:1px solid #e7e8eb;border-radius:5px;padding:5px 6px;display:flex;align-items:center;gap:6px;font-size:8px}.mini-list i,.mini-stations i{width:16px;height:16px;border-radius:4px;background:#e3ebf7;color:#345f9b;display:grid;place-items:center;font-style:normal;font-size:7px}.mini-list em,.mini-stations em{margin-left:auto;font-style:normal;color:#687385;font-size:7px}.dns-list i{background:#e4f1e8;color:#367356}.radio-inner{padding:14px 0 9px;display:flex;align-items:center;justify-content:space-between;gap:8px}.album-art{width:69px;aspect-ratio:1;background:#b32b36;border-radius:10px;display:grid;place-items:center;flex:0 0 auto}.soundwave{display:flex;align-items:center;gap:3px;height:32px}.soundwave i{width:3px;height:45%;border-radius:3px;background:#fff;animation:wave 1.7s ease-in-out infinite alternate}.soundwave i:nth-child(2n){height:85%;animation-delay:-.5s}.soundwave i:nth-child(3n){height:65%;animation-delay:-1s}.soundwave i:nth-child(4n){height:100%;animation-delay:-.8s}@keyframes wave{from{transform:scaleY(.55)}to{transform:scaleY(1)}}.mini-stations{display:grid;grid-template-columns:1fr 1fr;gap:5px}.mini-stations i{color:#aa303a;background:#f5e5e6}.project-info{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 23px 23px}.project-info h3{margin-bottom:5px}.project-info p{font-size:14px;line-height:1.5}.circle-arrow{width:39px;height:39px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;flex-shrink:0;transition:background .3s,color .3s,transform .3s}.project-card:hover .circle-arrow{background:var(--ink);color:var(--paper);transform:rotate(5deg)}.circle-arrow .icon{width:17px;height:17px}
/* The curated toolbox */
.toolbox-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:21px}.filters{display:flex;flex-wrap:wrap;gap:7px}.filter{border:1px solid var(--line);background:var(--paper);padding:9px 15px;border-radius:9px;font-size:13px;font-weight:500;transition:background .2s,color .2s,transform .2s}.filter:hover{transform:translateY(-1px)}.filter[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}.tool-count{font-size:13px;color:var(--muted)}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.tool-card{background:var(--card);border:1px solid var(--line);border-radius:19px;min-width:0;transition:transform .25s,box-shadow .25s}.tool-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #0000000b}.tool-card a{display:flex;flex-direction:column;min-height:208px;height:100%;padding:21px;gap:19px}.tool-top{display:flex;justify-content:space-between;align-items:center}.tool-mark{width:47px;height:47px;border-radius:13px;background:var(--mark-bg);color:var(--mark-color);font-weight:800;display:grid;place-items:center;font-size:25px;letter-spacing:-.07em}.tool-arrow{color:var(--muted)}.tool-arrow .icon{width:17px;height:17px;transition:transform .2s}.tool-card:hover .tool-arrow .icon{transform:translate(2px,-2px)}.tool-type{font-size:11px;color:var(--muted);display:block;margin-bottom:5px;font-weight:500}.tool-info h3{font-size:19px;margin-bottom:8px}.tool-info p{font-size:13.5px;line-height:1.55}.tool-note{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px;margin-top:20px}.tool-note .icon{width:15px;height:15px}
/* Personal perspective: a small editorial bento, not a career or timeline. */
.bento{display:grid;grid-template-columns:1.35fr 1fr;gap:15px;align-items:stretch}.bento-card{border-radius:var(--rad);border:1px solid var(--line);background:var(--card);padding:30px;overflow:hidden;position:relative;min-height:170px}.bento-card.big{grid-row:span 2;min-height:358px;display:flex;flex-direction:column;justify-content:space-between;background:#212a29;color:#f7f8f6;border-color:#212a29}.bento-card.big p{color:#ccd5d1;max-width:385px}.bento-card h3{font-size:25px;margin:8px 0 12px;line-height:1.2}.bento-card p{font-size:14px;line-height:1.65}.bento-card .bento-label{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:600;display:flex;align-items:center;gap:6px}.bento-card.big .bento-label{color:#afc1b7}.bento-card .bento-label .icon{width:16px;height:16px}.bento-card.big h3{font-size:clamp(30px,4vw,44px);letter-spacing:-.055em;max-width:440px}.bento-card.big .bento-copy{z-index:2;position:relative}.network-art{position:absolute;right:-25px;bottom:-65px;width:370px;height:320px;pointer-events:none;opacity:.45}.network-art svg{width:100%;height:100%}.network-art .orbit{transform-origin:180px 150px;animation:spin 28s linear infinite}.network-art .orbit.reverse{animation-direction:reverse;animation-duration:37s}@keyframes spin{to{transform:rotate(360deg)}}.bento-card.small{padding:25px 28px}.bento-card.small h3{font-size:22px}.bento-card.small .bento-label{color:var(--muted)}.bento-card.small a{display:inline-flex;gap:6px;align-items:center;margin-top:13px;font-size:13px;font-weight:600}.bento-card.small a .icon{width:14px;height:14px}.bento-card.small a:hover{text-decoration:underline}
/* Articles and human side */
.journal{display:grid;grid-template-columns:1.05fr .95fr;gap:18px}.journal-feature{background:var(--card);border:1px solid var(--line);border-radius:var(--rad);padding:12px;display:block;transition:transform .3s}.journal-feature:hover{transform:translateY(-4px)}.article-art{min-height:216px;border-radius:17px;background:#eadedc;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;isolation:isolate}.article-art::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 65% 30%,#fff9,transparent 53%)}.article-maple{width:150px;height:150px;color:#b32b36;opacity:.86;transform:rotate(-8deg);filter:drop-shadow(0 12px 8px #84403b20);transition:transform .5s}.journal-feature:hover .article-maple{transform:rotate(0) scale(1.03)}.article-art .art-text{position:absolute;left:16px;top:16px;color:#875b57;font-size:10px;font-weight:650;letter-spacing:.12em;text-transform:uppercase}.journal-content{padding:18px 10px 10px}.journal-content .tool-type{margin-bottom:7px}.journal-content h3{font-size:23px;line-height:1.3}.journal-content .read{display:inline-flex;align-items:center;gap:7px;margin-top:14px;font-size:13px;font-weight:600}.journal-content .read .icon{width:15px;height:15px}.journal-side{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;border-radius:var(--rad);padding:34px;background:var(--card);border:1px solid var(--line)}.journal-side h3{font-size:27px;max-width:330px;margin:12px 0}.journal-side p{font-size:15px;line-height:1.65;max-width:360px;margin-bottom:23px}.about-panel{display:grid;grid-template-columns:.95fr 1.25fr;gap:42px;align-items:center}.about-art{min-height:300px;display:grid;place-items:center;border-radius:var(--rad);background:var(--soft);border:1px solid var(--line);position:relative;overflow:hidden}.about-art::before{content:"";position:absolute;inset:0;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:32px 32px;mask-image:radial-gradient(ellipse,#000,transparent 70%);opacity:.8}.about-mark{position:relative;display:grid;place-items:center;width:125px;height:125px;border-radius:25px;background:var(--ink);color:var(--paper);font-size:62px;font-weight:800;letter-spacing:-.12em;padding-right:5px;box-shadow:0 15px 30px #0002;transform:rotate(-7deg)}.about-mark::after{content:"";width:12px;height:12px;background:#c3333c;position:absolute;right:13px;top:13px;border-radius:3px}.about-art .about-label{position:absolute;bottom:16px;left:18px;font-size:11px;color:var(--muted);font-weight:600;letter-spacing:.06em}.about-copy h2{margin-bottom:17px}.about-copy p{font-size:16px;line-height:1.75;margin-bottom:15px}.about-copy p:last-of-type{margin-bottom:20px}.about-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--muted)}.about-meta span{border:1px solid var(--line);padding:8px 11px;border-radius:8px;display:flex;gap:7px;align-items:center}.about-meta .icon{width:14px;height:14px;color:var(--accent)}
/* Footer */
.footer{padding:60px 0 27px;background:var(--soft)}.contact-panel{background:#1a1c20;color:white;border-radius:32px;padding:60px 35px 30px;position:relative;overflow:hidden;text-align:center;isolation:isolate}.contact-panel::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 110%,#43534c80,transparent 65%)}.footer h2{font-size:clamp(32px,5vw,53px);margin-bottom:14px}.footer p{color:#c2c4c6;max-width:500px;margin:0 auto 26px}.contact-panel .eyebrow{justify-content:center;color:#b5baba}.contact-panel .eyebrow::before{background:#94b5a0}.contact-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.contact-buttons .btn{background:white;color:#191b1f;border-color:white}.contact-buttons .btn.outline{background:transparent;color:white;border-color:#ffffff38}.contact-buttons .btn:hover{background:#e2e7e4;color:#191b1f}.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:24px;font-size:12px;color:var(--muted)}.footer-bottom .brand{font-size:19px;color:var(--ink)}.footer-bottom .brand-mark{width:33px;height:33px;font-size:15px}.footer-bottom .round{width:37px;height:37px}.footer-end{display:flex;gap:10px;align-items:center}.footer-end .icon{width:17px;height:17px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--paper);padding:11px 18px;border-radius:10px;z-index:100;font-size:13px;box-shadow:0 8px 28px #0003}
/* Keyboard-friendly search */
dialog{border:1px solid var(--line);border-radius:20px;width:min(520px,calc(100% - 30px));padding:0;background:var(--card);color:var(--ink);box-shadow:0 30px 90px #0004;margin:12vh auto auto}dialog::backdrop{background:#171b2460;backdrop-filter:blur(4px)}.search-top{display:flex;gap:12px;align-items:center;padding:16px;border-bottom:1px solid var(--line)}.search-top input{flex:1;min-width:0;background:none;border:none;color:var(--ink);font:inherit;outline:none}.search-top .round{width:35px;height:35px}.search-list{padding:9px;max-height:55vh;overflow:auto}.search-list a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 13px;border-radius:10px;font-size:14px}.search-list a:hover{background:var(--soft)}.search-list a small{color:var(--muted);font-size:11px}.search-list .empty{padding:18px;font-size:14px;color:var(--muted)}

@media(min-width:1500px){.hero{min-height:800px}}@media(max-width:960px){.nav{gap:17px}.nav a{font-size:13px}.header-actions .btn{font-size:13px}.section{padding:80px 0}.wrap{padding:0 22px}.hero{min-height:720px}.project-art{height:245px}.tool-card a{padding:18px}.bento-card{padding:26px}.journal-side{padding:28px}}
@media(max-width:760px){:root{--header:68px;--rad:20px}.nav{display:none}.mobile-toggle{display:grid}.header-actions .btn{display:none}.brand{font-size:21px}.brand-mark{width:36px;height:36px;font-size:16px}.wrap{padding:0 17px}.hero{min-height:calc(100svh - var(--header));padding:56px 16px 22px;justify-content:center}.hero h1{font-size:clamp(48px,10.6vw,78px);margin:21px 0 14px}.hero-description{font-size:15px;min-height:48px;max-width:390px}.hero-sub{font-size:22px}.hero-actions{margin-top:19px}.hero-actions .btn{font-size:13px;padding:10px 16px;min-height:45px}.workbench{margin-top:43px;width:min(100%,475px)}.bench-grid{gap:7px}.bench-card{padding:12px 7px;flex-direction:column;gap:7px;align-items:center;text-align:center;min-height:100px;border-radius:13px}.bench-icon{width:36px;height:36px;flex:0 0 36px;border-radius:9px}.bench-icon .icon{width:20px;height:20px}.bench-card b{font-size:12px}.bench-card small{font-size:9px}.bench-top{font-size:10px}.bench-hint{font-size:10px}.scroll-note{margin-top:16px}.section{padding:65px 0}.section-head{display:block;margin-bottom:25px}.section-head p{margin-top:11px;font-size:14px}.section-head.center{margin-bottom:25px}.eyebrow{font-size:11px;margin-bottom:10px}.project-grid{gap:13px}.project-art{height:clamp(150px,30vw,230px);padding:11px 11px 0;margin:7px 7px 0;border-radius:13px}.mini-browser{top:38px;width:90%;height:230px}.browser-page{padding:11px 11px}.browser-bar{height:23px;padding:0 6px}.browser-dots{gap:3px}.browser-dots i{width:4px;height:4px}.browser-address{font-size:7px}.mini-brand{font-size:11px}.mini-brand .icon{width:11px;height:11px}.mini-hero{padding:12px 0 8px}.mini-hero>b,.radio-inner b{font-size:clamp(12px,2.5vw,18px)}.mini-hero p,.radio-inner p{font-size:7px;margin:4px 0}.mini-cta{font-size:6px;padding:3px 5px}.mini-trio>span{font-size:6px;padding:4px 2px}.mini-trio em{font-size:5px}.mini-trio i{width:8px;height:8px}.mini-search{margin-top:6px;font-size:7px;padding:4px 5px}.mini-list span,.mini-stations span{font-size:7px;padding:3px 4px}.mini-list i,.mini-stations i{width:12px;height:12px;font-size:6px}.mini-list em,.mini-stations em{font-size:6px}.radio-inner{padding:9px 0 6px}.album-art{width:39px;border-radius:6px}.soundwave{height:20px;gap:2px}.soundwave i{width:2px}.art-caption{font-size:8px}.art-caption .icon{width:12px;height:12px}.project-info{padding:13px;gap:7px;align-items:flex-start}.project-info h3{font-size:16px;overflow-wrap:anywhere}.project-info p{font-size:12px}.circle-arrow{width:29px;height:29px}.circle-arrow .icon{width:13px;height:13px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tool-card a{min-height:205px;padding:16px;gap:15px}.tool-mark{width:39px;height:39px;font-size:21px;border-radius:10px}.tool-info h3{font-size:17px}.tool-info p{font-size:12.5px}.filter{font-size:12px;padding:8px 11px}.tool-count{font-size:12px}.bento{grid-template-columns:1fr;gap:12px}.bento-card.big{grid-row:auto;min-height:320px;padding:25px}.bento-card.big h3{font-size:36px}.bento-card.small{padding:24px}.network-art{width:300px;right:-40px;bottom:-80px}.journal{grid-template-columns:1fr;gap:13px}.journal-side{padding:25px}.article-art{min-height:190px}.about-panel{grid-template-columns:1fr;gap:25px}.about-art{min-height:220px}.about-mark{width:100px;height:100px;font-size:49px}.about-copy p{font-size:15px}.footer{padding:38px 0 23px}.contact-panel{padding:38px 18px 33px;border-radius:23px}.footer-bottom{flex-wrap:wrap;gap:15px}.footer-bottom>span{order:3;width:100%;text-align:center;font-size:11px}.footer-end{margin-left:auto}}
@media(max-width:390px){.hero h1{font-size:43px}.hero-sub{font-size:20px}.header-actions{gap:6px}.round{width:37px;height:37px}.brand-mark{width:33px;height:33px}.brand{font-size:19px}.workbench{margin-top:35px}.bench-card{min-height:94px}.project-grid{grid-template-columns:1fr}.project-art{height:210px}.mini-browser{width:80%;top:43px}.mini-hero>b,.radio-inner b{font-size:20px}.project-info h3{font-size:19px}.project-info p{font-size:13px}.tool-card a{padding:13px}.tool-info h3{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@media print{.header,.workbench,.scroll-note,.footer-end,.contact-buttons,dialog{display:none!important}.hero{min-height:auto}.section{padding:30px 0}}

/* =========================================================
   V4 · Frosted glass - light, dimensional and restrained.
   Existing page structure, content and interactions preserved.
   ========================================================= */
:root {
  --soft: #F3F3F3;
  --glass-fill: linear-gradient(155deg,rgba(255,255,255,.94),rgba(255,255,255,.58));
  --glass-stroke: rgba(255,255,255,.96);
  --glass-shadow: 0 2px 5px rgba(29,35,48,.035), 0 12px 32px -12px rgba(29,35,48,.15), 0 28px 64px -40px rgba(29,35,48,.19), inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(125,132,148,.07);
  --glass-hover: 0 5px 12px rgba(29,35,48,.055), 0 21px 42px -12px rgba(29,35,48,.18), inset 0 1px 0 rgba(255,255,255,1), inset 0 0 0 1px rgba(125,132,148,.08);
  --glass-button: linear-gradient(180deg,rgba(255,255,255,.97),rgba(245,246,248,.64));
  --glass-outline: rgba(126,133,149,.13);
  --glass-blur: blur(22px) saturate(135%);
}
html[data-theme=dark] {
  --soft: #1b1d22;
  --glass-fill: linear-gradient(155deg,rgba(52,55,65,.78),rgba(33,36,44,.58));
  --glass-stroke: rgba(255,255,255,.13);
  --glass-shadow: 0 2px 6px #0003,0 18px 38px -12px #0006,inset 0 1px 0 #ffffff12,inset 0 0 0 1px #ffffff04;
  --glass-hover: 0 6px 14px #0003,0 24px 48px -12px #0007,inset 0 1px 0 #ffffff20;
  --glass-button: linear-gradient(180deg,rgba(58,61,72,.87),rgba(35,38,46,.75));
  --glass-outline: rgba(255,255,255,.13);
}
/* White at the top, with the atmosphere fading in underneath. */
.header {background:rgba(255,255,255,.82);border-bottom-color:transparent;-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}
.header.scrolled {background:rgba(255,255,255,.72);border-bottom-color:rgba(110,118,135,.10);box-shadow:0 4px 22px #19233406}
html[data-theme=dark] .header {background:rgba(20,22,25,.82)}
html[data-theme=dark] .header.scrolled {background:rgba(20,22,25,.72);border-bottom-color:var(--glass-outline)}
.nav a {padding:10px 12px;border-radius:12px}
.nav {gap:6px}
.nav a:hover,.nav a.active {background:var(--glass-button);box-shadow:inset 0 0 0 1px var(--glass-outline)}
.nav a::after {bottom:3px}
.round,.header-actions .btn,.btn.secondary,.mobile-nav {background:var(--glass-button);border:1px solid var(--glass-outline);box-shadow:0 3px 10px #18213608,inset 0 1px 0 var(--glass-stroke);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}
.round,.header-actions .btn,.hero-actions .btn {border-radius:15px}
.header-actions .btn {padding-inline:17px}
.btn.primary {background:linear-gradient(160deg,#30343c,#15171a);border:1px solid #20232a;box-shadow:0 6px 18px #181e2926,inset 0 1px 0 #ffffff21;color:#fff}
.btn.primary:hover {box-shadow:0 9px 22px #181e2935,inset 0 1px 0 #ffffff31}
html[data-theme=dark] .btn.primary {background:linear-gradient(160deg,#fafafa,#dadce1);color:#17191d;border-color:#fff}

/* No eyebrow above the name; the hero remains centred and spacious. */
.hero {
  background:var(--paper);
  padding-top:64px;
}

.hero h1 {margin:0 0 16px}
.hero-description {min-height:52px}

/* A translucent workbench dock, with a separate polished surface per role. */
.workbench {
  width:min(100%,666px);padding:16px 17px 13px;margin-top:64px;
  background:linear-gradient(145deg,rgba(255,255,255,.68),rgba(255,255,255,.27));
  border:1px solid var(--glass-stroke);border-radius:27px;
  box-shadow:0 16px 45px -20px #46526c35,0 2px 8px #27324b07,inset 0 1px 0 #fff,inset 0 0 0 1px #a1a9ba0b;
  -webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);
}
html[data-theme=dark] .workbench {background:linear-gradient(145deg,#42475265,#26293265);box-shadow:var(--glass-shadow)}
.bench-top {padding:0 4px 13px}
.bench-card {background:var(--glass-fill);border:1px solid var(--glass-stroke);border-radius:19px;box-shadow:0 5px 15px -8px #26354b26,inset 0 1px 0 var(--glass-stroke),inset 0 0 0 1px var(--glass-outline);min-height:87px;overflow:hidden}
.bench-card:hover {box-shadow:var(--glass-hover);transform:translateY(-4px)}
.bench-card.active {background:linear-gradient(150deg,var(--glass-stroke),color-mix(in srgb,var(--tab-bg) 42%,transparent));border-color:var(--glass-stroke);box-shadow:0 8px 18px -9px #23344338,inset 0 0 0 1px color-mix(in srgb,var(--tab-color) 25%,transparent),inset 0 1px 0 var(--glass-stroke);transform:translateY(-3px)}
html[data-theme=dark] .bench-card.active {background:linear-gradient(150deg,#ffffff14,color-mix(in srgb,var(--tab-color) 20%,#262932))}
.bench-card.active::after {height:2px;bottom:2px;left:17%;right:17%;opacity:.8}
.bench-icon,.tool-mark {border:1px solid #ffffff80;box-shadow:inset 0 1px 1px #fff9,0 3px 7px #26324b12}
.bench-icon {background:linear-gradient(150deg,color-mix(in srgb,var(--tab-bg) 74%,white),var(--tab-bg))}
.bench-icon,.tool-mark {border-radius:13px}
.signal-rail {height:21px;margin-inline:17%}
.scroll-note {margin-top:22px}

/* Flat alternating surfaces; dimensional glass is reserved for cards. */
#projects,#interests,#notes {background:var(--soft)}
#toolbox,#services,#about {background:var(--paper)}
.project-card,.tool-card,.bento-card.small,.journal-feature,.journal-side,.about-art {
  background:var(--glass-fill);border:1px solid var(--glass-stroke);box-shadow:var(--glass-shadow);border-radius:var(--rad);
  -webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);
  transition:transform .38s var(--ease),box-shadow .38s var(--ease);
}
.project-card:hover,.tool-card:hover,.journal-feature:hover {transform:translateY(-5px);box-shadow:var(--glass-hover)}
.project-grid {gap:22px}
.project-art {border:1px solid #ffffffb3;box-shadow:inset 0 1px 1px #fffb,inset 0 -1px 12px #00000005}
.project-art.hs {background:radial-gradient(ellipse at 22% 5%,#fff9,transparent 65%),linear-gradient(140deg,#f3e9e6,#e1cfd2)}
.project-art.hf {background:radial-gradient(ellipse at 22% 5%,#fff9,transparent 65%),linear-gradient(140deg,#edf0fb,#d4ddee)}
.project-art.radio {background:radial-gradient(ellipse at 22% 5%,#fff9,transparent 65%),linear-gradient(140deg,#f3e9e6,#e7d4d4)}
.project-art.dns {background:radial-gradient(ellipse at 22% 5%,#fff9,transparent 65%),linear-gradient(140deg,#eaf1ed,#d4e5dc)}
.mini-browser {border:1px solid #fff;box-shadow:0 18px 38px #292c4525,inset 0 1px 0 #fff}
.circle-arrow {background:var(--glass-button);border-color:var(--glass-outline);box-shadow:0 3px 8px #18213608,inset 0 1px 0 var(--glass-stroke)}
.tool-grid {gap:18px}
.tool-card a {padding:24px}
.tool-mark {background:linear-gradient(145deg,color-mix(in srgb,var(--mark-bg) 72%,white),var(--mark-bg))}
.filter,.about-meta span {background:var(--glass-button);border:1px solid var(--glass-outline);box-shadow:inset 0 1px 0 var(--glass-stroke),0 3px 8px #18213607;border-radius:99px}
.filter[aria-pressed=true] {background:var(--ink);color:var(--paper);border-color:var(--ink);box-shadow:0 4px 10px #0002,inset 0 1px 0 #ffffff20}
.bento-card.big {background:radial-gradient(ellipse at 92% 95%,#536e6366,transparent 70%),linear-gradient(150deg,#384644,#202726 60%,#17201f);border:1px solid #596965;box-shadow:0 16px 32px -12px #26352b3b,inset 0 1px 0 #ffffff20}
.about-art {background:radial-gradient(ellipse at 35% 30%,#ffffffad,transparent 65%),var(--glass-fill)}
html[data-theme=dark] .about-art {background:var(--glass-fill)}
.about-mark {background:linear-gradient(140deg,#393d45,#16181b 70%);border:1px solid #ffffff3d;color:#fff;box-shadow:0 18px 30px -10px #10172566,inset 0 1px 0 #ffffff33;animation:mark-float 7s ease-in-out infinite}
@keyframes mark-float {0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-7px) rotate(-4deg)}}
.contact-panel {background:radial-gradient(ellipse at 75% 112%,#596f684d,transparent 64%),linear-gradient(145deg,#32363e 0%,#181a20 55%,#21252a 100%);border:1px solid #43474e;box-shadow:0 24px 50px -20px #1d233c50,inset 0 1px 0 #ffffff2a}
.contact-panel::before {background:radial-gradient(ellipse at 15% 0%,#d9e1ff12,transparent 63%)}
.contact-buttons .btn {border-radius:15px;box-shadow:inset 0 1px 0 #ffffff88,0 7px 14px #0002}
.contact-buttons .btn.outline {background:linear-gradient(155deg,#ffffff1a,#ffffff05);box-shadow:inset 0 1px 0 #ffffff15,0 7px 14px #0001}
dialog {background:var(--glass-fill);border-color:var(--glass-stroke);-webkit-backdrop-filter:blur(30px) saturate(150%);backdrop-filter:blur(30px) saturate(150%);box-shadow:0 30px 90px #0003,inset 0 1px 0 var(--glass-stroke)}
dialog::backdrop {-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
/* Maintain touch-friendly sizing; avoid expensive full-screen blur on mobile. */
@media(max-width:960px) {.nav{gap:2px}.nav a{padding-inline:8px}.tool-card a{padding:19px}}
@media(max-width:760px) {
  .hero{padding-top:50px}.hero h1{margin:0 0 14px}
  .workbench{width:min(100%,475px);padding:13px 10px 9px;margin-top:36px;border-radius:22px}
  .bench-card{min-height:100px;border-radius:15px}.bench-top{padding-bottom:11px}
  .bench-icon,.tool-mark{border-radius:10px}.project-grid{gap:13px}.tool-grid{gap:12px}.tool-card a{padding:16px}
  .scroll-note{margin-top:17px}
}
@media(max-width:390px){.workbench{margin-top:30px}.bench-card{min-height:94px}.tool-card a{padding:13px}}
@media(prefers-reduced-motion:reduce){.hero::before,.about-mark{animation:none!important}}


/* V5 - Clean canvas and a two-lane, seamless capability ribbon. */
.header:not(.scrolled){background:var(--paper)}
.hero {background:var(--paper)}
.hero::before {display:none}
.focus-section {padding:clamp(84px,10vw,145px) 0;overflow:hidden}
.focus-section .section-head.center {margin-bottom:clamp(35px,5.5vw,68px)}
.focus-section h2 {font-size:clamp(32px,5.1vw,60px);letter-spacing:-.062em}
.focus-section .section-head p {max-width:560px;font-size:16px;margin-top:15px}
.focus-marquee {max-width:850px;margin:0 auto;display:grid;gap:15px;overflow:hidden;padding:13px 0;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 12%,#000 88%,transparent 100%);
  mask-image:linear-gradient(to right,transparent 0%,#000 12%,#000 88%,transparent 100%)}
.focus-lane {min-width:0;overflow:hidden;padding:5px 0}
.focus-track {display:flex;width:max-content;animation:focus-scroll 38s linear infinite;will-change:transform}
.focus-lane.reverse .focus-track {animation-direction:reverse;animation-duration:43s;animation-delay:-9s}
.focus-group {display:flex;align-items:center;gap:13px;list-style:none;margin:0;padding:0 13px 0 0;flex-shrink:0}
.focus-pill {display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;flex-shrink:0;min-height:49px;padding:12px 21px;border-radius:99px;color:var(--ink);font-size:16px;font-weight:500;line-height:1.25;
  background:var(--glass-fill);border:1px solid var(--glass-stroke);box-shadow:0 4px 12px -7px #26324b22,inset 0 1px 0 var(--glass-stroke),inset 0 0 0 1px var(--glass-outline)}
.focus-pill .icon {width:20px;height:20px}
@keyframes focus-scroll {from{transform:translateX(0)}to{transform:translateX(-50%)}}
.focus-marquee:hover .focus-track {animation-play-state:paused}
@media(max-width:760px){.focus-section{padding:82px 0}.focus-section .section-head p{font-size:14px}.focus-marquee{gap:10px;margin-inline:-17px;-webkit-mask-image:linear-gradient(to right,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(to right,transparent,#000 9%,#000 91%,transparent)}.focus-pill{min-height:44px;padding:10px 16px;font-size:14px;gap:8px}.focus-pill .icon{width:18px;height:18px}.focus-group{gap:10px;padding-right:10px}}
@media(prefers-reduced-motion:reduce){.focus-marquee{overflow:visible;-webkit-mask-image:none;mask-image:none}.focus-lane{overflow:visible}.focus-track{width:100%;animation:none!important;transform:none!important;will-change:auto}.focus-group{width:100%;flex-wrap:wrap;justify-content:center;padding:0}.focus-group[aria-hidden=true],}
@media print{.focus-marquee{overflow:visible;-webkit-mask-image:none;mask-image:none}.focus-lane{overflow:visible}.focus-track{width:100%;animation:none!important;transform:none!important}.focus-group{flex-wrap:wrap;justify-content:center;width:100%;padding:0}.focus-group[aria-hidden=true],}

/* Services: development-led, equal-height cards with consistent top alignment. */
.services-section .section-head {margin-bottom:44px}
.services-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(218px,1fr));gap:18px;align-items:stretch}
.service-card {
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:19px;padding:24px;
  min-width:0;border-radius:var(--rad);border:1px solid var(--glass-stroke);
  background:radial-gradient(ellipse at 14% 0%,#ffffffb8,transparent 64%),linear-gradient(145deg,#fafafa,#f3f3f3);
  box-shadow:var(--glass-shadow);transition:transform .38s var(--ease),box-shadow .38s var(--ease);
}
.service-icon {width:39px;height:39px;flex:0 0 39px;display:grid;place-items:center;border-radius:11px;color:white;background:linear-gradient(150deg,#414349,#17191d);border:1px solid #ffffff24;box-shadow:0 4px 10px #17191d26,inset 0 1px 0 #ffffff40}
.service-icon .icon {width:20px;height:20px;transition:transform .3s var(--ease)}
.service-copy {width:100%;min-width:0}
.service-copy h3 {font-size:21px;font-weight:650;letter-spacing:-.04em;line-height:1.25;margin-bottom:9px;overflow-wrap:break-word}
.service-copy p {font-size:14.5px;line-height:1.65;max-width:none}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .service-card:hover {transform:translateY(-4px);box-shadow:var(--glass-hover)}
  .service-card:hover .service-icon .icon {transform:scale(1.08)}
}
.service-contact {grid-column:3;grid-row:1 / 3;min-width:0;position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:44px;padding:29px;border-radius:var(--rad);color:#fff;background:linear-gradient(148deg,#351820 0%,#7e1c32 42%,#d34257 100%);border:1px solid #ffffff45;box-shadow:0 18px 38px -18px #781a3b55,inset 0 1px 0 #ffffff45}
.service-glow {position:absolute;inset:-22%;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 82% 34%,#ff6f88 0%,transparent 42%),radial-gradient(ellipse at 25% 79%,#e94a69 0%,transparent 35%),radial-gradient(ellipse at 83% 84%,#ffacb5 0%,transparent 34%);animation:service-light 14s ease-in-out infinite alternate}
.service-ribs {position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#200912a0 0%,#22081265 38%,transparent 66%,#230b1422 100%),repeating-linear-gradient(90deg,#ffffff0d 0px,#ffffff20 1px,#ffffff08 5px,#27091019 10px,#ffffff00 16px);box-shadow:inset 0 0 48px #2c071018}
.service-contact-copy {max-width:27ch;text-shadow:0 1px 10px #29091840}
.service-contact-copy h3 {font-size:clamp(28px,3vw,38px);font-weight:650;line-height:1.08;letter-spacing:-.055em}
.service-contact-copy p {color:#fff;line-height:1.6;font-size:15px;margin-top:18px}
.service-cta {display:inline-flex;align-items:center;gap:16px;max-width:100%;padding:7px 7px 7px 19px;min-height:49px;border:1px solid #ffffff40;border-radius:99px;background:linear-gradient(145deg,#353137,#16171b);color:white;font-size:14px;font-weight:600;box-shadow:0 6px 20px #26091830,inset 0 1px 0 #ffffff29;transition:transform .28s var(--ease),box-shadow .28s var(--ease)}
.service-cta span {display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;background:#fff;color:#17191d;border-radius:50%;transition:transform .28s var(--ease)}
.service-cta .icon {width:18px;height:18px}
.service-cta:hover {transform:translateY(-3px);box-shadow:0 10px 25px #26091845}
.service-cta:hover span {transform:rotate(-30deg)}
@keyframes service-light {0%{transform:translate3d(-2%,2%,0) scale(1)}100%{transform:translate3d(4%,-3%,0) scale(1.09)}}
html[data-theme=dark] .service-card {background:var(--glass-fill)}
@media(max-width:960px){
  .services-grid {gap:15px}
  .service-card,.service-contact {padding:21px}
  .service-copy h3 {font-size:19px}
  .service-copy p,.service-contact-copy p {font-size:14px}
}
@media(max-width:900px){
  .services-grid {grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(205px,1fr)) auto}
  .service-contact {grid-column:1 / -1;grid-row:3;min-height:265px;padding:25px}
  .service-contact-copy {max-width:42ch}
  .service-contact-copy h3 {font-size:34px}
  .service-contact-copy h3 br {display:none}
}
@media(max-width:760px){
  .services-section .section-head {margin-bottom:28px}
  .services-grid {gap:13px;grid-template-rows:auto repeat(2,minmax(205px,1fr))}
  .service-contact {grid-row:1}
  .service-card {gap:16px;padding:19px}
  .service-icon {width:36px;height:36px;flex-basis:36px;border-radius:10px}
  .service-icon .icon {width:18px;height:18px}
}
@media(max-width:560px){
  .services-grid {grid-template-columns:minmax(0,1fr);grid-template-rows:auto repeat(4,minmax(175px,1fr))}
  .service-card {padding:20px;gap:15px}
  .service-contact {grid-column:1;grid-row:1;min-height:250px;gap:28px}
  .service-contact-copy h3 {font-size:30px}
}
@media(prefers-reduced-motion:reduce){.service-glow{animation:none!important}.service-card,.service-cta,.service-icon .icon,.service-cta span{transition:none!important}}

/* V7 - Latest Writings: compact editorial cards with original glass artwork. */
.writing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.writing-card{min-width:0;display:flex;border-radius:var(--rad);background:var(--glass-fill);border:1px solid var(--glass-stroke);box-shadow:var(--glass-shadow);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);transition:transform .38s var(--ease),box-shadow .38s var(--ease)}
.writing-card:hover{transform:translateY(-5px);box-shadow:var(--glass-hover)}
.writing-link{display:flex;flex-direction:column;flex:1;min-width:0;padding:11px;border-radius:inherit}
.writing-cover{aspect-ratio:1.49;overflow:hidden;border-radius:calc(var(--rad) - 9px);isolation:isolate;background:#efefef;flex-shrink:0}
.writing-illustration{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s var(--ease)}
.writing-card:hover .writing-illustration,.writing-link:focus-visible .writing-illustration{transform:scale(1.035)}
.writing-copy{display:flex;flex:1;flex-direction:column;padding:17px 11px 9px;gap:9px}
.writing-category{font-size:12px;font-weight:600;color:var(--muted)}
.writing-copy h3{font-size:clamp(17px,1.55vw,21px);line-height:1.35;letter-spacing:-.035em;font-weight:700;color:var(--ink);text-wrap:pretty}
.writing-copy p{font-size:14px;line-height:1.6;color:var(--muted)}
.writing-read{display:inline-flex;align-items:center;gap:7px;color:var(--ink);font-size:13px;font-weight:600;margin-top:auto;padding-top:10px;width:fit-content;transition:color .25s}
.writing-read .icon{width:15px;height:15px;transition:transform .25s var(--ease)}
.writing-card:hover .writing-read{color:var(--accent)}
.writing-card:hover .writing-read .icon{transform:translateX(4px)}
@media(max-width:900px) and (min-width:761px){.writing-grid{gap:12px}.writing-copy{padding-inline:7px}.writing-copy p{font-size:13px}}
@media(max-width:760px){.writing-grid{grid-template-columns:1fr;gap:16px}.writing-card{max-width:520px;width:100%;margin:0 auto}.writing-link{padding:10px}.writing-copy{padding:16px 12px 12px}.writing-copy h3{font-size:20px}.writing-cover{aspect-ratio:1.55}}


/* =========================================================
   V8 · Workbench - raised, layered glass on a white hero.
   All changes are confined to the workbench and its controls.
   ========================================================= */
.workbench {
  --dock-top: #ffffff;
  --dock-bottom: #eceef1;
  --dock-rim: rgba(150,157,170,.26);
  --dock-highlight: rgba(255,255,255,.98);
  --dock-edge: #e2e4e8;
  --dock-ink: rgba(30,39,55,.16);
  isolation: isolate;
  background:
    radial-gradient(ellipse at 23% 0%,rgba(255,255,255,.94),transparent 64%),
    linear-gradient(155deg,var(--dock-top) 4%,#f6f7f8 52%,var(--dock-bottom) 100%);
  border: 1px solid var(--dock-rim);
  box-shadow:
    inset 0 2px 1px var(--dock-highlight),
    inset 0 -3px 7px rgba(90,102,125,.075),
    inset 0 0 0 1px rgba(255,255,255,.7),
    0 4px 0 -1px var(--dock-edge),
    0 6px 3px -2px rgba(28,36,49,.09),
    0 14px 24px -10px var(--dock-ink),
    0 30px 48px -24px rgba(31,40,57,.25);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
/* A fine curved highlight along the glass rim. */
.workbench::before {
  content: "";
  position: absolute;
  inset: 0 7% auto;
  height: 2px;
  border-radius: 100%;
  background: linear-gradient(90deg,transparent,#fff 23%,#fff 64%,transparent);
  pointer-events: none;
}
.workbench .bench-title {font-weight:600;color:var(--ink);}
.workbench .bench-hint {color:var(--muted);}
.workbench .bench-card {
  background: linear-gradient(154deg,#fff 0%,#fafbfc 52%,#eef0f3 100%);
  border: 1px solid rgba(151,160,174,.24);
  box-shadow:
    inset 0 1px 1px #fff,
    inset 0 -2px 4px rgba(74,90,118,.045),
    0 2px 0 -1px #dfe2e7,
    0 4px 8px -4px rgba(37,45,61,.15),
    0 10px 17px -11px rgba(37,45,61,.19);
  transform: translateY(0);
}
.workbench .bench-card.active {
  background: linear-gradient(150deg,#fff 2%,color-mix(in srgb,var(--tab-bg) 75%,white) 100%);
  border-color: color-mix(in srgb,var(--tab-color) 38%,white);
  box-shadow:
    inset 0 1px 1px #fff,
    inset 0 -2px 5px color-mix(in srgb,var(--tab-color) 7%,transparent),
    0 3px 0 -1px color-mix(in srgb,var(--tab-color) 22%,#e5e8eb),
    0 7px 13px -6px color-mix(in srgb,var(--tab-color) 34%,transparent),
    0 14px 22px -13px rgba(36,47,63,.20);
  transform: translateY(-3px);
}
@media (hover:hover) and (pointer:fine) {
  .workbench .bench-card:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 1px 1px #fff,0 3px 0 -1px #dce0e6,0 11px 18px -8px rgba(37,45,61,.21),0 18px 26px -17px rgba(37,45,61,.22);
  }
  .workbench .bench-card.active:hover {
    box-shadow: inset 0 1px 1px #fff,0 3px 0 -1px color-mix(in srgb,var(--tab-color) 24%,#e5e8eb),0 11px 18px -8px color-mix(in srgb,var(--tab-color) 38%,transparent),0 18px 26px -17px rgba(37,45,61,.22);
  }
}
.workbench .bench-card:active {transform:translateY(1px);}
.workbench .bench-card:focus-visible {outline:2px solid var(--tab-color);outline-offset:3px;}
.workbench .bench-card.active::after {bottom:2px;height:2px;opacity:.9;}
.workbench .bench-icon {
  background: linear-gradient(155deg,color-mix(in srgb,var(--tab-bg) 56%,white),var(--tab-bg) 72%,color-mix(in srgb,var(--tab-bg) 86%,var(--tab-color)));
  border:1px solid color-mix(in srgb,var(--tab-color) 16%,white);
  box-shadow:inset 0 1px 2px #fff,inset 0 -2px 4px color-mix(in srgb,var(--tab-color) 12%,transparent),0 3px 0 -2px color-mix(in srgb,var(--tab-color) 20%,white),0 4px 9px -3px rgba(37,45,61,.14);
}
.workbench .signal-rail::before {height:2px;bottom:2.5px;background:#dadddf;box-shadow:0 1px 0 #fff;}
.workbench .signal-rail i {background:#d6dadd;box-shadow:inset 0 1px 1px #0000000c,0 1px 0 #fff;}
.workbench .signal {box-shadow:0 0 0 3px #8fad912e,0 1px 4px rgba(40,48,60,.14),inset 0 1px 0 #ffffff65;}
/* Matching smoked glass, without carrying the light-theme highlights into dark mode. */
html[data-theme=dark] .workbench {
  background:radial-gradient(ellipse at 18% 0%,#42475080,transparent 65%),linear-gradient(150deg,#30343c,#22252b 68%,#1e2026);
  border-color:#ffffff22;
  box-shadow:inset 0 1px 1px #ffffff30,inset 0 -3px 6px #0003,0 4px 0 -1px #16181d,0 12px 24px -8px #0008,0 30px 48px -24px #000b;
}
html[data-theme=dark] .workbench::before {background:linear-gradient(90deg,transparent,#ffffff45,transparent);}
html[data-theme=dark] .workbench .bench-card {
  background:linear-gradient(150deg,#383c45,#272a32);
  border-color:#ffffff20;
  box-shadow:inset 0 1px 1px #ffffff22,0 3px 0 -1px #181a1e,0 6px 12px -6px #0007;
}
html[data-theme=dark] .workbench .bench-card.active {
  background:linear-gradient(150deg,color-mix(in srgb,var(--tab-color) 29%,#383c45),color-mix(in srgb,var(--tab-color) 14%,#252830));
  border-color:color-mix(in srgb,var(--tab-color) 70%,#686d76);
  box-shadow:inset 0 1px 1px #ffffff26,0 3px 0 -1px #171a1e,0 8px 15px -6px #0009;
}
html[data-theme=dark] .workbench .bench-icon {background:linear-gradient(155deg,color-mix(in srgb,var(--tab-color) 30%,#3a3f47),color-mix(in srgb,var(--tab-color) 22%,#282b33));color:var(--tab-bg);border-color:#ffffff20;box-shadow:inset 0 1px 1px #ffffff25,0 4px 9px -3px #0006;}
html[data-theme=dark] .workbench .signal-rail::before {background:#4b4f58;box-shadow:0 1px 0 #ffffff0b;}
html[data-theme=dark] .workbench .signal-rail i {background:#535760;box-shadow:0 1px 0 #ffffff0b;}
@media (hover:hover) and (pointer:fine) {
  html[data-theme=dark] .workbench .bench-card:hover {box-shadow:inset 0 1px 1px #ffffff26,0 3px 0 -1px #171a1e,0 10px 19px -7px #000b;}
}
@media(max-width:760px) {
  .workbench {box-shadow:inset 0 2px 1px #fff,inset 0 -2px 5px #202b4010,0 3px 0 -1px #e2e4e8,0 9px 18px -8px rgba(30,39,55,.19),0 22px 32px -21px rgba(31,40,57,.22);}
}


/* =========================================================
   V9 · Mobile hero spacing and softly raised navigation.
   Desktop workbench geometry and the rest of the site are unchanged.
   ========================================================= */
.header .header-actions .round,
.footer .footer-end .round,
.header .header-actions .btn {
  box-shadow: 0 2px 5px rgba(22,29,39,.055),
              0 5px 12px -6px rgba(22,29,39,.13),
              inset 0 1px 0 var(--glass-stroke);
}
@media (hover:hover) and (pointer:fine) {
  .header .header-actions .round:hover,
  .footer .footer-end .round:hover,
  .header .header-actions .btn:hover {
    box-shadow:0 3px 8px rgba(22,29,39,.08),0 7px 14px -7px rgba(22,29,39,.16),inset 0 1px 0 var(--glass-stroke);
  }
}
.header .header-actions .round:active,
  .footer .footer-end .round:active,
.header .header-actions .btn:active {
  transform:translateY(1px);
  box-shadow:0 1px 3px rgba(22,29,39,.07),inset 0 1px 0 var(--glass-stroke);
}
.header .mobile-nav {
  box-shadow:0 6px 18px -6px rgba(22,29,39,.16),0 16px 32px -18px rgba(22,29,39,.18),inset 0 1px 0 var(--glass-stroke);
}
html[data-theme=dark] .header .header-actions .round,
html[data-theme=dark] .footer .footer-end .round,
html[data-theme=dark] .header .header-actions .btn {
  box-shadow:0 2px 5px #0004,0 5px 12px -6px #0007,inset 0 1px 0 var(--glass-stroke);
}
html[data-theme=dark] .header .mobile-nav {
  box-shadow:0 6px 18px -6px #0007,0 16px 32px -18px #0009,inset 0 1px 0 var(--glass-stroke);
}

@media screen and (max-width:760px) {
  .hero {
    min-height:0;
    padding:clamp(48px,9vw,70px) 20px 52px;
    justify-content:flex-start;
  }
  .hero-content {width:100%;max-width:480px;}
  .hero h1 {font-size:clamp(35px,10.8vw,72px);line-height:1.09;margin:0 0 17px;letter-spacing:-.073em;}
  .hero h1 .hello {letter-spacing:inherit;}
  .hero-sub {font-size:clamp(19px,4.8vw,24px);line-height:1.35;max-width:420px;margin-inline:auto;}
  .hero-description {font-size:15px;line-height:1.6;max-width:390px;min-height:72px;margin:14px auto 0;}
  .hero-actions {margin-top:20px;gap:10px;}
  .hero-actions .btn {min-height:46px;}
  .workbench {width:min(100%,440px);margin:46px auto 0;padding:15px 14px 16px;border-radius:24px;}
  .bench-top {padding:0 2px 13px;gap:10px;flex-wrap:wrap;font-size:12px;line-height:1.4;}
  .bench-hint {font-size:11px;}
  .bench-grid {grid-template-columns:minmax(0,1fr);gap:11px;}
  .workbench .bench-card {
    flex-direction:row;align-items:center;text-align:left;gap:13px;
    min-height:67px;padding:11px 15px;border-radius:15px;
  }
  .workbench .bench-card > span:nth-child(2) {flex:1;min-width:0;}
  .workbench .bench-icon {width:42px;height:42px;flex:0 0 42px;border-radius:11px;}
  .workbench .bench-icon .icon {width:22px;height:22px;}
  .bench-card b {font-size:14px;line-height:1.3;}
  .bench-card small {font-size:12px;line-height:1.35;margin-top:3px;}
  .workbench .bench-card.active {transform:translateY(-1px);}
  .workbench .bench-card.active::after {
    inset:50% 13px auto auto;width:7px;height:7px;
    border-radius:50%;transform:translateY(-50%);
    box-shadow:0 0 0 3px color-mix(in srgb,var(--tab-color) 13%,transparent);
  }
  .workbench .bench-card > span:nth-child(2) {padding-right:12px;}
  .workbench .signal-rail {display:none;}
  .scroll-note {margin-top:23px;}
  .header .header-actions .round {width:42px;height:42px;border-radius:14px;}
}
@media screen and (max-width:380px) {
  .hero {padding:44px 16px 44px;}
  .hero-description {min-height:0;}
  .hero-actions {width:100%;max-width:280px;margin-inline:auto;flex-direction:column;}
  .hero-actions .btn {justify-content:center;width:100%;}
  .workbench {padding:13px 11px 14px;margin-top:41px;}
  .bench-top {gap:4px 10px;}
  .workbench .bench-card {padding-inline:12px;}
  .header .nav-inner {gap:12px;}
  .header .header-actions .round {width:40px;height:40px;}
}


/* V12 - Three-step glass studio and smoked-glass contact panel. */
.process-wrap {max-width:var(--max);}
.process-head.section-head.center {max-width:780px;margin:0 auto clamp(32px,4.5vw,52px);}
.process-head h2 {max-width:710px;margin-inline:auto;text-wrap:balance;}
.process-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch;}
.process-card {
  --process-color:#976934;--process-bg:#f6ebda;--process-end:#fbf7f0;
  display:flex;flex-direction:column;min-width:0;position:relative;isolation:isolate;
  padding:25px;border-radius:27px;overflow:hidden;
  background:linear-gradient(150deg,#fff 2%,#fafafa 60%,#f1f2f3 100%);
  border:1px solid #e3e5e8;
  box-shadow:0 2px 4px #17203307,0 9px 18px -8px #17203324,0 22px 36px -23px #1720333b,inset 0 0 0 2px #fff,inset 0 -2px 5px #17203309;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease);
}
.process-build {--process-color:#696ca1;--process-bg:#e8e9f8;--process-end:#f7f7fd;}
.process-launch {--process-color:#507f68;--process-bg:#e3f0e9;--process-end:#f6faf8;}
.process-card::before {content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 100% 0%,#ffffff,transparent 52%);}
.process-card-head {display:flex;align-items:center;gap:13px;min-height:42px;}
.process-step {font-size:15px;font-weight:650;letter-spacing:-.035em;display:grid;place-items:center;flex:0 0 39px;height:39px;border-radius:12px;color:var(--process-color);background:linear-gradient(150deg,#fff,var(--process-bg));border:1px solid #fff;box-shadow:0 3px 7px #17203310,inset 0 0 0 1px #17203308;}
.process-card h3 {font-size:clamp(18px,2vw,23px);line-height:1.2;letter-spacing:-.045em;}
.process-visual {position:relative;display:grid;place-items:center;margin:20px 0 19px;border-radius:18px;aspect-ratio:1.75;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 30% 0%,#ffffffdf,transparent 75%),linear-gradient(145deg,var(--process-end),var(--process-bg));border:1px solid #fff;box-shadow:inset 0 0 0 1px #1720330a,inset 0 1px 5px #fff9;}
.process-visual svg {width:100%;height:100%;display:block;max-width:390px;}
.process-object {transform-box:fill-box;transform-origin:center;animation:process-bob 7s ease-in-out infinite;}
.process-build .process-object {animation-delay:-2.1s;}
.process-launch .process-object {animation-delay:-4.2s;}
@keyframes process-bob {0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(1.4deg)}}
.process-card p {font-size:14px;line-height:1.65;max-width:none;margin:0;}
@media(hover:hover) and (pointer:fine) {
  .process-card:hover {transform:translateY(-6px);box-shadow:0 6px 12px #17203309,0 16px 30px -12px #17203327,0 29px 47px -24px #17203342,inset 0 0 0 2px #fff;}
  .process-card:hover .process-object {animation-play-state:paused;}
}
html[data-theme=dark] .process-card {background:linear-gradient(155deg,#30343c,#22252b);border-color:#41454d;box-shadow:0 8px 25px -9px #0009,inset 0 1px 0 #ffffff22,inset 0 0 0 1px #ffffff0b;}
html[data-theme=dark] .process-card::before {background:radial-gradient(ellipse at 100% 0%,#ffffff09,transparent 52%);}
html[data-theme=dark] .process-step {background:linear-gradient(150deg,#41454e,#30343d);color:var(--ink);border-color:#ffffff12;box-shadow:0 3px 7px #0003,inset 0 1px 0 #ffffff15;}
html[data-theme=dark] .process-visual {background:linear-gradient(145deg,#35383f,color-mix(in srgb,var(--process-color) 20%,#292d33));border-color:#ffffff15;box-shadow:inset 0 1px 0 #ffffff14;}
@media(hover:hover) and (pointer:fine) {html[data-theme=dark] .process-card:hover {box-shadow:0 12px 30px -8px #000b,inset 0 1px 0 #ffffff22;}}
@media(max-width:960px) {.process-cards{gap:16px}.process-card{padding:19px}.process-card-head{gap:9px}.process-step{flex-basis:35px;height:35px}.process-card p{font-size:13.5px;}}
@media(max-width:760px) {.process-head.section-head.center{margin-bottom:28px}.process-cards{grid-template-columns:1fr;max-width:450px;margin-inline:auto;gap:18px}.process-card{padding:20px;border-radius:23px}.process-card h3{font-size:21px}.process-card p{font-size:14px}.process-visual{margin:15px 0;aspect-ratio:2/1;max-height:198px}.process-step{flex-basis:39px;height:39px}.process-card-head{gap:13px;}}
@media(max-width:360px) {.process-card{padding:16px}.process-card h3{font-size:19px;}}
@media(prefers-reduced-motion:reduce){.process-object{animation:none!important;}}
/* Richer dark glass without a bright gradient or extra decorative copy. */
.contact-panel {
  padding:clamp(46px,6vw,78px) 28px clamp(40px,5vw,64px);
  border:1px solid #555960;
  background:radial-gradient(ellipse at 12% 0%,#7a818b36,transparent 58%),radial-gradient(ellipse at 92% 110%,#586a6638,transparent 58%),linear-gradient(153deg,#393e46 0%,#202329 38%,#171a1f 72%,#262d30 100%);
  box-shadow:0 3px 6px #15192314,0 16px 28px -12px #15192342,0 34px 62px -35px #15192360,inset 0 1px 1px #ffffff4d,inset 0 0 0 1px #ffffff12,inset 0 -3px 5px #0003;
}
.contact-panel::before {background:linear-gradient(125deg,#ffffff0b 0%,#ffffff04 38%,transparent 38.3%),radial-gradient(ellipse at 45% -35%,#ffffff16,transparent 67%);}
.contact-panel::after {content:"";position:absolute;inset:3px;border-radius:inherit;border:1px solid #ffffff0d;pointer-events:none;z-index:1;}
.contact-panel h2 {text-wrap:balance;color:#fff;}
.contact-panel p {color:#d0d3d7;}
.contact-buttons .btn {min-height:48px;}
.contact-buttons .btn.outline {background:linear-gradient(150deg,#ffffff19,#ffffff06);border-color:#ffffff36;box-shadow:inset 0 1px 0 #ffffff1f,0 4px 10px #0002;}
.contact-buttons .btn.outline:hover {background:#ffffff20;color:#fff;}
/* Match the size and geometry of the main navigation controls. */
.footer .footer-end .round {width:42px;height:42px;border-radius:15px;color:var(--ink);}
.footer-end .icon {width:20px;height:20px;}
/* Compact contact actions: retain the original labels on desktop. */
.footer-label-mobile {display:none}
@media(max-width:760px) {
  .contact-panel{padding:42px 18px 38px;border-radius:24px}
  .footer .footer-end .round{width:42px;height:42px;border-radius:14px}
  .contact-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:310px;margin-inline:auto}
  .contact-buttons .btn{min-width:0;min-height:44px;padding:10px 12px;gap:7px;font-size:13px;border-radius:13px}
  .contact-buttons .btn .icon{width:15px;height:15px}
  .footer-label-desktop{display:none}
  .footer-label-mobile{display:inline}
}
@media(max-width:360px){.contact-buttons{gap:7px}.contact-buttons .btn{padding:10px 8px;gap:5px;font-size:12px}}
@media(max-width:380px) {.footer .footer-end .round{width:40px;height:40px;}}


/* V13 - Native smooth navigation and softly staggered viewport reveals.
   Individual translate preserves existing component hover transforms. */
.scroll-pending { opacity:0; translate:0 20px; }
.scroll-enter { animation:kb-scroll-in 880ms cubic-bezier(.22,.72,.25,1) var(--reveal-delay,0ms) both; }
@keyframes kb-scroll-in {
  from { opacity:0; translate:0 20px; }
  to { opacity:1; translate:0 0; }
}
.scroll-pending:focus-within,.scroll-enter:focus-within { opacity:1; translate:none; animation:none; }
@media(max-width:760px) {
  .scroll-pending { translate:0 14px; }
  .scroll-enter { animation-name:kb-scroll-in-mobile; animation-duration:760ms; }
  @keyframes kb-scroll-in-mobile { from {opacity:0;translate:0 14px} to {opacity:1;translate:0 0} }
}
@media(prefers-reduced-motion:reduce),print {
  .scroll-pending,.scroll-enter { opacity:1!important; translate:none!important; animation:none!important; }
}


/* V14 - Recommended Canadian web hosts: compact glass favicon dock. */
.hosting-recommendations {
  margin-top:38px; padding:28px 30px 22px; position:relative;
  border-radius:24px; border:1px solid #e4e6e8;
  background:linear-gradient(155deg,#fff 4%,#f9f9fa 57%,#f2f3f4 100%);
  box-shadow:0 14px 32px -18px #17191d30,0 4px 12px #17191d08,inset 0 1px 0 #fff;
  text-align:center;
}
.hosting-intro h3 {font-size:23px;letter-spacing:-.045em;font-weight:700;}
.hosting-intro p {font-size:14px;line-height:1.5;margin-top:7px;}
.hosting-list {list-style:none;margin:22px auto 0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;max-width:870px;overflow:visible;}
.host-item {position:relative;min-width:0;}
.host-item:hover,.host-item:focus-within {z-index:4;}
.host-link {position:relative;height:100%;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:10px;min-height:108px;padding:14px 5px 11px;border-radius:17px;border:1px solid #e5e6e8;background:linear-gradient(165deg,#fff,#f8f9fa);box-shadow:0 7px 15px -7px #17191d29,inset 0 1px 0 #fff;transition:transform .24s var(--ease),box-shadow .24s var(--ease),border-color .24s;}
.host-link:hover,.host-link:focus-visible {transform:translateY(-4px);border-color:#d0d2d6;box-shadow:0 13px 22px -8px #17191d30,inset 0 1px 0 #fff;}
.host-favicon {display:grid;place-items:center;position:relative;width:52px;height:52px;border-radius:13px;background:#fff;box-shadow:0 3px 9px #17191d0b;overflow:hidden;}
.host-favicon img {position:absolute;inset:2px;width:48px;height:48px;object-fit:contain;background:#fff;border-radius:10px;}
.host-fallback {font-size:15px;font-weight:750;letter-spacing:-.05em;color:#61666e;}
.host-name {font-size:12px;font-weight:650;letter-spacing:-.015em;line-height:1.35;overflow-wrap:anywhere;}
.host-external {position:absolute;top:9px;right:9px;display:grid;place-items:center;color:var(--muted);opacity:.65;}
.host-external svg {width:12px;height:12px;}
.host-tooltip {position:absolute;z-index:5;left:50%;bottom:calc(100% + 11px);width:210px;max-width:calc(100vw - 34px);transform:translate(-50%,5px);padding:12px 14px;border:1px solid var(--line);border-radius:13px;box-shadow:0 10px 32px #17191d26;background:var(--card);color:var(--ink);font-size:12px;line-height:1.5;text-align:left;opacity:0;visibility:hidden;transition:opacity .18s,transform .18s,visibility .18s;}
.host-tooltip strong {display:block;font-size:13px;margin-bottom:3px;}
.host-tooltip span {display:block;color:var(--muted);}
.host-tooltip::before {content:'';position:absolute;top:100%;left:0;right:0;height:14px;}
.host-tooltip::after {content:'';position:absolute;width:9px;height:9px;bottom:-6px;left:calc(50% - 5px);border:solid var(--line);border-width:0 1px 1px 0;background:var(--card);transform:rotate(45deg);}
.host-item:hover .host-tooltip,.host-item:focus-within .host-tooltip {opacity:1;visibility:visible;transform:translate(-50%,0);}
.hosting-disclosure {font-size:11.5px;line-height:1.5;margin:19px 0 0;color:var(--muted);}
html[data-theme=dark] .hosting-recommendations {background:linear-gradient(155deg,#292c31,#202226 75%);border-color:#3b3e43;box-shadow:0 14px 30px #0004,inset 0 1px 0 #ffffff0d;}
html[data-theme=dark] .host-link {background:linear-gradient(160deg,#35383e,#26282d);border-color:#41444a;box-shadow:0 5px 15px #0003,inset 0 1px 0 #ffffff10;}
html[data-theme=dark] .host-link:hover,html[data-theme=dark] .host-link:focus-visible {border-color:#696d74;}
@media(min-width:761px) and (max-width:1000px) {
  .host-item:first-child .host-tooltip {left:0;transform:translate(0,5px);}
  .host-item:first-child:hover .host-tooltip,.host-item:first-child:focus-within .host-tooltip {transform:translate(0,0);}
  .host-item:first-child .host-tooltip::after {left:40px;}
  .host-item:last-child .host-tooltip {left:auto;right:0;transform:translate(0,5px);}
  .host-item:last-child:hover .host-tooltip,.host-item:last-child:focus-within .host-tooltip {transform:translate(0,0);}
  .host-item:last-child .host-tooltip::after {left:auto;right:40px;}
}
@media(max-width:760px) {
  .hosting-recommendations {margin-top:28px;padding:23px 13px 18px;border-radius:21px;}
  .hosting-intro h3 {font-size:21px;}
  .hosting-intro p {font-size:13px;}
  .hosting-list {grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:18px;max-width:450px;}
  .host-link {min-height:100px;padding:12px 3px 9px;gap:8px;border-radius:13px;}
  .host-name {font-size:11.5px;}
  .host-item:nth-child(3n+1) .host-tooltip {left:0;transform:translate(0,5px);}
  .host-item:nth-child(3n+1):hover .host-tooltip,.host-item:nth-child(3n+1):focus-within .host-tooltip {transform:translate(0,0);}
  .host-item:nth-child(3n+1) .host-tooltip::after {left:35px;}
  .host-item:nth-child(3n) .host-tooltip {left:auto;right:0;transform:translate(0,5px);}
  .host-item:nth-child(3n):hover .host-tooltip,.host-item:nth-child(3n):focus-within .host-tooltip {transform:translate(0,0);}
  .host-item:nth-child(3n) .host-tooltip::after {left:auto;right:35px;}
  .hosting-disclosure {font-size:11px;margin-top:16px;}
}
@media(prefers-reduced-motion:reduce) {.host-link,.host-tooltip {transition:none!important;}.host-link:hover,.host-link:focus-visible {transform:none;}}

/* V15 - A little more breathing room above the workbench.
   Use a minimum viewport height, never a fixed height, so content can grow. */
@media screen {
  .hero { min-height:calc(100svh - var(--header)); }
  .workbench { margin-top:88px; }
}
@media screen and (min-width:761px) {
  .hero { padding-bottom:clamp(36px,6vh,72px); }
}
@media screen and (max-width:760px) {
  .workbench { margin-top:58px; }
}
@media screen and (max-width:380px) {
  .workbench { margin-top:53px; }
}


/* V16 - Compact mobile workbench, with the hero typography unchanged. */
@media screen and (max-width:760px) {
  .workbench { width:min(100%,416px); margin-top:44px; padding:11px 12px 12px; border-radius:21px; }
  .bench-top { padding-bottom:9px; gap:6px 10px; }
  .bench-grid { gap:8px; }
  .workbench .bench-card { min-height:54px; padding:7px 12px; gap:11px; border-radius:13px; }
  .workbench .bench-icon { width:36px; height:36px; flex-basis:36px; border-radius:9px; }
  .workbench .bench-icon .icon { width:20px; height:20px; }
  .bench-card small { margin-top:2px; }
  .scroll-note { margin-top:16px; }
}
@media screen and (max-width:380px) {
  .workbench { margin-top:38px; padding:10px 10px 11px; }
  .workbench .bench-card { padding-inline:10px; }
}
/* Recover a little additional vertical space on shorter phone viewports. */
@media screen and (max-width:760px) and (max-height:740px) {
  .hero { padding-top:28px; padding-bottom:28px; }
  .workbench { margin-top:30px; }
  .scroll-note { margin-top:12px; }
}


/* V17 - Smaller mobile glass dock, with a little more space between text blocks. */
@media screen and (max-width:760px) {
  .hero h1 { margin-bottom:20px; }
  .hero-description { margin-top:17px; }
  .hero-actions { margin-top:23px; }
  .workbench { width:min(96%,370px); margin-top:46px; padding:9px 10px 10px; border-radius:19px; }
  .bench-top { padding-bottom:8px; font-size:11px; gap:4px 8px; }
  .bench-hint { font-size:10.5px; }
  .bench-grid { gap:7px; }
  .workbench .bench-card { min-height:49px; padding:5px 10px; gap:12px; border-radius:12px; }
  .workbench .bench-icon { width:32px; height:32px; flex-basis:32px; border-radius:8px; }
  .workbench .bench-icon .icon { width:18px; height:18px; }
  .bench-card small { margin-top:3px; }
}
@media screen and (max-width:380px) {
  .workbench { margin-top:39px; padding:8px 9px 9px; }
  .workbench .bench-card { padding-inline:9px; }
  .bench-hint { font-size:10px; }
}
@media screen and (max-width:760px) and (max-height:740px) {
  .workbench { margin-top:30px; }
  .hero { padding-top:24px; padding-bottom:24px; }
}
/* Social links use the exact same glass button rules as the footer utilities. */
.footer .footer-socials { justify-content:center; flex-wrap:wrap; gap:9px; margin:19px auto 0; }
.footer-socials .round .icon { width:19px; height:19px; }
@media screen and (max-width:760px) {
  .footer .footer-socials { margin-top:15px; }
}


/* V18 - Scroll performance. Retain the glass appearance using the existing
   gradients, highlights and shadows rather than repeatedly blurring a moving backdrop. */
.header,.header.scrolled,html[data-theme=dark] .header,html[data-theme=dark] .header.scrolled {
  background:var(--paper);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.round,.header-actions .btn,.btn.secondary,.mobile-nav,.workbench,
.project-card,.tool-card,.service-card,.writing-card {
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
/* Only the open search dialog retains its actual backdrop blur. */
.kb-motion-paused .bench-card.active .bench-icon::before,
.kb-motion-paused .bench-card.active .bench-icon .icon,
.kb-motion-paused .scroll-note .icon,
.kb-motion-paused .soundwave i,
.kb-motion-paused .focus-track,
.kb-motion-paused .service-glow,
.kb-motion-paused .process-object,
.kb-tab-hidden .bench-card.active .bench-icon::before,
.kb-tab-hidden .bench-card.active .bench-icon .icon,
.kb-tab-hidden .scroll-note .icon,
.kb-tab-hidden .soundwave i,
.kb-tab-hidden .focus-track,
.kb-tab-hidden .service-glow,
.kb-tab-hidden .process-object {animation-play-state:paused!important;}
.kb-motion-paused .focus-track,.kb-tab-hidden .focus-track {will-change:auto;}


/* V19 - Opaque mobile dropdown; retain the existing menu shadow. */
.header .mobile-nav {
  background:#fff;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
html[data-theme=dark] .header .mobile-nav {
  background:var(--paper);
}

/* V20 - Curated resource library. All resource links remain real HTML links. */
#toolbox .toolbox-top {margin-bottom:22px}
#toolbox .filters {gap:8px}
#toolbox .filter {padding:10px 15px;white-space:nowrap}
#toolbox .tool-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
#toolbox .tool-card a {min-height:166px;padding:20px;gap:13px}
#toolbox .tool-mark {width:44px;height:44px;flex:0 0 44px;font-size:19px;letter-spacing:-.065em}
#toolbox .tool-info h3 {font-size:19px;line-height:1.25;margin-bottom:6px;overflow-wrap:anywhere}
#toolbox .tool-info p {font-size:14px;line-height:1.55}
#toolbox .tool-type {font-size:11px;margin-bottom:4px}
@media(max-width:760px){
  #toolbox .tool-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  #toolbox .tool-card a {min-height:160px;padding:16px;gap:12px}
  #toolbox .filter {font-size:12px;padding:9px 12px}
  #toolbox .tool-info h3 {font-size:17px}
  #toolbox .tool-info p {font-size:13px}
  #toolbox .tool-mark {width:40px;height:40px;flex-basis:40px;font-size:17px}
}
@media(max-width:480px){
  #toolbox .tool-grid {grid-template-columns:1fr;gap:10px}
  #toolbox .tool-card a {position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;min-height:104px;padding:15px 36px 15px 15px;gap:13px}
  #toolbox .tool-top {display:contents}
  #toolbox .tool-arrow {position:absolute;top:16px;right:13px}
  #toolbox .tool-mark {width:42px;height:42px;font-size:17px}
  #toolbox .tool-info p {font-size:13.5px}
  #toolbox .tool-info h3 {font-size:16px}
  #toolbox .filters {gap:6px}
  #toolbox .filter {padding:8px 11px}
}


/* V23 - Pearl-grey glass cards and dimensional, larger app-icon tiles.
   Static highlights instead of backdrop blur keep scrolling lightweight. */
#toolbox .tool-grid {gap:17px}
#toolbox .tool-card {
  background:radial-gradient(ellipse at 12% 0%,#fff 0%,transparent 63%),linear-gradient(150deg,#fcfcfc 0%,#f8f8f8 54%,#f5f5f5 100%);
  border:1px solid #e7e8eb;
  box-shadow:0 2px 4px #20283806,0 9px 20px -8px #20283816,0 20px 34px -20px #20283820,inset 0 1px 0 #fff,inset 0 0 0 2px #ffffffb8;
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
#toolbox .tool-card:hover,#toolbox .tool-card:focus-within {
  box-shadow:0 5px 12px #2028380c,0 16px 30px -10px #20283822,inset 0 1px 0 #fff,inset 0 0 0 2px #ffffffb8;
  border-color:#dfe1e5;
}
#toolbox .tool-card a {gap:16px;min-height:178px}
#toolbox .tool-mark {
  position:relative;display:grid;place-items:center;overflow:hidden;isolation:isolate;
  width:62px;height:62px;flex:0 0 62px;border-radius:17px;
  background:radial-gradient(ellipse at 24% 0%,#ffffffed,transparent 65%),linear-gradient(150deg,#fff 0%,color-mix(in srgb,var(--mark-bg) 40%,white) 55%,color-mix(in srgb,var(--mark-bg) 50%,#e8e9ed) 100%);
  border:1px solid #ffffff;
  box-shadow:0 2px 2px #20283810,0 5px 9px -2px #20283823,0 11px 20px -9px #20283824,inset 0 1px 2px #fff,inset 0 -2px 3px #2028380d,inset 0 0 0 1px #20283809;
  font-size:23px;
}
#toolbox .tool-mark:has(.resource-favicon) {
  background:radial-gradient(ellipse at 25% 0%,#fff 0%,transparent 70%),linear-gradient(150deg,#fff 0%,#fafbfc 48%,#eef0f2 100%);
}
#toolbox .tool-mark::after {
  content:"";position:absolute;inset:3px;border-radius:inherit;pointer-events:none;
  border-top:1px solid #fff;border-left:1px solid #ffffffb0;
}
#toolbox .resource-fallback,#toolbox .resource-favicon {grid-area:1/1}
#toolbox .resource-favicon {
  display:block;width:46px;height:46px;max-width:80%;max-height:80%;object-fit:contain;visibility:hidden;
  transition:transform .25s var(--ease);
}
#toolbox .tool-mark.has-logo .resource-favicon {visibility:visible}
#toolbox .tool-mark.has-logo .resource-fallback {visibility:hidden}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  #toolbox .tool-card:hover .resource-favicon {transform:scale(1.05)}
}
html[data-theme=dark] #toolbox .tool-card {
  background:radial-gradient(ellipse at 12% 0%,#ffffff09,transparent 65%),linear-gradient(150deg,#292c32,#22252a);
  border-color:#ffffff18;
  box-shadow:0 3px 8px #0003,0 12px 28px -10px #0006,inset 0 1px 0 #ffffff14,inset 0 0 0 2px #ffffff04;
}
html[data-theme=dark] #toolbox .tool-card:hover,html[data-theme=dark] #toolbox .tool-card:focus-within {
  border-color:#ffffff28;box-shadow:0 8px 18px #0004,0 18px 32px -10px #0007,inset 0 1px 0 #ffffff1c;
}
/* Neutral light tiles retain original logo colours in both themes. */
@media(max-width:760px){
  #toolbox .tool-grid {gap:12px}
  #toolbox .tool-card a {gap:12px;min-height:166px}
  #toolbox .tool-mark {width:54px;height:54px;flex-basis:54px;border-radius:15px;font-size:20px}
  #toolbox .resource-favicon {width:40px;height:40px}
}
@media(max-width:480px){
  #toolbox .tool-grid {gap:11px}
  #toolbox .tool-card a {grid-template-columns:52px minmax(0,1fr);min-height:104px;gap:14px}
  #toolbox .tool-mark {width:52px;height:52px;flex-basis:52px;border-radius:14px}
  #toolbox .resource-favicon {width:39px;height:39px}
}
@media(prefers-reduced-motion:reduce){#toolbox .resource-favicon{transition:none}}


/* HostScout project details: glass overlay contained within its own project card. */
.hostscout-project {position:relative}
.hostscout-info {position:absolute;top:20px;right:20px;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;color:var(--ink);background:var(--glass-button);border:1px solid var(--glass-outline);box-shadow:0 3px 9px #17191d14,inset 0 1px 0 var(--glass-stroke);transition:box-shadow .2s,transform .2s;z-index:4}
.hostscout-info .icon {width:19px;height:19px}
.hostscout-info:hover,.hostscout-info[aria-expanded=true] {box-shadow:0 5px 12px #17191d24,inset 0 1px 0 var(--glass-stroke);transform:translateY(-1px)}
.hostscout-project-tooltip {position:absolute;inset:9px;z-index:3;overflow:auto;overscroll-behavior:auto;padding:clamp(16px,2.4vw,28px);border-radius:18px;background:linear-gradient(145deg,#ffffff,#f7f7f8 65%,#ededf0);border:1px solid #e3e4e7;box-shadow:inset 0 1px 0 #fff,inset 0 -1px 2px #17191d0a,0 5px 16px #17191d12;color:var(--ink);animation:hs-tooltip-in .18s ease-out both}
.hostscout-project-tooltip strong {padding-right:38px}
.hostscout-project-tooltip p {max-width:52ch}
.hostscout-project-tooltip strong {display:block;font-size:16px;font-weight:700;letter-spacing:-.025em;margin-bottom:9px}
.hostscout-project-tooltip p {font-size:13.5px;line-height:1.65;color:var(--ink)}
@keyframes hs-tooltip-in {from{opacity:0}to{opacity:1}}
html[data-theme=dark] .hostscout-project-tooltip {background:linear-gradient(145deg,#30343a,#22252a);border-color:var(--line);box-shadow:0 10px 38px #0007,inset 0 1px 0 #ffffff16}
@media(max-width:760px){.hostscout-info{top:16px;right:16px;width:30px;height:30px}.hostscout-project-tooltip{inset:7px;padding:16px 18px;border-radius:14px}.hostscout-project-tooltip p{font-size:13px;line-height:1.6}}
@media(max-width:380px){.hostscout-project-tooltip{padding:13px 14px}.hostscout-project-tooltip p{font-size:12.5px;line-height:1.5}}
@media(prefers-reduced-motion:reduce){.hostscout-project-tooltip{animation:none}.hostscout-info{transition:none}}
@media print{.hostscout-info,.hostscout-project-tooltip{display:none!important}}

/* Deployment: local resource colors and shared controls. */
.tool-mark[data-resource-color="1"]{--mark-bg:#e5eefc;--mark-color:#365eaa}
.tool-mark[data-resource-color="2"]{--mark-bg:#e4f1eb;--mark-color:#347451}
.tool-mark[data-resource-color="3"]{--mark-bg:#fff0de;--mark-color:#a36121}
.tool-mark[data-resource-color="4"]{--mark-bg:#f8e6e5;--mark-color:#a53c3b}
.tool-mark[data-resource-color="5"]{--mark-bg:#e8eafb;--mark-color:#5252a6}
.tool-mark[data-resource-color="6"]{--mark-bg:#e8effa;--mark-color:#426590}
.tool-mark[data-resource-color="7"]{--mark-bg:#ececee;--mark-color:#4a4e57}
.tool-mark[data-resource-color="8"]{--mark-bg:#e4f1ed;--mark-color:#327967}
.tool-mark[data-resource-color="9"]{--mark-bg:#e8edfa;--mark-color:#435ca3}
.tool-mark[data-resource-color="10"]{--mark-bg:#fff1df;--mark-color:#96601e}
.tool-mark[data-resource-color="11"]{--mark-bg:#ede7f6;--mark-color:#7854a6}
.tool-mark[data-resource-color="12"]{--mark-bg:#fce9e5;--mark-color:#b83324}
.tool-mark[data-resource-color="13"]{--mark-bg:#e3f2e9;--mark-color:#2f7946}
.tool-mark[data-resource-color="14"]{--mark-bg:#e2f2fb;--mark-color:#1e7196}
.tool-mark[data-resource-color="15"]{--mark-bg:#ece8fb;--mark-color:#6144ad}
.tool-mark[data-resource-color="16"]{--mark-bg:#e1f1e8;--mark-color:#22784d}
.tool-mark[data-resource-color="17"]{--mark-bg:#e9edf5;--mark-color:#435c8e}
.tool-mark[data-resource-color="18"]{--mark-bg:#e8edf6;--mark-color:#445b80}
.tool-mark[data-resource-color="19"]{--mark-bg:#eee6fa;--mark-color:#7345b4}
.tool-mark[data-resource-color="20"]{--mark-bg:#fff0dd;--mark-color:#9b601c}
.tool-mark[data-resource-color="21"]{--mark-bg:#e9e9ed;--mark-color:#41454c}
.tool-mark[data-resource-color="22"]{--mark-bg:#e0f3f4;--mark-color:#237879}
.tool-mark[data-resource-color="23"]{--mark-bg:#e4ebfa;--mark-color:#375baf}
.tool-mark[data-resource-color="24"]{--mark-bg:#e4ebff;--mark-color:#3158b8}
.tool-mark[data-resource-color="25"]{--mark-bg:#e5f1e5;--mark-color:#35763d}
.tool-mark[data-resource-color="26"]{--mark-bg:#fce9e2;--mark-color:#a84d32}
.tool-mark[data-resource-color="27"]{--mark-bg:#fff0dc;--mark-color:#ac5c0e}
.tool-mark[data-resource-color="28"]{--mark-bg:#eee9e4;--mark-color:#65574d}
.tool-mark[data-resource-color="29"]{--mark-bg:#e3f1f8;--mark-color:#29718b}
.tool-mark[data-resource-color="30"]{--mark-bg:#e9e8fa;--mark-color:#5548a8}
.back-top-icon{display:inline-flex;transform:rotate(180deg)}
.skip-link{position:fixed;z-index:9999;left:12px;top:12px;transform:translateY(-150%);background:var(--paper);color:var(--ink);padding:12px 18px;border-radius:10px;border:1px solid var(--line)}
.skip-link:focus{transform:translateY(0)}
.writing-preview .writing-read{color:var(--muted)}
.writing-card:has(.writing-preview):hover{transform:none}
