*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:     #F2F2F0;
  --bg2:    #EAEAE7;
  --white:  #FFFFFF;
  --black:  #0D0D0D;
  --dark:   #1C1C1C;
  --mid:    #3A3A3A;
  --muted:  #787878;
  --border: #E0E0DC;
  --accent: #0066FF;
  --fs: 'Space Grotesk', sans-serif;
  --fb: 'Manrope', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--fb); background: var(--bg); color: var(--black); font-weight: 300; overflow-x: hidden; }

/* ── NAVBAR NEW ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 64px; padding: 0 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: #ffffff;
  border-bottom: 1.5px solid #E0E0DC;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.navbar-logo {
  font-family: var(--fs); font-size: 20px; font-weight: 800;
  color: #0D0D0D; text-decoration: none; letter-spacing: -.03em;
  flex-shrink: 0;
}
.navbar-right {
  display: flex; align-items: center; gap: 32px;
}
.navbar-right a {
  font-family: var(--fb); font-size: 13.5px; font-weight: 600;
  color: #0D0D0D; text-decoration: none; letter-spacing: 0;
  white-space: nowrap;
}
.navbar-right a:hover { color: #0D0D0D; text-decoration: underline; text-underline-offset: 4px; }
.navbar-btn {
  background: #0D0D0D; color: #ffffff !important;
  padding: 9px 22px; border-radius: 8px;
  font-size: 13px; font-weight: 600; text-decoration: none !important;
  transition: background .2s;
}
.navbar-btn:hover { background: #0066FF !important; text-decoration: none !important; }

/* ── HERO SLIDER ── */
#hero {
  position: relative; width: 100%; height: 100vh;
  min-height: 680px; overflow: hidden; display: flex; align-items: flex-end;
}
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.3s ease;
  filter: blur(3px); transform: scale(1.04);
}
.slide.active { opacity: 1; }
.slide:nth-child(1) { background-image: url('https://images.unsplash.com/photo-1547658719-da2b51169166?w=1800&q=80&auto=format'); }
.slide:nth-child(2) { background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=1800&q=80&auto=format'); }
.slide:nth-child(3) { background-image: url('https://images.unsplash.com/photo-1561070791-2526d30994b5?w=1800&q=80&auto=format'); }
.slide:nth-child(4) { background-image: url('https://images.unsplash.com/photo-1504639725590-34d0984388bd?w=1800&q=80&auto=format'); }
.slide:nth-child(5) { background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1800&q=80&auto=format'); }
.slide:nth-child(6) { background-image: url('https://images.unsplash.com/photo-1611162617213-7d7a39e9b1d7?w=1800&q=80&auto=format'); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(13,13,13,.3) 0%, rgba(13,13,13,.38) 35%, rgba(13,13,13,.80) 70%, rgba(13,13,13,.97) 100%);
}
.sdots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 8px;
}
.sdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.3); border: none; padding: 0; cursor: pointer;
  transition: background .3s, transform .3s;
}
.sdot.active { background: #fff; transform: scale(1.35); }
.sarr {
  position: absolute; top: 50%; z-index: 10; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.sarr:hover { background: rgba(255,255,255,.22); }
.sarr svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }
.sarr-l { left: 28px; }
.sarr-r { right: 28px; }
.hero-cnt {
  position: relative; z-index: 5; width: 100%;
  padding: 0 64px 80px;
  display: flex; align-items: flex-end; justify-content: flex-end; gap: 40px;
}

/* Per-slide info */
.slide-infos {
  position: absolute; left: 64px; bottom: 80px; z-index: 5; max-width: 660px;
}
.slide-info { display: none; }
.slide-info.active { display: block; animation: sfadeIn .7s ease; }
@keyframes sfadeIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
.slide-role {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 16px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.9); margin-bottom: 20px;
}
.slide-role::before { content:''; width:6px; height:6px; background:#4ADE80; border-radius:50%; }
.hero-lft { max-width: 680px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; color: rgba(255,255,255,.8); margin-bottom: 22px;
}
.chip-dot { width: 6px; height: 6px; background: #4ADE80; border-radius: 50%; }
h1 {
  font-family: var(--fs); font-size: clamp(50px,7vw,96px);
  font-weight: 800; line-height: .96; letter-spacing: -.04em;
  color: #fff; margin-bottom: 24px;
}
h1 span { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.45); }
.hero-sub { font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.75; max-width: 460px; font-weight: 300; }
.hero-rgt { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; flex-shrink: 0; }
.hero-act { display: flex; gap: 12px; }
.btn-w {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--black); text-decoration: none;
  font-family: var(--fb); font-size: 13px; font-weight: 500;
  padding: 12px 24px; border-radius: 10px; transition: background .2s, color .2s, transform .15s;
}
.btn-w:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-g {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2); color: #fff;
  text-decoration: none; font-family: var(--fb); font-size: 13px;
  font-weight: 400; padding: 12px 24px; border-radius: 10px; transition: background .2s;
}
.btn-g:hover { background: rgba(255,255,255,.18); }
.hero-stats {
  display: flex;
  background: rgba(255,255,255,.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden;
}
.hst { padding: 14px 26px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.hst:last-child { border-right: none; }
.hst-n { font-family: var(--fs); font-size: 24px; font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1; }
.hst-l { font-size: 10px; color: rgba(255,255,255,.45); margin-top: 4px; }

/* ── SECTION ── */
.sec { padding: 96px 56px; }
.sw { background: var(--white); }
.sg { background: var(--bg); }
.sdk { background: var(--dark); }
.wrap { max-width: 1100px; margin: 0 auto; }
.wrap-md { max-width: 960px;  margin: 0 auto; }
.wrap-sm { max-width: 860px;  margin: 0 auto; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.sdk .eyebrow { color: rgba(255,255,255,.38); }
h2.hd {
  font-family: var(--fs); font-size: clamp(34px,4.2vw,54px);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.0; color: var(--black);
}
.sdk h2.hd { color: #fff; }
h2.hd em { font-style: normal; color: var(--accent); }

/* ── ABOUT ── */
.about-g { display: grid; grid-template-columns: 350px 1fr; gap: 72px; align-items: center; }
.about-imgw { position: relative; }
.about-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 16px; display: block; }
.about-fc {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--white); border-radius: 12px;
  padding: 14px 18px; box-shadow: 0 8px 28px rgba(0,0,0,.10);
  border: 1px solid var(--border);
}
.afc-l { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.afc-v { font-family: var(--fs); font-size: 19px; font-weight: 700; color: var(--black); letter-spacing: -.03em; }
.about-bd p { font-size: 15px; color: var(--mid); line-height: 1.88; margin-bottom: 1.1rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4rem; }
.pill { font-size: 12px; color: var(--dark); background: var(--bg2); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; }
.astats { display: flex; gap: 0; margin-top: 2rem; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.ast { flex: 1; padding: 18px; text-align: center; border-right: 1px solid var(--border); }
.ast:last-child { border-right: none; }
.ast-n { font-family: var(--fs); font-size: 30px; font-weight: 800; color: var(--black); letter-spacing: -.04em; line-height: 1; }
.ast-l { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ── SKILLS ── */
.skills-hdr { text-align: center; margin-bottom: 36px; }

/* ── SKILL TAB BUTTONS ── */
.skill-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.stab {
  font-family: var(--fb); font-size: 13px; font-weight: 600;
  padding: 9px 22px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--border); background: transparent;
  color: var(--muted); transition: all .22s;
}
.stab:hover { border-color: var(--black); color: var(--black); }
.stab.active { background: var(--black); color: #fff; border-color: var(--black); }
body.dark .stab.active { background: #F2F2F0; color: #0D0D0D; border-color: #F2F2F0; }

/* ── SKILL PANELS ── */
.skill-panel { display: none; }
.skill-panel.active { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px 48px; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.sg-title { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); display: inline-block; }
.ski { margin-bottom: 18px; }
.ski-row { display: flex; justify-content: space-between; margin-bottom: 7px; }
.ski-name { font-size: 13.5px; font-weight: 400; color: var(--black); }
.ski-pct { font-family: var(--fs); font-size: 12px; font-weight: 700; color: var(--accent); }
.ski-track { height: 4px; background: var(--border); border-radius: 4px; overflow: hidden; }
.ski-fill { height: 100%; background: var(--accent); border-radius: 4px; width: 0%; transition: width 1.2s cubic-bezier(.25,.46,.45,.94); }
@media(max-width:900px) {
  .skill-panel.active { grid-template-columns: 1fr 1fr; gap: 28px 36px; }
}
@media(max-width:580px) {
  .skill-panel.active { grid-template-columns: 1fr; gap: 28px; }
}

/* ── SERVICES ── */
.svc-hdr { margin-bottom: 44px; }
.svc-g { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.svc {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 34px 28px;
  transition: background .25s, border-color .25s, transform .25s;
}
.svc:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); transform: translateY(-3px); }
.svc-num { font-size: 11px; font-weight: 500; letter-spacing: .1em; color: rgba(255,255,255,.22); margin-bottom: 12px; }
.svc-t { font-family: var(--fs); font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -.02em; margin-bottom: 10px; line-height: 1.2; }
.svc-bar { width: 22px; height: 2px; background: var(--accent); border-radius: 2px; margin-bottom: 12px; transition: width .3s; }
.svc:hover .svc-bar { width: 44px; }
.svc-d { font-size: 13.5px; color: rgba(255,255,255,.42); line-height: 1.8; }

/* ── TESTIMONIAL ── */
.test-w { max-width: 760px; margin: 0 auto; text-align: center; }
.test-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 24px; }
blockquote {
  font-family: var(--fs); font-size: clamp(18px,2.5vw,27px);
  font-weight: 600; color: var(--black); line-height: 1.45; letter-spacing: -.02em; margin-bottom: 2rem;
}
.ta { display: flex; align-items: center; justify-content: center; gap: 14px; }
.tav { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tsep { width: 1px; height: 34px; background: var(--border); }
.tn { font-size: 14px; font-weight: 500; color: var(--black); text-align: left; }
.tr { font-size: 12px; color: var(--muted); text-align: left; }

/* ── CONTACT ── */
.contact-g { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.cl p { font-size: 15px; color: var(--mid); line-height: 1.85; margin-bottom: 1rem; }
.cinfo { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 13px; }
.ci { display: flex; gap: 12px; align-items: center; }
.cib {
  width: 32px; height: 32px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cib svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.ci-lbl { font-size: 11px; color: var(--muted); }
.ci-v { font-size: 14px; color: var(--black); font-weight: 400; }

/* ── FOOTER ── */
footer {
  background: #EAEAE7; padding: 56px 56px 36px; text-align: center;
}
.fl-logo { margin-bottom: 28px; }
.fl-name {
  font-family: var(--fs); font-size: 26px; font-weight: 800;
  color: #0D0D0D; text-decoration: none; letter-spacing: -.03em;
}
.fl-tag { font-size: 13px; color: #787878; margin-top: 6px; }
.fn {
  display: flex; justify-content: center; align-items: center;
  gap: 10px; margin-bottom: 28px; flex-wrap: wrap;
}
.fn a { font-size: 12px; color: #787878; text-decoration: none; transition: color .2s; padding: 0 4px; }
.fn a:hover { color: #0D0D0D; }
.fn-sep { width: 1px; height: 12px; background: #C8C8C4; }
.fsocs { display: flex; justify-content: center; gap: 12px; margin-bottom: 32px; }
.fsoc {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #C8C8C4;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: border-color .2s, background .2s;
}
.fsoc:hover { border-color: var(--accent); background: rgba(0,102,255,.08); }
.fsoc svg { width: 15px; height: 15px; fill: #787878; }
.fsoc:hover svg { fill: var(--accent); }
.fbot { border-top: 1px solid #D4D4D0; padding-top: 22px; font-size: 12px; color: #787878; }

/* ── REVEAL ── */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.rvl { opacity: 0; transform: translateX(-20px); transition: opacity .6s ease, transform .6s ease; }
.rvr { opacity: 0; transform: translateX(20px);  transition: opacity .6s ease, transform .6s ease; }
.on { opacity: 1 !important; transform: none !important; }
.d1 {transition-delay:.08s}
.d2 {transition-delay:.16s}
.d3 {transition-delay:.24s}
.d4 {transition-delay:.32s}

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET ≤1024px
══════════════════════════════════════════ */
@media(max-width:1024px) {
  /* section padding */
  .sec { padding: 72px 28px; }
  footer { padding: 44px 28px 28px; }
  /* hero */
  #hero { height: 88vh; min-height: 580px; }
  .slide-infos { left: 28px; bottom: 90px; max-width: calc(100% - 56px); }
  h1 { font-size: clamp(36px,6vw,58px); }
  .hero-sub { font-size: 14px; max-width: 360px; }
  .hero-cnt { padding: 0 28px 60px; flex-direction: column; align-items: flex-start; }
  .hero-rgt { align-items: flex-start; width: 100%; }
  .hero-stats { flex-wrap: wrap; }
  .sarr { display: none; }
  /* navbar */
  .navbar-right a:not(.navbar-btn) { display: none; }
  #ham-btn { display: flex; }
  .mob-menu { display: flex; }
  /* about */
  .about-g { grid-template-columns: 1fr; gap: 36px; }
  .about-imgw { max-width: 320px; margin: 0 auto; }
  .astats { flex-wrap: wrap; }
  .ast { min-width: 80px; }
  /* layout grids */
  .svc-g { grid-template-columns: 1fr 1fr; }
  .contact-g { grid-template-columns: 1fr; gap: 44px; }
  /* skill tabs */
  .skill-tabs { gap: 8px; }
  .stab { font-size: 12px; padding: 8px 16px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE ≤768px
══════════════════════════════════════════ */
@media(max-width:768px) {
  /* section padding */
  .sec { padding: 56px 20px; }
  footer { padding: 40px 20px 24px; }
  /* hero */
  #hero { height: 88vh; min-height: 520px; }
  .slide-infos { left: 20px; bottom: 80px; max-width: calc(100% - 40px); }
  h1 { font-size: clamp(28px,8vw,44px); }
  .hero-sub { font-size: 13px; max-width: 100%; }
  .hero-cnt { padding: 0 20px 56px; }
  .hero-act { flex-wrap: wrap; gap: 10px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
  .hst { padding: 10px 12px; }
  .hst-n { font-size: 20px; }
  /* navbar */
  .navbar { padding: 0 20px; }
  .navbar-logo { font-size: 15px; }
  .navbar-btn { display: none; }
  /* about */
  .about-imgw { max-width: 260px; }
  .about-socials { left: -8px; }
  .about-fc { right: -8px; bottom: -10px; padding: 10px 12px; }
  .afc-v { font-size: 15px; }
  .astats { display: grid; grid-template-columns: 1fr 1fr; }
  .ast { padding: 14px 10px; }
  .ast-n { font-size: 24px; }
  .about-btns { flex-direction: column; align-items: flex-start; }
  /* services */
  .svc-g { grid-template-columns: 1fr; }
  /* skills */
  .skill-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .skill-tabs::-webkit-scrollbar { display: none; }
  .stab { flex-shrink: 0; font-size: 11px; padding: 7px 14px; }
  .skill-panel.active { grid-template-columns: 1fr; }
  /* sites grid */
  .sites-grid { grid-template-columns: repeat(3,1fr); }
  /* section headings */
  h2.hd { font-size: clamp(26px,7vw,38px); }
  /* wrap padding safety */
  .wrap, .wrap-md, .wrap-sm { padding-left: 0; padding-right: 0; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE ≤480px
══════════════════════════════════════════ */
@media(max-width:480px) {
  /* section padding */
  .sec { padding: 44px 16px; }
  footer { padding: 36px 16px 20px; }
  /* hero */
  #hero { height: 88vh; min-height: 480px; }
  .slide-infos { left: 16px; bottom: 72px; max-width: calc(100% - 32px); }
  h1 { font-size: clamp(26px,9vw,38px); line-height: 1.0; }
  .hero-sub { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .slide-role { font-size: 10px; padding: 5px 12px; margin-bottom: 12px; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .hst { padding: 8px 10px; }
  .hst-n { font-size: 18px; }
  .hst-l { font-size: 9px; }
  /* navbar */
  .navbar { padding: 0 16px; height: 56px; }
  /* about */
  .about-imgw { max-width: 220px; }
  .astats { grid-template-columns: 1fr 1fr; }
  .ast-n { font-size: 22px; }
  /* skills */
  .skill-panel.active { grid-template-columns: 1fr; gap: 24px; }
  /* sites grid */
  .sites-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .site-name { font-size: 12px; }
  .site-url { font-size: 10px; }
  .site-q { padding: 14px 12px 10px; }
  /* services */
  .svc-g { grid-template-columns: 1fr; }
  /* contact */
  .contact-g { grid-template-columns: 1fr; }
  /* footer */
  .fn { gap: 6px; }
  .fn-sep { display: none; }
  /* section headings */
  h2.hd { font-size: clamp(24px,8vw,32px); }
  .eyebrow { font-size: 10px; }
  /* buttons */
  .btn-viewall { font-size: 13px; padding: 12px 24px; }
  .about-btns { gap: 10px; }
  .btn-cv, .btn-hireme { font-size: 12px; padding: 10px 18px; }
}

/* ── CV DOWNLOAD BUTTON ── */
.about-btns { display: flex; gap: 12px; align-items: center; margin-top: 22px; flex-wrap: wrap; }
.btn-cv {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--black); color: #fff;
  text-decoration: none; font-family: var(--fb); font-size: 13px; font-weight: 500;
  padding: 12px 22px; border-radius: 10px;
  transition: background .2s, transform .15s;
}
.btn-cv:hover { background: var(--accent); transform: translateY(-2px); }
.btn-cv svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 2; flex-shrink: 0; }
.btn-hireme {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--black);
  border: 1.5px solid var(--border); text-decoration: none;
  font-family: var(--fb); font-size: 13px; font-weight: 600;
  padding: 12px 22px; border-radius: 10px;
  transition: border-color .2s, background .2s, transform .15s;
}
.btn-hireme:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── ABOUT IMAGE SOCIAL OVERLAY ── */
.about-socials {
  position: absolute; bottom: 60px; left: -18px;
  display: flex; flex-direction: column; gap: 10px; z-index: 2;
}
.about-soc {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.about-soc:hover { transform: scale(1.14); box-shadow: 0 6px 20px rgba(0,0,0,.28); }
.about-soc svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.7; }

/* Instagram — real gradient */
.about-soc.soc-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

/* LinkedIn — real brand blue */
.about-soc.soc-li { background: #0A66C2; }
.about-soc.soc-li svg { fill: #fff; stroke: none; }

/* Dribbble — real brand pink */
.about-soc.soc-dr { background: #EA4C89; }

/* Behance — real brand blue */
.about-soc.soc-be { background: #053eff; }

/* ── COUNTER NUMBERS ── */
.ast-n { font-family: var(--fs); font-size: 30px; font-weight: 800; color: var(--black); letter-spacing: -.04em; line-height: 1; }

/* ── BACK TO TOP ── */
#btt {
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--black); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s;
  pointer-events: none;
}
#btt.show { opacity: 1; transform: translateY(0); pointer-events: all; }
#btt:hover { background: var(--accent); }
#btt svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; }

/* ── PAGE PRELOADER ── */
#preloader {
  position: fixed; inset: 0; z-index: 9000;
  background: #0D0D0D;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.pre-logo {
  font-family: var(--fs); font-size: 28px; font-weight: 800;
  color: #fff; letter-spacing: -.04em;
}
.pre-logo span { color: var(--accent); }
.pre-bar { width: 160px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.pre-fill { height: 100%; width: 0%; background: var(--accent); border-radius: 2px; transition: width .04s linear; }

/* ── DARK MODE ── */
body.dark {
  --bg: #111111; --bg2: #181818; --white: #1E1E1E;
  --black: #F2F2F0; --dark: #F2F2F0; --mid: #C8C8C4;
  --muted: #888884; --border: #2E2E2E;
}
body.dark .navbar { background: #141414; border-color: #2E2E2E; }
body.dark .navbar-logo { color: #F2F2F0; }
body.dark .navbar-right a { color: #F2F2F0; }
body.dark .navbar-btn { background: #F2F2F0; color: #0D0D0D !important; }
body.dark .navbar-btn:hover { background: var(--accent) !important; color: #fff !important; }
body.dark #btt { background: #F2F2F0; }
body.dark #btt svg { stroke: #0D0D0D; }
body.dark .mob-menu { background: #141414; border-color: #2E2E2E; }

/* Fix services section in dark mode - keep it visually distinct */
body.dark #services { background: #0A0A0A; }
body.dark .svc { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.10); }
body.dark .svc:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); }
body.dark .svc-t { color: #fff; }
body.dark .svc-d { color: rgba(255,255,255,.5); }
body.dark .svc-num { color: rgba(255,255,255,.28); }

/* Fix footer in dark mode */
body.dark footer { background: #181818; }
body.dark .fl-name { color: #F2F2F0; }
body.dark .fl-tag, body.dark .fn a, body.dark .fbot { color: #888884; }
body.dark .fn a:hover { color: #F2F2F0; }
body.dark .fn-sep { background: #2E2E2E; }
body.dark .fsoc { border-color: #2E2E2E; }
body.dark .fsoc svg { fill: #888884; }

/* Dark mode toggle button */
#dm-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border);
  background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s; flex-shrink: 0;
}
#dm-toggle:hover { border-color: var(--accent); background: rgba(0,102,255,.08); }
#dm-toggle svg { width: 16px; height: 16px; fill: none; stroke: #0D0D0D; stroke-width: 1.8; }
body.dark #dm-toggle svg { stroke: #F2F2F0; }

/* ── HAMBURGER ── */
#ham-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; background: none; border: none; cursor: pointer; padding: 6px;
}
#ham-btn span {
  display: block; height: 2px; background: #0D0D0D; border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
}
#ham-btn span:nth-child(3) { width: 60%; }
#ham-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#ham-btn.open span:nth-child(2) { opacity: 0; }
#ham-btn.open span:nth-child(3) { width: 100%; transform: translateY(-7px) rotate(-45deg); }
body.dark #ham-btn span { background: #F2F2F0; }

/* Mobile dropdown menu */
.mob-menu {
  display: none; position: fixed; top: 74px; right: 16px; z-index: 499;
  width: 220px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.13);
  flex-direction: column; padding: 10px 12px 14px;
  transform: translateY(-8px) scale(.97); opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
  transform-origin: top right;
  max-height: calc(100vh - 80px); overflow-y: auto;
}
@media(max-width:480px) {
  .mob-menu { top: 64px; right: 12px; width: 200px; }
}
.mob-menu.open { transform: translateY(0) scale(1); opacity: 1; }
.mob-menu a {
  font-family: var(--fb); font-size: 14px; font-weight: 600;
  color: #0D0D0D; text-decoration: none; padding: 10px 12px;
  border-radius: 8px; display: block;
  transition: background .15s, color .15s;
}
body.dark .mob-menu a { color: #F2F2F0; }
.mob-menu a:hover { background: var(--bg); color: var(--accent); }
.mob-menu-cta {
  margin-top: 6px; background: #0D0D0D !important; color: #fff !important;
  text-align: center; padding: 11px 12px !important; border-radius: 8px !important;
}
.mob-menu-cta:hover { background: var(--accent) !important; color: #fff !important; }

/* ── PROJECTS / SITES GRID ── */
.proj-hdr { text-align: center; margin-bottom: 44px; }
.sites-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px; margin-bottom: 36px;
}
.site-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.site-item:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.07); }
.site-item.open { border-color: var(--accent); }
.site-q {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start;
  padding: 18px 16px 14px; background: none; border: none;
  cursor: pointer; text-align: left; gap: 10px;
}
.site-q-inner { flex: 1; }
.site-name { font-family: var(--fs); font-size: 14px; font-weight: 700; color: var(--black); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 5px; }
.site-url { font-size: 11px; color: var(--accent); font-weight: 500; }
.proj-viewall { text-align: center; margin-top: 8px; }
.btn-viewall {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fs); font-size: 14px; font-weight: 700;
  color: var(--white); background: var(--black);
  padding: 14px 36px; border-radius: 999px; text-decoration: none;
  transition: background .2s, transform .15s;
  letter-spacing: -.01em;
}
.btn-viewall:hover { background: var(--accent); transform: translateY(-2px); }
.btn-viewall svg { width: 16px; height: 16px; }
body.dark .site-item { background: #1a1a1a; border-color: #2a2a2a; }
body.dark .site-name { color: #F2F2F0; }
body.dark .btn-viewall { background: #F2F2F0; color: #0D0D0D; }
body.dark .btn-viewall:hover { background: var(--accent); color: #fff; }

/* ── BLOG ── */
@media(max-width:768px) {
  #ham-btn { display: flex; }
  .mob-menu { display: flex; }
  .navbar-right a:not(.navbar-btn):not(#dm-toggle) { display: none; }
  .navbar-right .navbar-btn { display: none; }
  #dm-toggle { display: flex; }
}

/* project cards */
.proj-group-title { font-family: var(--fs); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.sites-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 0; }
.sites-grid.ongoing { grid-template-columns: repeat(3, 1fr); }
.site-item { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 18px 18px; text-decoration: none; color: inherit; }
.site-name { margin-bottom: 0; }
.site-url { word-break: break-word; }
.site-desc { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 8px; padding-right: 18px; }
.site-badge { align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.site-badge.live { background: rgba(34,197,94,.12); color: #16a34a; border: 1px solid rgba(34,197,94,.25); }
.site-badge.ongoing { background: rgba(234,179,8,.14); color: #b45309; border: 1px solid rgba(234,179,8,.3); }
.site-arrow { position: absolute; right: 16px; bottom: 18px; width: 12px; height: 12px; color: var(--muted); transition: transform .2s, color .2s; }
a.site-item:hover .site-arrow { color: var(--accent); transform: translate(2px,-2px); }
div.site-item:hover { transform: none; border-color: var(--border); box-shadow: none; }
.skill-tabs { margin-bottom: 40px; }

/* about socials + buttons */
.about-soc.soc-wa { background: #25D366; }
.about-soc.soc-wa svg { fill: #fff; stroke: none; }
.btn-cv svg { stroke: none; fill: none; }

/* contact */
.ci-v a { color: inherit; text-decoration: none; }
.ci-v a:hover { color: var(--accent); }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; align-self: start; }
.contact-card h3 { font-family: var(--fs); font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--black); margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 22px; }
.btn-wa { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #25D366; color: #fff; text-decoration: none; font-family: var(--fb); font-size: 15px; font-weight: 700; padding: 15px 24px; border-radius: 12px; transition: background .2s, transform .15s; }
.btn-wa:hover { background: #1ebe5a; transform: translateY(-2px); }
.btn-wa svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }
.contact-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.btn-line { text-align: center; text-decoration: none; font-size: 13px; font-weight: 600; color: var(--black); border: 1.5px solid var(--border); padding: 12px 14px; border-radius: 10px; transition: border-color .2s, color .2s; }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }

/* footer socials */
.fsoc { color: #787878; }
.fsoc svg { fill: currentColor; stroke: none; }
.fsoc.ig svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.fsoc:hover { color: var(--accent); }
.fsoc:hover svg { fill: currentColor; }
.fsoc.ig:hover svg { fill: none; }
body.dark .fsoc { color: #888884; }
body.dark .fsoc svg { fill: currentColor; }
body.dark .fsoc.ig svg { fill: none; }
body.dark .fsoc:hover { color: var(--accent); }
body.dark .site-badge.ongoing { color: #fbbf24; }
body.dark .contact-card h3 { color: #F2F2F0; }

/* ═══ TABLET + MOBILE HERO FIX ═══ */
@media (max-width: 1024px) {
  #hero { flex-direction: column; justify-content: flex-end; align-items: stretch; height: auto; min-height: 88vh; }
  .slide-infos { position: relative; left: auto; bottom: auto; max-width: 100%; padding: 120px 28px 0; z-index: 5; }
  .hero-cnt { padding: 24px 28px 72px; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 0; }
  .hero-lft { display: none; }
  .hero-rgt { align-items: flex-end; width: auto; }
  .hero-act { justify-content: flex-end; }
  .hero-stats { display: flex; justify-content: flex-end; }
  .about-socials { top: 12px; bottom: auto; left: 12px; }
  .sites-grid { grid-template-columns: repeat(3, 1fr); }
  .sites-grid.ongoing { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .slide-infos { padding: 100px 20px 0; }
  .hero-cnt { padding: 22px 20px 64px; }
  .hero-stats { display: flex; }
  .about-socials { left: 12px; }
  .sites-grid { grid-template-columns: repeat(2, 1fr); }
  .sites-grid.ongoing { grid-template-columns: 1fr; }
  .contact-card { padding: 26px 20px; }
}
@media (max-width: 480px) {
  .slide-infos { padding: 88px 16px 0; }
  .hero-cnt { padding: 20px 16px 60px; }
  .sites-grid { grid-template-columns: 1fr; }
  .contact-alt { grid-template-columns: 1fr; }
}

/* ═══ BUTTON / ICON FIXES (light + dark) ═══ */
.btn-w { color: #0D0D0D; }
.btn-w:hover { background: var(--accent); color: #fff; }
.btn-cv { background: #0D0D0D; color: #fff; }
.btn-cv:hover { background: var(--accent); color: #fff; }
body.dark .btn-cv { background: #F2F2F0; color: #0D0D0D; }
body.dark .btn-cv:hover { background: var(--accent); color: #fff; }
.btn-hireme { color: var(--black); }
body.dark .mob-menu a.mob-menu-cta { background: #F2F2F0 !important; color: #0D0D0D !important; }
body.dark .mob-menu a.mob-menu-cta:hover { background: var(--accent) !important; color: #fff !important; }
body.dark .about-fc { background: #1E1E1E; border-color: #2E2E2E; }
body.dark .mob-menu { background: #141414; }

/* contact brand buttons */
.btn-line { display: flex; align-items: center; justify-content: center; gap: 9px; border: none; color: #fff; font-size: 14px; font-weight: 700; padding: 14px 14px; border-radius: 12px; transition: transform .15s, filter .2s; }
.btn-line:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.btn-line svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-li { background: #0A66C2; }
.btn-li svg { fill: #fff; stroke: none; }
.btn-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.btn-ig svg { fill: none; stroke: #fff; stroke-width: 1.8; }

/* footer brand icons */
.fsoc { width: 42px; height: 42px; border: 2px solid rgba(255,255,255,.35); color: #fff; }
.fsoc.wa { background: #25D366; }
.fsoc.li { background: #0A66C2; }
.fsoc.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.fsoc svg { width: 18px; height: 18px; fill: #fff; stroke: none; }
.fsoc.ig svg, .fsoc.ig:hover svg { fill: none; stroke: #fff; stroke-width: 1.8; }
.fsoc.wa svg, .fsoc.li svg, .fsoc.wa:hover svg, .fsoc.li:hover svg { fill: #fff; }
.fsoc:hover { color: #fff; border-color: rgba(255,255,255,.7); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
body.dark .fsoc { color: #fff; border-color: rgba(255,255,255,.2); }
body.dark .fsoc svg, body.dark .fsoc:hover svg { fill: #fff; }
body.dark .fsoc.ig svg, body.dark .fsoc.ig:hover svg { fill: none; }
body.dark .fsoc:hover { color: #fff; }

/* hamburger must show on tablet too (was overridden by a later display:none) */
@media (max-width: 1024px) {
  #ham-btn { display: flex; }
  .mob-menu { display: flex; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .skill-panel.active { grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
}
