@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--bg:#080e18;--panel:#101c2b;--text:#f4f6fb;--muted:#9aaabd;--line:rgba(148,190,230,.15);--accent:#4f8cff;--cyan:#43d5e8;--font:'DM Sans',sans-serif;--display:'Space Grotesk',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);line-height:1.65;overflow-x:hidden}a{color:inherit;text-decoration:none}.ambient{position:absolute;z-index:-1;filter:blur(100px);opacity:.16;border-radius:50%;pointer-events:none}.ambient-one{width:420px;height:420px;background:#1768d8;top:80px;right:-180px}.ambient-two{width:360px;height:360px;background:#087fba;top:900px;left:-220px}.section-wrap{width:min(1120px,calc(100% - 48px));margin:auto}.site-header{height:82px;width:min(1120px,calc(100% - 48px));margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:5}.brand{display:flex;align-items:center;gap:10px;font:700 15px var(--display);letter-spacing:2px}.brand-mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(79,140,255,.75);border-radius:9px;color:#a9d0ff;font-size:18px;letter-spacing:0}.brand-muted{color:var(--accent)}.nav{display:flex;align-items:center;gap:34px;color:#aeb6c5;font-size:12px}.nav a{transition:.2s}.nav a:hover,.nav a.active{color:white}.nav-contact{padding:10px 15px;border:1px solid var(--line);border-radius:7px;color:white!important}.nav-contact span{color:var(--cyan);margin-left:8px}.menu-toggle{display:none;background:none;border:0}.hero{min-height:680px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;position:relative;padding-top:45px;padding-bottom:90px}.eyebrow,.hero-kicker,.section-index,.hero-meta,.scroll-cue,.project-type,.visual-label,.heading-side-note,.section-footnote,.contact-hint,.footer>span,.back-top{font-size:10px;letter-spacing:1.7px}.eyebrow{color:#c1cede;display:flex;align-items:center;gap:10px}.status-dot,.tiny-dot{width:7px;height:7px;border-radius:50%;background:#64e6b0;box-shadow:0 0 14px #64e6b0}.hero-kicker{color:var(--muted);margin:38px 0 4px}.hero h1{font:600 clamp(64px,8vw,104px)/.98 var(--display);letter-spacing:-6px;margin:0}.gradient-text{background:linear-gradient(100deg,#8ebaff 5%,#4f9dff 55%,#43d5e8);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-description{max-width:440px;color:var(--muted);font-size:16px;margin:27px 0 30px}.hero-actions{display:flex;align-items:center;gap:28px}.button{display:inline-flex;align-items:center;gap:28px;padding:14px 19px;border-radius:7px;font-size:12px;font-weight:700;transition:.25s}.button-primary{background:#f2f0ff;color:#11121b}.button-primary:hover{transform:translateY(-3px);box-shadow:0 10px 35px #438cff35}.button span{font-size:17px}.text-link,.inline-link{font-size:12px;color:#dce1ec}.text-link span,.inline-link span{color:var(--cyan);margin-left:8px}.hero-meta{display:flex;align-items:center;gap:13px;color:#6f798b;margin-top:74px;font-size:9px}.meta-line{width:35px;height:1px;background:#4e596b}.hero-art{height:440px;position:relative;display:grid;place-items:center}.core-card{width:270px;height:300px;border:1px solid #ffffff27;border-radius:17px;background:linear-gradient(145deg,#142238dd,#0b1422dc);box-shadow:0 30px 100px #0009,inset 0 1px #ffffff18;z-index:2;padding:20px;transform:rotate(-7deg)}.core-top,.core-bottom{display:flex;justify-content:space-between;color:#8791a4;font-size:8px;letter-spacing:1.5px}.core-symbol{font:700 160px/.95 var(--display);letter-spacing:-15px;text-align:center;margin:48px 0 37px;background:linear-gradient(140deg,#fff,#559dff 60%,#4ed4e6);background-clip:text;color:transparent}.core-symbol span{color:#43c8e8}.orbit{position:absolute;border:1px solid #4f8cff35;border-radius:50%;transform:rotate(-28deg)}.orbit-a{width:390px;height:210px}.orbit-b{width:460px;height:270px;transform:rotate(55deg);border-color:#43d5e82b}.floating-tag{position:absolute;background:#17263b;border:1px solid var(--line);padding:10px 14px;border-radius:6px;font-size:9px;letter-spacing:1.2px;color:#d8ddeb;z-index:3}.tag-top{top:63px;right:0}.tag-bottom{bottom:55px;left:0}.spark{position:absolute;color:#69a8ff;font-size:30px}.spark-one{top:85px;left:65px}.spark-two{right:45px;bottom:95px;color:var(--cyan)}.scroll-cue{position:absolute;bottom:28px;left:0;color:#7d8799;font-size:9px;display:flex;align-items:center;gap:12px}.scroll-cue span{width:27px;height:1px;background:var(--cyan)}.section{padding-top:115px;padding-bottom:80px;border-top:1px solid var(--line)}.section-heading{margin-bottom:55px}.section-index{color:var(--cyan);margin:0 0 18px}.section-heading h2,.contact-inner h2{font:600 clamp(42px,6vw,68px)/1.06 var(--display);letter-spacing:-3px;margin:0}.muted-heading{color:#707a8d}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:12%;align-items:start}.about-note{border-left:1px solid #4f8cff;padding:5px 0 5px 27px;max-width:390px}.quote-mark{font:60px/1 var(--display);color:#4f8cff}.about-note p{font:500 21px/1.55 var(--display);margin:0}.about-copy{color:var(--muted);font-size:14px}.about-copy .lead{font-size:18px;color:#f1f3fa}.about-copy strong{color:white}.inline-link{display:inline-block;margin-top:15px;border-bottom:1px solid #ffffff33;padding-bottom:7px}.heading-row{display:flex;justify-content:space-between;align-items:end}.heading-side-note{text-align:right;color:#737e90;line-height:1.8}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px 24px}.project-large{grid-column:span 2}.project-visual{height:245px;border:1px solid var(--line);border-radius:12px;position:relative;overflow:hidden;display:grid;place-items:center}.project-large .project-visual{height:330px}.visual-purple{background:radial-gradient(ellipse at 50% 10%,#20528a,#14243a 65%,#0c1727)}.visual-blue{background:radial-gradient(ellipse at 60% 30%,#155d83,#101c32 70%)}.visual-orange{background:radial-gradient(ellipse at 50% 30%,#70402b,#211a21 70%)}.browser-bar{position:absolute;top:25px;width:70%;height:28px;background:#171b2a;border:1px solid #ffffff20;border-radius:6px 6px 0 0;display:flex;align-items:center;gap:5px;padding:0 10px}.browser-bar i{width:5px;height:5px;border-radius:50%;background:#7e9fbe}.browser-bar span{font-size:8px;color:#9da6b8;margin-left:12px}.mock-dashboard{position:absolute;top:53px;width:70%;height:220px;background:#0d1320;border:1px solid #ffffff20;display:flex;padding:13px;gap:13px;box-shadow:0 15px 40px #0008}.mock-sidebar{width:19%;background:linear-gradient(#1c4772 20%,#161e30 20%);border-radius:3px}.mock-content{flex:1}.mock-title{height:10px;width:40%;background:#80baff;border-radius:3px;margin:3px 0 15px}.mock-stats{display:flex;gap:8px}.mock-stats i{height:38px;flex:1;background:#202b43;border:1px solid #ffffff12;border-radius:4px}.mock-chart{height:95px;margin-top:12px;background:linear-gradient(160deg,transparent 48%,#4f9dff 49%,transparent 50%),repeating-linear-gradient(0deg,#1b2639 0 1px,transparent 1px 24px);border-bottom:1px solid #52617a}.visual-label{position:absolute;bottom:15px;left:17px;color:#c5c9d5;font-size:8px}.store-window{width:55%;height:160px;border:1px solid #ffffff35;border-radius:7px;background:#e6edf5;padding:13px;transform:rotate(-5deg);box-shadow:0 20px 50px #0008}.store-head{height:17px;background:#182b42;border-radius:3px;margin-bottom:13px}.store-products{display:flex;gap:8px}.store-products i{height:65px;flex:1;border-radius:4px;background:linear-gradient(145deg,#78c8df,#315f91)}.store-products i:nth-child(2){background:linear-gradient(145deg,#a4c9ec,#456f9d)}.store-products i:nth-child(3){background:linear-gradient(145deg,#a7c8dc,#547a9e)}.store-line{height:5px;width:70%;background:#a8b2c1;margin-top:10px;border-radius:3px}.store-line.short{width:42%;margin-top:5px}.code-window{width:65%;padding:22px;background:#11131b;border:1px solid #ffffff28;border-radius:8px;box-shadow:0 20px 50px #0008;transform:rotate(4deg);font:16px var(--display)}.code-window span{font-size:9px;color:#657084;margin-right:18px}.code-window b{color:#77b5ff}.code-window em{color:#58d9dc;font-style:normal}.code-lines i{display:block;height:5px;background:#33394a;width:75%;margin-top:11px;border-radius:4px}.code-lines i:nth-child(2){width:55%;margin-left:20px}.code-lines i:nth-child(3){width:65%;margin-left:20px}.project-info{display:flex;justify-content:space-between;align-items:start;padding:17px 2px}.project-type{color:#7c879a;font-size:9px;margin:0 0 7px}.project-info h3{font:600 23px var(--display);margin:0}.project-desc{color:var(--muted);font-size:12px;margin:5px 0 0;max-width:430px}.project-arrow{font-size:23px;color:var(--cyan)}.section-footnote{color:#687386;letter-spacing:.4px;font-size:10px;margin-top:24px}.skills-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:10%}.skills-intro{font:500 23px/1.5 var(--display);color:#c5ccda;max-width:300px;margin:0}.skill-row{display:grid;grid-template-columns:35px 1fr 20px;gap:15px;align-items:center;padding:19px 0;border-bottom:1px solid var(--line)}.skill-number{color:#6e7a8e;font-size:10px}.skill-row h3{font:500 17px var(--display);margin:0}.skill-row p{font-size:11px;color:var(--muted);margin:3px 0 0}.skill-symbol{color:#69a8ff}.tool-chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:45px}.tool-chips span{font-size:10px;color:#aab3c3;border:1px solid var(--line);border-radius:30px;padding:8px 14px}.contact-section{border-top:1px solid var(--line);background:radial-gradient(ellipse at 80% 60%,#12345a66,transparent 50%),#0b0f18;padding:105px 0 110px}.contact-inner h2{font-size:clamp(54px,8vw,90px);margin-bottom:25px}.contact-desc{max-width:420px;color:var(--muted);font-size:14px}.contact-button{margin-top:18px}.contact-hint{color:#727d90;font-size:9px;letter-spacing:.3px;margin-top:17px}.contact-hint code{color:#a9d0ff}.footer{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:15px}.footer>span,.back-top{font-size:8px;color:#737e90}.back-top{color:#c4cada}.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}.reveal.visible{opacity:1;transform:translateY(0)}
@media(max-width:760px){.section-wrap,.site-header{width:calc(100% - 38px)}.site-header{height:72px}.menu-toggle{display:flex;flex-direction:column;gap:5px;padding:10px}.menu-toggle span{width:22px;height:1px;background:white}.nav{display:none;position:absolute;top:71px;left:0;right:0;background:#101622;border:1px solid var(--line);padding:20px;flex-direction:column;align-items:stretch;gap:18px}.nav.open{display:flex}.nav-contact{text-align:center}.hero{grid-template-columns:1fr;padding-top:80px;padding-bottom:100px;min-height:unset}.hero h1{font-size:76px;letter-spacing:-5px}.hero-art{height:370px;margin-top:30px}.core-card{width:225px;height:260px}.core-symbol{font-size:135px;margin:38px 0 30px}.orbit-a{width:310px;height:170px}.orbit-b{width:350px;height:210px}.tag-top{right:2px;top:35px}.tag-bottom{bottom:35px}.hero-meta{margin-top:48px;flex-wrap:wrap}.scroll-cue{bottom:25px}.section{padding-top:82px;padding-bottom:65px}.about-grid,.skills-layout{grid-template-columns:1fr;gap:35px}.about-note{max-width:100%}.heading-row{align-items:start;gap:15px;flex-direction:column}.heading-side-note{text-align:left}.project-grid{grid-template-columns:1fr;gap:22px}.project-large{grid-column:auto}.project-large .project-visual,.project-visual{height:230px}.mock-dashboard{height:150px}.project-info h3{font-size:21px}.skills-intro{max-width:420px}.contact-section{padding:80px 0}.footer{padding:25px 0;flex-wrap:wrap}.footer>span{order:3;width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}*{animation:none!important;transition:none!important}}


/* Mobile viewport safety: prevent any decorative element from widening the page. */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
body { position: relative; }
main, header, footer { max-width: 100%; }
@media (max-width: 760px) {
  .section-wrap, .site-header {
    width: calc(100% - 38px);
    max-width: calc(100% - 38px);
    min-width: 0;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
  }
  .hero-copy, .hero-art { width: 100%; min-width: 0; }
  .hero h1 { overflow-wrap: anywhere; }
  .hero-art { max-width: 100%; }
  .orbit-a { width: min(310px, 90vw); }
  .orbit-b { width: min(350px, 96vw); }
  .tag-top { right: 0; }
  .tag-bottom { left: 0; }
  .project-grid, .about-grid, .skills-layout { min-width: 0; }
}

/* Toolbox */
.toolbox{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:22px}
.tb-tabs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:20px}
.tb-group{width:100%;color:var(--muted);font-size:13px;margin-top:4px}
.tb-tab,.tb-btn,.tb-ghost{font:inherit;font-size:14px;cursor:pointer;border-radius:999px;padding:8px 16px;border:1px solid var(--line);background:transparent;color:var(--text)}
.tb-tab[aria-selected=true],.tb-btn{background:var(--accent);border-color:var(--accent);color:#0b0714;font-weight:600}
.tb-tab:hover,.tb-ghost:hover{border-color:var(--accent)}
.tb-tab:focus-visible,.tb-btn:focus-visible,.tb-ghost:focus-visible,.tb-in:focus-visible,.tb-out:focus-visible,.tb-num:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
#tb-panel{display:flex;flex-direction:column;gap:12px;max-width:640px}
.tb-in,.tb-out,.tb-num{width:100%;font:inherit;font-size:15px;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:12px 14px;resize:vertical}
.tb-num{width:110px}.tb-row{display:flex;flex-wrap:wrap;gap:8px}.tb-label{color:var(--muted);font-size:14px}
.tb-ghost{align-self:flex-start}.tb-btn{align-self:flex-start}.tb-row .tb-btn{align-self:auto}
.tb-qr{background:#fff;width:fit-content;padding:12px;border-radius:12px;min-height:0;color:#000}
.tb-qr:empty{display:none}.tb-note{color:var(--muted);margin:0;font-size:14px}
.tb-big{font-family:var(--display);font-size:84px;line-height:1}.tb-big.sm{font-size:24px;line-height:1.3;min-height:32px}
.tb-clock{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.tb-clock div{border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column}
.tb-clock span{color:var(--muted);font-size:13px}.tb-clock b{font-family:var(--display);font-size:20px}
@media(max-width:760px){.toolbox{padding:16px}.tb-big{font-size:68px}}
.tb-result{min-height:0}.tb-result img,.tb-result video{max-width:100%;border-radius:12px;display:block;margin-bottom:10px}
.tb-result pre{margin:0;white-space:pre-wrap;word-break:break-word;font:inherit;font-size:15px;color:var(--text)}
.tb-media{display:flex;flex-direction:column;gap:10px;align-items:flex-start;margin-bottom:16px}
.tb-media audio{width:100%}a.tb-btn{display:inline-block;text-decoration:none}
.tb-grid{display:grid;grid-template-columns:repeat(3,76px);gap:8px}
.tb-cell{width:76px;height:76px;font:700 30px var(--display);color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:12px;cursor:pointer}
.tb-cell:focus-visible{outline:2px solid var(--cyan)}
.tb-chart iframe{width:100%;height:420px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
.tb-media audio,#tb-panel audio{width:100%}.tb-tab:disabled{opacity:.4;cursor:not-allowed}

.contact-form{display:grid;gap:12px;max-width:460px;margin-top:34px}
.cf-field{width:100%;font:inherit;font-size:14px;color:var(--text);background:#101c2b;border:1px solid var(--line);border-radius:10px;padding:12px 14px;resize:vertical}
.cf-field:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.cf-trap{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.contact-form .button{justify-self:start;border:0;cursor:pointer;font-family:inherit}
.contact-form .button:disabled{opacity:.6;cursor:wait}
.cf-status{margin:0;min-height:1.4em;font-size:12px;color:var(--muted)}
.tb-msg{border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:grid;gap:4px}
.tb-msg p{margin:0;white-space:pre-wrap;word-break:break-word}
.tb-msg small{color:var(--muted)}
.tb-msg .tb-ghost{justify-self:start;margin-top:6px}

.nav-auth{font:inherit;font-size:12px;color:white;background:none;border:1px solid var(--line);border-radius:7px;padding:10px 15px;cursor:pointer}
.nav-auth:hover{border-color:var(--accent)}
.auth-dialog{border:1px solid var(--line);border-radius:16px;background:#101c2b;color:var(--text);padding:24px;width:min(380px,calc(100% - 32px))}
.auth-dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}
.auth-dialog form{display:grid;gap:12px}
.auth-dialog [hidden]{display:none}
.auth-tabs{display:flex;gap:8px}
.auth-tabs button{flex:1;font:inherit;font-size:13px;padding:9px;border-radius:999px;border:1px solid var(--line);background:transparent;color:var(--text);cursor:pointer}
.auth-tabs button.active{background:var(--accent);border-color:var(--accent);color:#0b0714;font-weight:600}
.auth-actions{display:flex;align-items:center;gap:12px}
.auth-actions .button{border:0;cursor:pointer;font-family:inherit}
.auth-actions .button:disabled{opacity:.6;cursor:wait}
