@font-face{
  font-family:"Dana";
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url("site-assets/fonts/dana/danawebGX.woff") format("woff-variations"),
      url("site-assets/fonts/dana/danawebGX.woff") format("woff");
}

@font-face{
  font-family:"Peyda";
  font-style:normal;
  font-weight:100 950;
  font-display:swap;
  src:url("site-assets/fonts/peyda/peydavf.woff2") format("woff2-variations");
}

:root{
  --bg:#08131b;
  --bg-soft:#0d1d28;
  --panel:#10202b;
  --surface:#132632;
  --surface-2:#172d39;
  --line:rgba(255,255,255,.08);

  --text:#ecf7fb;
  --muted:#b8ccd6;
  --title:#ffffff;

  --blue:#0f6fb8;
  --blue-2:#2f94d1;
  --green:#18d290;
  --green-2:#63eab8;

  --grad:linear-gradient(135deg,var(--blue),var(--green));
  --grad-soft:linear-gradient(135deg,rgba(15,111,184,.16),rgba(24,210,144,.16));
  --glass:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.02));

  --shadow:0 12px 28px rgba(0,0,0,.16);
  --shadow-hover:0 24px 44px rgba(5,18,28,.24);

  --radius-xl:18px;
  --radius-lg:14px;
  --radius-md:12px;
  --radius-sm:10px;

  --sidebar:294px;
  --container:min(1320px, calc(100vw - 40px));
  --section-gap:16px;

  --ease:cubic-bezier(.16,1,.3,1);
  --t-fast:.18s var(--ease);
  --t-mid:.34s var(--ease);
  --t-slow:.5s var(--ease);

}

body.light-mode{
  --bg:#f4f9fb;
  --bg-soft:#e9f3f7;
  --panel:#ffffff;
  --surface:#ffffff;
  --surface-2:#f4f9fb;
  --line:rgba(16,58,83,.12);

  --text:#143142;
  --muted:#607b88;
  --title:#092638;

  --blue:#0f638f;
  --blue-2:#1f7fb5;
  --green:#078b67;
  --green-2:#159c75;

  --grad:linear-gradient(135deg,var(--blue),var(--green));
  --grad-soft:linear-gradient(135deg,rgba(15,99,143,.14),rgba(7,139,103,.13));
  --glass:linear-gradient(135deg,rgba(15,99,143,.07),rgba(7,139,103,.05));

  --shadow:0 12px 28px rgba(16,65,91,.08);
  --shadow-hover:0 22px 38px rgba(15,99,143,.14);
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  -webkit-tap-highlight-color:transparent;
}

html{scroll-behavior:smooth}

body{
  font-family:"Peyda","Dana",Tahoma,Arial,sans-serif;
  font-weight:400;
  background:
    radial-gradient(circle at top right, rgba(24,210,144,.14), transparent 18%),
    radial-gradient(circle at top left, rgba(15,111,184,.10), transparent 14%),
    radial-gradient(circle at bottom left, rgba(24,210,144,.14), transparent 18%),
    linear-gradient(180deg,#071119 0%,#08131b 100%);
  color:var(--text);
  min-height:100vh;
  overflow-x:hidden;
  transition:background .45s var(--ease), color .35s var(--ease);
}

body.light-mode{
  background:
    radial-gradient(circle at top right, rgba(7,139,103,.13), transparent 18%),
    radial-gradient(circle at top left, rgba(15,99,143,.16), transparent 14%),
    radial-gradient(circle at bottom left, rgba(7,139,103,.10), transparent 18%),
    linear-gradient(180deg,#fbfdfe 0%,#e9f3f7 100%);
}

body.theme-animating::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:9998;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 20%, rgba(15,99,143,.07), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(7,139,103,.07), transparent 28%);
  animation:themePulse .55s ease;
}

@keyframes themePulse{
  0%{opacity:0;transform:scale(.98)}
  50%{opacity:1;transform:scale(1)}
  100%{opacity:0;transform:scale(1.02)}
}

a{text-decoration:none;color:inherit}
img{display:block;max-width:100%;pointer-events:none}
button{font:inherit}
p,.lead,.about-text,.exp-text,.project-side-note,.service-text,.process-text,.site-footer,.product-text{
  text-align:justify;
  text-justify:inter-word;
}
::selection{
  background:rgba(24,210,144,.34);
  color:var(--title);
}

.loader{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 50% 46%, rgba(24,210,144,.10), transparent 18%),
    linear-gradient(135deg, #071119 0%, #0d1b25 48%, #071119 100%);
  transition:opacity .42s var(--ease), visibility .42s var(--ease);
}

.loader::before{
  content:"";
  position:absolute;
  width:min(62vw, 520px);
  height:min(62vw, 520px);
  border:1px solid rgba(99,234,184,.12);
  border-radius:50%;
  box-shadow:0 0 0 46px rgba(47,148,209,.025), 0 0 0 92px rgba(99,234,184,.018);
  opacity:.72;
}

body.light-mode .loader{
  background:
    radial-gradient(circle at 50% 46%, rgba(7,139,103,.10), transparent 18%),
    linear-gradient(135deg,#ffffff 0%,#eaf5f8 48%,#ffffff 100%);
}

.loader.hide{
  opacity:0;
  visibility:hidden;
}

.loader-box{
  display:grid;
  gap:16px;
  justify-items:center;
  text-align:center;
  position:relative;
  z-index:1;
  animation:loaderEnter .52s var(--ease) both;
}

.loader-signal{
  width:86px;
  height:86px;
  display:grid;
  place-items:center;
  position:relative;
}

.loader-ring{
  position:absolute;
  inset:0;
  border:1px solid rgba(99,234,184,.52);
  border-radius:50%;
  animation:loaderRing 1.9s var(--ease) infinite;
}

.loader-ring-two{
  inset:12px;
  border-color:rgba(47,148,209,.54);
  animation:none;
  opacity:.48;
}

.loader-core{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  position:relative;
  z-index:1;
  border-radius:12px;
  color:#fff;
  background:var(--grad);
  box-shadow:0 12px 30px rgba(15,111,184,.30);
  font-size:.92rem;
  animation:none;
}

.loader-copy{display:grid;gap:3px}

.loader-copy strong{
  color:var(--title);
  font-size:.9rem;
  font-weight:700;
}

.loader-copy span{
  color:var(--muted);
  font-size:.73rem;
  font-weight:500;
}

.loader-copy::after{
  content:"";
  width:76px;
  height:2px;
  margin:7px auto 0;
  border-radius:99px;
  background:linear-gradient(90deg, transparent, var(--green-2), var(--blue-2), transparent);
  opacity:.82;
}

.loader-dots{
  display:flex;
  align-items:center;
  gap:6px;
}

.loader-dots span{
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--green-2);
  opacity:.72;
}

.loader-dots span:nth-child(2){opacity:.5}
.loader-dots span:nth-child(3){opacity:.3}

@keyframes loaderRing{
  0%{transform:scale(.74);opacity:0}
  42%{opacity:.82}
  100%{transform:scale(1.08);opacity:0}
}

@keyframes loaderEnter{
  from{opacity:0;transform:translateY(12px) scale(.96)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

.surface{
  position:relative;
  overflow:hidden;
  background:color-mix(in srgb, var(--panel) 97%, transparent);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:
    background .42s var(--ease),
    border-color .32s var(--ease),
    box-shadow var(--t-mid),
    transform var(--t-mid);
  will-change:auto;
}

.surface::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--glass);
  opacity:.55;
  pointer-events:none;
}

.surface::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.04),transparent 50%);
  opacity:0;
  pointer-events:none;
  transition:opacity var(--t-mid);
}

.surface:hover::after{opacity:1}

@media (hover:hover) and (pointer:fine){
  :is(
    .mobile-btn,
    .theme-switch,
    .side-link,
    .resume-link,
    .tag,
    .stat,
    .github-activity-tools > a,
    .resources-all-link,
    .virgool-post,
    .resource-card,
    .about-item,
    .exp-card,
    .process-card,
    .project-card-shell,
    .project-card,
    .product-card,
    .product-filter,
    .product-btn,
    .products-more,
    .social-link,
    .back-top,
    .blog-link
  ):hover{
    will-change:transform, box-shadow;
  }

  :is(
    .virgool-post:hover .virgool-post-media img,
    .project-card:hover .project-media img,
    .hero-cover:hover img
  ){
    will-change:transform, filter;
  }
}

.mobile-header{
  display:none;
  position:fixed;
  top:10px;
  left:16px;
  right:16px;
  z-index:140;
  height:66px;
  border-radius:12px;
  padding:0 10px;
  align-items:center;
  justify-content:space-between;
  background:
    linear-gradient(135deg, rgba(15,111,184,.22), rgba(24,210,144,.18)),
    rgba(15,31,42,.92);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 18px 30px rgba(0,0,0,.18);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  transition:background var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
}

.menu-backdrop{
  position:fixed;
  inset:0;
  z-index:90;
  background:rgba(2,11,17,.54);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity var(--t-mid), visibility var(--t-mid);
}

body.light-mode .mobile-header{
  background:
    linear-gradient(135deg, rgba(15,99,143,.13), rgba(7,139,103,.11)),
    rgba(255,255,255,.96);
  border-color:rgba(14,56,84,.10);
}

.mobile-title{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  color:var(--title);
  font-size:.9rem;
  font-weight:400;
}

.mobile-btn{
  width:40px;
  height:40px;
  border:0;
  border-radius:12px;
  background:rgba(255,255,255,.09);
  color:var(--title);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:transform var(--t-mid), box-shadow var(--t-mid), background var(--t-mid);
  position:relative;
  z-index:1;
}

body.light-mode .mobile-btn{
  background:rgba(10,80,120,.1);
}

.mobile-btn:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
  background:var(--grad-soft);
}

.app{
  width:var(--container);
  margin:28px auto 0;
  display:grid;
  grid-template-columns:var(--sidebar) minmax(0,1fr);
  gap:16px;
  min-height:calc(100vh - 56px);
}

.sidebar{
  min-width:0;
  position:sticky;
  top:28px;
  height:calc(100vh - 56px);
  border-radius:var(--radius-xl);
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow-y:clip;
}

.brand{
  padding:15px;
  border-radius:var(--radius-lg);
  display:flex;
  align-items:center;
  gap:13px;
  background:var(--grad-soft);
  border:1px solid rgba(255,255,255,.06);
  min-height:88px;
}

body.light-mode .brand{
  background:linear-gradient(135deg, rgba(15,99,143,.14), rgba(7,139,103,.12));
  border-color:rgba(14,56,84,.10);
}

.brand-badge{
  width:48px;
  height:48px;
  border-radius:14px;
  background:var(--grad);
  display:grid;
  place-items:center;
  color:#fff;
  flex:0 0 auto;
  box-shadow:0 10px 18px rgba(15,111,184,.18);
}

.brand-copy h2{
  font-size:.94rem;
  line-height:1.6;
  color:var(--title);
  margin-bottom:4px;
  font-weight:700;
}

.brand-copy h3{
  font-size:.81rem;
  line-height:1.8;
  color:var(--muted);
  font-weight:400;
}

.theme-switch{
  min-height:40px;
  border-radius:var(--radius-md);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 12px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  color:var(--title);
  cursor:pointer;
  transition:transform var(--t-mid), background var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}

body.light-mode .theme-switch{
  background:rgba(10,80,120,.06);
  border-color:rgba(14,56,84,.10);
}

.theme-switch:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
  background:var(--grad-soft);
}

.theme-switch span{
  min-width:0;
  font-size:.69rem;
  font-weight:400;
  line-height:1.55;
  text-align:right;
  transition:font-weight var(--t-mid), color var(--t-mid);
}

.theme-switch.has-theme-prompt span{font-weight:750;color:var(--title)}
.theme-switch i{font-size:14px;color:var(--blue-2)}

.side-nav{
  display:grid;
  gap:6px;
}

.side-link{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 11px;
  border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
  position:relative;
  overflow:hidden;
  transition:
    color var(--t-mid),
    border-color var(--t-mid),
    transform var(--t-mid),
    box-shadow var(--t-mid),
    background var(--t-mid);
}

.side-link::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(15,111,184,.10), rgba(24,210,144,.10));
  opacity:0;
  transition:opacity var(--t-mid);
}

.side-link > *{position:relative;z-index:1}
.side-link i{
  width:16px;
  text-align:center;
  color:var(--blue-2);
  transition:transform var(--t-mid), color var(--t-mid);
  flex:0 0 auto;
  font-size:14px;
}

.side-link span{font-size:.86rem;font-weight:500}

.side-link:hover,
.side-link.active{
  color:var(--title);
  border-color:rgba(15,111,184,.15);
  transform:translateY(-1px);
  box-shadow:var(--shadow-hover);
  background:rgba(255,255,255,.02);
}

body.light-mode .side-link:hover,
body.light-mode .side-link.active{
  background:linear-gradient(135deg, rgba(15,99,143,.12), rgba(7,139,103,.11));
  border-color:rgba(15,99,143,.12);
}

.side-link:hover::before,
.side-link.active::before{opacity:1}

.side-link:hover i,
.side-link.active i{
  color:var(--green-2);
  transform:scale(1.08);
}

.resume-link{
  margin-top:auto;
  min-height:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 12px;
  color:#fff;
  background:var(--grad);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 14px 24px rgba(15,111,184,.14);
  transition:transform var(--t-mid), box-shadow var(--t-mid), filter var(--t-mid);
  font-size:.84rem;
  font-weight:700;
}

.resume-link:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
  filter:saturate(1.05);
}

.resume-link i{font-size:14px}

.content{
  min-width:0;
  display:grid;
  gap:16px;
}

.section{
  border-radius:var(--radius-xl);
  padding:24px;
  margin-top:var(--section-gap);
}

/* Keep off-screen portfolio and content sections out of the initial render path. */
main > :is(.section:not(#home), .grid-2){
  content-visibility:auto;
  contain-intrinsic-size:1px 720px;
}

.content > main > .section:first-child{
  margin-top:0;
}

.hero{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,1fr);
  gap:20px;
  align-items:stretch;
}

.hero-copy{
  display:grid;
  gap:18px;
  align-content:start;
}

.hero-title-wrap{
  display:grid;
  grid-template-columns:110px minmax(0,1fr);
  gap:16px;
  align-items:start;
}

.hero-avatar{
  width:110px;
  height:110px;
  border-radius:14px;
  display:grid;
  place-items:center;
  overflow:hidden;
  position:relative;
  background:linear-gradient(135deg, rgba(15,111,184,.12), rgba(24,210,144,.12));
  border:0;
}

body.light-mode .hero-avatar{
  background:linear-gradient(135deg, rgba(15,99,143,.14), rgba(7,139,103,.12));
  box-shadow:0 10px 18px rgba(20,148,239,.08);
}

.hero-avatar .image-skeleton{border-radius:inherit}
.hero-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}

.hero-avatar .avatar-primary{
  transition:opacity var(--t-mid), transform var(--t-slow);
}

.hero-avatar .avatar-hover{
  position:absolute;
  inset:0;
  z-index:2;
  opacity:0;
  transform:scale(1.06);
  transition:opacity var(--t-mid), transform var(--t-slow);
}

.hero-avatar.loaded .avatar-hover{opacity:0}

@media (hover:hover) and (pointer:fine){
  .hero-avatar.loaded:hover .avatar-primary{
    opacity:0;
    transform:scale(.96);
  }

  .hero-avatar.loaded:hover .avatar-hover{
    opacity:1;
    transform:scale(1);
  }
}

.hero-title-text{min-width:0;padding-top:2px}

h1,h3{
  color:var(--title);
  line-height:1.2;
}

h1{
  font-size:clamp(.96rem, 1.34vw, 1.25rem);
  max-width:34ch;
  line-height:2;
  font-weight:500;
}

h3{
  font-size:.94rem;
  line-height:1.8;
  font-weight:700;
}

p{
  color:var(--muted);
  line-height:2;
  font-size:.92rem;
  font-weight:400;
}

.hero-meta{
  display:grid;
  gap:12px;
}

.eyebrow{
  width:max-content;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(15,111,184,.18), rgba(24,210,144,.16));
  border:1px solid rgba(255,255,255,.09);
  color:#fff;
  font-size:.81rem;
  font-weight:700;
  box-shadow:0 0 0 1px rgba(255,255,255,.03) inset;
  transition:background var(--t-mid), border-color var(--t-mid), color var(--t-mid), transform var(--t-mid);
}

body.light-mode .eyebrow{
  background:linear-gradient(135deg, rgba(15,99,143,.16), rgba(7,139,103,.13));
  border-color:rgba(14,56,84,.11);
  color:var(--title);
  box-shadow:0 10px 18px rgba(15,99,143,.09);
}

.eyebrow i{
  color:#fff;
  font-size:14px;
  display:inline-block;
}

body.light-mode .eyebrow i{color:var(--blue)}

.hero-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.tag{
  padding:8px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  color:var(--title);
  font-size:.8rem;
  font-weight:500;
  display:inline-flex;
  align-items:center;
  gap:7px;
  transition:transform var(--t-mid), background var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}

body.light-mode .tag{
  background:rgba(15,99,143,.07);
  border-color:rgba(14,56,84,.10);
}

.tag:hover{
  transform:translateY(-2px);
  background:var(--grad-soft);
  box-shadow:var(--shadow-hover);
}

body.light-mode .tag:hover{
  background:linear-gradient(135deg, rgba(15,99,143,.13), rgba(7,139,103,.12));
  border-color:rgba(15,99,143,.13);
}

.tag-location{
  order:-1;
  background:linear-gradient(135deg, rgba(24,210,144,.18), rgba(15,111,184,.10));
  color:#fff;
  box-shadow:0 10px 20px rgba(24,210,144,.08);
}

body.light-mode .tag-location{
  background:linear-gradient(135deg, rgba(7,139,103,.18), rgba(15,99,143,.10));
  border-color:rgba(7,113,84,.14);
  color:var(--title);
}

.tag-location i{
  color:var(--green-2);
}

.tag-availability{
  background:rgba(24,210,144,.12);
  border-color:rgba(24,210,144,.20);
  color:#d9fff0;
}

.tag-availability i{color:var(--green-2)}

body.light-mode .tag-availability{
  background:rgba(7,139,103,.11);
  border-color:rgba(7,139,103,.18);
  color:var(--title);
}

.tag i{
  color:var(--blue-2);
  transition:color var(--t-mid), transform var(--t-mid);
  font-size:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

.tag span{
  display:inline-flex;
  align-items:center;
  line-height:1;
}

.tag:hover i{
  color:var(--green-2);
  transform:scale(1.08);
}

.stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
}

.stat{
  min-width:0;
  min-height:128px;
  padding:16px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  transition:transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:12px;
  position:relative;
  overflow:hidden;
  text-align:center;
}

.stat::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--grad-soft);
  opacity:0;
  pointer-events:none;
  transition:opacity var(--t-mid);
}

.stat > *{
  position:relative;
  z-index:1;
}

body.light-mode .stat{
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(242,248,250,.90));
  border-color:rgba(15,74,104,.13);
  box-shadow:0 8px 18px rgba(15,74,104,.06);
}

.stat:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-hover);
  border-color:rgba(15,111,184,.16);
}

.stat:hover::before{
  opacity:1;
}

body.light-mode .stat:hover{
  border-color:rgba(15,99,143,.12);
  box-shadow:0 16px 30px rgba(15,74,104,.12);
}

.stat strong{
  display:block;
  color:#fff;
  font-size:1.18rem;
  line-height:1;
  margin-bottom:0;
  font-weight:800;
}

body.light-mode .stat strong{color:var(--title)}

.stat span{
  color:var(--muted);
  font-size:.76rem;
  line-height:1.85;
  font-weight:500;
  text-align:center;
  overflow-wrap:anywhere;
  max-width:100%;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:2px;
}

.github-activity{
  grid-column:1 / -1;
  padding:18px 20px 16px;
  border-radius:16px;
  background:
    linear-gradient(135deg, rgba(15,111,184,.09), transparent 34%),
    rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.075);
  display:grid;
  gap:16px;
  box-shadow:0 16px 36px rgba(0,0,0,.08), inset 0 1px rgba(255,255,255,.035);
}

.tech-marquee{
  grid-column:1 / -1;
  overflow:hidden;
  height:72px;
  display:flex;
  align-items:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.075);
  background:rgba(255,255,255,.026);
  position:relative;
  direction:ltr;
}

.tech-marquee::before,
.tech-marquee::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  z-index:2;
  width:48px;
  pointer-events:none;
}

.tech-marquee::before{
  left:0;
  background:linear-gradient(90deg, var(--surface), transparent);
}

.tech-marquee::after{
  right:0;
  background:linear-gradient(270deg, var(--surface), transparent);
}

.tech-marquee-track{
  width:max-content;
  display:flex;
  align-items:center;
  animation:techMarquee 29s linear infinite;
  will-change:transform;
}

.tech-marquee-set{
  display:flex;
  align-items:center;
  gap:16px;
  padding-left:16px;
}

.tech-logo{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  color:var(--muted);
  font-size:1.7rem;
  line-height:1;
}

.tech-logo i{display:block}

.tech-logo-image{
  width:29px;
  height:29px;
  display:block;
  object-fit:contain;
}

.tech-logo-image-mono{
  filter:grayscale(1) brightness(0) invert(1);
  opacity:.74;
}

body.light-mode .tech-logo-image-mono{
  filter:grayscale(1) brightness(.38) sepia(.18) saturate(1.2);
  opacity:.86;
}

@keyframes techMarquee{
  to{transform:translateX(-25%)}
}

body.light-mode .tech-marquee{
  border-color:rgba(14,56,84,.10);
  background:rgba(255,255,255,.68);
}

body.light-mode .tech-marquee::before{background:linear-gradient(90deg, #fff, transparent)}
body.light-mode .tech-marquee::after{background:linear-gradient(270deg, #fff, transparent)}

body.light-mode .github-activity{
  background:
    linear-gradient(135deg, rgba(15,99,143,.08), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(243,249,250,.90));
  border-color:rgba(15,74,104,.11);
  box-shadow:0 12px 28px rgba(15,74,104,.08);
}

.github-activity-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.github-activity-title{display:grid;gap:1px}

.github-activity h2{
  color:var(--title);
  font-size:.98rem;
  font-weight:700;
  line-height:1.6;
}

.github-activity-title p{
  color:var(--muted);
  font-size:.72rem;
  line-height:1.5;
}

.github-activity-tools{
  display:flex;
  align-items:center;
  gap:14px;
}

.github-activity-tools > a{
  min-height:32px;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--blue-2);
  background:rgba(15,111,184,.10);
  border-radius:9px;
  font-size:.72rem;
  font-weight:600;
  transition:transform var(--t-mid), background var(--t-mid), color var(--t-mid);
}

.github-activity-tools > a:hover{
  transform:translateY(-2px);
  background:rgba(24,210,144,.16);
  color:var(--green-2);
}

.github-activity-chart{
  display:grid;
  grid-template-columns:54px minmax(0, 1fr);
  align-items:stretch;
  gap:10px;
  direction:ltr;
}

.github-activity-tooltip{
  position:fixed;
  z-index:220;
  width:max-content;
  min-width:142px;
  max-width:calc(100vw - 20px);
  padding:8px 10px;
  border:1px solid rgba(99,234,184,.26);
  border-radius:9px;
  background:rgba(8,24,35,.96);
  color:var(--title);
  box-shadow:0 12px 26px rgba(0,0,0,.24);
  font-size:.71rem;
  font-weight:650;
  line-height:1.55;
  text-align:center;
  white-space:nowrap;
  direction:rtl;
  pointer-events:none;
  opacity:0;
  transform:translate(-50%, 4px) scale(.96);
  transition:opacity var(--t-fast), transform var(--t-fast);
}

.github-activity-tooltip.is-visible{
  opacity:1;
  transform:translate(-50%, 0) scale(1);
}

body.light-mode .github-activity-tooltip{
  background:rgba(255,255,255,.97);
  border-color:rgba(15,99,143,.18);
  color:var(--title);
  box-shadow:0 12px 26px rgba(15,74,104,.16);
}

.tech-logo-tooltip{
  min-width:0;
  direction:ltr;
  text-align:center;
}

@media (hover:hover) and (pointer:fine){
  .tech-logo{cursor:default}
}

.github-activity-days{
  display:grid;
  grid-template-rows:repeat(7, minmax(0, 1fr));
  color:var(--muted);
  font-size:.67rem;
  line-height:1;
  direction:rtl;
  text-align:right;
}

.github-activity-days span{
  align-self:center;
}

.github-activity-days span:nth-child(1){grid-row:1}
.github-activity-days span:nth-child(2){grid-row:2}
.github-activity-days span:nth-child(3){grid-row:3}
.github-activity-days span:nth-child(4){grid-row:4}
.github-activity-days span:nth-child(5){grid-row:5}
.github-activity-days span:nth-child(6){grid-row:6}
.github-activity-days span:nth-child(7){grid-row:7}

.github-activity-grid{
  display:grid;
  grid-template-columns:repeat(53, minmax(0, 1fr));
  grid-template-rows:repeat(7, minmax(0, 1fr));
  grid-auto-flow:column;
  gap:2px;
  aspect-ratio:53 / 7;
  direction:ltr;
}

.github-activity-cell{
  display:block;
  border-radius:2px;
  background:#243844;
  transition:transform var(--t-fast), background var(--t-mid);
}

.github-activity-cell:hover{transform:scale(1.32);z-index:1}
.github-activity-cell.level-1{background:#176071}
.github-activity-cell.level-2{background:#168c8d}
.github-activity-cell.level-3{background:#21b887}
.github-activity-cell.level-4{background:#63dca7}

body.light-mode .github-activity-cell{background:#d8e4e8}
body.light-mode .github-activity-cell.level-1{background:#a8d8cf}
body.light-mode .github-activity-cell.level-2{background:#70c9ad}
body.light-mode .github-activity-cell.level-3{background:#38ad88}
body.light-mode .github-activity-cell.level-4{background:#10765f}
.github-activity-status{
  color:var(--muted);
  font-size:.69rem;
  line-height:1.6;
}

.virgool-posts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:6px;
}

.virgool-post{
  min-height:100%;
  display:grid;
  grid-template-rows:156px minmax(0,1fr);
  overflow:hidden;
  border-radius:12px;
  background:var(--surface-2);
  border:1px solid rgba(255,255,255,.07);
  color:var(--text);
  box-shadow:0 10px 22px rgba(0,0,0,.07);
  transition:
    transform .78s var(--ease),
    box-shadow .78s var(--ease),
    border-color .68s var(--ease),
    background .68s var(--ease);
}

.virgool-post-enter{
  filter:blur(4px);
  transition:
    filter .4s var(--ease),
    box-shadow var(--t-mid),
    border-color var(--t-mid),
    background var(--t-mid);
  transition-delay:var(--virgool-delay, 0ms);
}

.virgool-post-enter.is-ready{
  filter:none;
}

body.light-mode .virgool-post{
  background:#f5fafb;
  border-color:rgba(14,56,84,.10);
  box-shadow:0 8px 16px rgba(14,56,84,.05);
}

.virgool-post-media{
  position:relative;
  display:block;
  overflow:hidden;
}

.virgool-post-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 1s var(--ease), filter .78s var(--ease);
}

.virgool-post-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(8,19,27,0) 54%, rgba(8,19,27,.42) 100%);
  z-index:1;
}

body.light-mode .virgool-post-media::after{
  background:linear-gradient(180deg, rgba(255,255,255,0) 54%, rgba(12,36,49,.22) 100%);
}

.virgool-post-copy{
  display:grid;
  align-content:space-between;
  gap:16px;
  padding:16px;
  background:var(--surface-2);
  transition:background .74s var(--ease), transform .78s var(--ease);
}

body.light-mode .virgool-post-copy{background:#f5fafb}

.virgool-post h3{
  color:var(--title);
  font-size:.88rem;
  font-weight:650;
  line-height:1.95;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  transition:color .68s var(--ease), transform .78s var(--ease);
}

@media (hover:hover) and (pointer:fine){
  .virgool-post:hover{
    transform:translateY(-5px) scale(1.008);
    border-color:rgba(99,234,184,.28);
    box-shadow:0 22px 38px rgba(5,18,28,.22);
  }

  .virgool-post:hover .virgool-post-media img{transform:scale(1.035);filter:saturate(1.05)}
  .virgool-post:hover .virgool-post-copy{background:rgba(23,45,57,.98);transform:translateY(-2px)}
  .virgool-post:hover h3{color:var(--green-2);transform:translateX(-2px)}
  body.light-mode .virgool-post:hover{
    border-color:rgba(7,113,84,.20);
    box-shadow:0 18px 32px rgba(15,74,104,.12);
  }

  body.light-mode .virgool-post:hover .virgool-post-copy{background:#fff}
}

.virgool-post-skeleton{
  min-height:236px;
  border-radius:12px;
  background:linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.10) 50%, rgba(255,255,255,.04) 70%);
  background-size:220% 100%;
  animation:virgoolSkeleton 1.4s ease-in-out infinite;
}

body.light-mode .virgool-post-skeleton{
  background:linear-gradient(100deg, rgba(15,99,143,.05) 30%, rgba(15,99,143,.12) 50%, rgba(15,99,143,.05) 70%);
  background-size:220% 100%;
}

.resources-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:6px;
}

.resources-head{
  position:relative;
  min-height:32px;
  display:flex;
  align-items:center;
  gap:12px;
}

.resources-all-link{
  min-height:32px;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  position:absolute;
  top:0;
  left:0;
  flex:0 0 auto;
  border-radius:9px;
  color:var(--blue-2);
  background:rgba(15,111,184,.10);
  font-size:.72rem;
  font-weight:650;
  transition:transform var(--t-mid), background var(--t-mid), color var(--t-mid), box-shadow var(--t-mid);
}

.resources-all-link:hover{
  transform:translateY(-2px);
  color:var(--green-2);
  background:rgba(24,210,144,.16);
  box-shadow:0 10px 20px rgba(5,18,28,.14);
}

.resources-all-link i{font-size:.76rem}

body.light-mode .resources-all-link{background:rgba(15,99,143,.09)}

.resource-card-skeleton{
  min-height:236px;
  border-radius:12px;
  background:linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.10) 50%, rgba(255,255,255,.04) 70%);
  background-size:220% 100%;
  animation:virgoolSkeleton 1.4s ease-in-out infinite;
}

body.light-mode .resource-card-skeleton{
  background:linear-gradient(100deg, rgba(15,99,143,.05) 30%, rgba(15,99,143,.12) 50%, rgba(15,99,143,.05) 70%);
  background-size:220% 100%;
}

.resources-empty{
  grid-column:1 / -1;
  min-height:120px;
  display:grid;
  place-items:center;
  border:1px dashed rgba(99,234,184,.22);
  border-radius:12px;
  color:var(--muted);
  font-size:.82rem;
  text-align:center;
}

.resource-card{
  min-height:236px;
  display:grid;
  grid-template-columns:44px minmax(0, 1fr);
  grid-template-rows:auto 1fr auto;
  align-items:start;
  gap:11px;
  padding:18px;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.075);
  border-radius:12px;
  background:linear-gradient(145deg, rgba(15,111,184,.14), transparent 48%), var(--surface-2);
  color:var(--text);
  box-shadow:0 10px 22px rgba(0,0,0,.07);
  transition:transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid), background var(--t-mid);
}

.resource-card::before{
  content:"";
  width:150px;
  height:150px;
  position:absolute;
  top:-92px;
  left:-76px;
  border:1px solid rgba(99,234,184,.22);
  border-radius:50%;
  box-shadow:0 0 0 18px rgba(47,148,209,.035), 0 0 0 38px rgba(99,234,184,.025);
  transition:transform var(--t-slow), border-color var(--t-mid);
}

.resource-card::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:3px;
  background:var(--grad);
  opacity:.42;
  transform:scaleX(.22);
  transform-origin:right;
  transition:transform var(--t-mid), opacity var(--t-mid);
}

.resource-card:hover{
  transform:translateY(-6px);
  border-color:rgba(99,234,184,.30);
  box-shadow:0 24px 44px rgba(5,18,28,.28);
  background:linear-gradient(145deg, rgba(15,111,184,.24), rgba(24,210,144,.10) 72%), var(--surface-2);
}

.resource-card:hover::before{transform:translate(18px,18px) scale(1.08);border-color:rgba(99,234,184,.42)}
.resource-card:hover::after{opacity:1;transform:scaleX(1)}

body.light-mode .resource-card{
  border-color:rgba(14,56,84,.10);
  background:linear-gradient(145deg, rgba(15,99,143,.09), transparent 52%), #f5fafb;
  box-shadow:0 8px 16px rgba(14,56,84,.05);
}

body.light-mode .resource-card:hover{
  background:linear-gradient(145deg, rgba(15,99,143,.15), rgba(7,139,103,.08) 68%), #f5fafb;
}

.resource-icon{
  grid-column:1;
  grid-row:1;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:var(--green-2);
  background:rgba(24,210,144,.12);
  font-size:1rem;
  box-shadow:inset 0 1px rgba(255,255,255,.10);
  transition:transform var(--t-mid), background var(--t-mid), color var(--t-mid), box-shadow var(--t-mid);
}

.resource-card:hover .resource-icon{
  color:#fff;
  background:var(--grad);
  box-shadow:0 10px 24px rgba(15,111,184,.26);
  transform:rotate(-6deg) scale(1.08);
}

.resource-heading{
  grid-column:2;
  grid-row:1;
  min-width:0;
  display:grid;
  align-content:start;
  justify-items:start;
  gap:4px;
  direction:ltr;
  text-align:left;
}

.resource-type{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:22px;
  padding:0 8px;
  border-radius:7px;
  color:var(--blue-2);
  background:rgba(47,148,209,.10);
  font-size:.68rem;
  font-weight:650;
  direction:rtl;
}

.resource-card strong{
  color:var(--title);
  font-size:.96rem;
  font-weight:700;
  line-height:1.65;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  direction:ltr;
  text-align:left;
}

.resource-text{
  grid-column:1 / -1;
  color:var(--muted);
  font-size:.78rem;
  line-height:1.95;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

.resource-link{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:100%;
  padding-top:11px;
  border-top:1px solid rgba(255,255,255,.075);
  color:var(--text);
  font-size:.72rem;
  font-weight:650;
}

.resource-link i{color:var(--green-2);font-size:.86rem;transition:transform var(--t-mid), color var(--t-mid)}
.resource-card:hover .resource-link i{color:#fff;transform:translateX(-4px)}

body.light-mode .resource-link{border-color:rgba(14,56,84,.10)}

@keyframes virgoolSkeleton{
  to{background-position:-220% 0}
}

.btn{
  min-height:38px;
  padding:0 14px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.08);
  white-space:nowrap;
  cursor:pointer;
  font-weight:500;
  position:relative;
  overflow:hidden;
  font-size:.85rem;
  background-image:var(--grad);
  color:#fff;
  transition:transform var(--t-mid), box-shadow var(--t-mid), filter var(--t-mid);
}

.btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(255,255,255,.12), transparent 55%);
  opacity:0;
  transition:opacity var(--t-mid);
}

.btn > *{position:relative;z-index:1}
.btn i{font-size:14px}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
  filter:saturate(1.06);
}

.btn:hover::before{opacity:1}
.btn-email{
  flex-direction:row-reverse;
  direction:ltr;
}

.hero-side{
  display:grid;
  gap:12px;
}

.image-wrap{
  position:relative;
  overflow:hidden;
}

.image-skeleton{
  position:absolute;
  inset:0;
  z-index:0;
  background:linear-gradient(90deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.10) 50%, rgba(255,255,255,.04) 100%);
  background-size:200% 100%;
  animation:skeletonMove 1.2s linear infinite;
}

body.light-mode .image-skeleton{
  background:linear-gradient(90deg, rgba(15,99,143,.05) 0%, rgba(15,99,143,.10) 50%, rgba(15,99,143,.05) 100%);
  background-size:200% 100%;
}

@keyframes skeletonMove{
  0%{background-position:200% 0}
  100%{background-position:-200% 0}
}

.image-wrap img{
  position:relative;
  z-index:1;
  opacity:0;
  transition:opacity .45s var(--ease);
}

.image-wrap.loaded img{opacity:1}
.image-wrap.loaded .image-skeleton{
  opacity:0;
  visibility:hidden;
  transition:opacity .35s ease, visibility .35s ease;
}

.hero-cover{
  height:300px;
  min-height:300px;
  max-height:300px;
  border-radius:14px;
  overflow:hidden;
  position:relative;
  background:linear-gradient(180deg, rgba(8,19,27,.04), rgba(8,19,27,.38));
}

.hero-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform var(--t-slow), filter var(--t-mid);
  transform-origin:center;
}

@media (hover:hover) and (pointer:fine){
  .hero-cover:hover img{
    transform:scale(1.035);
    filter:saturate(1.05);
  }
}

.hero-cover::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(15,111,184,.16), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(24,210,144,.15), transparent 24%);
  mix-blend-mode:screen;
  z-index:2;
  pointer-events:none;
}

.section-head{
  display:grid;
  gap:10px;
  margin-bottom:16px;
}

.grid-2{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:14px;
  margin-top:var(--section-gap);
}

.card{
  border-radius:14px;
  padding:24px;
}

.point-list,
.skills-grid,
.services-grid,
.process-grid{
  display:grid;
  gap:12px;
}

.about-item,
.skill-card,
.exp-card,
.service-card,
.process-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  position:relative;
  overflow:hidden;
  transition:transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}

.about-item::before,
.skill-card::before,
.exp-card::before,
.service-card::before,
.process-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--grad-soft);
  opacity:0;
  pointer-events:none;
  transition:opacity var(--t-mid);
}

.about-item > *,
.skill-card > *,
.exp-card > *,
.service-card > *,
.process-card > *{
  position:relative;
  z-index:1;
}

body.light-mode .about-item,
body.light-mode .skill-card,
body.light-mode .exp-card,
body.light-mode .service-card,
body.light-mode .process-card{
  background:rgba(15,99,143,.055);
  border-color:rgba(14,56,84,.10);
  box-shadow:0 8px 16px rgba(14,56,84,.045);
}

.about-item{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  padding:16px 17px;
  border-radius:14px;
  align-items:start;
}

.exp-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-hover);
  border-color:rgba(47,148,209,.18);
}

.exp-card:hover::before{
  opacity:1;
}

body.light-mode .exp-card:hover,
body.light-mode .project-card-shell:hover,
body.light-mode .product-card:hover{
  border-color:rgba(15,99,143,.12);
}

.point-badge,
.service-icon,
.process-icon{
  width:36px;
  height:36px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:var(--grad-soft);
  color:var(--green-2);
  flex:0 0 auto;
  transition:transform var(--t-mid), box-shadow var(--t-mid);
}

.service-icon,
.process-icon{
  width:42px;
  height:42px;
}

body.light-mode .point-badge,
body.light-mode .service-icon,
body.light-mode .process-icon{
  background:linear-gradient(135deg, rgba(15,99,143,.14), rgba(7,139,103,.13));
  color:#06684f;
  border:1px solid rgba(7,113,84,.14);
}

.service-icon i,
.process-icon i{font-size:16px}

.skill-card::before,
.service-card::before{
  opacity:.82;
}

.skill-card,
.service-card{
  border-color:rgba(47,148,209,.13);
}

body.light-mode .skill-card,
body.light-mode .service-card{
  background:linear-gradient(135deg, rgba(15,99,143,.08), rgba(7,139,103,.055));
  border-color:rgba(15,99,143,.11);
}

.services-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}

.service-card{
  border-radius:14px;
  padding:18px;
  display:grid;
  gap:12px;
  align-content:start;
  min-height:100%;
}

.service-head{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:42px;
}

.service-head h3{
  line-height:1.8;
  min-height:auto;
}

.service-text{
  color:var(--muted);
  font-size:.9rem;
  line-height:2;
  margin-top:0;
  display:block;
}

.exp-stack{
  display:grid;
  gap:12px;
}

.exp-card{
  border-radius:14px;
  padding:16px;
  display:grid;
  gap:12px;
}

.exp-head{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:start;
}

.exp-title{
  color:var(--title);
  font-size:.95rem;
  line-height:1.9;
  font-weight:700;
}

.exp-time{
  font-size:.8rem;
  color:var(--muted);
  padding:6px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);
  white-space:nowrap;
  width:max-content;
  justify-self:end;
  font-weight:500;
}

body.light-mode .exp-time{
  background:rgba(15,99,143,.06);
  border-color:rgba(14,56,84,.10);
}

.exp-text{
  color:var(--muted);
  font-size:.89rem;
  line-height:2;
  font-weight:400;
}

.skills-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.skill-card{
  border-radius:14px;
  padding:16px;
  display:grid;
  gap:14px;
}

.education-card{
  grid-column:1 / -1;
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.06);
}

.education-card::before{opacity:0}

body.light-mode .education-card{
  background:rgba(15,99,143,.055);
  border-color:rgba(14,56,84,.10);
}

.education-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.education-item{
  min-height:104px;
  padding:14px;
  display:grid;
  align-content:center;
  gap:6px;
  border-radius:10px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
}

.education-item strong{color:var(--title);font-size:.9rem;font-weight:550}
.education-item span{color:var(--green-2);font-size:.78rem;font-weight:600}
.education-item small{color:var(--muted);font-size:.76rem;line-height:1.75}

body.light-mode .education-item{background:rgba(255,255,255,.72);border-color:rgba(14,56,84,.09)}

@media (max-width:760px){
  .education-list{grid-template-columns:1fr}
}

.skill-row{
  display:grid;
  gap:8px;
}

.skill-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:.87rem;
}

.skill-top strong{
  color:#fff;
  font-weight:300;
}

body.light-mode .skill-top strong{color:var(--title)}

.skill-top span{
  color:var(--muted);
  font-weight:500;
}

.bar{
  height:7px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  overflow:hidden;
}

body.light-mode .bar{
  background:rgba(10,80,120,.08);
}

.bar > span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:var(--grad);
  transform-origin:right center;
  transition:transform 1.12s var(--ease);
  will-change:transform;
}

.projects{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:6px;
}

.project-card-shell{
  border-radius:14px;
  padding:12px;
  display:grid;
  gap:10px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  position:relative;
  overflow:hidden;
  transition:transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}

.project-card-shell::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--grad-soft);
  opacity:0;
  pointer-events:none;
  transition:opacity var(--t-mid);
}

.project-card-shell > *{
  position:relative;
  z-index:1;
}

body.light-mode .project-card-shell{
  background:rgba(15,99,143,.06);
  border-color:rgba(14,56,84,.10);
  box-shadow:0 8px 16px rgba(14,56,84,.05);
}

.project-card-shell:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-hover);
  border-color:rgba(47,148,209,.18);
}

.project-card-shell:hover::before{
  opacity:1;
}

.project-card{
  min-height:190px;
  border-radius:14px;
  overflow:hidden;
  position:relative;
  border:1px solid rgba(255,255,255,.06);
  background:#0d1c27;
  transition:transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
  display:block;
}

body.light-mode .project-card{
  border-color:rgba(14,56,84,.10);
  background:#e6f3f7;
  box-shadow:0 8px 16px rgba(14,56,84,.05);
}

.project-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
}

.project-media{
  position:absolute;
  inset:0;
  overflow:hidden;
}

.project-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform var(--t-slow), filter var(--t-mid);
}

.project-card:hover .project-media img{
  transform:scale(1.025);
  filter:saturate(1.08);
}

.project-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(8,19,27,.05) 0%, rgba(8,19,27,.22) 35%, rgba(8,19,27,.90) 100%);
  z-index:2;
}

body.light-mode .project-card::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, .02) 0%, rgba(12, 36, 49, .08) 35%, rgb(12 36 49) 100%);
}

.project-copy{
  position:absolute;
  inset:auto 0 0 0;
  z-index:3;
  padding:12px;
  display:grid;
  gap:8px;
}

.project-copy h3{
  color:#fff;
  font-size:1rem;
  font-weight:600;
  line-height:1.85;
}

.project-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff;
  font-weight:300;
  font-size:.84rem;
  transition:gap var(--t-mid), color var(--t-mid);
}

.project-link i{
  color:var(--green-2);
  transition:transform var(--t-mid), color var(--t-mid);
  font-size:14px;
}

.project-card:hover .project-link i{
  transform:translateX(-4px);
}

.project-side{
  display:grid;
  gap:10px;
}

.project-side-note{
  color:var(--muted);
  font-size:.9rem;
  line-height:2;
  font-weight:400;
}

/* Products */
.products-showcase{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:6px;
  align-items:stretch;
}

.product-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:-2px 0 18px;
}

.product-filter{
  min-height:34px;
  padding:0 14px;
  border:0;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:var(--muted);
  background:rgba(255,255,255,.06);
  font-family:inherit;
  font-size:.8rem;
  font-weight:700;
  transition:transform var(--t-mid), color var(--t-mid), background var(--t-mid), box-shadow var(--t-mid);
}

.product-filter:hover,
.product-filter.active{
  transform:translateY(-2px);
  color:#fff;
  background:linear-gradient(135deg, rgba(15,111,184,.94), rgba(8,154,114,.88));
  box-shadow:0 12px 22px rgba(15,111,184,.14);
}

body.light-mode .product-filter{
  background:rgba(15,99,143,.08);
  color:var(--muted);
}

body.light-mode .product-filter:hover,
body.light-mode .product-filter.active{
  color:#fff;
  background:linear-gradient(135deg, var(--blue), var(--green));
  box-shadow:0 12px 22px rgba(15,99,143,.12);
}

.product-card.is-filter-hidden,
.product-card.is-mobile-hidden{
  display:none;
}

.product-card.is-filter-entering{
  animation:productFilterIn .32s var(--ease) both;
  animation-delay:var(--filter-delay, 0ms);
}

@keyframes productFilterIn{
  from{
    opacity:0;
    transform:translateY(8px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.product-card{
  border-radius:14px;
  padding:18px;
  display:grid;
  grid-template-rows:auto auto 1fr auto;
  gap:14px;
  min-height:100%;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  position:relative;
  overflow:hidden;
  transition:transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid), background var(--t-mid);
}

.product-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(118deg, transparent 28%, rgba(47,148,209,.08) 57%, rgba(99,234,184,.10) 78%, transparent 100%);
  opacity:.34;
  transform:translateX(18%);
  transition:transform var(--t-slow), opacity var(--t-mid);
  pointer-events:none;
}

body.light-mode .product-card::before{
  background:linear-gradient(118deg, transparent 28%, rgba(15,99,143,.06) 57%, rgba(7,139,103,.10) 78%, transparent 100%);
}

body.light-mode .product-card{
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(239,247,250,.9));
  border-color:rgba(14,56,84,.10);
  box-shadow:0 8px 16px rgba(14,56,84,.05);
}

@media (hover:hover) and (pointer:fine) and (min-width:1025px){
  .product-card:hover{
    transform:translateY(-4px);
    border-color:rgba(99,234,184,.24);
    background:rgba(255,255,255,.055);
    box-shadow:0 18px 32px rgba(4,18,28,.20);
  }

  .product-card:hover::before{opacity:1;transform:translateX(0)}

  .product-card:hover .product-type{
    background:rgba(24,210,144,.16);
    color:var(--green-2);
    transform:translateY(-1px);
  }

  .product-card:hover .product-title{color:var(--green-2)}
  .product-card:hover .product-text{color:var(--text)}
  .product-card:hover .product-btn{box-shadow:0 10px 20px rgba(15,111,184,.18)}

  body.light-mode .product-card:hover{
    background:#fff;
    border-color:rgba(7,113,84,.18);
    box-shadow:0 14px 26px rgba(15,74,104,.10);
  }
}

.product-card > *{
  position:relative;
  z-index:1;
}

.product-top{
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.product-type{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(15,111,184,.18), rgba(24,210,144,.16));
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  font-size:.76rem;
  font-weight:700;
  line-height:1;
  transition:transform var(--t-mid), background var(--t-mid), color var(--t-mid);
}

body.light-mode .product-type{
  color:var(--title);
  background:linear-gradient(135deg, rgba(15,99,143,.16), rgba(7,139,103,.14));
  border-color:rgba(14,56,84,.10);
}

.product-title{
  color:var(--title);
  font-size:.98rem;
  line-height:1.95;
  font-weight:700;
  transition:color var(--t-mid);
}

.product-text{
  color:var(--muted);
  font-size:.9rem;
  line-height:2;
  font-weight:400;
  transition:color var(--t-mid);
}

.product-btn{
  margin-top:auto;
  min-height:38px;
  width:max-content;
  padding:0 14px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.08);
  white-space:nowrap;
  cursor:pointer;
  font-weight:500;
  position:relative;
  overflow:hidden;
  font-size:.84rem;
  background-image:var(--grad);
  color:#fff;
  transition:transform var(--t-mid), box-shadow var(--t-mid), filter var(--t-mid);
}

.product-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(255,255,255,.12), transparent 55%);
  opacity:0;
  transition:opacity var(--t-mid);
}

.product-btn > *{
  position:relative;
  z-index:1;
}

.product-btn i{
  font-size:14px;
  transition:transform var(--t-mid);
}

.product-btn:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
  filter:saturate(1.06);
}

.product-btn:hover::before{
  opacity:1;
}

.product-btn:hover i{
  transform:none;
}

.products-more{
  display:none;
  width:100%;
  min-height:42px;
  margin-top:14px;
  border:0;
  border-radius:12px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-family:inherit;
  font-size:.86rem;
  font-weight:800;
  color:#fff;
  background:linear-gradient(135deg, rgba(15,111,184,.96), rgba(8,154,114,.88));
  box-shadow:0 12px 22px rgba(15,111,184,.14);
  transition:transform var(--t-mid), box-shadow var(--t-mid), filter var(--t-mid);
}

.products-more:not([hidden]){display:flex}

.products-more:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
}

body.light-mode .products-more{
  background:linear-gradient(135deg, var(--blue), var(--green));
  box-shadow:0 12px 22px rgba(15,99,143,.12);
}

.contact{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:16px;
  align-items:start;
}

.contact-top{
  display:grid;
  gap:16px;
}

.process-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  direction:rtl;
  counter-reset:processStep;
  margin-top:2px;
}

.process-card{
  border-radius:14px;
  padding:16px;
  display:grid;
  gap:12px;
  position:relative;
  align-content:start;
}

.process-card::before{
  counter-increment:processStep;
  content:counter(processStep);
  position:absolute;
  top:12px;
  left:12px;
  width:24px;
  height:24px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:.75rem;
  font-weight:700;
  color:#fff;
  background:var(--grad);
  box-shadow:0 8px 16px rgba(15,111,184,.18);
  opacity:1;
  transform:none;
}

.process-title{
  color:var(--title);
  font-size:.92rem;
  line-height:1.8;
  font-weight:700;
  padding-left:34px;
}

.process-text{
  color:var(--muted);
  font-size:.88rem;
  line-height:2;
  font-weight:400;
}

/* The career list reads as a connected path, while contact steps read as a clear workflow. */
.point-list{
  position:relative;
  gap:10px;
}

.point-list::before{
  content:"";
  position:absolute;
  top:30px;
  right:35px;
  bottom:30px;
  width:1px;
  background:linear-gradient(180deg, transparent, rgba(47,148,209,.42) 12%, rgba(99,234,184,.42) 88%, transparent);
  pointer-events:none;
}

.about-item{
  min-height:108px;
  gap:16px;
  padding:17px 18px;
  border-radius:12px;
  border-color:rgba(47,148,209,.10);
  background:linear-gradient(100deg, rgba(15,111,184,.085), rgba(255,255,255,.03) 46%, rgba(24,210,144,.045));
  box-shadow:0 8px 18px rgba(0,0,0,.045);
}

.about-item::before{
  background:linear-gradient(105deg, rgba(15,111,184,.20), rgba(24,210,144,.10) 72%, transparent);
  opacity:.45;
}

.about-item::after{
  content:"";
  position:absolute;
  top:17px;
  right:0;
  bottom:17px;
  width:3px;
  border-radius:0 4px 4px 0;
  background:var(--grad);
  opacity:.58;
  transform:scaleY(.42);
  transform-origin:center;
  transition:transform var(--t-mid), opacity var(--t-mid), box-shadow var(--t-mid);
}

.about-item h3{
  color:var(--title);
  font-size:.9rem;
  transition:color var(--t-mid), transform var(--t-mid);
}

.about-item .about-text{
  margin-top:5px;
  color:var(--muted);
  transition:color var(--t-mid);
}

.about-item .point-badge{
  width:44px;
  height:44px;
  position:relative;
  z-index:2;
  border-radius:12px;
  color:var(--green-2);
  background:linear-gradient(145deg, rgba(15,111,184,.22), rgba(24,210,144,.14));
  border:1px solid rgba(99,234,184,.14);
  box-shadow:0 9px 18px rgba(8,25,36,.14), inset 0 1px rgba(255,255,255,.10);
  transition:transform var(--t-mid), color var(--t-mid), background var(--t-mid), box-shadow var(--t-mid);
}

body.light-mode .about-item{
  background:linear-gradient(100deg, rgba(15,99,143,.09), rgba(255,255,255,.86) 52%, rgba(7,139,103,.055));
  border-color:rgba(15,99,143,.12);
}

body.light-mode .about-item .point-badge{
  color:#087456;
  background:linear-gradient(145deg, rgba(15,99,143,.14), rgba(7,139,103,.12));
  border-color:rgba(7,113,84,.16);
}

@media (hover:hover) and (pointer:fine){
  .process-card:hover{
    transform:translateY(-3px);
    border-color:rgba(47,148,209,.18);
    box-shadow:var(--shadow-hover);
  }

  .process-card:hover .process-icon{transform:scale(1.08)}

  .about-item:hover{
    transform:translateX(-5px) translateY(-2px);
    border-color:rgba(99,234,184,.30);
    box-shadow:0 18px 30px rgba(5,18,28,.18);
  }

  .about-item:hover::before{opacity:1}
  .about-item:hover::after{opacity:1;transform:scaleY(1);box-shadow:0 0 16px rgba(99,234,184,.30)}
  .about-item:hover h3{color:var(--green-2);transform:translateX(-2px)}
  .about-item:hover .about-text{color:var(--text)}
  .about-item:hover .point-badge{
    color:#fff;
    background:var(--grad);
    box-shadow:0 13px 24px rgba(15,111,184,.28);
    transform:rotate(-7deg) scale(1.09);
  }

  body.light-mode .about-item:hover,
  body.light-mode .process-card:hover{border-color:rgba(15,99,143,.12)}
}

.contact-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

.contact-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}

.btn-schedule{flex-direction:row-reverse}

.social-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.social-link{
  width:46px;
  height:46px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.09);
  color:var(--title);
  position:relative;
  overflow:hidden;
  flex:0 0 auto;
  transition:transform .42s var(--ease), box-shadow .42s var(--ease), background .42s var(--ease), border-color .42s var(--ease), color .42s var(--ease);
}

.social-link::before{
  content:"";
  position:absolute;
  inset:auto 7px 5px;
  height:2px;
  border-radius:99px;
  background:var(--green-2);
  opacity:0;
  transform:scaleX(.2);
  transition:opacity .36s var(--ease), transform .42s var(--ease);
}

.social-link::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(135deg, rgba(15,111,184,.22), rgba(24,210,144,.16));
  opacity:0;
  transition:opacity .42s var(--ease);
}

.social-link i{
  position:relative;
  z-index:2;
  transition:transform var(--t-mid), color var(--t-mid);
  font-size:18px;
  line-height:1;
}

@media (hover:hover) and (pointer:fine){
  .social-link:hover{
    transform:translateY(-3px);
    background:rgba(255,255,255,.085);
    border-color:rgba(99,234,184,.30);
    box-shadow:0 14px 26px rgba(5,18,28,.20);
    color:#fff;
  }

  .social-link:hover::before{
    opacity:1;
    transform:scaleX(1);
  }

  .social-link:hover::after{opacity:1}
  .social-link:hover i{color:#fff;transform:translateY(-1px)}
}

body.light-mode .social-link{
  background:rgba(15,99,143,.07);
  border-color:rgba(15,99,143,.13);
  color:var(--blue);
}

body.light-mode .social-link:hover{
  background:linear-gradient(135deg, #0b5f8b, #087a5d);
  border-color:transparent;
  color:#fff;
  box-shadow:0 18px 30px rgba(12,86,126,.24), 0 7px 16px rgba(7,139,103,.14);
}

body.light-mode .social-link::before{background:rgba(255,255,255,.92)}
body.light-mode .social-link::after{background:linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,0) 62%)}
body.light-mode .social-link:hover i{color:#fff}

.back-top{
  position:fixed;
  left:18px;
  bottom:22px;
  z-index:120;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  width:52px;
  height:52px;
  border:0;
  border-radius:14px;
  background:var(--grad);
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  box-shadow:0 14px 22px rgba(15,111,184,.20);
  transition:transform var(--t-mid), box-shadow var(--t-mid), opacity var(--t-mid), visibility var(--t-mid);
}

.back-top i{font-size:18px}

.back-top:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
}

.back-top.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.reveal{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .48s var(--ease), transform .52s var(--ease);
  will-change:opacity, transform;
}

.reveal.in{
  opacity:1;
  transform:translateY(0);
}

/* Scroll polish */
.scroll-reveal{
  opacity:0;
  transform:translateY(10px);
  transition:
    opacity .46s var(--ease),
    transform .5s var(--ease);
  transition-delay:var(--reveal-delay, 0ms);
  will-change:opacity, transform;
}

.scroll-reveal.in{
  opacity:1;
  transform:translateY(0);
}

body:not(.page-ready) .app{opacity:0}

body.page-ready .app{animation:appEnter .46s var(--ease) both}

@keyframes appEnter{from{opacity:0}to{opacity:1}}
@keyframes sidebarEnter{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:translateX(0)}}
@keyframes contentEnter{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes coverEnter{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes statEnter{from{opacity:0;transform:translateY(12px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}

@media (min-width:961px){
  body.page-ready .sidebar{animation:sidebarEnter .52s var(--ease) .06s both}
}

.site-footer{
  width:100%;
  margin-top:20px;
  padding:18px 20px;
  background:
    linear-gradient(135deg, rgba(15,111,184,.14), rgba(24,210,144,.12)),
    color-mix(in srgb, var(--panel) 98%, transparent);
  border-top:1px solid var(--line);
  color:var(--title);
  font-size:.92rem;
  line-height:2;
  display:grid;
  justify-items:center;
  gap:4px;
  text-align:center;
  font-weight:300;
}

.site-version{
  color:var(--muted);
  font-size:.72rem;
  font-weight:400;
  line-height:1.5;
  direction:ltr;
}

body.light-mode .site-footer{
  background:
    linear-gradient(135deg, rgba(15,99,143,.10), rgba(7,139,103,.09)),
    color-mix(in srgb, var(--panel) 98%, transparent);
}

@media (max-width:1180px){
  .hero{
    grid-template-columns:1fr;
  }

  .hero-side{
    grid-template-columns:1fr;
  }

  .stats{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .services-grid,
  .projects,
  .process-grid,
  .products-showcase,
  .virgool-posts,
  .resources-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (min-width:961px) and (max-width:1100px){
  :root{--sidebar:248px}

  .app{
    margin-top:20px;
    gap:12px;
    min-height:calc(100vh - 40px);
  }

  .sidebar{
    top:20px;
    height:calc(100vh - 40px);
    padding:10px;
    gap:8px;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
  }

  .brand{
    min-height:72px;
    padding:12px;
    gap:10px;
  }

  .brand-badge{width:42px;height:42px;border-radius:12px}
  .brand-copy h2{font-size:.88rem}
  .brand-copy h3{font-size:.74rem;line-height:1.55}
  .side-nav{gap:3px}
  .side-link{padding:8px 9px}
  .side-link span{font-size:.8rem}
  .theme-switch{min-height:36px}
  .resume-link{min-height:38px;font-size:.78rem}
}

@media (min-width:1101px) and (max-height:760px){
  .sidebar{
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
  }
}

@media (max-width:960px){
  .mobile-header{display:flex}
  body.menu-open{overflow:hidden}
  body.menu-open .menu-backdrop{opacity:1;visibility:visible;pointer-events:auto}

  .app{
    grid-template-columns:1fr;
    width:min(100vw - 20px, 100%);
    margin:90px auto 0;
    min-height:calc(100vh - 108px);
  }

  .sidebar{
    position:fixed;
    top:82px;
    right:12px;
    width:min(80vw, 304px);
    height:calc(100dvh - 98px);
    z-index:100;
    transform:translateX(calc(100% + 20px));
    background:
      linear-gradient(180deg, rgba(15,111,184,.08), rgba(24,210,144,.05)),
      var(--bg-soft);
    border-color:rgba(255,255,255,.09);
    box-shadow:0 26px 44px rgba(0,0,0,.28);
    padding:10px;
    gap:8px;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
  }

  body.light-mode .sidebar{
    background:
      linear-gradient(180deg, rgba(15,99,143,.07), rgba(7,139,103,.05)),
      var(--panel);
  }

  .sidebar.open{transform:none}
  .sidebar .brand{display:none}
  .theme-switch{display:none}
  .side-nav{gap:4px}
  .side-link{padding:9px 10px}
  .resume-link{margin-top:2px}
  .blog-link{margin-top:0}

  .section{
    padding:20px;
    margin-top:12px;
  }

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

  .stat{
    min-height:112px;
    padding:14px 10px;
  }

  .hero{
    gap:14px;
  }

  .hero-cover{
    height:300px;
    min-height:300px;
    max-height:300px;
    transform:none !important;
  }

  .hero-avatar{
    transform:none !important;
  }

  .hero-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .hero-actions .btn{width:100%}

  .contact-bottom{
    flex-direction:column;
    align-items:stretch;
  }

  .contact-actions{width:100%}
  .contact-actions .btn{flex:1 1 180px}

  .social-links{
    justify-content:center;
    align-items:center;
  }

}

@media (max-width:760px){
  .section{
    border-radius:16px;
    padding:18px;
  }

  .github-activity{
    padding:16px;
    gap:14px;
  }

  .tech-marquee{height:66px;border-radius:12px}
  .tech-marquee::before,
  .tech-marquee::after{width:34px}
  .tech-marquee-set{gap:14px;padding-left:14px}
  .tech-logo{width:38px;height:38px;font-size:1.48rem}

  .resources-head{align-items:flex-start;flex-wrap:wrap}
  .resources-all-link{min-height:30px;font-size:.68rem}

  .github-activity-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .github-activity-tools{
    width:100%;
    justify-content:space-between;
    gap:8px;
  }

  .github-activity-grid{
    grid-template-columns:repeat(53, 8px);
    grid-template-rows:repeat(7, 8px);
    gap:3px;
    width:max-content;
    aspect-ratio:auto;
  }

  .github-activity-chart{
    grid-template-columns:56px max-content;
    gap:8px;
    width:100%;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    padding-bottom:2px;
    scrollbar-width:none;
  }

  .github-activity-chart::-webkit-scrollbar{height:0}

  .github-activity-days{
    font-size:.61rem;
    white-space:nowrap;
  }

  .github-activity-tools > a{
    min-height:30px;
    padding:0 8px;
    font-size:.68rem;
  }

  .hero-title-wrap{
    grid-template-columns:82px minmax(0,1fr);
    gap:12px;
  }

  .hero-avatar{
    width:82px;
    height:82px;
    border-radius:12px;
  }

  h1{
    max-width:none;
    font-size:1rem;
    line-height:2.08;
  }

  h3{
    font-size:.92rem;
    line-height:1.9;
  }

  p,
  .lead,
  .about-text,
  .exp-text,
  .project-side-note,
  .service-text,
  .process-text,
  .site-footer,
  .product-text{
    font-size:.9rem;
    line-height:2.12;
  }

  .skills-grid,
  .services-grid,
  .projects,
  .process-grid,
  .products-showcase,
  .virgool-posts,
  .resources-grid{
    grid-template-columns:1fr;
  }

  .stats{
    grid-template-columns:1fr;
    justify-items:center;
    gap:10px;
  }

  .stat{
    width:100%;
    min-height:112px;
    padding:15px 16px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
  }

  .stat span{
    text-align:center;
  }

  .hero-cover{
    height:300px;
    min-height:300px;
    max-height:300px;
  }

  .exp-head{
    grid-template-columns:1fr;
    gap:8px;
  }

  .exp-time{
    justify-self:start;
    font-size:.75rem;
    padding:5px 8px;
  }

  .social-links{justify-content:center}

  .sidebar{
    top:82px;
    right:10px;
    width:min(78vw, 282px);
    height:calc(100dvh - 94px);
  }

  .back-top{
    left:16px;
    bottom:18px;
  }

  .product-card{
    padding:16px;
  }

  .product-title{
    font-size:.94rem;
    line-height:1.9;
  }
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation:none !important;
    transition:none !important;
  }
  body .app{opacity:1 !important}
}
.blog-link{
  margin-top:10px;
  min-height:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 12px;
  color:var(--title);
  background:transparent;
  border:1px solid transparent;
  background-image:
    linear-gradient(color-mix(in srgb, var(--panel) 96%, transparent), color-mix(in srgb, var(--panel) 96%, transparent)),
    var(--grad);
  background-origin:border-box;
  background-clip:padding-box,border-box;
  box-shadow:0 10px 18px rgba(15,111,184,.08);
  transition:transform var(--t-mid), box-shadow var(--t-mid), background var(--t-mid), color var(--t-mid);
  font-size:.84rem;
  font-weight:500;
}

.blog-link:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
}

.blog-link i{
  font-size:14px;
  color:var(--blue-2);
}

.product-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:auto;
}

.product-btn-outline{
  min-height:36px;
  padding:0 12px;
  border-radius:10px;
  color:#fff;
  border-color:rgba(15,111,184,.26);
  background:
    linear-gradient(135deg, rgba(15,111,184,.96), rgba(8,154,114,.88));
  box-shadow:0 12px 22px rgba(15,111,184,.14);
  filter:none;
  font-size:.8rem;
}

body.light-mode .product-btn-outline,
body.light-mode .btn,
body.light-mode .back-top,
body.light-mode .social-link{
  background:linear-gradient(135deg, var(--blue), var(--green));
  box-shadow:0 12px 22px rgba(15,99,143,.12);
  color:#fff;
}

body.light-mode .social-link i,
body.light-mode .social-link:hover i{color:#fff}

.product-btn-outline::before{
  display:block;
  background:linear-gradient(135deg, rgba(255,255,255,.18), transparent 58%);
}

.product-btn-outline:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
  filter:none;
}

.product-btn-outline i{
  width:21px;
  height:21px;
  display:inline-grid;
  place-items:center;
  border-radius:7px;
  color:#fff;
  background:rgba(255,255,255,.16);
  transform:none;
}

.product-btn-outline:hover i{
  transform:none;
}

.side-link,
.theme-switch,
.mobile-btn,
.resume-link,
.btn,
.product-btn,
.product-btn-outline,
.social-link,
.back-top{
  border:0;
}

.blog-link{
  border:1px solid transparent;
}

@media (max-width:760px){
  .product-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .product-actions .product-btn{
    width:100%;
  }

  .products-more:not([hidden]){
    display:flex;
  }
}

/* Touch devices do not have a persistent hover state, so taps receive the same visual feedback. */
@media (hover:none), (pointer:coarse){
  :is(.mobile-btn,.theme-switch,.side-link,.resume-link,.blog-link,.btn,.product-filter,.product-btn,.products-more,.social-link,.back-top,.github-activity-tools > a,.resources-all-link,.tag,.stat,.resource-card,.exp-card,.process-card,.service-card,.skill-card,.about-item,.project-card-shell,.project-card,.product-card){
    transition-duration:.56s !important;
    transition-timing-function:var(--ease) !important;
  }

  .virgool-post{
    transition-duration:.82s !important;
    transition-timing-function:var(--ease) !important;
  }

  :is(.hero-avatar .avatar-primary,.hero-avatar .avatar-hover,.hero-cover img,.tag i,.resource-card::before,.resource-card::after,.resource-icon,.resource-link i,.process-icon,.about-item::after,.about-item h3,.about-item .about-text,.about-item .point-badge,.project-media img,.project-link i,.product-card::before,.product-type,.product-title,.product-text,.social-link::before,.social-link::after,.social-link i){
    transition-duration:.62s !important;
    transition-timing-function:var(--ease) !important;
  }

  :is(.mobile-btn,.theme-switch,.side-link,.resume-link,.blog-link,.btn,.product-filter,.product-btn,.products-more,.social-link,.back-top,.github-activity-tools > a,.resources-all-link):is(:active,.is-touch-active){
    transform:translateY(-2px) scale(.985);
    box-shadow:var(--shadow-hover);
  }

  :is(.mobile-btn,.theme-switch,.btn,.product-filter,.product-btn,.products-more,.social-link,.back-top):is(:active,.is-touch-active)::before{opacity:1}
  .surface.is-touch-active::after{opacity:1}

  .hero-avatar.loaded.is-touch-active .avatar-primary{opacity:0;transform:scale(.96)}
  .hero-avatar.loaded.is-touch-active .avatar-hover{opacity:1;transform:scale(1)}
  .hero-cover.is-touch-active img{transform:scale(1.028)}

  .tag.is-touch-active{
    transform:translateY(-2px);
    background:var(--grad-soft);
    box-shadow:var(--shadow-hover);
  }

  .tag.is-touch-active i{color:var(--green-2);transform:scale(1.08)}

  .stat.is-touch-active{
    transform:translateY(-3px);
    box-shadow:var(--shadow-hover);
    border-color:rgba(15,111,184,.16);
  }

  .stat.is-touch-active::before{opacity:1}

  .virgool-post.is-touch-active{
    transform:translateY(-4px) scale(1.006);
    border-color:rgba(99,234,184,.28);
    box-shadow:0 20px 34px rgba(5,18,28,.22);
  }

  .virgool-post.is-touch-active .virgool-post-media img{transform:scale(1.028);filter:saturate(1.04)}
  .virgool-post.is-touch-active .virgool-post-copy{background:rgba(23,45,57,.98);transform:translateY(-1px)}
  .virgool-post.is-touch-active h3{color:var(--green-2);transform:translateX(-1px)}
  .resource-card.is-touch-active{
    transform:translateY(-4px);
    border-color:rgba(99,234,184,.30);
    box-shadow:0 20px 36px rgba(5,18,28,.22);
    background:linear-gradient(145deg, rgba(15,111,184,.22), rgba(24,210,144,.09) 72%), var(--surface-2);
  }

  .resource-card.is-touch-active::before{transform:translate(12px,12px) scale(1.05);border-color:rgba(99,234,184,.38)}
  .resource-card.is-touch-active::after{opacity:1;transform:scaleX(.8)}

  .resource-card.is-touch-active .resource-icon{
    color:#fff;
    background:var(--grad);
    box-shadow:0 9px 20px rgba(15,111,184,.24);
    transform:rotate(-4deg) scale(1.05);
  }

  .resource-card.is-touch-active .resource-link i{color:#fff;transform:translateX(-3px)}

  .exp-card.is-touch-active,
  .process-card.is-touch-active,
  .service-card.is-touch-active,
  .skill-card.is-touch-active{
    transform:translateY(-3px);
    border-color:rgba(47,148,209,.20);
    box-shadow:var(--shadow-hover);
  }

  .exp-card.is-touch-active::before,
  .process-card.is-touch-active::before{opacity:1}
  .process-card.is-touch-active .process-icon{transform:scale(1.07)}

  .about-item.is-touch-active{
    transform:translateX(-3px) translateY(-1px);
    border-color:rgba(99,234,184,.28);
    box-shadow:0 16px 26px rgba(5,18,28,.16);
  }

  .about-item.is-touch-active::before{opacity:1}
  .about-item.is-touch-active::after{opacity:1;transform:scaleY(1);box-shadow:0 0 14px rgba(99,234,184,.28)}
  .about-item.is-touch-active h3{color:var(--green-2);transform:translateX(-1px)}
  .about-item.is-touch-active .about-text{color:var(--text)}
  .about-item.is-touch-active .point-badge{
    color:#fff;
    background:var(--grad);
    box-shadow:0 11px 20px rgba(15,111,184,.24);
    transform:rotate(-5deg) scale(1.06);
  }

  .project-card-shell.is-touch-active{
    transform:translateY(-3px);
    box-shadow:var(--shadow-hover);
    border-color:rgba(47,148,209,.18);
  }

  .project-card-shell.is-touch-active::before{opacity:1}
  .project-card.is-touch-active{transform:translateY(-2px);box-shadow:var(--shadow-hover)}
  .project-card.is-touch-active .project-media img{transform:scale(1.022);filter:saturate(1.06)}
  .project-card.is-touch-active .project-link i{transform:translateX(-3px)}

  .product-card.is-touch-active{
    transform:translateY(-3px);
    border-color:rgba(99,234,184,.22);
    background:rgba(255,255,255,.055);
    box-shadow:0 16px 28px rgba(4,18,28,.18);
  }

  .product-card.is-touch-active::before{opacity:.82;transform:translateX(5%)}
  .product-card.is-touch-active .product-type{background:rgba(24,210,144,.16);color:var(--green-2)}
  .product-card.is-touch-active .product-title{color:var(--green-2)}
  .product-card.is-touch-active .product-text{color:var(--text)}

  .social-link.is-touch-active{
    transform:translateY(-2px) scale(.985);
    background:rgba(255,255,255,.085);
    border-color:rgba(99,234,184,.30);
    box-shadow:0 12px 22px rgba(5,18,28,.18);
    color:#fff;
    filter:none;
  }

  .social-link.is-touch-active::before{opacity:1;transform:scaleX(1)}
  .social-link.is-touch-active::after{opacity:1}
  .social-link.is-touch-active i{color:#fff;transform:translateY(-1px)}

  body.light-mode .social-link.is-touch-active{
    background:linear-gradient(135deg, #0b5f8b, #087a5d);
    border-color:transparent;
    box-shadow:0 16px 26px rgba(12,86,126,.22), 0 6px 14px rgba(7,139,103,.12);
    color:#fff;
  }

  body.light-mode .social-link.is-touch-active i{color:#fff}

  body.light-mode .virgool-post.is-touch-active .virgool-post-copy{background:#fff}
  body.light-mode .resource-card.is-touch-active{background:linear-gradient(145deg, rgba(15,99,143,.14), rgba(7,139,103,.08) 68%), #f5fafb}
  body.light-mode .product-card.is-touch-active{background:#fff;border-color:rgba(7,113,84,.18);box-shadow:0 14px 26px rgba(15,74,104,.10)}
  body.light-mode :is(.about-item,.process-card,.service-card,.skill-card,.exp-card).is-touch-active{border-color:rgba(15,99,143,.14)}
}

:is(.mobile-btn,.theme-switch,.side-link,.resume-link,.blog-link,.btn,.product-filter,.product-btn,.products-more,.social-link,.back-top,.github-activity-tools > a,.resources-all-link):focus-visible{
  outline:2px solid var(--green-2);
  outline-offset:3px;
}
