:root{--bg:#c1afe5;--ink:#291c3a;--muted:#4a3467;--line:#291c3a;--yellow:#f8f5fd;--pink:#e6ddf5;--blue:#e6ddf5;--green:#f8f5fd;--orange:#e6ddf5;--mono:'Space Mono','DM Mono',monospace;--sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--mono);font-size:15px;line-height:1.7;overflow-x:hidden}
a{color:inherit;text-decoration:none}
::selection{background:#e6ddf5;color:#291c3a}
.noise{position:fixed;inset:0;z-index:20;pointer-events:none;opacity:.045;background-image:radial-gradient(#4a3467 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(to bottom,transparent,#291c3a 20%,#291c3a 80%,transparent)}
.section-wrap{width:min(100% - 48px,980px);margin-inline:auto}
.site-header{position:sticky;top:10px;z-index:30;width:min(100% - 28px,980px);min-height:64px;margin:10px auto 0;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:3px solid var(--ink);border-radius:15px;background:#ffffff;box-shadow:5px 5px 0 var(--ink)}
.wordmark{display:flex;align-items:center;font-size:20px;font-weight:700;letter-spacing:-.09em}
.wordmark span{font-size:10px;align-self:flex-start;margin-left:3px}
.desktop-nav{display:flex;align-items:center;gap:22px;margin-left:auto}
.desktop-nav a,.availability{font-size:12px;font-weight:700;transition:transform .15s}
.desktop-nav a:hover{transform:translateY(-2px)}
.availability{display:flex;align-items:center;gap:8px;padding:8px 11px;border:2px solid var(--ink);border-radius:8px;background:var(--green);white-space:nowrap;font-size:10px}
.status-dot,.presence-dot{display:inline-block;width:8px;height:8px;border:1px solid var(--ink);border-radius:50%;background:#9a7cc8}
.menu-toggle{display:none}
.hero{position:relative;padding-top:92px;padding-bottom:74px;text-align:center}
.eyebrow{display:flex;justify-content:space-between;gap:14px;color:#4a3467;font-size:10px;font-weight:700}
.hero-copy{max-width:800px;margin:42px auto 0}
.kicker{margin:0 0 13px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.hero .kicker{color:#4a3467}
.hero h1{margin:0;font-size:clamp(60px,10vw,110px);font-weight:700;letter-spacing:-.085em;line-height:1.02}
.hero h1 .outline{-webkit-text-stroke:2px var(--ink);color:transparent}
.period{color:#e6ddf5}
.hero-bottom{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:22px}
.hero-description{max-width:660px;margin:0;color:#291c3a;font-size:clamp(15px,2vw,20px);line-height:1.8}
.circle-link{display:none}
.hero-actions{display:grid;gap:14px;max-width:520px;margin:34px auto 0}
.hero-actions a{display:flex;justify-content:center;align-items:center;gap:15px;padding:16px 20px;border:3px solid var(--ink);border-radius:12px;box-shadow:5px 5px 0 var(--ink);font-size:18px;font-weight:700;transition:transform .15s,box-shadow .15s}
.hero-actions a:hover{transform:translate(3px,3px);box-shadow:2px 2px 0 var(--ink)}
.hero-primary{background:#e6ddf5}.hero-secondary{background:#7957ad}
.hero-index{display:flex;justify-content:space-between;gap:12px;margin-top:54px;padding-top:14px;border-top:2px solid #7957ad;color:#604187;font-size:9px;font-weight:700}
.intro-section,.skills-section,.work,.live-presence{padding-top:62px;padding-bottom:64px}
.section-title{text-align:center;max-width:720px;margin:0 auto 34px}
.section-title .kicker{color:#4a3467}
.section-title h2,.section-heading h2,.contact h2{margin:0;font-size:clamp(38px,6vw,64px);font-weight:700;letter-spacing:-.065em;line-height:1.15}
.section-title>p:last-child{max-width:650px;margin:16px auto 0;color:#4a3467;font-size:clamp(14px,2vw,20px);line-height:1.8}
.about-card,.project,.presence-card,.skill-panel{position:relative;min-width:0;border:3px solid var(--ink);border-radius:24px;box-shadow:8px 8px 0 var(--ink)}
.about-card{display:flex;align-items:flex-start;gap:22px;padding:30px;background:#ffffff}
.pixel-icon{display:grid;place-items:center;flex:0 0 60px;width:60px;height:60px;border:3px solid var(--ink);border-radius:12px;background:var(--pink);font-size:30px;box-shadow:4px 4px 0 var(--ink)}
.about-card .kicker{color:#4a3467}.about-card h3{margin:0 0 10px;font-size:clamp(23px,4vw,36px);line-height:1.3;letter-spacing:-.04em}.about-card p:last-child{margin:0;color:#291c3a;font-size:14px;line-height:1.9}
.skill-panels{display:grid;gap:22px}
.skill-panel{padding:25px 28px;border-radius:24px}
.skill-yellow{background:var(--yellow)}.skill-blue{background:var(--blue)}.skill-green{background:var(--green)}
.skill-panel h3{margin:0 0 18px;font-size:clamp(21px,3vw,30px);letter-spacing:-.04em}
.skill-chips{display:flex;flex-wrap:wrap;gap:10px}
.skill-chips span{display:inline-flex;align-items:center;padding:8px 13px;border:3px solid var(--ink);background:rgba(255, 255, 255,.42);box-shadow:3px 3px 0 var(--ink);font-size:clamp(12px,1.8vw,17px);font-weight:700;transition:transform .15s}
.skill-chips span:hover{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:32px}
.section-heading .kicker{color:#4a3467}
.section-note{max-width:320px;margin:0 0 4px;color:#4a3467;font-size:13px;line-height:1.8}
.project-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.project{overflow:hidden;padding:22px;border-radius:24px;transition:transform .18s}
.project:hover{transform:translate(-2px,-2px)}
.project-featured{grid-column:1/-1;background:var(--yellow)}
.project-list>.project:nth-child(2){background:var(--pink)}
.project-list>.project:nth-child(3){background:var(--blue)}
.project-list>.project:nth-child(4){background:var(--orange)}
.project-topline{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:13px;border-bottom:2px solid rgba(41, 28, 58,.2);font-size:9px;font-weight:700}
.project-state{display:flex;align-items:center;gap:7px;white-space:nowrap}
.project-state i{display:inline-block;width:7px;height:7px;border:1px solid var(--ink);border-radius:50%;background:#9a7cc8}
.project-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.85fr);align-items:center;gap:26px;margin-top:24px}
.project:not(.project-featured) .project-main{grid-template-columns:1fr}
.project-index{margin:0 0 8px;font-size:10px;font-weight:700}
.project h3{margin:0 0 12px;font-size:clamp(30px,4vw,44px);line-height:1.1;letter-spacing:-.07em}
.project h3 span{display:block}
.project-copy>p:not(.project-index){max-width:450px;margin:0;color:#291c3a;font-size:13px;line-height:1.85}
.tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}
.tags span{padding:5px 8px;border:2px solid var(--ink);background:rgba(255, 255, 255,.4);font-size:8px;font-weight:700}
.text-link{display:inline-flex;align-items:center;gap:9px;margin-top:21px;padding:8px 10px;border:2px solid var(--ink);background:#ffffff;box-shadow:3px 3px 0 var(--ink);font-size:9px;font-weight:700;transition:transform .15s,box-shadow .15s}
.text-link:hover{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.text-link span{font-size:14px}
.visual{position:relative;min-width:0;height:250px;overflow:hidden;border:3px solid var(--ink);border-radius:17px;background:#291c3a;box-shadow:5px 5px 0 var(--ink)}
.weather-visual{background-color:#291c3a;background-image:linear-gradient(rgba(193, 175, 229,.17) 1px,transparent 1px),linear-gradient(90deg,rgba(193, 175, 229,.17) 1px,transparent 1px);background-size:25px 25px}
.radar-grid{position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,rgba(230, 221, 245,.2),transparent 60%)}
.radar-ring{position:absolute;left:50%;top:50%;aspect-ratio:1;border:2px solid rgba(255, 255, 255,.4);border-radius:50%;transform:translate(-50%,-50%)}
.ring-a{width:70px}.ring-b{width:130px}.ring-c{width:205px}
.radar-sweep{position:absolute;left:50%;top:50%;width:100px;height:100px;border-radius:100% 0 0 0;transform-origin:0 0;background:conic-gradient(from 0deg,transparent 0 75%,rgba(230, 221, 245,.55));animation:radar 8s linear infinite}
@keyframes radar{to{transform:rotate(360deg)}}
.radar-label,.radar-coords{position:absolute;color:#f8f5fd;font-size:8px;font-weight:700}
.radar-label{top:12px;left:12px}.radar-coords{right:12px;bottom:12px;text-align:right;line-height:1.7}
.control-visual{display:grid;place-items:center;background:#e6ddf5}
.control-window{width:84%;max-width:290px;border:3px solid var(--ink);border-radius:8px;overflow:hidden;background:#ffffff;box-shadow:5px 5px 0 var(--ink)}
.window-bar{height:30px;display:flex;align-items:center;gap:5px;padding:0 10px;border-bottom:2px solid var(--ink);font-size:7px;font-weight:700}.window-bar b{width:6px;height:6px;border:1px solid var(--ink);border-radius:50%;background:#7957ad}.window-bar span{margin-left:auto}
.window-body{display:flex;min-height:160px}.window-side{display:flex;flex-direction:column;gap:12px;width:35px;padding:14px 11px;border-right:2px solid var(--ink)}.window-side i{width:11px;height:11px;border:2px solid var(--ink);border-radius:2px}
.window-content{flex:1;padding:17px}.window-content small{font-size:7px}.window-content strong{display:block;margin:12px 0;font-size:16px;line-height:1.1}.fake-line{width:55%;height:4px;margin-top:8px;background:#e6ddf5}.fake-line.long{width:80%}.fake-stats{display:flex;gap:35px;margin-top:18px;font-size:7px}.fake-stats b{display:inline-block;margin-top:4px;color:#604187;font-size:11px}
.project-last .project-main{display:block}.project-last .project-copy>p:not(.project-index){max-width:520px}
.presence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.presence-card{padding:22px;background:#ffffff;border-radius:22px}
.presence-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:2px solid #e6ddf5}
.presence-eyebrow,.presence-card-top>a,.discord-status-label{font-size:9px;font-weight:700}
.presence-eyebrow{display:flex;align-items:center;gap:8px}.github-dot{background:#9a7cc8}.discord-dot{background:#7957ad}.presence-card-top>a{color:#4a3467}
.presence-card h3{margin:22px 0 6px;font-size:21px;letter-spacing:-.05em}.activity-handle{color:#604187;font-weight:500}
.presence-card>p{margin:0;color:#4a3467;font-size:11px}
.activity-foot{display:flex;justify-content:space-between;gap:10px;margin-top:20px;font-size:8px;font-weight:700}
.activity-foot a,#github-event-list li a{color:#4a3467}
.recent-activity{margin-top:20px;padding-top:14px;border-top:2px solid #e6ddf5}
.recent-activity-heading{display:flex;justify-content:space-between;gap:8px;font-size:8px;font-weight:700}
#github-feed-state{color:#604187}#github-event-list{display:grid;gap:8px;margin:12px 0 0;padding:0;list-style:none}
#github-event-list li{display:flex;align-items:flex-start;gap:9px;padding:10px;border:2px solid #291c3a;background:#f8f5fd;font-size:10px;line-height:1.6}
.activity-event-icon{color:#4a3467}.activity-loading{color:#604187!important}
.activity-pulse{width:7px;height:7px;flex:0 0 7px;margin-top:6px;border-radius:50%;background:#9a7cc8;animation:pulse 1.5s ease-in-out infinite}
@keyframes pulse{50%{opacity:.25}}
.discord-profile{display:flex;align-items:center;gap:13px;margin-top:23px}.discord-avatar-wrap{position:relative;flex:0 0 54px;width:54px;height:54px}
.discord-avatar-wrap img{display:block;width:54px;height:54px;border:2px solid var(--ink);border-radius:10px;object-fit:cover;background:#f8f5fd}
.avatar-status-indicator{position:absolute;right:-3px;bottom:-3px;width:13px;height:13px;border:3px solid #ffffff;border-radius:50%;background:#604187}
.discord-profile-copy{min-width:0}.discord-profile-copy h3{margin:0 0 2px;font-size:19px}.discord-profile-copy p{margin:0;color:#4a3467;font-size:11px}.discord-user-id{display:block;margin-top:4px;color:#604187;font-size:8px}
.discord-activity-box{margin-top:20px;padding:13px;border:2px solid var(--ink);background:#f8f5fd}.activity-mini-label{font-size:8px;font-weight:700}.discord-activity-box p{margin:5px 0 0;font-size:11px}
.discord-music-card{margin-top:13px;padding:13px;border:2px solid var(--ink);background:var(--pink)}
.discord-music-heading{display:flex;justify-content:space-between;gap:10px;font-size:8px;font-weight:700}.discord-music-heading>span:first-child{display:flex;align-items:center;gap:7px}
.discord-music-track{display:flex;align-items:center;gap:11px;margin-top:12px}.discord-music-track img{width:48px;height:48px;flex:0 0 48px;object-fit:cover;border:2px solid var(--ink);background:#f8f5fd}
.discord-music-copy{min-width:0}.discord-music-copy h4{margin:0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.discord-music-copy p{margin:2px 0;font-size:10px}.discord-music-copy span{font-size:9px}
.discord-music-progress{height:4px;margin-top:13px;border:1px solid var(--ink);background:#ffffff;overflow:hidden}#discord-music-progress{display:block;width:0;height:100%;background:#7957ad}
.discord-music-times{display:flex;justify-content:space-between;margin-top:5px;font-size:8px}
.discord-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:12px 13px;border:2px solid var(--ink);background:var(--yellow);box-shadow:3px 3px 0 var(--ink);font-size:9px;font-weight:700}
.discord-footnote{margin-top:12px!important;color:#604187!important;font-size:9px!important;line-height:1.6}
.contact{padding-top:70px;padding-bottom:80px;text-align:center}
.contact .kicker{color:#4a3467}.contact h2{font-size:clamp(48px,8vw,88px);letter-spacing:-.08em}.contact h2 .outline{-webkit-text-stroke:2px var(--ink);color:transparent}
.contact-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:28px;padding-top:20px;border-top:2px solid #7957ad;text-align:left}
.contact-bottom>p{max-width:440px;margin:0;color:#4a3467;font-size:13px;line-height:1.8}
.contact-button{display:inline-flex;align-items:center;gap:18px;padding:13px 17px;border:3px solid var(--ink);background:#e6ddf5;box-shadow:4px 4px 0 var(--ink);font-size:10px;font-weight:700;white-space:nowrap}
.site-footer{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding-top:20px;padding-bottom:28px;border-top:2px solid #7957ad;color:#4a3467}
.site-footer>span,.site-footer small,.site-footer>div{font-size:8px;font-weight:700}.site-footer>span{text-align:center}.site-footer>div{display:flex;gap:15px}.site-footer small{grid-column:1/-1;color:#604187}
[data-reveal]{scroll-margin-top:100px}
@media(max-width:700px){
 .section-wrap{width:calc(100% - 34px)}
 .site-header{width:calc(100% - 22px);min-height:56px;padding:8px 12px;top:7px;margin-top:7px;gap:8px;border-width:2px;border-radius:12px;box-shadow:3px 3px 0 var(--ink)}
 .wordmark{font-size:17px}.desktop-nav{gap:10px}.desktop-nav a{font-size:9px}.availability{font-size:8px;padding:6px 7px;border-width:2px}
 .hero{padding-top:68px;padding-bottom:48px}.eyebrow{font-size:7px;letter-spacing:0}.hero-copy{margin-top:40px}.hero h1{font-size:clamp(56px,12vw,84px)}.hero-description{font-size:15px}.hero-actions{max-width:100%;margin-top:28px}.hero-actions a{font-size:17px;padding:14px}.hero-index{margin-top:43px;font-size:7px}
 .intro-section,.skills-section,.work,.live-presence{padding-top:42px;padding-bottom:48px}.section-title{margin-bottom:26px}.section-title h2,.section-heading h2{font-size:clamp(35px,9vw,50px)}.section-title>p:last-child{font-size:14px}
 .about-card{gap:14px;padding:20px;border-radius:18px;box-shadow:6px 6px 0 var(--ink)}.pixel-icon{flex-basis:43px;width:43px;height:43px;font-size:22px}.about-card h3{font-size:23px}.about-card p:last-child{font-size:12px}
 .skill-panels{gap:18px}.skill-panel{padding:20px;border-radius:18px;box-shadow:6px 6px 0 var(--ink)}.skill-panel h3{font-size:22px}.skill-chips{gap:8px}.skill-chips span{padding:7px 9px;font-size:12px;border-width:2px;box-shadow:2px 2px 0 var(--ink)}
 .section-heading{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:25px}.section-note{font-size:12px}
 .project-list,.presence-grid{grid-template-columns:1fr;gap:19px}.project-featured{grid-column:auto}.project{padding:17px;border-radius:18px;box-shadow:6px 6px 0 var(--ink)}.project-topline{font-size:8px}.project-main{grid-template-columns:1fr;gap:20px;margin-top:20px}.project h3{font-size:38px}.visual{height:220px}.project:not(.project-featured) .project-main{grid-template-columns:1fr}.project-last .project-main{display:block}
 .presence-card{padding:17px;border-radius:18px;box-shadow:6px 6px 0 var(--ink)}.contact{padding-top:48px;padding-bottom:52px}.contact-bottom{align-items:flex-start;flex-direction:column}.contact-button{align-self:flex-start}
 .site-footer{grid-template-columns:1fr auto;gap:13px}.site-footer>span{display:none}.site-footer>div{gap:10px}.site-footer small{font-size:7px}
}
@media(max-width:390px){.desktop-nav{gap:7px}.desktop-nav a{font-size:8px}.availability{font-size:7px;gap:4px}.status-dot{width:6px;height:6px}.eyebrow span:last-child,.hero-index span:last-child{display:none}.project-topline{align-items:flex-start;flex-direction:column;gap:6px}.activity-foot{font-size:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Embedded now-playing panel: inspired by the supplied Amazon Music screenshot */
.discord-music-card{margin-top:18px;padding:20px 22px 18px;border:0;border-radius:20px;background:#291c3a;color:#ffffff;box-shadow:none}
.discord-music-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#ffffff;font-family:var(--sans);font-size:clamp(16px,2.2vw,24px);font-weight:500;letter-spacing:-.025em}
.discord-music-heading .music-badge{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#c1afe5;color:#291c3a;font-size:19px;font-weight:700}
.discord-music-track{display:flex;align-items:center;gap:16px;margin-top:20px}
.discord-music-track img{width:112px;height:112px;flex:0 0 112px;object-fit:cover;border:0;border-radius:9px;background:#291c3a}
.discord-music-copy{min-width:0;color:#ffffff}
.discord-music-copy h4{margin:0;color:#ffffff;font-family:var(--sans);font-size:clamp(20px,3vw,30px);font-weight:700;letter-spacing:-.04em;white-space:normal;overflow-wrap:anywhere}
.discord-music-copy p{margin:3px 0;color:#ffffff;font-family:var(--sans);font-size:clamp(15px,2.2vw,22px);font-weight:500}
.discord-music-copy span{display:block;color:#c1afe5;font-family:var(--sans);font-size:clamp(13px,1.8vw,18px)}
.discord-music-progress{height:5px;margin-top:20px;border:0;border-radius:8px;background:#4a3467;overflow:hidden}
#discord-music-progress{border-radius:8px;background:#604187}
.discord-music-times{display:flex;justify-content:space-between;margin-top:8px;color:#e6ddf5;font-family:var(--sans);font-size:clamp(13px,1.8vw,18px);font-variant-numeric:tabular-nums}
@media(max-width:700px){.discord-music-card{padding:16px;border-radius:16px}.discord-music-track{gap:13px;margin-top:15px}.discord-music-track img{width:82px;height:82px;flex-basis:82px}.discord-music-copy h4{font-size:20px}.discord-music-copy p{font-size:15px}.discord-music-copy span{font-size:12px}}

/* Final reliability fixes */
[hidden]{display:none!important}
.menu-toggle{align-items:center;justify-content:center;flex-direction:column;gap:5px;width:38px;height:38px;padding:7px;border:2px solid var(--ink);border-radius:8px;background:var(--yellow);cursor:pointer}
.menu-toggle span{display:block;width:17px;height:2px;background:var(--ink)}
@media(max-width:700px){
 .site-header{flex-wrap:wrap}
 .menu-toggle{display:flex;flex:0 0 38px}
 .desktop-nav{display:none;order:4;flex:0 0 100%;width:100%;padding:10px 2px 5px;justify-content:space-between;border-top:2px solid #f8f5fd}
 .desktop-nav.open{display:flex}
 .desktop-nav a{font-size:11px}
 .availability{margin-left:auto}
}
.discord-music-track img{object-fit:cover}
.discord-music-track img[style*="visibility: hidden"]{display:none}

/* Visual refresh: enforce the intended pastel portfolio palette and improve mobile rhythm */
:root{
  --bg:#c1afe5;
  --ink:#291c3a;
  --muted:#4a3467;
  --yellow:#f8f5fd;
  --pink:#e6ddf5;
  --blue:#e6ddf5;
  --green:#f8f5fd;
  --orange:#e6ddf5;
}
html,body{background:var(--bg);color:var(--ink)}
body{font-size:15px}
.noise{opacity:.025;background-size:18px 18px}
.site-header{background:#ffffff;border-radius:13px;box-shadow:5px 5px 0 var(--ink)}
.hero{padding-top:clamp(48px,8vw,92px);padding-bottom:54px}
.hero h1{font-size:clamp(54px,12vw,110px);line-height:.98;letter-spacing:-.09em}
.hero-copy{margin-top:clamp(26px,5vw,42px)}
.hero-description{max-width:520px}
.hero-actions{grid-template-columns:repeat(2,minmax(0,1fr));max-width:540px}
.hero-actions a{min-height:58px;font-size:clamp(13px,1.8vw,17px);padding:13px 12px}
.intro-section,.skills-section,.work,.live-presence{padding-top:clamp(42px,7vw,70px);padding-bottom:clamp(44px,7vw,72px)}
.section-title{margin-bottom:28px}
.section-title h2,.section-heading h2,.contact h2{line-height:1.02}
.about-card,.project,.presence-card,.skill-panel{box-shadow:6px 6px 0 var(--ink)}
.about-card{background:#ffffff}
.skill-panel{border-radius:18px}
.skill-chips{gap:9px}
.skill-chips span{border-width:2px;box-shadow:2px 2px 0 var(--ink);border-radius:7px}
.project{border-radius:18px}
.project-featured{background:var(--yellow)}
.project-list>.project:nth-child(2){background:var(--pink)}
.project-list>.project:nth-child(3){background:var(--blue)}
.project-list>.project:nth-child(4){background:var(--orange)}
.presence-card{background:#ffffff;border-radius:18px}
.discord-music-card{background:#291c3a!important;color:#ffffff!important;border-radius:18px!important}
.discord-music-heading,.discord-music-copy h4,.discord-music-copy p{font-family:Arial,Helvetica,sans-serif}
.contact{padding-top:clamp(52px,8vw,90px);padding-bottom:60px}
.contact-button{box-shadow:4px 4px 0 var(--ink)}
.site-footer{border-top:2px solid rgba(41, 28, 58,.24)}
@media(max-width:700px){
  .section-wrap{width:calc(100% - 32px)}
  .site-header{width:calc(100% - 20px);top:6px;margin-top:6px;padding:8px 11px;min-height:54px;gap:8px;border-width:2px;box-shadow:3px 3px 0 var(--ink)}
  .wordmark{font-size:19px}
  .availability{font-size:8px;padding:6px 7px;gap:5px}
  .hero{padding-top:42px;padding-bottom:34px;text-align:left}
  .eyebrow{font-size:8px;gap:8px}
  .eyebrow span:last-child{text-align:right}
  .hero-copy{margin-top:35px}
  .hero .kicker{font-size:9px}
  .hero h1{font-size:clamp(54px,16vw,76px);line-height:.99}
  .hero-description{font-size:15px;line-height:1.65}
  .hero-bottom{justify-content:flex-start;margin-top:17px}
  .hero-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:25px}
  .hero-actions a{font-size:12px;padding:12px 8px;gap:7px;border-width:2px;border-radius:8px;box-shadow:3px 3px 0 var(--ink)}
  .hero-index{margin-top:32px;font-size:7px;gap:8px}
  .section-title{text-align:left;margin-bottom:24px}
  .section-title h2,.section-heading h2,.contact h2{font-size:clamp(34px,10vw,46px)}
  .section-title>p:last-child{font-size:14px;line-height:1.65;margin-top:11px}
  .about-card{padding:18px;gap:13px;border-width:2px;border-radius:15px;box-shadow:4px 4px 0 var(--ink)}
  .pixel-icon{flex-basis:42px;width:42px;height:42px;font-size:23px;border-width:2px;box-shadow:2px 2px 0 var(--ink)}
  .about-card h3{font-size:22px}
  .about-card p:last-child{font-size:13px;line-height:1.7}
  .skill-panels{gap:14px}
  .skill-panel{padding:18px;border-width:2px;border-radius:15px;box-shadow:4px 4px 0 var(--ink)}
  .skill-panel h3{font-size:21px;margin-bottom:13px}
  .skill-chips{gap:8px}
  .skill-chips span{font-size:12px;padding:7px 9px}
  .section-heading{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:23px}
  .section-note{font-size:13px;max-width:100%}
  .project-list{grid-template-columns:1fr;gap:18px}
  .project-featured{grid-column:auto}
  .project{padding:16px;border-width:2px;border-radius:15px;box-shadow:4px 4px 0 var(--ink)}
  .project-topline{font-size:8px;align-items:flex-start}
  .project-main,.project:not(.project-featured) .project-main{grid-template-columns:1fr;gap:18px;margin-top:19px}
  .project h3{font-size:36px}
  .project-copy>p:not(.project-index){font-size:13px}
  .visual{height:205px;border-width:2px;border-radius:12px;box-shadow:3px 3px 0 var(--ink)}
  .presence-grid{grid-template-columns:1fr;gap:18px}
  .presence-card{padding:16px;border-width:2px;border-radius:15px;box-shadow:4px 4px 0 var(--ink)}
  .presence-card-top{gap:8px;font-size:8px}
  .discord-profile{gap:12px}
  .discord-avatar-wrap img{width:52px;height:52px}
  .discord-profile-copy h3{font-size:18px}
  .discord-profile-copy p{font-size:12px}
  .discord-user-id{font-size:8px}
  .discord-activity-box{padding:12px}
  .discord-music-card{padding:14px!important}
  .discord-music-track img{width:76px;height:76px;flex-basis:76px}
  .discord-music-copy h4{font-size:18px}
  .discord-music-copy p{font-size:14px}
  .discord-music-copy span{font-size:11px}
  .contact-bottom{gap:18px}
  .contact-bottom p{font-size:14px}
  .contact-button{padding:13px 16px}
  .site-footer{gap:10px;padding-top:18px;padding-bottom:18px}
  .site-footer>span{font-size:8px}
  .site-footer small{font-size:7px}
}
@media(max-width:390px){
  .eyebrow span:last-child{display:none}
  .hero h1{font-size:55px}
  .hero-actions a{font-size:11px}
  .project-topline{flex-direction:column}
  .presence-card-top{flex-wrap:wrap}
}


/* Track artwork fallback and playback metadata */
.music-art-fallback{
  display:grid;place-items:center;flex:0 0 112px;width:112px;height:112px;
  overflow:hidden;border:0;border-radius:9px;
  background:linear-gradient(135deg,var(--cover-a,#604187),var(--cover-b,#c1afe5));
  color:#ffffff;font-family:Arial,Helvetica,sans-serif;font-size:clamp(30px,4vw,46px);
  font-weight:800;letter-spacing:-.06em;text-shadow:0 2px 18px rgba(41, 28, 58,.2);
}
.music-art-fallback[hidden]{display:none!important}
#discord-music-art[hidden]{display:none!important}
.music-timing-note{margin:7px 0 0;color:#c1afe5;font-family:Arial,Helvetica,sans-serif;font-size:11px;line-height:1.5;opacity:.9}
.music-timing-note[hidden]{display:none!important}

/* Consistent scroll reveal, with safe reduced-motion and failure behavior */
[data-reveal]{scroll-margin-top:100px}
html.reveal-ready [data-reveal]{
  opacity:1;transform:translate3d(0,0,0);
  transition:opacity .68s cubic-bezier(.2,.7,.2,1),transform .68s cubic-bezier(.2,.7,.2,1);
  transition-delay:var(--reveal-delay,0ms);will-change:opacity,transform;
}
html.reveal-ready [data-reveal]:not(.is-revealed){
  opacity:0;transform:translate3d(0,24px,0);
}
[data-reveal].is-revealed{opacity:1;transform:translate3d(0,0,0)}
@media(max-width:700px){
  .music-art-fallback{flex-basis:76px;width:76px;height:76px;font-size:32px}
  .music-timing-note{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  html.reveal-ready [data-reveal],[data-reveal]{opacity:1!important;transform:none!important;transition:none!important;will-change:auto!important}
}

/* PAUZE ARCADE — pixel runner */
.arcade-section{padding-top:clamp(48px,7vw,82px);padding-bottom:clamp(48px,7vw,82px)}
.arcade-heading{align-items:flex-end}
.arcade-heading h2{font-size:clamp(34px,6vw,66px);line-height:1;letter-spacing:-.07em}
.arcade-spark{color:#604187;font-size:.6em;vertical-align:top}
.arcade-shell{overflow:hidden;border:3px solid var(--ink);border-radius:18px;background:#ffffff;box-shadow:7px 7px 0 var(--ink)}
.arcade-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 19px;border-bottom:2px solid #e6ddf5;font:700 11px/1.4 var(--mono);letter-spacing:.06em}
.arcade-led{display:inline-block;width:9px;height:9px;margin-right:8px;border:2px solid var(--ink);border-radius:50%;background:#e6ddf5}
#dino-state{color:#4a3467}
.arcade-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:15px 19px 12px}
.arcade-stats>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.arcade-stat-label{font:700 9px/1.4 var(--mono);color:#604187;letter-spacing:.08em}
.arcade-stats strong{font:700 clamp(18px,3vw,26px)/1.1 var(--mono);font-variant-numeric:tabular-nums}
.dino-stage{position:relative;overflow:hidden;min-height:160px;outline:none;background:#f8f5fd;touch-action:pan-y}
.dino-stage:focus-visible{box-shadow:inset 0 0 0 4px #604187}
#dino-canvas{display:block;width:100%;height:auto;aspect-ratio:900/260;image-rendering:pixelated}
.dino-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px;text-align:center;background:rgba(248, 245, 253,.84);backdrop-filter:blur(2px)}
.dino-overlay[hidden]{display:none!important}
.dino-overlay-label{font:700 9px/1.5 var(--mono);letter-spacing:.14em;color:#604187}
.dino-overlay h3{margin:7px 0 5px;font:700 clamp(26px,5vw,43px)/1 var(--mono);letter-spacing:-.07em}
.dino-overlay p{margin:0 0 17px;color:#4a3467;font-size:13px;line-height:1.5}
.dino-start,.arcade-touch-controls button{border:2px solid var(--ink);border-radius:8px;background:#f8f5fd;color:var(--ink);font:700 11px/1.2 var(--mono);padding:12px 16px;box-shadow:3px 3px 0 var(--ink);cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}
.dino-start span{margin-left:16px}
.dino-start:hover,.arcade-touch-controls button:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--ink)}
.arcade-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 19px;border-top:2px solid #e6ddf5}
.arcade-controls p{margin:0;font:700 9px/2 var(--mono);color:#4a3467}
.arcade-controls kbd{padding:3px 5px;border:1px solid #9a7cc8;border-radius:4px;background:#f8f5fd;color:var(--ink);font:700 9px var(--mono)}
.control-dot{padding:0 5px;color:#7957ad}
.arcade-reset{border:0;background:transparent;color:var(--ink);font:700 10px var(--mono);cursor:pointer;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.arcade-touch-controls{display:none;gap:8px}
.arcade-touch-controls button{padding:10px 12px}
.arcade-footnote{margin:0;padding:0 19px 16px;color:#604187;font:10px/1.6 var(--mono)}
@media(max-width:700px){
 .arcade-heading{align-items:flex-start}
 .arcade-shell{border-width:2px;border-radius:14px;box-shadow:4px 4px 0 var(--ink)}
 .arcade-topbar{padding:12px;font-size:9px}
 .arcade-stats{padding:13px 12px 10px;gap:7px}
 .arcade-stat-label{font-size:8px}
 .arcade-stats strong{font-size:clamp(15px,4.5vw,22px)}
 .arcade-controls{padding:12px;flex-wrap:wrap}
 .arcade-controls p{flex:1 0 100%;font-size:8px}
 .arcade-touch-controls{display:flex;flex:1}
 .arcade-touch-controls button{flex:1}
 .arcade-reset{margin-left:auto}
 .arcade-footnote{padding:0 12px 13px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){.dino-start,.arcade-touch-controls button{transition:none}}

/* PAUZE ARCADE — selector and touch controls */
.arcade-game-picker{display:flex;gap:8px;overflow-x:auto;padding:13px 19px;border-bottom:2px solid #e6ddf5;background:#f8f5fd;scrollbar-width:thin;scrollbar-color:#9a7cc8 transparent}
.arcade-game-option{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:10px 12px;border:2px solid #c1afe5;border-radius:7px;background:#ffffff;color:var(--ink);font:700 9px/1.2 var(--mono);letter-spacing:.02em;cursor:pointer;transition:background .12s ease,transform .12s ease,border-color .12s ease}
.arcade-game-option span{color:#7957ad;font-size:8px}
.arcade-game-option:hover{border-color:var(--ink);transform:translateY(-1px)}
.arcade-game-option.is-active{border-color:var(--ink);background:var(--yellow);box-shadow:3px 3px 0 var(--ink)}
.arcade-game-option.is-active span{color:var(--ink)}
.arcade-game-option:focus-visible,.arcade-touch-controls button:focus-visible,.arcade-reset:focus-visible{outline:3px solid #604187;outline-offset:3px}
.arcade-touch-controls{display:none;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}
.arcade-touch-controls button{min-width:54px;touch-action:none;user-select:none;-webkit-user-select:none}
.arcade-touch-controls button:active{transform:translate(1px,1px);box-shadow:1px 1px 0 var(--ink)}
@media(max-width:700px){
 .arcade-game-picker{padding:11px 12px;gap:7px}
 .arcade-game-option{font-size:9px;padding:10px}
 .arcade-touch-controls{display:flex;flex:1 0 100%;order:2;justify-content:flex-start}
 .arcade-touch-controls button{flex:1 1 22%;padding:10px 7px;font-size:9px}
 .arcade-reset{order:3}
}
@media(prefers-reduced-motion:reduce){.arcade-game-option{transition:none}}


/* BEHIND THE BUILD */
.build-log{padding-top:clamp(48px,7vw,82px);padding-bottom:clamp(48px,7vw,82px)}
.build-log-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 22px;padding:15px 0;border-top:2px solid #7957ad;border-bottom:2px solid #7957ad}
.build-log-intro>span{font-size:9px;font-weight:700;letter-spacing:.08em;color:#4a3467}
.build-log-intro p{margin:0;color:#4a3467;font-size:12px}
.build-log-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.build-note{display:flex;flex-direction:column;min-width:0;padding:20px;border:3px solid var(--ink);border-radius:18px;background:#ffffff;box-shadow:6px 6px 0 var(--ink)}
.build-note-meta{display:flex;justify-content:space-between;gap:8px;padding-bottom:13px;border-bottom:2px solid #e6ddf5;color:#604187;font-size:8px;font-weight:700;letter-spacing:.04em}
.build-note h3{margin:20px 0 10px;font-size:clamp(19px,2vw,25px);line-height:1.2;letter-spacing:-.055em}
.build-note>p{margin:0 0 20px;color:#4a3467;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.75}
.build-note details{margin-top:auto;border-top:2px solid #e6ddf5}
.build-note summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:14px;cursor:pointer;list-style:none;font-size:9px;font-weight:700;letter-spacing:.03em}
.build-note summary::-webkit-details-marker{display:none}
.build-note summary span{font-size:15px}
.build-note details[open] summary span{transform:rotate(45deg)}
.build-note pre{max-width:100%;overflow:auto;margin:14px 0 0;padding:13px;border:2px solid var(--ink);border-radius:8px;background:#f8f5fd;color:#291c3a;font:10px/1.7 var(--mono);tab-size:2}
.build-note code{font-family:var(--mono)}
.build-log-footnote{margin:20px 0 0;color:#604187;font-size:9px;letter-spacing:.04em}
.build-note summary:focus-visible{outline:3px solid #604187;outline-offset:4px}
@media(max-width:800px){
 .build-log-grid{grid-template-columns:1fr;gap:16px}
 .build-note{padding:17px;border-width:2px;border-radius:14px;box-shadow:4px 4px 0 var(--ink)}
 .build-note h3{font-size:24px}
}
@media(max-width:520px){
 .build-log-intro{align-items:flex-start;flex-direction:column;gap:5px}
 .build-log-intro p{font-size:12px}
 .build-note pre{font-size:9px;padding:10px}
}

.build-code-note{margin:12px 0 0!important;color:#4a3467;font-family:Arial,Helvetica,sans-serif;font-size:11px;line-height:1.65}
.build-log-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;padding-top:16px;border-top:2px solid #7957ad}
.build-log-bottom>p{margin:0;color:#604187;font-size:9px;font-weight:700;letter-spacing:.05em;line-height:1.7}
@media(max-width:520px){.build-log-bottom{align-items:flex-start;flex-direction:column;gap:10px}}


/* PAUZE intro splash — short black graffiti ident */
html.pauze-splash-active,html.pauze-splash-active body{overflow:hidden!important}
.pauze-intro-splash{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;overflow:hidden;background:#291c3a;color:#ffffff;opacity:1;visibility:visible}
.pauze-splash-grain{position:absolute;inset:-50%;pointer-events:none;opacity:.13;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");animation:pauze-grain-drift .22s steps(2) infinite}
.pauze-splash-art{position:relative;display:grid;justify-items:center;padding:24px;transform:rotate(-5deg);animation:pauze-graffiti-in .72s cubic-bezier(.16,1.2,.3,1) both}
.pauze-splash-word{position:relative;z-index:1;font-family:Impact,'Arial Black',system-ui,sans-serif;font-size:clamp(76px,19vw,190px);font-weight:1000;line-height:.86;letter-spacing:-.095em;font-style:italic;color:#f8f5fd;-webkit-text-stroke:2px #291c3a;text-shadow:5px 5px 0 #604187,10px 10px 0 #7957ad,14px 14px 0 #ffffff;filter:drop-shadow(0 0 24px rgba(96, 65, 135,.4));white-space:nowrap}
.pauze-splash-word:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(168deg,transparent 0 12px,rgba(41, 28, 58,.75) 13px 15px,transparent 16px 28px);mix-blend-mode:screen;opacity:.25;pointer-events:none}
.pauze-splash-tag{margin-top:30px;padding:5px 12px;border:1px solid rgba(255, 255, 255,.65);font:700 10px/1.4 'Space Mono',monospace;letter-spacing:.42em;color:#ffffff;transform:rotate(2deg);animation:pauze-tag-in .5s .28s both}
.pauze-splash-spray{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 22% 35%,rgba(121, 87, 173,.6) 0 1px,transparent 2px),radial-gradient(ellipse at 76% 30%,rgba(96, 65, 135,.8) 0 2px,transparent 3px),radial-gradient(ellipse at 18% 68%,rgba(255, 255, 255,.8) 0 1px,transparent 2px),radial-gradient(ellipse at 84% 70%,rgba(121, 87, 173,.7) 0 2px,transparent 3px);background-size:100% 100%;filter:drop-shadow(0 0 12px rgba(96, 65, 135,.5));animation:pauze-spray-flicker .18s steps(2) infinite}
.pauze-intro-splash.is-leaving{opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s}
.pauze-intro-splash.is-leaving .pauze-splash-art{transform:scale(1.12) rotate(-8deg);filter:blur(8px);transition:transform .65s ease,filter .65s ease}
@keyframes pauze-graffiti-in{from{opacity:0;transform:translateY(22px) scale(.55) rotate(-12deg);filter:blur(12px)}to{opacity:1;transform:translateY(0) scale(1) rotate(-5deg);filter:blur(0)}}
@keyframes pauze-tag-in{from{opacity:0;transform:translateY(8px) rotate(2deg)}to{opacity:1;transform:translateY(0) rotate(2deg)}}
@keyframes pauze-spray-flicker{0%,100%{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.025)}}
@keyframes pauze-grain-drift{0%{transform:translate(0,0)}100%{transform:translate(2%,-2%)}}
@media(max-width:480px){.pauze-splash-word{font-size:clamp(68px,21vw,110px);text-shadow:3px 3px 0 #604187,6px 6px 0 #7957ad,9px 9px 0 #ffffff;-webkit-text-stroke:1px #291c3a}.pauze-splash-tag{font-size:8px;letter-spacing:.3em;margin-top:23px}}
@media(prefers-reduced-motion:reduce){.pauze-splash-grain,.pauze-splash-spray{animation:none}.pauze-splash-art,.pauze-splash-tag{animation:none}}


/* Refined, lower-saturation portfolio theme — preserve layout and character, reduce large color blocks. */
:root{
  --bg:#f8f5fd;
  --ink:#291c3a;
  --muted:#604187;
  --yellow:#e6ddf5;
  --pink:#f8f5fd;
  --blue:#f8f5fd;
  --green:#f8f5fd;
  --orange:#f8f5fd;
}
html,body{background:var(--bg);color:var(--ink)}
body{background-image:radial-gradient(ellipse at 50% -18%,rgba(121, 87, 173,.09),transparent 52%)}
::selection{background:#c1afe5;color:#291c3a}
.site-header{background:rgba(255, 255, 255,.96);border-color:#291c3a;box-shadow:4px 4px 0 #291c3a;backdrop-filter:blur(12px)}
.wordmark{letter-spacing:-.08em}
.availability{background:#f8f5fd}
.status-dot,.presence-dot{background:#7957ad}
.hero .kicker,.section-title .kicker,.section-heading .kicker,.build-note-meta,.build-log-intro>span{color:#604187}
.hero .outline{-webkit-text-stroke-color:#291c3a}
.hero-description,.section-title>p:last-child,.section-note{color:#4a3467}
.hero-primary{background:#e6ddf5}
.hero-secondary{background:#ffffff}
.hero-actions a{border-color:#291c3a;box-shadow:4px 4px 0 #291c3a}
.hero-primary:hover,.hero-secondary:hover{filter:brightness(.985)}
.hero-index{border-top-color:#e6ddf5;color:#604187}
.intro-section,.skills-section,.work,.live-presence{position:relative}
.about-card,.project,.presence-card,.skill-panel,.build-note{border-color:#291c3a;box-shadow:5px 5px 0 rgba(41, 28, 58,.92)}
.about-card,.presence-card,.build-note{background:#ffffff}
.pixel-icon{background:#f8f5fd;box-shadow:3px 3px 0 #291c3a}
.about-card .kicker{color:#604187}
.skill-panel{background:#ffffff!important}
.skill-panel:nth-child(1){border-top:4px solid #9a7cc8}
.skill-panel:nth-child(2){border-top:4px solid #9a7cc8}
.skill-panel:nth-child(3){border-top:4px solid #c1afe5}
.skill-chips span{background:#ffffff;border-color:#e6ddf5;box-shadow:2px 2px 0 rgba(41, 28, 58,.7)}
.skill-chips span:hover{background:#f8f5fd;box-shadow:1px 1px 0 rgba(41, 28, 58,.7)}
.project-featured,.project-list>.project:nth-child(2),.project-list>.project:nth-child(3),.project-list>.project:nth-child(4){background:#ffffff}
.project-featured{background:#ffffff!important}
.project-topline{border-bottom-color:#e6ddf5}
.project-index{color:#604187}
.project-copy>p:not(.project-index){color:#4a3467}
.tags span{background:#f8f5fd;border-color:#e6ddf5}
.text-link{border-color:#291c3a;background:#ffffff;box-shadow:3px 3px 0 #291c3a}
.text-link:hover{background:#f8f5fd}
.visual{box-shadow:4px 4px 0 #291c3a}
.control-visual{background:#f8f5fd}
.radar-label,.radar-coords{color:#e6ddf5}
.presence-card-top{border-bottom-color:#e6ddf5}
.presence-card-top>a,.activity-foot a,#github-event-list li a{color:#604187}
#github-event-list li{border-color:#e6ddf5;background:#ffffff}
.discord-music-card{background:#291c3a!important;border-color:#291c3a!important}
.contact-button{box-shadow:3px 3px 0 #291c3a}
.site-footer{border-top-color:#e6ddf5}
.arcade-shell{background:#ffffff;border-color:#291c3a;box-shadow:5px 5px 0 #291c3a}
.arcade-game-picker{background:#ffffff;border-bottom-color:#e6ddf5}
.arcade-game-option{border-color:#e6ddf5;background:#ffffff}
.arcade-game-option:hover{border-color:#604187}
.arcade-game-option.is-active{border-color:#291c3a;background:#e6ddf5;box-shadow:2px 2px 0 #291c3a}
.arcade-stats{background:#ffffff}
.dino-stage{background:#f8f5fd}
.dino-overlay{background:rgba(248, 245, 253,.9)}
.dino-overlay-label{color:#604187}
.dino-start,.arcade-touch-controls button{background:#e6ddf5;border-color:#291c3a;box-shadow:2px 2px 0 #291c3a}
.arcade-controls,.arcade-topbar{border-color:#e6ddf5}
.arcade-led{background:#c1afe5}
#dino-state{color:#604187}
.build-log-intro,.build-log-bottom{border-color:#e6ddf5}
.build-note summary{color:#4a3467}
.build-note pre{background:#f8f5fd;border-color:#e6ddf5}
.build-code-note{color:#4a3467}
.text-link:focus-visible,.hero-actions a:focus-visible,.availability:focus-visible{outline:3px solid #7957ad;outline-offset:3px}
@media(max-width:700px){
  .site-header{box-shadow:3px 3px 0 #291c3a}
  .hero-actions a{box-shadow:2px 2px 0 #291c3a}
  .about-card,.project,.presence-card,.skill-panel,.build-note{box-shadow:3px 3px 0 rgba(41, 28, 58,.92)}
}
@media(prefers-reduced-motion:reduce){
  .site-header,.project,.skill-chips span,.text-link,.hero-actions a{transition:none}
}


/* PAUZEPULSE BUILD LOG — isolated additions; existing site styles remain unchanged */
.pulse-build-block{margin-top:38px;padding-top:30px;border-top:2px dashed #7957ad}
.pulse-build-heading{max-width:720px;margin:0 0 22px}
.pulse-build-heading .kicker{color:#4a3467}
.pulse-build-heading h3{margin:0;font-size:clamp(27px,4vw,40px);line-height:1.16;letter-spacing:-.065em}
.pulse-build-heading>p:last-child{max-width:660px;margin:14px 0 0;color:#4a3467;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.85}
.pulse-build-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.pulse-build-grid .build-note:nth-child(1){border-top:5px solid #9a7cc8}
.pulse-build-grid .build-note:nth-child(2){border-top:5px solid #9a7cc8}
.pulse-build-grid .build-note:nth-child(3){border-top:5px solid #c1afe5}
.pulse-build-grid .build-note pre{white-space:pre-wrap;overflow-wrap:anywhere}
.pulse-build-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;padding-top:16px;border-top:2px solid #7957ad}
.pulse-build-bottom>p{margin:0;color:#604187;font-size:9px;font-weight:700;letter-spacing:.05em;line-height:1.8}
@media(max-width:800px){.pulse-build-grid{grid-template-columns:1fr}}
@media(max-width:520px){.pulse-build-bottom{align-items:flex-start;flex-direction:column}}


/* PAUZEPULSE PROJECT CARD — scoped to the new project preview */
.pulse-visual{display:flex;flex-direction:column;gap:9px;padding:12px;background:linear-gradient(145deg,#291c3a,#291c3a 72%);color:#ffffff}
.pulse-visual-topline{display:flex;justify-content:space-between;gap:10px;padding-bottom:7px;border-bottom:1px solid rgba(255, 255, 255,.23);font-size:8px;font-weight:700;letter-spacing:.05em;color:#e6ddf5}
.pulse-screen{display:flex;flex:1;flex-direction:column;gap:7px;min-height:0}
.pulse-brand{font-size:clamp(19px,2.3vw,27px);font-weight:700;letter-spacing:-.09em;line-height:1.05}
.pulse-brand span{margin-left:6px;color:#f8f5fd}
.pulse-screen-label{margin:0;color:#c1afe5;font-size:7px;font-weight:700;letter-spacing:.1em}
.pulse-player-count{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.pulse-player-count b{padding:5px 6px;border:1px solid rgba(255, 255, 255,.43);border-radius:5px;background:rgba(255, 255, 255,.06);font-size:7px;letter-spacing:.02em}
.pulse-player-count b:nth-child(2){background:#f8f5fd;color:#291c3a;border-color:#f8f5fd}
.pulse-game-preview{position:relative;display:flex;flex:1;min-height:90px;align-items:center;justify-content:space-around;overflow:hidden;border:1px solid rgba(248, 245, 253,.55);border-radius:8px;background:linear-gradient(180deg,rgba(96, 65, 135,.25),rgba(41, 28, 58,.65)),repeating-linear-gradient(0deg,transparent 0 18px,rgba(255, 255, 255,.05) 19px 20px)}
.pulse-game-preview:before{position:absolute;inset:0;content:"";background:radial-gradient(ellipse at 50% 100%,rgba(248, 245, 253,.13),transparent 55%)}
.pulse-game-target{position:absolute;top:19%;left:50%;width:42px;height:42px;border:2px solid #f8f5fd;border-radius:50%;transform:translateX(-50%);box-shadow:0 0 17px rgba(248, 245, 253,.34);animation:pulse-target-bob 2.4s ease-in-out infinite}
.pulse-game-target:after{position:absolute;inset:10px;content:"";border:2px solid #f8f5fd;border-radius:50%}
.pulse-game-player{position:absolute;bottom:14px;left:29%;width:19px;height:28px;border:2px solid #291c3a;border-radius:9px 9px 5px 5px;background:#9a7cc8;box-shadow:0 0 0 3px rgba(154, 124, 200,.15)}
.pulse-game-player:before{position:absolute;top:-12px;left:2px;width:11px;height:11px;content:"";border:2px solid #291c3a;border-radius:50%;background:#e6ddf5}
.pulse-game-player-two{left:auto;right:29%;background:#e6ddf5}
.pulse-game-player-two:before{background:#f8f5fd}
.pulse-game-caption{position:absolute;right:8px;bottom:6px;color:#f8f5fd;font-size:6px;font-weight:700;letter-spacing:.08em}
@keyframes pulse-target-bob{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-5px)}}
@media(max-width:800px){.pulse-visual{min-height:235px}}
@media(prefers-reduced-motion:reduce){.pulse-game-target{animation:none}}


/* PAUZE UI REFRESH — white surfaces, purple accents, lighter depth */
:root{
  --bg:#faf8ff;
  --ink:#291c3a;
  --muted:#6f5b89;
  --line:#e5dcf3;
  --yellow:#eee6fa;
  --pink:#f4effb;
  --blue:#f0e9fa;
  --green:#e9e0f7;
  --orange:#f1ebfa;
  --mono:'Space Mono','DM Mono',monospace;
  --sans:'Manrope',ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
html{scroll-behavior:smooth;scroll-padding-top:112px}
body{
  background:#faf8ff;
  background-image:radial-gradient(ellipse at 50% -18%,rgba(121,87,173,.08),transparent 54%);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.7;
}
::selection{background:#e2d5f5;color:#291c3a}
.noise{opacity:.018;background-image:radial-gradient(#9a7cc8 .75px,transparent .85px);background-size:23px 23px}
.section-wrap{width:min(calc(100% - 40px),1040px);margin-inline:auto}
.site-header{
  position:sticky;top:10px;z-index:100;
  width:min(calc(100% - 28px),1040px);min-height:66px;
  margin:10px auto 0;padding:11px 18px;
  border:1px solid #e6def4;border-radius:18px;
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 28px rgba(74,52,103,.10);
  backdrop-filter:blur(16px);
}
.wordmark{font-family:var(--sans);font-size:21px;font-weight:800;letter-spacing:-.075em;color:#291c3a}
.wordmark span{font-family:var(--mono);font-size:9px}
.desktop-nav{gap:clamp(12px,1.8vw,24px)}
.desktop-nav a{font-family:var(--sans);font-size:12px;font-weight:700;color:#655078;transition:color .15s ease,background .15s ease}
.desktop-nav a:hover{color:#7650c7;transform:none}
.availability{
  padding:9px 12px;border:1px solid #e0d5f0;border-radius:999px;
  background:#f7f3fd;color:#634887;font:700 10px/1.3 var(--mono);
}
.status-dot,.presence-dot,.project-state i,.arcade-led{border-color:#8c72b8;background:#8c72b8}
.hero{padding-top:clamp(58px,8vw,104px);padding-bottom:clamp(48px,6vw,72px)}
.eyebrow{color:#7b6894;font:700 10px/1.5 var(--mono);letter-spacing:.035em}
.hero-copy{max-width:820px;margin:clamp(30px,5vw,48px) auto 0}
.kicker{font:700 11px/1.5 var(--mono);letter-spacing:.075em}
.hero .kicker,.section-title .kicker,.section-heading .kicker,.contact .kicker{color:#7657a6}
.hero h1{font-family:var(--sans);font-size:clamp(62px,10vw,112px);font-weight:800;letter-spacing:-.085em;line-height:.98}
.hero h1 .outline,.contact h2 .outline{-webkit-text-stroke:1.8px #7857ad;color:transparent}
.hero-description{max-width:650px;color:#59486f;font-size:clamp(16px,2vw,19px);line-height:1.8}
.hero-actions{gap:12px;max-width:560px;margin-top:32px}
.hero-actions a{
  min-height:58px;padding:14px 18px;border:1px solid #ded2f0;border-radius:14px;
  box-shadow:0 5px 15px rgba(74,52,103,.08);
  font:700 14px/1.4 var(--sans);transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.hero-actions a:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(74,52,103,.13)}
.hero-primary{background:#7650c7;color:#fff}
.hero-secondary{background:#fff;color:#684b9d}
.hero-primary:hover{background:#6643ad}
.hero-secondary:hover{background:#f4effb}
.hero-index{margin-top:46px;padding-top:15px;border-top:1px solid #e5dcf3;color:#8976a4;font:700 9px/1.6 var(--mono)}
.intro-section,.skills-section,.work,.live-presence{padding-top:clamp(34px,5.5vw,62px);padding-bottom:clamp(36px,5.8vw,64px)}
.section-title{text-align:left;max-width:760px;margin:0 0 30px}
.section-title .kicker,.section-heading .kicker{margin-bottom:12px}
.section-title h2,.section-heading h2,.contact h2{
  color:#291c3a;font-family:var(--sans);font-size:clamp(37px,5.5vw,62px);
  font-weight:800;letter-spacing:-.065em;line-height:1.05;
}
.section-title>p:last-child{max-width:660px;margin:14px 0 0;color:#665577;font-size:clamp(15px,1.8vw,18px);line-height:1.75}
.about-card,.project,.presence-card,.skill-panel,.build-note,.arcade-shell{
  border:1px solid #e4daf2;border-radius:22px;
  box-shadow:0 12px 32px rgba(74,52,103,.075);
}
.about-card{gap:20px;padding:clamp(20px,3vw,30px);background:#fff}
.pixel-icon{border:1px solid #d9caf0;border-radius:15px;background:#f1eafb;color:#7650c7;box-shadow:none}
.about-card .kicker{color:#7657a6}
.about-card h3{font-family:var(--sans);font-weight:800;letter-spacing:-.045em}
.about-card p:last-child{color:#655475;font-size:15px;line-height:1.8}
.skill-panels{gap:18px}
.skill-panel{padding:clamp(20px,3vw,29px);border-radius:20px;background:#fff!important}
.skill-panel:nth-child(1){border-top:4px solid #8f70c6}
.skill-panel:nth-child(2){border-top:4px solid #b49cde}
.skill-panel:nth-child(3){border-top:4px solid #d0c0ed}
.skill-panel h3{margin-bottom:16px;font-family:var(--sans);font-size:clamp(21px,2.8vw,28px);font-weight:750;letter-spacing:-.045em}
.skill-chips{gap:9px}
.skill-chips span{
  padding:9px 13px;border:1px solid #e0d6ef;border-radius:10px;
  background:#fbf9ff;box-shadow:0 2px 0 #e8e0f4;
  color:#4e3a69;font:600 clamp(12px,1.6vw,15px)/1.35 var(--mono);
}
.skill-chips span:hover{transform:translateY(-1px);background:#f1eafb;box-shadow:0 3px 0 #d8c8f0}
.section-heading{align-items:flex-end;gap:24px;margin-bottom:28px}
.section-note{color:#6c5a80;font-family:var(--sans);font-size:14px;line-height:1.75}
.project-list{gap:20px}
.project{
  padding:clamp(18px,2.4vw,25px);background:#fff;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.project:hover{transform:translateY(-3px);box-shadow:0 17px 35px rgba(74,52,103,.12);border-color:#cbb9e9}
.project-featured,.project-list>.project:nth-child(2),.project-list>.project:nth-child(3),.project-list>.project:nth-child(4){background:#fff!important}
.project-list>.project.project-featured{border-top:4px solid #7650c7}
.project-list>.project:nth-child(2){border-top:4px solid #9a7cc8}
.project-list>.project:nth-child(3){border-top:4px solid #bba6e4}
.project-list>.project:nth-child(4){border-top:4px solid #d2c2ed}
.project-topline{align-items:flex-start;border-bottom:1px solid #eee7f7;color:#765f91;font:700 9px/1.5 var(--mono)}
.project-state{color:#765f91}
.project-state i{width:7px;height:7px;flex:0 0 7px;border:0}
.project-index{color:#8468ae;font:700 10px/1.4 var(--mono)}
.project h3{font-family:var(--sans);font-weight:800;font-size:clamp(29px,3.6vw,42px);letter-spacing:-.07em}
.project-copy>p:not(.project-index){color:#665577;font-family:var(--sans);font-size:14px;line-height:1.8}
.tags{gap:7px}
.tags span{padding:5px 8px;border:1px solid #e0d6ef;border-radius:6px;background:#f6f1fc;color:#6f5594;font:700 8px/1.4 var(--mono)}
.text-link{
  padding:10px 12px;border:1px solid #d8c9ed;border-radius:10px;
  background:#f5f0fc;box-shadow:none;color:#67449d;
  font:700 9px/1.4 var(--mono);transition:transform .16s ease,background .16s ease,border-color .16s ease;
}
.text-link:hover{transform:translateY(-1px);background:#ece3fa;box-shadow:none}
.visual{height:260px;border:1px solid #d9c9ef;border-radius:16px;box-shadow:none}
.weather-visual{
  background-color:#f6f1fd;
  background-image:linear-gradient(rgba(121,87,173,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(121,87,173,.13) 1px,transparent 1px);
}
.radar-grid{background:radial-gradient(circle at 50% 50%,rgba(121,87,173,.18),transparent 60%)}
.radar-ring{border-color:rgba(121,87,173,.35)}
.radar-sweep{background:conic-gradient(from 0deg,transparent 0 75%,rgba(121,87,173,.35))}
.radar-label,.radar-coords{color:#5a427a}
.control-visual{background:#f0e9fa}
.control-window{border:1px solid #d8c9ed;border-radius:12px;box-shadow:0 8px 20px rgba(74,52,103,.1)}
.window-bar{border-bottom:1px solid #e6ddf5}
.window-bar b{border:0;background:#9a7cc8}
.window-side{border-right:1px solid #e6ddf5}
.window-content strong{color:#4a3467}
.fake-line{background:#dfd3f2}
.fake-stats b{color:#7957ad}
.project-last .project-copy>p:not(.project-index){max-width:560px}
.presence-grid{gap:20px}
.presence-card{padding:clamp(18px,2.5vw,24px);background:#fff}
.presence-card-top{border-bottom:1px solid #e8e0f4}
.presence-eyebrow,.presence-card-top>a,.discord-status-label{font:700 9px/1.5 var(--mono)}
.presence-card-top>a,.activity-foot a,#github-event-list li a{color:#7650c7}
.presence-card h3{font-family:var(--sans);font-weight:800}
.presence-card>p,.discord-profile-copy p{color:#665577;font-family:var(--sans);font-size:13px;line-height:1.75}
#github-feed-state{color:#7650c7}
#github-event-list li{border:1px solid #e6ddf5;border-radius:10px;background:#fbf9ff;color:#5e4b74}
.discord-avatar-wrap img{border:1px solid #e0d6ef;border-radius:14px}
.avatar-status-indicator{border-color:#fff;background:#9a7cc8}
.discord-activity-box{border:1px solid #e4daf2;border-radius:12px;background:#f8f5fd}
.discord-music-card{border:1px solid #e4daf2!important;border-radius:18px;background:#f4effb!important;color:#291c3a!important;box-shadow:none}
.discord-music-heading,.discord-music-copy,.discord-music-copy h4,.discord-music-copy p,.discord-music-copy span{color:#4a3467!important}
.discord-music-heading .music-badge{background:#e3d7f5;color:#7650c7;border:1px solid #d4c3ee}
.discord-music-track img{border:1px solid #e0d6ef;border-radius:10px}
.discord-music-progress{border:0;border-radius:999px;background:#e4daf3}
#discord-music-progress{border-radius:999px;background:#8f70c6}
.discord-music-times{color:#78648f}
.discord-cta{border:1px solid #ded2f0;border-radius:10px;background:#eee6fa;box-shadow:none;color:#67449d}
.discord-footnote{color:#78648f!important}
.arcade-section{padding-top:clamp(42px,6vw,72px);padding-bottom:clamp(42px,6vw,72px)}
.arcade-heading h2{font-size:clamp(34px,5.5vw,62px)}
.arcade-spark{color:#7650c7}
.arcade-shell{background:#fff;overflow:hidden}
.arcade-topbar,.arcade-controls{border-color:#e7def4;color:#6d5888}
.arcade-led{margin-right:8px}
#dino-state{color:#7650c7}
.arcade-stat-label{color:#79668f}
.dino-stage{background:#f6f1fd}
.dino-stage:focus-visible{box-shadow:inset 0 0 0 3px #9a7cc8}
.dino-overlay{background:rgba(248,245,253,.9);backdrop-filter:blur(4px)}
.dino-overlay-label{color:#7650c7}
.dino-start,.arcade-touch-controls button,.arcade-reset{
  border:1px solid #d7c7ef;border-radius:10px;background:#eee6fa;
  color:#604187;box-shadow:none;font:700 10px/1.4 var(--mono);
}
.dino-start:hover,.arcade-touch-controls button:hover,.arcade-reset:hover{background:#e4d8f7}
.arcade-game-picker{background:#faf8ff;border-bottom-color:#e7def4}
.arcade-game-option{border-color:#e0d6ef;border-radius:10px;background:#fff;color:#604b7e}
.arcade-game-option:hover{border-color:#bfa9e6}
.arcade-game-option.is-active{border-color:#9a7cc8;background:#eee6fa;box-shadow:0 2px 0 #d5c4ee}
.arcade-footnote{color:#806c98}
.build-log{padding-top:clamp(42px,6vw,72px);padding-bottom:clamp(42px,6vw,72px)}
.build-log-intro{border-top:1px solid #e0d5ef;border-bottom:1px solid #e0d5ef}
.build-log-intro>span{color:#7657a6;font:700 9px/1.5 var(--mono)}
.build-log-intro p{color:#665577;font-family:var(--sans);font-size:13px;line-height:1.6}
.build-log-grid{gap:16px}
.build-note{padding:clamp(17px,2.2vw,22px);background:#fff;box-shadow:0 10px 28px rgba(74,52,103,.07)}
.build-note-meta{border-bottom:1px solid #e8e0f4;color:#7b6595}
.build-note h3{font-family:var(--sans);font-weight:800;letter-spacing:-.045em}
.build-note>p,.build-code-note{color:#665577;font-family:var(--sans);font-size:13px;line-height:1.75}
.build-note details{border-top:1px solid #e8e0f4}
.build-note summary{color:#5b427e;font:700 9px/1.5 var(--mono)}
.build-note pre{border:1px solid #e6ddf5;border-radius:10px;background:#f7f3fd;color:#493260}
.build-log-bottom,.pulse-build-bottom,.contact-bottom{border-top-color:#e0d5ef}
.pulse-build-block{border-top:1px solid #d9c9ef}
.pulse-build-heading .kicker{color:#7657a6}
.pulse-build-heading h3{font-family:var(--sans);font-weight:800}
.pulse-build-heading>p:last-child{color:#665577;font-family:var(--sans);font-size:14px;line-height:1.8}
.pulse-build-grid .build-note:nth-child(1),.pulse-build-grid .build-note:nth-child(2),.pulse-build-grid .build-note:nth-child(3){border-top:4px solid #c1afe5}
.pulse-build-bottom>p{color:#806c98;font:700 9px/1.7 var(--mono)}
.pulse-visual{background:linear-gradient(145deg,#302044,#4a3467 75%);color:#fff}
.pulse-visual-topline{color:#e6ddf5}
.pulse-brand span{color:#c1afe5}
.pulse-screen-label{color:#ded2f3}
.pulse-player-count b{border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.06);color:#fff}
.pulse-player-count b:nth-child(2){background:#7650c7;color:#fff;border-color:#bca6e4}
.pulse-game-preview{border-color:#bda6e6;background:linear-gradient(180deg,rgba(121,87,173,.25),rgba(74,52,103,.45)),repeating-linear-gradient(0deg,transparent 0 18px,rgba(255,255,255,.06) 19px 20px)}
.pulse-game-preview:before{background:radial-gradient(ellipse at 50% 100%,rgba(193,175,229,.12),transparent 55%)}
.pulse-game-target{border-color:#c1afe5;box-shadow:0 0 17px rgba(193,175,229,.28)}
.pulse-game-target:after{border-color:#c1afe5}
.pulse-game-player{background:#c1afe5;border-color:#291c3a;box-shadow:0 0 0 3px rgba(193,175,229,.15)}
.pulse-game-player:before{background:#ffffff;border-color:#291c3a}
.pulse-game-player-two{background:#7957ad}
.pulse-game-player-two:before{background:#e6ddf5}
.pulse-game-caption{color:#d9c9f0}
.contact{padding-top:clamp(48px,6vw,80px);padding-bottom:clamp(54px,7vw,90px)}
.contact h2{font-family:var(--sans);font-size:clamp(48px,8vw,88px);font-weight:800;letter-spacing:-.08em}
.contact-bottom{padding-top:22px;border-top:1px solid #e0d5ef}
.contact-bottom>p{color:#665577;font-family:var(--sans);font-size:15px;line-height:1.75}
.contact-button{padding:13px 17px;border:1px solid #7650c7;border-radius:12px;background:#7650c7;box-shadow:0 6px 18px rgba(74,52,103,.16);color:#fff;font:700 10px/1.4 var(--mono)}
.contact-button:hover{background:#6643ad}
.site-footer{border-top:1px solid #e0d5ef;color:#79648f}
.site-footer>span,.site-footer small,.site-footer>div{font:700 9px/1.6 var(--mono)}
.site-footer>div a:hover{color:#7650c7}
[data-reveal]{scroll-margin-top:120px}
button,a,summary{ -webkit-tap-highlight-color:transparent }
:focus-visible{outline:3px solid #b49cde;outline-offset:3px}
@media(max-width:760px){
  .section-wrap{width:calc(100% - 34px)}
  .section-heading{align-items:flex-start;flex-direction:column;gap:10px}
  .section-note{max-width:580px}
  .project-list{grid-template-columns:1fr}
  .project-featured{grid-column:auto}
  .project-main,.project:not(.project-featured) .project-main{grid-template-columns:minmax(0,1fr);gap:18px}
  .project-main{margin-top:20px}
  .project-main .visual{height:220px}
  .presence-grid{grid-template-columns:1fr;gap:16px}
  .build-log-grid{grid-template-columns:1fr;gap:14px}
  .pulse-build-grid{grid-template-columns:1fr}
  .hero-index{gap:8px;font-size:8px}
}
@media(max-width:700px){
  .site-header{
    width:calc(100% - 22px);min-height:58px;padding:9px 12px;top:7px;margin-top:7px;gap:9px;
    border-radius:15px;box-shadow:0 8px 24px rgba(74,52,103,.12);
  }
  .wordmark{font-size:18px}
  .menu-toggle{
    display:flex;align-items:center;justify-content:center;gap:4px;flex-direction:column;
    flex:0 0 40px;width:40px;height:40px;margin-left:2px;padding:0;
    border:1px solid #ddd0ef;border-radius:12px;background:#f0e9fa;box-shadow:none;
  }
  .menu-toggle span{width:17px;height:2px;background:#604187}
  .availability{margin-left:auto;font-size:9px;padding:8px 9px}
  .desktop-nav{
    position:absolute;top:calc(100% + 9px);left:0;right:0;z-index:5;
    display:none;flex-direction:column;align-items:stretch;gap:3px;width:100%;
    margin:0;padding:9px;border:1px solid #e2d7f2;border-radius:15px;
    background:#fff;box-shadow:0 15px 32px rgba(74,52,103,.15);
  }
  .desktop-nav.open{display:flex}
  .desktop-nav a{display:block;padding:11px 12px;border-radius:9px;font:700 13px/1.4 var(--sans)}
  .desktop-nav a:hover{background:#f3edfb}
  .hero{padding-top:60px;padding-bottom:40px}
  .eyebrow{font-size:7px;gap:8px}
  .hero-copy{margin-top:30px}
  .hero h1{font-size:clamp(54px,13vw,82px)}
  .hero-description{font-size:15px}
  .hero-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:25px}
  .hero-actions a{min-height:52px;padding:12px 9px;font-size:12px}
  .hero-index{margin-top:36px;font-size:7px}
  .intro-section,.skills-section,.work,.live-presence{padding-top:32px;padding-bottom:34px}
  .section-title{margin-bottom:24px}
  .section-title h2,.section-heading h2{font-size:clamp(35px,9vw,49px)}
  .section-title>p:last-child{font-size:14px}
  .about-card{gap:14px;padding:18px;border-radius:18px}
  .pixel-icon{flex-basis:42px;width:42px;height:42px;font-size:21px}
  .about-card h3{font-size:22px}
  .about-card p:last-child{font-size:13px}
  .skill-panels{gap:14px}
  .skill-panel{padding:19px;border-radius:17px}
  .skill-panel h3{font-size:21px}
  .skill-chips{gap:8px}
  .skill-chips span{padding:8px 10px;font-size:11px;border-radius:9px}
  .project{padding:17px;border-radius:18px}
  .project-topline{gap:8px;font-size:8px}
  .project h3{font-size:34px}
  .project-copy>p:not(.project-index){font-size:13px}
  .visual{height:210px}
  .arcade-shell{border-radius:17px}
  .arcade-topbar{padding:12px;font-size:9px}
  .arcade-stats{padding:12px;gap:8px}
  .arcade-stat-label{font-size:8px}
  .build-note{padding:17px;border-radius:17px}
  .build-note h3{font-size:23px}
  .pulse-build-block{margin-top:31px;padding-top:26px}
  .pulse-build-heading h3{font-size:28px}
  .contact-bottom{align-items:flex-start;flex-direction:column;gap:17px}
  .site-footer{grid-template-columns:1fr 1fr;gap:14px}
  .site-footer>span{display:none}
  .site-footer>div{justify-content:flex-end;flex-wrap:wrap}
  .site-footer small{grid-column:1/-1}
}
@media(max-width:390px){
  .section-wrap{width:calc(100% - 28px)}
  .site-header{width:calc(100% - 18px);padding:8px 10px}
  .availability{font-size:8px;letter-spacing:-.02em}
  .hero-index span:nth-child(2){display:none}
  .hero-index{justify-content:space-between}
  .hero-actions a{font-size:11px}
  .project-topline{align-items:flex-start;flex-direction:column}
  .pulse-visual{min-height:220px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .site-header,.project,.skill-chips span,.text-link,.hero-actions a,.pulse-game-target{transition:none;animation:none}
}


/* PAUZE SPLASH COLOR DETAIL — retain contrast inside the illustrated intro */
#pauze-intro-splash:before{
  background:linear-gradient(125deg,transparent 0 38%,rgba(121,87,173,.08) 38.2% 38.8%,transparent 39%),repeating-linear-gradient(0deg,rgba(121,87,173,.045) 0 1px,transparent 1px 5px),#f8f5fd;
}
#pauze-intro-splash .pauze-splash-grain{
  opacity:.04;background-image:radial-gradient(#7957ad .7px,transparent .9px);
}
#pauze-intro-splash .pauze-wall{fill:#eee6fa;stroke:#4a3467}
#pauze-intro-splash .pauze-wall-line{stroke:#d8c9ef}
#pauze-intro-splash .pauze-wildstyle{fill:#7957ad;stroke:#291c3a;filter:drop-shadow(8px 8px 0 #c1afe5)}
#pauze-intro-splash .pauze-wildstyle-highlight{stroke:#ffffff}
#pauze-intro-splash .pauze-character-outline{fill:#4a3467;stroke:#4a3467}
#pauze-intro-splash .pauze-character-color{fill:#c1afe5;stroke:#291c3a}
#pauze-intro-splash .pauze-spray-can{fill:#7957ad;stroke:#291c3a}
#pauze-intro-splash .pauze-spray-arm path:first-child{stroke:#ffffff}
#pauze-intro-splash .pauze-spray-arm path:nth-child(2){stroke:#4a3467}
#pauze-intro-splash .pauze-spray{stroke:#7957ad}
#pauze-intro-splash .pauze-drip{stroke:#7957ad}
#pauze-intro-splash .pauze-splash-tag{background:#7957ad;color:#ffffff;border-color:#291c3a;box-shadow:4px 4px 0 #c1afe5}
