﻿:root{
  --bg-900:#0f0f12;
  --bg-850:#141418;
  --text:#f4f4f6;
  --muted:#b6b7be;
  --line:rgba(255,255,255,.10);

  --lime:#E1F066;
  --purple:#B3A1FF;

  --radius-xl:28px;
  --radius-lg:22px;

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --glass: rgba(255,255,255,.06);
}

*{box-sizing:border-box}
html,body{height:100%}

html{
  scrollbar-width: thin;
  scrollbar-color: var(--lime) var(--bg-850);
  scrollbar-gutter: stable;
  background: var(--bg-900);
}

html.menu-open{ scrollbar-gutter: auto; }

html::-webkit-scrollbar,
body::-webkit-scrollbar{
  width: 12px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track{
  background: var(--bg-850);
  border-radius: 999px;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb{
  background: linear-gradient(
    180deg,
    rgba(225,240,102,.95),
    rgba(225,240,102,.55)
  );
  border-radius: 999px;
  border: 3px solid var(--bg-850);
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover{
  background: var(--lime);
}
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner{
  background: var(--bg-850);
}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(179,161,255,.22), transparent 55%),
    radial-gradient(1200px 900px at 85% 25%, rgba(225,240,102,.20), transparent 55%),
    linear-gradient(180deg, var(--bg-900), #0b0b0d);
  overflow-x:hidden;
}

body::before, body::after{
  content:"";
  position:fixed;
  width:520px;
  height:520px;
  border-radius:50%;
  filter: blur(55px);
  opacity:.65;
  z-index:-1;
}
body::before{
  background: rgba(225,240,102,.30);
  left:-180px;
  top:260px;
}
body::after{
  background: rgba(179,161,255,.28);
  right:-220px;
  top:-160px;
}

.container{
  width:min(1380px, 96vw);
  margin-inline:auto;
}
header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:9999;
  backdrop-filter: blur(14px);
  background: rgba(15,15,18,.55);
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
  font-weight:800;
  letter-spacing:.4px;
}
.brand-badge{
  width:36px;height:36px;
  border-radius:12px;
  background: linear-gradient(135deg, rgba(225,240,102,.95), rgba(179,161,255,.95));
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.desk-nav{
  position:relative;
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 0;
  overflow:visible;
}

.desk-goo-layer{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:visible;
}
.desk-goo-layer-inner{
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:100%;
  height:72px;
  filter:url(#goo);
  -webkit-filter:url(#goo);
}

.goo-blob{
  position:absolute;
  top:50%;
  transform:translate(-50%,-50%);
  background: rgba(255,255,255,.94);
}

.goo-blob.pill{
  border-radius:999px;
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}

.goo-blob.bridge{
  border-radius: var(--br, 55% 45% 60% 40% / 45% 55% 45% 55%);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  animation: gooWobble var(--dur, 3.8s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}

@keyframes gooWobble{
  0%{ transform: translate(-50%,-50%) rotate(-2deg) scale(1); }
  100%{ transform: translate(-50%,-50%) rotate(2deg) scale(1.06); }
}


.desk-item{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#0f1012;
  font-weight:900;
  font-size:14px;
  padding:12px 16px;
  border-radius:999px;
  background: none;
  white-space:nowrap;
  transition: transform .15s ease, color .15s ease;
  will-change: transform;
}

.desk-item:hover{ transform: translateY(-1px); }
.desk-item.active{ color:#000; }

.desk-item:focus-visible{
  outline:none;
  box-shadow: 0 0 0 2px rgba(255,255,255,.75), 0 0 0 6px rgba(179,161,255,.35);
  border-radius:999px;
}



.bottom-nav{
  position: fixed;
  left:50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 999;
  display:none;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.94);
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

.bn-item{
  width:54px;
  height:54px;
  border-radius:999px;
  display:grid;
  place-items:center;
  text-decoration:none;
  color: rgba(0,0,0,.55);
  background: rgba(0,0,0,.07);
  transition:.15s ease;
}
.bn-item i{ font-size: 18px; }
.bn-item:hover{ background: rgba(0,0,0,.10); }
.bn-item.active{
  background: var(--purple);
  color:#0f1012;
}

@media (max-width: 740px){
  .desk-nav{
    position:relative;
    display:flex;
    align-items:center;
    gap:14px;
    padding:10px 0;
    overflow:visible;
  }

  .desk-goo-layer{
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    overflow:visible;
  }
  .desk-goo-layer-inner{
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:100%;
    height:72px;
    filter:url(#goo);
    -webkit-filter:url(#goo);
  }

  .goo-blob{
    position:absolute;
    top:50%;
    transform:translate(-50%,-50%);
    background: rgba(255,255,255,.94);
  }

  .goo-blob.pill{
    border-radius:999px;
    box-shadow: 0 18px 60px rgba(0,0,0,.22);
  }

  .goo-blob.bridge{
    border-radius: var(--br, 55% 45% 60% 40% / 45% 55% 45% 55%);
    box-shadow: 0 18px 60px rgba(0,0,0,.18);
    animation: gooWobble var(--dur, 3.8s) ease-in-out infinite alternate;
    animation-delay: var(--delay, 0s);
    will-change: transform;
  }

  @keyframes gooWobble{
    0%{ transform: translate(-50%,-50%) rotate(-2deg) scale(1); }
    100%{ transform: translate(-50%,-50%) rotate(2deg) scale(1.06); }
  }

  .bottom-nav{ display:flex; }
  .page{ padding-bottom: 130px; }
  body{ padding-bottom: 96px; }
}

.page{ padding:26px 0 60px;
  background: radial-gradient(1200px 800px at 20% 10%, rgba(179,161,255,.22), transparent 55%),
    radial-gradient(1200px 900px at 85% 25%, rgba(225,240,102,.20), transparent 55%),
    linear-gradient(180deg, var(--bg-900), #0b0b0d);
}

.card{
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.card-inner{ padding:22px; }

.card::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  background:
    radial-gradient(700px 260px at 20% 0%, rgba(225,240,102,.18), transparent 55%),
    radial-gradient(700px 260px at 80% 0%, rgba(179,161,255,.18), transparent 55%);
  pointer-events:none;
}
.contact-wrap{
  display:grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 34px;
  align-items:start;
  margin-top: 22px;
}

.contact-title{
  margin: 0 0 22px;
  font-size: clamp(42px, 4.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.6px;
  font-weight: 900;
}
.contact-title .accent{ color: var(--lime); }

.contact-desc{
  margin: 0 0 40px;
  color: rgba(255,255,255,.65);
  font-size: 16px;
  line-height: 1.7;
  max-width: 44ch;
}

.contact-block-title,
.follow-title{
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
}

.contact-list{
  display:flex;
  flex-direction:column;
  gap: 18px;
  margin: 0 0 44px;
  padding: 0;
  list-style:none;
}

.contact-item{
  display:flex;
  gap: 16px;
  align-items:flex-start;
  color: rgba(255,255,255,.70);
  font-size: 18px;
  line-height: 1.6;
}

.contact-item i{
  color: var(--lime);
  font-size: 18px;
  margin-top: 4px;
  width: 22px;
  text-align:center;
  flex: 0 0 22px;
}

.contact-item a{
  color: inherit;
  text-decoration: none;
}
.contact-item a:hover{
  color: var(--lime);
}

.social-row{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}

.social-link{
  --brand: #ffffff;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display:grid;
  place-items:center;

  background: rgba(255,255,255,.92);
  color: #0f1012;
  border: 1px solid rgba(255,255,255,.25);

  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  text-decoration:none;
}

.social-link i{ font-size: 18px; }

.social-link:hover{
  background: var(--brand);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.social-link.facebook{ --brand:#1877F2; }
.social-link.whatsapp{ --brand:#25D366; }
.social-link.linkedin{ --brand:#0A66C2; }
.social-link.instagram{ --brand:#E4405F; }

.contact-form-card{
  border-radius: 26px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  padding: 34px;
}

.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
}

.field{ display:grid; gap: 10px; }

.field label{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 18px;
}

.req{
  color: var(--lime);
  font-weight: 900;
}

.contact-form-card input,
.contact-form-card textarea{
  width: 100%;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.92);
  outline: none;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 30px rgba(0,0,0,.25);
}

.contact-form-card input{ height: 56px; }

.contact-form-card textarea{
  min-height: 180px;
  resize: none;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder{
  color: rgba(255,255,255,.35);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus{
  border-color: rgba(225,240,102,.35);
  box-shadow:
    0 0 0 4px rgba(225,240,102,.10),
    inset 0 1px 0 rgba(255,255,255,.06),
    0 14px 45px rgba(0,0,0,.35);
}

.field.full{ grid-column: 1 / -1; }

.contact-send{
  margin-top: 18px;
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
}

.btn-send{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
  min-width: 210px;
  border: none;
  padding: 0 56px 0 28px;
  background: var(--lime);
  color: #0f1012;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(225,240,102,.18);
  transition: transform .2s ease, background-color .8s ease, box-shadow .8s ease, color .8s ease;
  overflow: hidden;
}

.btn-send .btn-text{
  display: inline-block;
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}

.btn-send .btn-icon{
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  font-size: 16px;
  transition: left .8s ease, right .8s ease, transform .8s ease, color .8s ease;
  will-change: left, right, transform;
}

.btn-send:hover{
  background-color: rgb(168, 38, 255);
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(168, 38, 255, .22);
}

.btn-send:hover .btn-text{
  opacity: 0;
  transform: translateX(-8px);
}

.btn-send:hover .btn-icon{
  right: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
}

.btn-send:active{
  transform: translate(3px, 3px);
  box-shadow: 0 10px 26px rgba(168, 38, 255, .18);
}

.btn-send:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.75),
    0 0 0 6px rgba(179,161,255,.35),
    0 18px 45px rgba(168, 38, 255, .18);
}

.notice{
  color: rgba(255,255,255,.60);
  font-size: 13px;
}

@media (max-width: 980px){
  .contact-wrap{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
}

.page-banner{
  width: 100vw;
  height: 220px;
  overflow: hidden;

  position: relative;
  left: 50%;
  transform: translateX(-50%);

  background: none;
  margin: 0;
}

.page-banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-footer{
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
}

.site-footer .container{
  width: 100%;
  max-width: none;
  margin: 0;

  padding-left: 40px;
  padding-right: 140px;
}

.footer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.footer-left{
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.4;
}

.footer-left a{
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-weight: 800;
  transition: .2s ease;
}
.footer-left a:hover{ color: var(--lime); }

.footer-right{
  display:flex;
  align-items:center;
  gap: 44px;
}

.footer-right a{
  color: rgba(255,255,255,.70);
  text-decoration:none;
  font-weight: 600;
  transition: .2s ease;
}
.footer-right a:hover{ color: rgba(255,255,255,.92); }

@media (max-width: 740px){
  .site-footer .container{ padding-left: 22px; padding-right: 22px; }
  .footer-row{
    flex-direction:column;
    align-items:center;
    gap:12px;
    text-align:center;
  }
  .footer-left{ width:100%; text-align:center; }
  .footer-right{ justify-content:center; }
  .footer-social-icons{ width:100%; justify-content:center; }
}

header{
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;

  background: rgba(15,15,18,.75) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}

.nav.nav-simple{
  padding: 18px 0;
}

.logo-link{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  padding: 0;
  height: auto;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}

.logo-img{
  height: 100px;
  width: auto;
  display:block;

  filter: brightness(0) invert(1);

  mix-blend-mode: difference;
}

.menu-toggle{
  border: none;
  background: none;
  cursor: pointer;
  padding: 10px;

  display: grid;
  place-content: center;
  gap: 6px;

  color: rgba(255,255,255,.95);
  mix-blend-mode: difference;

  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease;
}

.menu-toggle:hover{ transform: translateY(-1px); }

.menu-line{
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  display: block;
  transition: transform .28s ease, opacity .2s ease;
  transform-origin: center;
}

.menu-line.line1{ margin-left: 4px; }
.menu-line.line2{ margin-left: -4px; }

body.menu-open .menu-line{ margin-left: 0; }

body.menu-open .menu-line.line1{ transform: translateY(4px) rotate(45deg); }
body.menu-open .menu-line.line2{ transform: translateY(-4px) rotate(-45deg); }

.menu-toggle:focus-visible,
.logo-link:focus-visible{
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,.75), 0 0 0 6px rgba(179,161,255,.35);
  border-radius: 10px;
}

@media (max-width: 560px){
  .logo-img{ height: 80px; }
  .nav.nav-simple{ padding: 14px 0; }
  .menu-toggle{ padding: 8px; }
}

.top-strip{ height: 140px; }

.menu-overlay{
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 120px 22px 40px;

  background: rgba(0,0,0,.62);
  backdrop-filter: blur(16px);

  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

body.menu-open .menu-overlay{
  opacity: 1;
  pointer-events: auto;
}

body.menu-open{ overflow: hidden; }
html.menu-open{ overflow: hidden; }

.menu-links{
  display: grid;
  gap: 18px;
  text-align: center;
}

.menu-links a{
  text-decoration: none;
  color: rgba(255,255,255,.95);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -0.6px;
  transition: transform .15s ease, color .15s ease;
}

.menu-links a:hover{ transform: translateY(-1px); color: var(--lime); }
.menu-links a.active{ color: var(--purple); }


/* =========================
   Take Me Up (Scroll to top)
========================= */
.take-me-up{
  position: fixed;
  right: 34px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 9999;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;

  box-shadow: 0 18px 55px rgba(0,0,0,.35);
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.take-me-up.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.take-me-up:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.85),
    0 0 0 6px rgba(255,255,255,.18),
    0 18px 55px rgba(0,0,0,.35);
}

.take-me-up svg{
  width: 48px;
  height: 48px;
  display: block;
}

.take-me-up .tmup-ring{
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.take-me-up .tmup-fill{
  fill: var(--lime);
}

.take-me-up .tmup-track{
  stroke: rgba(255,255,255,.22);
}

.take-me-up .tmup-progress{
  stroke: var(--bg-900);
  transition: stroke-dashoffset .12s linear;
}

.take-me-up .tmup-arrow{
  fill: var(--bg-900);
}

@media (prefers-reduced-motion: reduce){
  .take-me-up{
    transition: none;
  }
  .take-me-up .tmup-progress{
    transition: none;
  }
}

.footer-social-icons{
  display:none;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.site-footer .footer-social-icons .social-link{
  width:46px;
  height:46px;
}

@media (max-width: 740px){
  .page .container{
    width:100%;
    padding-left:22px;
    padding-right:22px;
  }

  .site-footer .footer-links{ display:none; }
  .site-footer .footer-social-icons{ display:flex; }
}

header{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;

  transition: transform .28s ease, opacity .28s ease;
  will-change: transform, opacity;

  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: none !important;
}

header.header-hidden{
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
}

/* =========================
   Projects Page
========================= */
.projects-section{
  margin-top: 22px;
}

.projects-hero{
  text-align: center;
  padding: 6px 0 10px;
}

.projects-hero .contact-title{
  margin: 0 auto 14px;
}

.projects-hero > .contact-desc{
  margin: 0 auto 22px;
  max-width: 64ch;
}

.filter-bar{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
  padding: 8px 0 24px;
}

.filter-btn{
  border:none;
  cursor:pointer;
  font-weight: 900;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 999px;

  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.90);
  border:1px solid rgba(255,255,255,.12);

  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.filter-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
}

.filter-btn.active{
  background: rgba(225,240,102,.92);
  color: #0f1012;
  border-color: rgba(225,240,102,.45);
}

.projects-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-bottom: 14px;
}

@media (max-width: 1100px){
  .projects-grid{ grid-template-columns: repeat(2, 1fr); }
}

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

.project-card{
  border-radius: 26px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  overflow:hidden;
  position:relative;
  transition: transform .18s ease, border-color .18s ease;
}

.project-card:hover{
  transform: translateY(-2px);
  border-color: rgba(225,240,102,.20);
}

.project-thumb{
  height: 180px;
  background:
    radial-gradient(600px 220px at 20% 20%, rgba(179,161,255,.28), transparent 60%),
    radial-gradient(600px 220px at 80% 20%, rgba(225,240,102,.22), transparent 60%),
    rgba(0,0,0,.28);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display:grid;
  place-items:center;
  color: rgba(255,255,255,.70);
  font-weight: 900;
  letter-spacing:.6px;
  position: relative;
  overflow: hidden;
}

.project-thumb-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-body{
  padding: 18px 18px 20px;
}

.project-title{
  margin:0 0 8px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.project-meta{
  margin:0 0 12px;
  color: rgba(255,255,255,.60);
  font-size: 14px;
  line-height: 1.6;
}

.project-tags{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style:none;
}

.tag{
  font-size: 12px;
  font-weight: 900;
  letter-spacing:.3px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
}

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

.btn-ghost{
  display:inline-flex;
  align-items:center;
  gap:10px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color: rgba(255,255,255,.90);
  text-decoration:none;
  font-weight: 900;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn-ghost:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,.28);
  border-color: rgba(255,255,255,.22);
}

.btn-ghost i{ color: var(--lime); }


/* =========================
   Services-like cards (top)
========================= */
.services-like{ margin: 8px 0 0; }

.services-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 18px 0 4px;
}

@media (max-width: 1100px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .services-grid{ grid-template-columns: 1fr; }
}

.svc-card{
  position:relative;
  border-radius: 26px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 26px 24px 24px;
  overflow:hidden;
  min-height: 230px;
  transition: transform .18s ease;
  text-align: left;
}

.svc-card:hover{
  transform: translateY(-2px);
}

.svc-num{
  position:absolute;
  right: 16px;
  top: 10px;
  font-size: 120px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -6px;
  color: rgba(255,255,255,.06);
  pointer-events:none;
  user-select:none;
  transform: scale(1);
  transform-origin: 70% 20%;
  transition: transform .22s ease, color .22s ease, -webkit-text-stroke .22s ease;
}

.svc-card:hover .svc-num{
  transform: scale(1.14);
  color: transparent;
  -webkit-text-stroke: 2px rgba(200,200,200,.38);
}

.svc-icon{
  width: 100%;
  height: auto;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  margin-bottom: 14px;
  color: var(--lime);

  background: none;
  border: none;
  border-radius: 0;
}

.svc-ico{
  width: 72px;
  height: 72px;
  display:block;
  background-color: currentColor; /* inherits --lime from .svc-icon */
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}


.svc-title{
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.4px;
  transition: color .15s ease;
  display:inline-block;
}

.svc-title:hover{ color: var(--purple); }

.svc-text{
  margin: 0;
  color: rgba(255,255,255,.70);
  font-size: 15px;
  line-height: 1.8;
  max-width: 36ch;
}


/* =========================
   Dividers
========================= */
.section-divider{
  height: 1px;
  width: 100%;
  margin: 34px 0;
  background: linear-gradient(90deg, transparent, rgba(225,240,102,.65), transparent);
  border: none;
  position: relative;
  z-index: 1;
}

/* =========================
   Q/A section
========================= */
.qa-section{ margin-top: 2px; position: relative; overflow: visible; z-index: 2; }

.qa-grid{
  display:grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 34px;
  align-items: stretch;
}

@media (max-width: 980px){
  .qa-grid{ grid-template-columns: 1fr; }
  .qa-left{ display:none !important; }
}

.qa-right{ text-align:left; }
.qa-left{
  height:100%;
  display:flex;
  align-items:stretch;
  justify-content:center;
  position: relative;
  overflow: visible;
}

.qa-img{
  /* Controls (edit these) */
  --qa-img-max: 700px;
  --qa-img-h: 520px;
  --qa-img-open-scale: 1.22; /* bigger when a question is open */
  --qa-img-open-lift: -8px;  /* moves UP when open */

  width: 100%;
  max-width: var(--qa-img-max);
  height: var(--qa-img-h);
  min-height: var(--qa-img-h);
  overflow: visible;
  border-radius: 0;

  /* allow overlap over the divider below */
  position: absolute;
  left: 75%;
  bottom: -70px; /* base vertical position */
  transform: translateX(-50%);
  transform-origin: 50% 100%; /* grow from bottom -> no extra going down */
  z-index: 5;

  transition: transform .22s ease;
  will-change: transform;
}

/* when any question opens -> grow the image, but only upward */
.qa-section.has-open .qa-img{
  transform: translateX(-50%) translateY(calc(var(--qa-img-open-lift) * -1)) scale(var(--qa-img-open-scale));
}


.qa-img img{
  width:58.4%;
  height:100%;
  object-fit: contain;         /* prevent cropping */
  display:block;
}

.qa-kicker{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(255,255,255,.72);
}

.qa-title{
  margin: 0 0 18px;
  font-size: clamp(30px, 2.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.6px;
  font-weight: 900;
  color: var(--lime);
}

.qa-list{ display:grid; gap: 14px; }

.qa-item.card{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 16px 50px rgba(0,0,0,.35);
  overflow: hidden;
}

.qa-trigger{
  width:100%;
  border: none;
  background: none;
  cursor: pointer;
  padding: 18px 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-size: 16px;
}

.qa-trigger:focus-visible{
  outline:none;
  box-shadow: 0 0 0 2px rgba(255,255,255,.75), 0 0 0 6px rgba(179,161,255,.30);
  border-radius: 18px;
}

.qa-q{ transition: color .15s ease; text-align:left; }
.qa-trigger:hover .qa-q{ color: var(--purple); }

.qa-plus{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  flex: 0 0 40px;
}

.qa-plus i{
  transition: transform .18s ease, color .18s ease;
  color: rgba(255,255,255,.80);
}

.qa-item.is-open .qa-plus i{
  transform: rotate(45deg);
  color: var(--lime);
}

.qa-panel{
  padding: 0 18px 18px;
  color: rgba(255,255,255,.70);
  line-height: 1.8;
}

.qa-panel p{ margin: 0; }

/* =========================
   Featured project
========================= */

.contact-kicker{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(255,255,255,.72);
}

.featured-section{ margin-top: 0; }

.featured-head{
  display:flex;
  justify-content:center;
  text-align:center;
  margin: 0 0 22px;
}

.featured-head .contact-desc{
  margin: 0 auto;
  max-width: 75ch;
}

.featured-layout{
  display:grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 34px;
  align-items:center;
}

@media (max-width: 980px){
  .featured-layout{ grid-template-columns: 1fr; }
}

.featured-left{ text-align:left; }

.featured-note{
  margin: 10px 0 18px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.7;
  max-width: 50ch;
}

.featured-action-row{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin-top: 12px;
}

.featured-right{ position:relative; }

.featured-media{
  position:relative;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.featured-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  padding: 0;
}

/* Requested: image area height */
.featured-media{ height: 300px; }

@media (max-width: 560px){
  .featured-media{ height: 260px; }
}

.featured-badges{
  position:absolute;
  left: 16px;
  bottom: 16px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  z-index: 2;
}

.feat-badge{
  min-width: 240px;
  padding: 12px 14px;
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}

.feat-badge{
  transition: opacity .22s ease, transform .22s ease;
}

.feat-badge.is-fading{
  opacity: 0;
  transform: translateY(6px);
}

.feat-badge strong{
  display:block;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.2px;
  line-height: 1.05;
}

.feat-badge span{
  display:block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  opacity: .92;
}

/* Colors requested:
   - green on black
   - purple on white
*/
.feat-badge.lime-on-black{
  background: #0b0b0d;
  border: 1px solid rgba(225,240,102,.35);
  color: var(--lime);
}

.feat-badge.purple-on-white{
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(0,0,0,.10);
  color: #0f1012;
}

.feat-badge.purple-on-white strong{ color: var(--purple); }
.feat-badge.purple-on-white span{ color: rgba(15,16,18,.72); }


  /* Hide full projects list (keep only the featured/suggested project) */
  .filter-bar, .projects-grid { display: none !important; }

  /* =========================
     About Me (custom)
  ========================= */
  .about-section{ padding: 6px 0 26px; }

  .about-hero{
    display:grid;
    gap: 14px;
    justify-items:center;
    text-align:center;
    margin: 8px auto 18px;
  }

  .about-title{
    margin: 6px 0 0;
    font-size: clamp(42px, 5.2vw, 72px);
    line-height: 1.03;
    letter-spacing: -.6px;
    font-weight: 900;
    color: rgba(255,255,255,.96);
  }

  .about-title .title-emoji{
    width: 70px;
    height: 70px;
    margin: 0;
    vertical-align: -18px;
    display: inline-block;
    background: var(--lime);
    -webkit-mask-image: url('assets/img/emoji.png');
    mask-image: url('assets/img/emoji.png');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    filter: drop-shadow(0 16px 30px rgba(0,0,0,.35));
  }

  .about-divider{
    width: min(760px, 94vw);
    display:flex;
    align-items:center;
    justify-content:center;
    gap: 12px;
    margin: 6px auto 0;
    opacity: .92;
  }
  .about-divider span{
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  }
  .about-divider img{
    width: 34px;
    height: 34px;
    object-fit: contain;
    opacity: .95;
  }
  .about-divider.big{ width: min(980px, 96vw); margin-top: 10px; }
  .about-divider.big img{ width: 42px; height: 42px; }

  .about-intro{
    margin: 0;
    width: min(980px, 92vw);
    font-size: 18px;
    line-height: 1.85;
    color: rgba(255,255,255,.92);
  }
  .about-intro .lime{ color: var(--lime); font-weight: 900; }

  .about-block{ margin-top: 18px; }

  .tools-section{
    margin-top: 14px;
    padding: 22px;
    --tools-arrows-w: 1480px;
    --tools-arrows-x: 370px;
    --tools-arrows-y: -315px;
    --tools-arrows-rotate: 0deg;
    --tools-arrows-opacity: 1;
  }
  .tools-section::before{
    content:"";
    position:absolute;
    inset:-1px;
    border-radius: inherit;
    background: radial-gradient(700px 260px at 20% 0%, rgba(225,240,102,.16), transparent 55%),
                radial-gradient(700px 260px at 80% 0%, rgba(179,161,255,.16), transparent 55%);
    pointer-events:none;
  }
  .tools-grid{
    position:relative;
    display:grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 18px;
    align-items:start;
  }

  .tools-left{ position: relative; }
  .tools-arrows{
    display:none;
    position:absolute;
    left: 50%;
    top: 0;
    width: var(--tools-arrows-w);
    height: auto;
    transform: translate(-50%, 0) translate(var(--tools-arrows-x), var(--tools-arrows-y)) rotate(var(--tools-arrows-rotate));
    transform-origin: 50% 50%;
    opacity: var(--tools-arrows-opacity);
    pointer-events:none;
    user-select:none;
    z-index: 1;
    filter: drop-shadow(0 14px 26px rgba(0,0,0,.35));
  }
  .tools-title, .tools-note{ position: relative; z-index: 2; }

  /* Desktop: keep left, but vertically centered */
  @media (min-width: 921px){
    .tools-grid{ align-items: stretch; }
    .tools-grid > div:first-child{
      display:flex;
      flex-direction:column;
      justify-content:center;
      height: 100%;
      text-align:center;
    }
    .tools-arrows{ display:block; }
  }
  .tools-title{
    margin:0;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -.3px;
    font-weight: 950;
    color: rgba(255,255,255,.96);
  }
  .tools-title .my{ color: var(--lime); }
  .tools-note{ margin: 10px 0 0; color: rgba(255,255,255,.72); line-height: 1.6; }

  .skills{ display:grid; gap: 12px; }
  .skill{
    display:grid;
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    align-items:center;
    padding: 12px 12px;
    border-radius: 18px;
    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.08);
  }

  .skill-ico{
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display:grid;
    place-items:center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
  }
  .skill-ico i{ font-size: 20px; color: rgba(255,255,255,.92); }
  .skill-ico img{ width: 22px; height: 22px; display:block; }

  .skill-meta{ display:flex; flex-direction:column; gap: 7px; }
  .skill-label{ font-weight: 900; letter-spacing: .2px; color: rgba(255,255,255,.92); }
  .skill-bar{
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    overflow:hidden;
    border: 1px solid rgba(255,255,255,.10);
  }
  .skill-fill{
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(225,240,102,.95), rgba(179,161,255,.92));
    box-shadow: 0 16px 45px rgba(225,240,102,.18);
    animation: fillSkill 1.15s ease forwards;
  }
  .skill[data-p] .skill-fill{ width: calc(var(--p, 0) * 1%); }
  .skill[data-p]{ --p: 0; }

  .skill-pct{
    font-weight: 950;
    color: rgba(255,255,255,.92);
    letter-spacing: .2px;
  }
  .skill:hover .skill-ico{ transform: translateY(-1px); }
  .skill, .skill-ico{ transition: transform .18s ease, background .18s ease; }

  @keyframes fillSkill{
    from{ width: 0; }
    to{ width: calc(var(--p, 0) * 1%); }
  }

  .work-head{
    display:grid;
    gap: 8px;
    justify-items:center;
    text-align:center;
    margin: 18px 0 10px;
  }
  .work-title{
    margin:0;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -.3px;
    color: rgba(255,255,255,.96);
  }
  .work-sub{
    margin:0;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
    width: min(920px, 92vw);
  }

  .xp-grid{ display:grid; gap: 14px; margin-top: 14px; }

  .xp-card{
    display:grid;
    grid-template-columns: 1.3fr .9fr;
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,.06);
    border:1px solid var(--line);
    box-shadow: var(--shadow);
    overflow:hidden;
  }
  .xp-content{ padding: 20px 22px; }
  .xp-title{
    margin:0;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -.2px;
    color: rgba(255,255,255,.96);
  }
  .xp-text{
    margin: 10px 0 14px;
    color: rgba(255,255,255,.80);
    line-height: 1.75;
  }
  .xp-keywords{ display:flex; flex-wrap:wrap; gap: 8px; }
  .kw{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.90);
    font-weight: 850;
    font-size: 12.5px;
  }
  .kw strong{ color: var(--lime); }

  .xp-media{ position:relative; min-height: 180px; }
  .xp-media img{
    width:100%;
    height:100%;
    object-fit: cover;
    display:block;
    filter: saturate(1.05) contrast(1.03);
  }
  .xp-media::after{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(90deg, rgba(15,15,18,.35), rgba(15,15,18,0) 45%);
    pointer-events:none;
  }

  @media (max-width: 920px){
    .tools-grid{ grid-template-columns: 1fr; }
    .xp-card{ grid-template-columns: 1fr; }
    .xp-media{ min-height: 210px; }
    .xp-media::after{ background: linear-gradient(180deg, rgba(15,15,18,.35), rgba(15,15,18,0) 55%); }

    .about-title .title-emoji{ width: 70px; height: 70px; vertical-align: -16px; }
    .about-divider img{ width: 30px; height: 30px; }
    .about-divider.big img{ width: 38px; height: 38px; }
  }

  @media (max-width: 560px){
    .about-title{ transform: translateX(-10px); }
  }
