/* Section styles for the apps inside the phone. Generated from styles.css by scripts/build-themed-css.py: every rule is scoped under .themed so nothing leaks into the scene. */
:root{
  --bg:#f4efe6; --bg2:#fbf9f4; --ink:#17161d; --muted:#6e6b7a; --line:rgba(23,22,29,.10); --line2:rgba(23,22,29,.16);
  --accent:#5b4bd6; --accent-soft:rgba(91,75,214,.12); --orange:#f5a623;
  --sans:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --band:170px; --gscale:.42;
}




.themed a{color:inherit}

.themed .skip{position:absolute;left:-999px;top:0}

.themed .skip:focus{left:8px;top:8px;background:var(--ink);color:#fff;padding:8px 12px;z-index:99}


.themed .bg{position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(55vw 55vh at 50% 38%, rgba(91,75,214,.16), transparent 62%),
    radial-gradient(40vw 40vh at 78% 85%, rgba(245,166,35,.16), transparent 60%),
    radial-gradient(40vw 40vh at 15% 90%, rgba(91,75,214,.08), transparent 60%),
    var(--bg);}

.themed .bg::after{content:"";position:absolute;inset:0;opacity:.5;
  background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:72px 72px;mask-image:radial-gradient(ellipse at 50% 42%,#000 15%,transparent 72%);-webkit-mask-image:radial-gradient(ellipse at 50% 42%,#000 15%,transparent 72%)}



.themed .stage{position:fixed;inset:0;z-index:1;transition:transform .7s cubic-bezier(.2,.7,.2,1)}

.themed .graph{position:absolute;inset:0;width:100%;height:100%}

.themed .graph .edge{stroke:rgba(23,22,29,.16);stroke-width:1;transition:stroke .3s}

.themed .graph .edge.lit{stroke:rgba(91,75,214,.7)}

.themed .graph .dot{fill:var(--accent);opacity:.9}

.themed .graph .dot.v{fill:var(--orange)}


.themed .nodes{position:absolute;inset:0}

.themed .node{position:absolute;transform:translate(-50%,-50%);background:none;border:0;color:var(--ink);cursor:pointer;font:inherit;padding:0;
  display:flex;flex-direction:column;align-items:center;gap:10px}

.themed .node .orb{width:60px;height:60px;border-radius:50%;background:#fff;border:1px solid var(--line2);
  display:grid;place-items:center;box-shadow:0 8px 24px rgba(23,22,29,.08);transition:box-shadow .35s,border-color .35s,transform .35s;position:relative}

.themed .node .orb::before{content:"";position:absolute;inset:-12px;border-radius:50%;border:1px solid rgba(91,75,214,.25);transition:transform .35s,opacity .35s;opacity:0;transform:scale(.8)}

.themed .node .orb svg{width:22px;height:22px;stroke:var(--ink);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

.themed .node .label{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);transition:color .3s,opacity .3s}

.themed .node .teaser{position:absolute;top:calc(100% + 4px);white-space:nowrap;font-size:14px;color:var(--muted);opacity:0;transform:translateY(-4px);transition:opacity .3s,transform .3s;pointer-events:none}

.themed .node:hover .orb,.themed .node:focus-visible .orb,.themed .node.active .orb{border-color:var(--accent);box-shadow:0 12px 32px rgba(91,75,214,.25);transform:scale(1.06)}

.themed .node:hover .orb::before,.themed .node.active .orb::before{opacity:1;transform:scale(1)}

.themed .node:hover .label,.themed .node.active .label{color:var(--ink)}

.themed .node:hover .teaser{opacity:1;transform:none}

.themed .node:focus-visible{outline:none}

.themed .node.center{cursor:pointer}

.themed .node.center .teaser{top:calc(100% + 8px)}

.themed .era.with-photo{display:grid;grid-template-columns:1fr 220px;gap:28px;align-items:center;max-width:720px}

.themed .era-photo{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px;display:block;box-shadow:0 12px 32px rgba(23,22,29,.12)}

.themed .about-photo{width:100%;max-width:660px;aspect-ratio:3/2;object-fit:cover;border-radius:16px;display:block;margin:0 0 32px;box-shadow:0 16px 40px rgba(23,22,29,.12)}

.themed .node.center .orb{width:136px;height:136px;border:3px solid #fff;overflow:hidden;box-shadow:0 16px 40px rgba(23,22,29,.16)}

.themed .node.center .orb img{width:100%;height:100%;object-fit:cover;display:block}

.themed .node.center .orb .initial{font-size:56px;font-weight:600}

.themed .node.center:hover .orb,.themed .node.center.active .orb{transform:none;border-color:#fff;box-shadow:0 16px 48px rgba(91,75,214,.28)}



.themed .intro{position:absolute;left:50%;top:var(--intro-top,62%);transform:translateX(-50%);width:min(620px,calc(100vw - 32px));text-align:center;transition:opacity .4s,transform .4s}

.themed .intro h1{font-weight:600;font-size:clamp(40px,6vw,66px);line-height:1;margin:0 0 16px;letter-spacing:-.035em}

.themed .lede{color:var(--muted);font-size:18px;margin:0 auto 22px;max-width:520px}

.themed .intro-actions{display:flex;gap:18px;justify-content:center;align-items:center}

.themed .btn{display:inline-block;background:var(--accent);color:#fff;text-decoration:none;padding:12px 20px;border-radius:12px;font-weight:600;font-size:15px;transition:transform .2s,background .2s,box-shadow .2s;box-shadow:0 8px 20px rgba(91,75,214,.25)}

.themed .btn:hover{transform:translateY(-1px);background:#4d3ec4}

.themed .link{color:var(--muted);text-decoration:none;font-size:15px;font-weight:500}

.themed .link:hover{color:var(--ink)}

.themed .hint{margin:26px 0 0;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);animation:pulse 2.6s ease-in-out infinite}

@keyframes pulse{0%,100%{opacity:.45}50%{opacity:1}}

.themed .node.pulse .orb{animation:glow 1.8s ease-in-out infinite;border-color:var(--accent)}

.themed .node.pulse .orb::before{opacity:1;animation:ring 1.8s ease-out infinite}

@keyframes glow{0%,100%{box-shadow:0 8px 24px rgba(91,75,214,.15)}50%{box-shadow:0 8px 36px rgba(91,75,214,.55)}}

@keyframes ring{0%{transform:scale(.85);opacity:.9}100%{transform:scale(1.35);opacity:0}}




.themed body.open .stage{transform:translateY(var(--gty,0px)) scale(var(--gscale))}

.themed body.open .intro{opacity:0;pointer-events:none;transform:translate(-50%,10px)}

.themed body.open .node .label,.themed body.open .node .teaser{opacity:0}

.themed body.open .node .orb{transform:scale(1.5)}

.themed body.open .node:hover .orb,.themed body.open .node.active .orb{transform:scale(1.6)}

.themed body.open .node.center .orb{transform:scale(1)}

.themed body.open .graph .edge{stroke-width:2}

.themed body.open .graph .dot{r:4}



.themed .sheet{position:fixed;top:var(--band);left:0;right:0;bottom:0;z-index:5;background:rgba(244,239,230,.9);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  border-top:1px solid var(--line);transform:translateY(104%);transition:transform .6s cubic-bezier(.2,.7,.2,1);display:flex;flex-direction:column}

.themed body.open .sheet{transform:none}

.themed .sheet-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 24px calc(12px + env(safe-area-inset-bottom));gap:12px;width:100%;border-top:1px solid var(--line);background:rgba(244,239,230,.85);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}

.themed .sheet-bar-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:820px;margin:0 auto;width:100%}

.themed .chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}

.themed .chips::-webkit-scrollbar{display:none}

.themed .chip{background:none;border:1px solid var(--line2);color:var(--muted);border-radius:999px;padding:6px 14px;font:inherit;font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap;transition:all .2s}

.themed .chip:hover{color:var(--ink);border-color:var(--ink)}

.themed .chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}

.themed .close{background:#fff;border:1px solid var(--line2);color:var(--ink);width:36px;height:36px;border-radius:50%;font-size:22px;line-height:1;cursor:pointer;flex:none}

.themed .close:hover{border-color:var(--ink)}

.themed .close:focus-visible,.themed .chip:focus-visible,.themed .node:focus-visible .orb{outline:2px solid var(--accent);outline-offset:2px}

.themed .sheet-scroll{overflow-y:auto;flex:1;overscroll-behavior:contain}

.themed .sheet-body{padding:40px 24px 48px;max-width:820px;margin:0 auto}

.themed .sheet-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:20px 24px 32px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;max-width:820px;margin:0 auto}

.themed .sheet-foot a{color:var(--muted);text-decoration:none}

.themed .sheet-foot a:hover{color:var(--ink)}



.themed .eyebrow{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:12px}

.themed .sheet h2{font-weight:600;font-size:clamp(34px,4.4vw,52px);line-height:1.02;margin:0 0 16px;letter-spacing:-.035em;max-width:720px}

.themed .sheet h3{font-weight:600;font-size:24px;line-height:1.2;margin:0 0 10px;letter-spacing:-.02em}

.themed .sheet h4{font-size:16px;font-weight:600;margin:0 0 6px}

.themed .sub{color:var(--muted);font-size:19px;margin:0 0 28px;max-width:620px}

.themed .sheet p{margin:0 0 14px;max-width:660px}

.themed .sheet ul{padding-left:18px;margin:0 0 14px;max-width:660px}

.themed .sheet li{margin-bottom:8px}

.themed .role-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:14px;color:var(--muted);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0;margin-bottom:32px}

.themed .site-link{color:var(--accent);font-weight:600;text-decoration:none}
.themed .site-link:hover{text-decoration:underline}

.themed .shaped{margin:22px 0 0;padding:16px 18px;border-left:2px solid var(--accent);background:rgba(255,255,255,.5);border-radius:0 12px 12px 0;max-width:660px}

.themed .shaped-label{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:10px}

.themed .shaped ul{list-style:none;padding:0;margin:0}

.themed .shaped li{margin:0 0 10px}

.themed .shaped li:last-child{margin:0}

.themed .shaped b{display:block;font-weight:600;font-size:15px}

.themed .shaped i{font-style:italic;font-weight:500}

.themed .shaped span{font-size:14px;color:var(--muted)}

.themed .era{margin:0 0 44px;padding-top:28px;border-top:1px solid var(--line)}

.themed .era-meta{font-size:13px;color:var(--muted);margin-bottom:14px}

.themed .facts{list-style:none;padding:0}

.themed .facts li{padding-left:16px;position:relative;color:var(--muted)}

.themed .facts li::before{content:"";position:absolute;left:0;top:11px;width:6px;height:6px;border-radius:50%;background:var(--accent)}

.themed .facts b{color:var(--ink);font-weight:600}

.themed .card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 24px rgba(23,22,29,.05)}

.themed .artifact{display:grid;grid-template-columns:180px 1fr;gap:18px;padding:16px;margin:18px 0;align-items:center}

.themed .artifact-text p{color:var(--muted);font-size:15px;margin:0}

.themed .ph{border-radius:10px;min-height:120px;background:repeating-linear-gradient(135deg,rgba(23,22,29,.04) 0 8px,transparent 8px 16px),var(--bg);border:1px dashed var(--line2);display:grid;place-items:center;position:relative}

.themed .ph::after{content:attr(data-label);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);text-align:center;padding:8px}

.themed .ph.tall{min-height:200px}

.themed .tools{display:grid;grid-template-columns:150px 1fr;gap:8px 16px;margin:0}

.themed .tools dt{color:var(--muted);font-size:14px}

.themed .tools dd{margin:0}

.themed .project-card{display:grid;grid-template-columns:140px 1fr;gap:20px;align-items:center;padding:18px;margin-bottom:18px;text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s}

.themed a.project-card:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:0 14px 32px rgba(91,75,214,.15)}

.themed .project-card .phone-col{display:flex;justify-content:center;align-items:flex-start;padding-top:4px}

.themed .project-photo{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;display:block}

.themed .project-card h3{margin-top:2px}

.themed .project-card p{color:var(--muted);font-size:15px}

.themed .more{color:var(--accent);font-size:14px;font-weight:600}



.themed .phone-hero{display:flex;justify-content:center;padding:8px 0 40px}

.themed .phone{width:240px;aspect-ratio:1206/2472;border-radius:36px;background:#000;border:6px solid #1c1c22;box-shadow:0 40px 80px rgba(23,22,29,.25),0 0 0 1px rgba(255,255,255,.4);overflow:hidden;position:relative}

.themed .phone video,.themed .phone img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;display:block}

.themed .phone.sm .thumb-badge{left:50%;transform:translateX(-50%);bottom:10px}

.themed .phone.sm{width:120px;border-radius:20px;border-width:4px;box-shadow:0 16px 32px rgba(23,22,29,.18)}

.themed .skills{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:4px 0 36px;max-width:660px}

.themed .skill{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.4)}

.themed .skill b{font-weight:500;font-size:13px;color:var(--ink)}

.themed .skill-icon{width:26px;height:26px;border-radius:7px;background:var(--accent-soft);display:grid;place-items:center;flex:none}

.themed .skill-icon svg{width:15px;height:15px;stroke:var(--accent);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.themed .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:8px 0 22px;max-width:660px}

.themed .stat{padding:16px 18px}

.themed .stat b{display:block;font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.1;color:var(--accent)}

.themed .stat span{font-size:13px;color:var(--muted)}


.themed .textnav{position:fixed;left:-999px}

.themed .textnav:focus-within{left:16px;bottom:16px;z-index:99;background:#fff;padding:8px 12px;border-radius:8px}


@media (prefers-reduced-motion:reduce){}


@media (max-width:820px){
  :root{--band:130px;--gscale:.4}

  .themed .sheet-body{padding:28px 20px}

  .themed .sheet-foot{padding:18px 20px 28px}

  .themed .phone{width:200px;border-radius:30px}

  .themed .stats{grid-template-columns:1fr}

  .themed .skills{grid-template-columns:1fr 1fr}

  .themed .artifact,.themed .project-card,.themed .era.with-photo{grid-template-columns:1fr}

  .themed .tools{grid-template-columns:1fr}

  .themed .node .orb{width:50px;height:50px}

  .themed .node .label{font-size:11px}

  .themed .node.center .orb{width:104px;height:104px}

  .themed .node .teaser{display:none}

  .themed .lede{font-size:16px}

}



.themed .project-card .thumb{aspect-ratio:1000/1384;max-height:none}

.themed .thumb{position:relative;padding:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;cursor:zoom-in;display:block;width:100%;aspect-ratio:909/1286;max-height:260px}

.themed .thumb img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;transition:transform .3s}

.themed .thumb:hover img{transform:scale(1.03)}

.themed .thumb-badge{position:absolute;left:8px;bottom:8px;background:rgba(23,22,29,.85);color:#fff;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:4px 8px;border-radius:6px}

.themed .artifact-note{font-size:13px!important;color:var(--accent)!important;margin-top:8px!important}

.themed .lightbox{position:fixed;inset:0;z-index:50;background:rgba(23,22,29,.86);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;gap:12px;padding:20px;opacity:0;pointer-events:none;transition:opacity .25s}

.themed .lightbox.on{opacity:1;pointer-events:auto}

.themed .lb-figure{margin:0;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:10px}

.themed .lb-figure img{max-height:calc(100vh - 90px);max-width:min(900px,calc(100vw - 140px));border-radius:8px;box-shadow:0 30px 80px rgba(0,0,0,.5);background:#fff}

.themed .lb-figure figcaption{color:rgba(255,255,255,.8);font-size:13px}

.themed .lb-arrow,.themed .lb-close{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff;width:44px;height:44px;border-radius:50%;font-size:26px;line-height:1;cursor:pointer;flex:none;transition:background .2s}

.themed .lb-arrow:hover,.themed .lb-close:hover{background:rgba(255,255,255,.25)}

.themed .lb-arrow[disabled]{opacity:.3;cursor:default}

.themed .lb-close{position:absolute;top:16px;right:16px}

@media (max-width:820px){
  .themed .lightbox{padding:12px;gap:6px}

  .themed .lb-figure img{max-width:calc(100vw - 24px);max-height:calc(100vh - 120px)}

  .themed .lb-arrow{position:absolute;bottom:16px;width:48px;height:48px}

  .themed .lb-arrow.prev{left:16px}
.themed .lb-arrow.next{right:16px}

  .themed .thumb{max-height:none}

}



.themed .nfc-scene{position:relative;width:100%;aspect-ratio:1;border-radius:12px;overflow:hidden;background:#fff}

.themed .nfc-band{position:absolute;left:-6%;top:-2%;width:96%;height:auto}

.themed .nfc-tag{position:absolute;left:14%;top:24%;width:24%;aspect-ratio:1;border-radius:50%;overflow:hidden;border:2px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.4);transform:rotate(-22deg) skewY(8deg)}

.themed .nfc-tag img{width:260%;height:auto;margin-left:-80%;margin-top:-12%;display:block}

.themed .nfc-phone{position:absolute;right:-8%;bottom:-14%;width:46%;aspect-ratio:1206/2472;border-radius:18% / 9%;background:#111;border:3px solid #2a2a30;box-shadow:0 12px 30px rgba(0,0,0,.35);transform:rotate(-28deg);overflow:hidden}

.themed .nfc-screen{position:absolute;inset:4% 5%;border-radius:14% / 7%;overflow:hidden;background:#f4efe6}

.themed .nfc-screen img{width:220%;height:auto;margin-left:-60%;margin-top:6%;display:block}

.themed .nfc-ripples{position:absolute;left:38%;top:44%;width:0;height:0}

.themed .nfc-ripples span{position:absolute;left:0;top:0;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;border:2px solid var(--accent);opacity:0;animation:nfc 2.4s ease-out infinite}

.themed .nfc-ripples span:nth-child(2){animation-delay:.8s}

.themed .nfc-ripples span:nth-child(3){animation-delay:1.6s}

@keyframes nfc{0%{transform:scale(.4);opacity:.9}100%{transform:scale(3.2);opacity:0}}



.themed .pipeline{border-radius:10px;background:var(--bg);border:1px solid var(--line);padding:14px 12px;display:flex;flex-direction:column;gap:14px;justify-content:center;min-height:160px}

.themed .pipe-flow{display:flex;flex-direction:column;align-items:center;gap:4px}

.themed .pipe-node{font-size:11px;font-weight:600;letter-spacing:.04em;background:#fff;border:1px solid var(--line2);border-radius:999px;padding:4px 10px;white-space:nowrap}

.themed .pipe-arrow{color:var(--accent);font-size:14px;line-height:1;transform:rotate(90deg)}

.themed .pipe-stats{display:flex;align-items:center;justify-content:center;gap:8px;text-align:center;border-top:1px solid var(--line);padding-top:12px}

.themed .pipe-stats > div{flex:none}

.themed .pipe-stats small{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}

.themed .pipe-stats b{font-size:15px;font-weight:600;letter-spacing:-.02em;white-space:nowrap}

.themed .pipe-stats .to{color:var(--accent);font-size:18px}

.themed .pipe-stats div:last-child b{color:var(--accent)}

