*{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-alt:#f7f7f7;
  --text:#111111;
  --muted:#888888;
  --border:#eeeeee;
  --blue:#2563eb;
  --blue-light:#dbeafe;
  --on-blue:#ffffff;
  --button-bg:#111111;
  --button-text:#ffffff;
  --button-hover:#333333;
  --nav-bg:rgba(255,255,255,0.95);
  --shadow:rgba(0,0,0,0.12);
  --blue-shadow:rgba(37,99,235,0.1);
  --blue-radial:rgba(37,99,235,0.06);
  --white:var(--surface);
  --offwhite:var(--surface-alt);
  --black:var(--text);
  --gray:var(--muted);
  --light:var(--border);
  --font:'Inter',sans-serif;
  --mono:'DM Mono',monospace;
}

:root[data-theme="dark"]{
  --bg:#0f1218;
  --surface:#151a22;
  --surface-alt:#1d2430;
  --text:#f4f7fb;
  --muted:#a4adba;
  --border:#2b3442;
  --blue-light:rgba(37,99,235,0.18);
  --button-bg:#f4f7fb;
  --button-text:#0f1218;
  --button-hover:#dbeafe;
  --nav-bg:rgba(15,18,24,0.92);
  --shadow:rgba(0,0,0,0.32);
  --blue-shadow:rgba(37,99,235,0.22);
  --blue-radial:rgba(37,99,235,0.14);
}

html{background:var(--bg);scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:var(--font);overflow-x:hidden;transition:background 0.2s,color 0.2s}

/* NAV */
nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:1.5rem 5rem;
  border-bottom:1px solid var(--light);
  position:sticky;top:0;z-index:100;
  background:var(--nav-bg);
  backdrop-filter:blur(10px);
}
.nav-logo{
  font-size:1rem;font-weight:700;
  color:var(--black);letter-spacing:-0.01em;
}
.nav-logo span{color:var(--blue)}
.nav-links{display:flex;gap:2.5rem;list-style:none}
.nav-links a{
  font-size:0.9rem;font-weight:500;color:var(--black);
  text-decoration:none;transition:color 0.2s;
}
.nav-links a.active{color:var(--blue);font-weight:600}
.nav-links a:hover{color:var(--blue)}
.nav-actions{display:flex;align-items:center;gap:0.75rem}
.theme-toggle{
  width:42px;height:42px;border-radius:50%;
  border:1.5px solid var(--light);
  background:var(--offwhite);color:var(--black);
  display:inline-flex;align-items:center;justify-content:center;
  font-size:1rem;line-height:1;cursor:pointer;
  transition:background 0.2s,border-color 0.2s,color 0.2s,transform 0.2s,opacity 0.2s;
}
.theme-toggle:hover{border-color:var(--blue);color:var(--blue);transform:translateY(-1px)}
.theme-toggle:focus-visible{outline:3px solid var(--blue-light);outline-offset:3px}
.nav-cta{
  display:flex;align-items:center;gap:0.5rem;
  font-size:0.82rem;font-weight:600;
  color:var(--on-blue);background:var(--blue);
  padding:0.6rem 1.4rem;border-radius:100px;
  text-decoration:none;transition:opacity 0.2s;
}
.nav-cta:hover{opacity:0.85}

/* HERO */
.hero{
  background:var(--bg);
  display:grid;grid-template-columns:1fr 420px;
  align-items:center;gap:3rem;
  padding:5rem 5rem 4rem;
  min-height:calc(100vh - 73px);
  max-width:1400px;margin:0 auto;
}
.hero-left{}
.hero-greeting{
  font-size:1rem;font-weight:400;color:var(--gray);
  margin-bottom:1rem;display:flex;align-items:center;gap:0.5rem;
}
.hero-heading{
  font-size:clamp(3rem,6vw,5.5rem);
  line-height:1.05;letter-spacing:-0.03em;
  margin-bottom:1.5rem;font-weight:900;
}
.hero-heading .light{font-weight:300;color:var(--black)}
.hero-heading .bold{font-weight:900;color:var(--blue)}
.hero-desc{
  font-size:1rem;font-weight:400;color:var(--gray);
  line-height:1.7;max-width:420px;margin-bottom:2.5rem;
}
.hero-actions{display:flex;gap:0.75rem;flex-wrap:wrap;margin-bottom:3rem}
.btn-dark{
  display:inline-flex;align-items:center;gap:0.5rem;
  padding:0.85rem 2rem;border-radius:100px;
  background:var(--button-bg);color:var(--button-text);
  font-size:0.85rem;font-weight:600;text-decoration:none;
  transition:background 0.2s;
}
.btn-dark:hover{background:var(--button-hover)}
.btn-ghost{
  display:inline-flex;align-items:center;gap:0.5rem;
  padding:0.85rem 2rem;border-radius:100px;
  background:transparent;color:var(--black);
  font-size:0.85rem;font-weight:600;text-decoration:none;
  border:1.5px solid var(--light);transition:border-color 0.2s;
}
.btn-ghost:hover{border-color:var(--muted)}
.hero-tags{display:flex;gap:0.5rem;flex-wrap:wrap}
.hero-tag{
  font-size:0.75rem;font-weight:500;color:var(--gray);
  padding:0.3rem 0.9rem;border-radius:100px;
  border:1px solid var(--light);background:var(--offwhite);
}
.pwa-badges{display:flex;gap:0.5rem;flex-wrap:wrap;margin-top:1rem}
.pwa-badge{
  font-size:0.72rem;font-weight:700;color:var(--blue);
  padding:0.38rem 0.85rem;border-radius:100px;
  border:1px solid var(--light);background:var(--blue-light);
}

/* PHOTO */
.hero-right{
  display:flex;align-items:center;justify-content:center;
  position:relative;
}
.photo-bg{
  width:380px;height:380px;border-radius:50%;
  background:linear-gradient(135deg,#dbeafe 0%,#bfdbfe 50%,#93c5fd 100%);
  display:flex;align-items:flex-end;justify-content:center;
  overflow:hidden;position:relative;
}
.photo-bg img{
  width:100%;height:100%;object-fit:cover;object-position:center top;
  border-radius:50%;
}
.photo-badge{
  position:absolute;bottom:1.5rem;right:-1rem;
  background:var(--white);border-radius:16px;
  padding:0.75rem 1.25rem;
  box-shadow:0 8px 30px var(--shadow);
  display:flex;align-items:center;gap:0.6rem;
  font-size:0.78rem;font-weight:600;color:var(--black);
  white-space:nowrap;
}
.badge-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;flex-shrink:0}
.photo-badge2{
  position:absolute;top:2rem;left:-1.5rem;
  background:var(--white);border-radius:16px;
  padding:0.75rem 1.25rem;
  box-shadow:0 8px 30px var(--shadow);
  font-size:0.78rem;font-weight:600;color:var(--black);
  white-space:nowrap;
}

/* STATS STRIP */
.stats-strip{
  border-top:1px solid var(--light);border-bottom:1px solid var(--light);
  display:grid;grid-template-columns:repeat(4,1fr);
  background:var(--white);
}
.stat-item{
  padding:2rem;text-align:center;
  border-right:1px solid var(--light);
  transition:background 0.2s;
}
.stat-item:last-child{border-right:none}
.stat-item:hover{background:var(--offwhite)}
.stat-num{
  font-size:2.5rem;font-weight:800;color:var(--black);
  letter-spacing:-0.03em;display:block;line-height:1;margin-bottom:0.4rem;
}
.stat-label{font-size:0.75rem;font-weight:500;color:var(--gray);display:block;line-height:1.35}

/* MAIN */
main{max-width:1400px;margin:0 auto;padding:0 5rem}
section{padding:5rem 0;border-bottom:1px solid var(--light)}
section:last-child{border-bottom:none}

.section-eyebrow{
  font-size:0.72rem;font-weight:600;letter-spacing:0.12em;
  text-transform:uppercase;color:var(--blue);
  margin-bottom:0.75rem;
}
.section-title{
  font-size:clamp(2rem,4vw,3rem);font-weight:800;
  letter-spacing:-0.03em;color:var(--black);
  margin-bottom:0.75rem;line-height:1.1;
}
.section-sub{
  font-size:0.95rem;color:var(--gray);font-weight:400;
  line-height:1.7;max-width:480px;margin-bottom:3rem;
}

/* FILTER */
.filter-bar{display:flex;gap:0.5rem;flex-wrap:wrap;margin-bottom:2.5rem}
.filter-btn{
  font-size:0.78rem;font-weight:600;
  padding:0.5rem 1.2rem;border-radius:100px;
  background:var(--offwhite);border:1.5px solid var(--light);
  color:var(--gray);cursor:pointer;transition:all 0.2s;
}
.filter-btn:hover,.filter-btn.active{
  background:var(--blue);border-color:var(--blue);color:var(--on-blue);
}

/* FEATURED PROJECTS */
.featured-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.5rem;
}
.featured-card{
  --accent:var(--blue);
  --accent-soft:var(--blue-light);
  background:var(--white);border:1.5px solid var(--light);
  border-radius:20px;overflow:hidden;
  display:flex;flex-direction:column;min-height:100%;
  animation:fadeUp 0.5s ease both;
  transition:transform 0.25s,border-color 0.25s,box-shadow 0.25s,background 0.25s;
}
.featured-card:nth-child(2){animation-delay:0.04s}
.featured-card:nth-child(3){animation-delay:0.08s}
.featured-card:nth-child(4){animation-delay:0.12s}
.featured-card:hover{
  border-color:var(--accent);
  box-shadow:0 16px 44px var(--blue-shadow);
  transform:translateY(-5px);
}
.featured-card:hover .shot-window{transform:translateY(-3px)}
.featured-memory{--accent:#2563eb;--accent-soft:rgba(37,99,235,0.14)}
.featured-package{--accent:#16a34a;--accent-soft:rgba(22,163,74,0.14)}
.featured-flow{--accent:#7c3aed;--accent-soft:rgba(124,58,237,0.14)}
.featured-analyzer{--accent:#f59e0b;--accent-soft:rgba(245,158,11,0.16)}
.featured-shot{
  min-height:220px;aspect-ratio:16/10;padding:1rem;
  background:
    linear-gradient(135deg,var(--accent-soft),transparent 62%),
    var(--offwhite);
  border-bottom:1px solid var(--light);
  position:relative;overflow:hidden;
}
.shot-window{
  height:100%;border:1px solid var(--light);border-radius:16px;
  background:rgba(255,255,255,0.82);
  box-shadow:0 18px 42px rgba(0,0,0,0.08);
  overflow:hidden;display:flex;flex-direction:column;
  transition:transform 0.25s;
  backdrop-filter:blur(10px);
}
:root[data-theme="dark"] .shot-window{
  background:rgba(15,18,24,0.78);
  box-shadow:0 18px 42px rgba(0,0,0,0.28);
}
.shot-topbar{
  height:34px;border-bottom:1px solid var(--light);
  display:flex;align-items:center;gap:0.35rem;padding:0 0.8rem;
}
.shot-topbar span{width:7px;height:7px;border-radius:50%;background:var(--light)}
.shot-topbar span:first-child{background:#ef4444}
.shot-topbar span:nth-child(2){background:#f59e0b}
.shot-topbar span:nth-child(3){background:#22c55e}
.shot-content,.shot-terminal,.shot-dashboard,.shot-analysis{
  flex:1;padding:1rem;
}
.shot-content{
  display:grid;grid-template-columns:1.1fr 0.9fr;grid-template-rows:auto 1fr 1fr;
  gap:0.75rem;
}
.shot-search,.shot-panel,.shot-stack,.shot-sidebar,.shot-metric,.shot-card-row,.shot-score,.shot-report{
  border:1px solid var(--light);background:var(--white);border-radius:12px;
}
.shot-search{grid-column:1/-1;height:34px}
.shot-panel{min-height:44px}
.shot-panel.wide{grid-row:2/4}
.shot-panel.accent,.shot-metric.accent{background:var(--accent-soft);border-color:var(--accent)}
.shot-stack{display:flex;flex-direction:column;gap:0.4rem;padding:0.7rem}
.shot-stack span,.shot-report span,.terminal-line,.terminal-grid span,.shot-card-row{
  display:block;border-radius:100px;background:var(--light);
}
.shot-stack span{height:8px}
.shot-stack span:nth-child(2){width:76%}
.shot-stack span:nth-child(3){width:58%}
.shot-terminal{
  display:flex;flex-direction:column;gap:0.65rem;
  background:#0f172a;color:#dbeafe;
}
.terminal-line{height:9px;width:90%;background:rgba(219,234,254,0.42)}
.terminal-line.short{width:54%}
.terminal-line.good{width:78%;background:rgba(34,197,94,0.64)}
.terminal-line.warn{width:68%;background:rgba(245,158,11,0.68)}
.terminal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0.5rem;margin-top:auto}
.terminal-grid span{height:42px;background:rgba(219,234,254,0.12);border:1px solid rgba(219,234,254,0.16)}
.shot-dashboard{display:grid;grid-template-columns:74px 1fr;gap:0.85rem}
.shot-sidebar{height:100%;background:var(--accent-soft)}
.shot-workspace{display:grid;grid-template-columns:repeat(2,1fr);gap:0.65rem;align-content:start}
.shot-metric{height:52px}
.shot-card-row{grid-column:1/-1;height:36px;border-radius:12px}
.shot-card-row.short{width:70%}
.shot-analysis{display:grid;grid-template-columns:0.85fr 1.15fr;align-items:center;gap:1rem}
.shot-score{
  aspect-ratio:1;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:var(--accent);font-size:2.2rem;font-weight:900;
  background:var(--accent-soft);border-color:var(--accent);
}
.shot-report{padding:1rem;display:flex;flex-direction:column;gap:0.55rem}
.shot-report span{height:9px}
.shot-report span:nth-child(2){width:84%}
.shot-report span:nth-child(3){width:68%}
.shot-report span:nth-child(4){width:48%;background:var(--accent-soft)}
.featured-card-body{
  padding:1.75rem;display:flex;flex-direction:column;flex:1;
}
.featured-kicker{
  font-size:0.68rem;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;
  color:var(--accent);margin-bottom:0.65rem;
}
.featured-title{
  font-size:1.12rem;font-weight:800;color:var(--black);
  letter-spacing:-0.02em;line-height:1.25;margin-bottom:0.75rem;
}
.featured-desc{
  font-size:0.85rem;color:var(--gray);line-height:1.75;margin-bottom:1.25rem;
}
.featured-tech{display:flex;gap:0.45rem;flex-wrap:wrap;margin-bottom:1.35rem}
.tech-badge{
  font-size:0.68rem;font-weight:600;padding:0.28rem 0.68rem;border-radius:100px;
  background:var(--offwhite);border:1px solid var(--light);color:var(--gray);
}
.featured-actions{
  display:flex;align-items:center;gap:0.5rem;flex-wrap:wrap;margin-top:auto;
}

/* MOMENTUM */
.momentum-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.momentum-card{
  background:var(--white);border:1.5px solid var(--light);
  border-radius:20px;padding:1.35rem;
  display:flex;gap:1rem;align-items:flex-start;min-height:100%;
  animation:fadeUp 0.5s ease both;
  transition:transform 0.25s,border-color 0.25s,box-shadow 0.25s,background 0.25s;
}
.momentum-card:nth-child(2){animation-delay:0.04s}
.momentum-card:nth-child(3){animation-delay:0.08s}
.momentum-card:hover{
  border-color:var(--blue);
  box-shadow:0 16px 44px var(--blue-shadow);
  transform:translateY(-4px);
}
.momentum-icon{
  width:42px;height:42px;border-radius:14px;flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;
  background:var(--blue-light);border:1px solid var(--light);
  font-size:1.05rem;
}
.momentum-win .momentum-icon{background:var(--offwhite)}
.momentum-content h3{
  font-size:0.98rem;font-weight:800;color:var(--black);
  letter-spacing:-0.01em;line-height:1.35;margin-bottom:0.55rem;
}
.momentum-content p{
  font-size:0.82rem;color:var(--gray);line-height:1.75;
}

/* PROJECTS */
.projects-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:1.5rem;
}
.project-card{
  background:var(--white);border:1.5px solid var(--light);
  border-radius:20px;padding:1.75rem;
  cursor:pointer;transition:transform 0.25s,border-color 0.25s,box-shadow 0.25s,background 0.25s;
  animation:fadeUp 0.5s ease both;
  position:relative;overflow:hidden;
  display:flex;flex-direction:column;min-height:100%;
}
.project-card:hover{
  border-color:var(--blue);
  box-shadow:0 16px 44px var(--blue-shadow);
  transform:translateY(-5px);
}
.project-card:hover .project-icon{transform:translateY(-1px);background:var(--blue);color:var(--on-blue)}
.project-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1.25rem}
.project-icon{
  width:44px;height:44px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:0.65rem;font-weight:500;
  color:var(--blue);background:var(--blue-light);
  letter-spacing:0.05em;
  transition:background 0.25s,color 0.25s,transform 0.25s;
}
.project-meta{display:flex;flex-direction:column;align-items:flex-end;gap:0.3rem}
.star-count{font-size:0.72rem;font-weight:500;color:var(--gray);display:flex;align-items:center;gap:0.3rem}
.star-count::before{content:"\2605";color:#f59e0b}
.fork-count{font-size:0.68rem;color:var(--gray)}
.fork-count::before{content:"\2442 "}
.project-name{font-size:1rem;font-weight:700;color:var(--black);margin-bottom:0.5rem;letter-spacing:-0.01em}
.project-desc{font-size:0.83rem;color:var(--gray);line-height:1.75;margin-bottom:1.25rem;min-height:3.5rem}
.project-footer{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-top:auto}
.project-info{display:flex;flex-direction:column;gap:0.4rem;min-width:0}
.lang-badge{display:flex;align-items:center;gap:0.4rem;font-size:0.72rem;font-weight:500;color:var(--gray)}
.lang-dot{width:8px;height:8px;border-radius:50%;background:var(--blue)}
.project-topics{display:flex;gap:0.35rem;flex-wrap:wrap}
.topic-tag{font-size:0.65rem;font-weight:500;padding:0.2rem 0.6rem;border-radius:100px;background:var(--offwhite);border:1px solid var(--light);color:var(--gray)}
.project-actions{display:flex;align-items:center;justify-content:flex-end;gap:0.5rem;flex-wrap:wrap;margin-left:auto}
.project-action{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:34px;padding:0.45rem 0.8rem;border-radius:100px;
  border:1.5px solid var(--light);background:var(--offwhite);
  color:var(--blue);font-size:0.72rem;font-weight:700;text-decoration:none;
  transition:background 0.2s,border-color 0.2s,color 0.2s,transform 0.2s;
}
.project-action:hover{background:var(--blue);border-color:var(--blue);color:var(--on-blue);transform:translateY(-1px)}
.project-action-live{background:var(--blue);border-color:var(--blue);color:var(--on-blue)}
.project-action-live:hover{opacity:0.88}
.view-link{font-size:0.75rem;font-weight:600;color:var(--blue);text-decoration:none;display:flex;align-items:center;gap:0.3rem;transition:gap 0.2s}
.view-link:hover{gap:0.5rem}
.view-link::after{content:"\2197"}

/* LOADING/EMPTY */
.loading-state{grid-column:1/-1;padding:5rem 2rem;text-align:center;color:var(--gray)}
.loader{width:36px;height:36px;margin:0 auto 1.5rem;border:2px solid var(--light);border-top-color:var(--blue);border-radius:50%;animation:spin 0.8s linear infinite}
.loading-text{font-size:0.8rem;color:var(--gray)}
.empty-state{grid-column:1/-1;padding:5rem;text-align:center}
.empty-icon{font-size:2.5rem;opacity:0.2;margin-bottom:1rem}
.empty-text{font-size:0.8rem;color:var(--gray);line-height:2}

/* ABOUT */
.about-layout{display:grid;grid-template-columns:1fr 1.4fr;gap:5rem;align-items:start}
.about-card{
  background:var(--white);border:1.5px solid var(--light);
  border-radius:24px;padding:2.5rem;
}
.avatar-ring{
  width:80px;height:80px;border-radius:50%;
  border:2px solid var(--blue);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.5rem;
  font-size:1.8rem;font-weight:800;
  color:var(--blue);background:var(--blue-light);
  overflow:hidden;
}
.avatar-ring img{width:100%;height:100%;object-fit:cover;object-position:top}
.about-name{font-size:1.5rem;font-weight:800;letter-spacing:-0.02em;margin-bottom:0.25rem}
.about-role{font-size:0.78rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--blue);margin-bottom:1.25rem}
.about-bio{font-size:0.88rem;color:var(--gray);line-height:1.9;margin-bottom:1.5rem}
.about-links{display:flex;flex-direction:column;gap:0}
.about-link{
  font-size:0.8rem;color:var(--gray);text-decoration:none;
  display:flex;align-items:center;gap:0.5rem;
  padding:0.6rem 0;border-bottom:1px solid var(--light);
  transition:color 0.2s;
}
.about-link:last-child{border-bottom:none}
.about-link:hover{color:var(--blue)}
.about-link span{color:var(--light)}

.skills-section h3{
  font-size:0.72rem;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;
  color:var(--blue);margin-bottom:1.5rem;
  padding-bottom:0.75rem;border-bottom:1px solid var(--light);
}
.skill-group{margin-bottom:2rem}
#detected-langs-wrap{display:none}
.skill-group-label{font-size:0.72rem;font-weight:600;color:var(--gray);text-transform:uppercase;letter-spacing:0.08em;margin-bottom:0.75rem}
.skills-grid{display:flex;flex-wrap:wrap;gap:0.5rem}
.skill-chip{
  font-size:0.75rem;font-weight:500;
  padding:0.4rem 0.9rem;border-radius:100px;
  background:var(--offwhite);border:1.5px solid var(--light);
  color:var(--black);transition:all 0.2s;cursor:default;
}
.skill-chip:hover{background:var(--blue-light);border-color:var(--blue);color:var(--blue)}

/* CONTACT */
.contact-wrap{
  background:var(--white);border-radius:28px;border:1.5px solid var(--light);
  padding:5rem 3rem;text-align:center;
  position:relative;overflow:hidden;
}
.contact-wrap::before{
  content:"";position:absolute;top:-100px;left:50%;transform:translateX(-50%);
  width:500px;height:500px;border-radius:50%;
  background:radial-gradient(circle,var(--blue-radial) 0%,transparent 70%);
  pointer-events:none;
}
.contact-title{
  font-size:clamp(2.5rem,6vw,5rem);font-weight:900;
  letter-spacing:-0.03em;color:var(--black);
  margin-bottom:1rem;position:relative;z-index:1;line-height:1.05;
}
.contact-title span{color:var(--blue)}
.contact-sub{font-size:1rem;color:var(--gray);margin-bottom:2.5rem;position:relative;z-index:1;line-height:1.7}
.contact-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;position:relative;z-index:1}
.btn-white{
  display:inline-flex;align-items:center;gap:0.5rem;
  padding:0.85rem 2rem;border-radius:100px;
  background:var(--button-bg);color:var(--button-text);
  font-size:0.85rem;font-weight:700;text-decoration:none;
  transition:opacity 0.2s;
}
.btn-white:hover{opacity:0.8}
.btn-outline-white{
  display:inline-flex;align-items:center;gap:0.5rem;
  padding:0.85rem 2rem;border-radius:100px;
  background:transparent;color:var(--black);
  font-size:0.85rem;font-weight:600;text-decoration:none;
  border:1.5px solid var(--light);transition:border-color 0.2s;
}
.btn-outline-white:hover{border-color:var(--black)}
.copy-email-btn{font-family:var(--font);cursor:pointer}
.copy-email-status{
  display:inline-flex;align-items:center;justify-content:center;
  margin-top:1rem;padding:0.55rem 1rem;border-radius:100px;
  background:var(--blue-light);color:var(--blue);
  font-size:0.78rem;font-weight:700;position:relative;z-index:1;
}
.copy-email-status[hidden]{display:none}
.copy-email-status.is-error{background:var(--offwhite);color:var(--gray);border:1px solid var(--light)}

/* FOOTER */
footer{
  border-top:1px solid var(--light);
  padding:1.75rem 5rem;
  display:flex;align-items:center;justify-content:space-between;
  background:var(--white);
}
.footer-copy{font-size:0.78rem;color:var(--gray)}
.footer-copy em{color:var(--blue);font-style:normal;font-weight:600}
.footer-sync{font-size:0.72rem;color:var(--gray)}

/* LANG COLORS */
.l-js .lang-dot{background:#f7df1e}
.l-ts .lang-dot{background:#3178c6}
.l-py .lang-dot{background:#3572a5}
.l-go .lang-dot{background:#00add8}
.l-rs .lang-dot{background:#dea584}
.l-java .lang-dot{background:#b07219}
.l-php .lang-dot{background:#4f5d95}
.l-rb .lang-dot{background:#701516}
.l-html .lang-dot{background:#e34c26}
.l-css .lang-dot{background:#563d7c}
.l-sh .lang-dot{background:#89e051}
.l-c .lang-dot{background:#555}
.l-kt .lang-dot{background:#a97bff}
.l-dart .lang-dot{background:#00b4ab}
.l-vue .lang-dot{background:#41b883}
.l-svelte .lang-dot{background:#ff3e00}

@keyframes fadeUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes spin{to{transform:rotate(360deg)}}

/* TABLET */
@media(max-width:1024px){
  nav{padding:1.25rem 2rem}
  .hero{padding:4rem 2rem 3rem;gap:2rem}
  .photo-bg{width:300px;height:300px}
  main{padding:0 2rem}
  footer{padding:1.5rem 2rem}
  .contact-wrap{padding:4rem 2rem}
  .featured-shot{min-height:200px}
  .momentum-grid{grid-template-columns:1fr}
  .momentum-card{padding:1.25rem}
}

/* MOBILE */
@media(max-width:768px){
  nav{padding:1rem 1.25rem}
  .nav-links{display:none}
  .nav-actions{gap:0.5rem}
  .theme-toggle{width:38px;height:38px}
  .nav-cta{padding:0.5rem 1rem;font-size:0.78rem}

  .hero{
    grid-template-columns:1fr;
    padding:2rem 1.25rem 3rem;
    text-align:center;
    gap:1.5rem;
    min-height:auto;
  }
  .hero-right{order:-1}
  .photo-bg{width:200px;height:200px}
  .photo-badge,.photo-badge2{display:none}
  .hero-greeting{justify-content:center}
  .hero-heading{font-size:clamp(2.5rem,10vw,3.5rem)}
  .hero-desc{margin:0 auto 1.5rem;font-size:0.9rem}
  .hero-actions{justify-content:center;flex-direction:row;flex-wrap:wrap;gap:0.6rem}
  .btn-dark,.btn-ghost{width:auto;justify-content:center;padding:0.75rem 1.4rem;font-size:0.8rem}
  .hero-tags{justify-content:center}
  .pwa-badges{justify-content:center}

  .stats-strip{grid-template-columns:repeat(2,1fr)}
  .stat-item:nth-child(2){border-right:none}
  .stat-item:nth-child(3){border-right:1px solid var(--light)}
  .stat-item{padding:1.25rem 1rem}
  .stat-num{font-size:2rem}

  main{padding:0 1.25rem}
  section{padding:3rem 0}

  .section-title{font-size:clamp(1.75rem,7vw,2.5rem)}
  .filter-bar{gap:0.4rem}
  .filter-btn{font-size:0.72rem;padding:0.4rem 0.9rem}

  .featured-grid{grid-template-columns:1fr}
  .featured-shot{min-height:190px;padding:0.85rem}
  .featured-card-body{padding:1.5rem}
  .featured-actions{width:100%;justify-content:flex-start}
  .featured-actions .project-action{flex:1 1 auto}
  .momentum-grid{grid-template-columns:1fr}
  .momentum-card{gap:0.85rem}

  .projects-grid{grid-template-columns:1fr}
  .project-footer{align-items:flex-start}
  .project-actions{width:100%;justify-content:flex-start;margin-left:0}

  .about-layout{grid-template-columns:1fr;gap:2rem}
  .about-card{padding:1.75rem}

  .contact-wrap{padding:3rem 1.5rem;border-radius:20px}
  .contact-title{font-size:clamp(2rem,8vw,3rem)}
  .contact-actions{flex-direction:row;flex-wrap:wrap;justify-content:center}
  .btn-white,.btn-outline-white{width:auto;justify-content:center}

  footer{padding:1.25rem;flex-direction:column;gap:0.4rem;text-align:center}
}

/* SMALL PHONES */
@media(max-width:380px){
  .hero-heading{font-size:2.2rem}
  .photo-bg{width:160px;height:160px}
  .stat-num{font-size:1.6rem}
  .stat-label{font-size:0.65rem}
  .featured-shot{min-height:165px;padding:0.7rem}
  .featured-title{font-size:1rem}
  .featured-actions .project-action{width:100%}
  .shot-content,.shot-terminal,.shot-dashboard,.shot-analysis{padding:0.75rem}
  .shot-analysis{gap:0.7rem}
  .shot-score{font-size:1.7rem}
  .momentum-card{flex-direction:column}
  .momentum-icon{width:38px;height:38px;border-radius:12px}
}
