*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg: #0a0a0f;
    --surface: #111118;
    --surface2: #1a1a24;
    --border: rgba(255,255,255,0.07);
    --border2: rgba(255,255,255,0.12);
    --text: #f0eeeb;
    --muted: #888894;
    --accent: #c8f05a;
    --accent2: #7b6ef6;
    --accent3: #f05a8a;
    --nav-bg: rgba(10,10,15,0.85);
    --hero-stroke: rgba(255,255,255,0.3);
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    color-scheme: dark;
  }

  [data-theme="light"] {
    --bg: #3db8e8;
    --surface: #ffffff;
    --surface2: #d6f0fa;
    --border: rgba(0,0,0,0.9);
    --border2: rgba(0,0,0,1);
    --text: #111111;
    --muted: #333344;
    --accent: #e8001c;
    --accent2: #f5a300;
    --accent3: #1a7a00;
    --nav-bg: rgba(29,160,210,0.95);
    --hero-stroke: rgba(0,0,0,0.8);
    --font-display: 'Bangers', cursive;
    --font-body: 'Patrick Hand', cursive;
    color-scheme: light;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 4rem;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
  }
  .nav-logo span { color: var(--accent); }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.2s;
    letter-spacing: 0.02em;
  }
  .nav-links a:hover { color: var(--text); }

  /* SECTIONS */
  section { padding: 6rem 4rem; max-width: 1100px; margin: 0 auto; }

  /* HERO */
  #hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 8rem;
    position: relative;
    max-width: 100%;
    padding-left: 8rem;
    padding-right: 8rem;
  }
  .hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
  }
  .hero-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
  }
  h1.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
  }
  h1.hero-title em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--hero-stroke);
  }
  .hero-desc {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 3rem;
  }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
  }
  .btn-primary {
    background: var(--accent);
    color: #0a0a0f;
    border: none;
  }
  .btn-primary:hover { background: #d4f56e; transform: translateY(-1px); }
  .btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border2);
  }
  .btn-outline:hover { border-color: rgba(255,255,255,0.3); background: var(--surface); }

  /* THEME TOGGLE — Day/Night pill */
  /* THEME TOGGLE */
  .theme-toggle {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border2);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
    flex-shrink: 0;
  }
  .theme-toggle:hover { border-color: var(--accent); transform: rotate(20deg); }

  .hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* Stars in night sky */
  .tt-stars {
    position: absolute;
    inset: 0;
    border-radius: 34px;
    transition: opacity 0.4s;
  }
  .tt-star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    animation: ttTwinkle 1.5s ease-in-out infinite alternate;
  }
  .tt-star:nth-child(1)  { width:2px; height:2px; top:6px;  left:10px; animation-delay:0s; }
  .tt-star:nth-child(2)  { width:1.5px; height:1.5px; top:12px; left:20px; animation-delay:0.3s; }
  .tt-star:nth-child(3)  { width:2px; height:2px; top:5px;  left:32px; animation-delay:0.6s; }
  .tt-star:nth-child(4)  { width:1px; height:1px; top:18px; left:15px; animation-delay:0.9s; }
  .tt-star:nth-child(5)  { width:1.5px; height:1.5px; top:8px;  left:42px; animation-delay:0.2s; }
  @keyframes ttTwinkle { from { opacity:0.3; transform:scale(0.8); } to { opacity:1; transform:scale(1.3); } }

  /* Clouds in day sky */
  .tt-clouds {
    position: absolute;
    inset: 0;
    border-radius: 34px;
    opacity: 0;
    transition: opacity 0.4s;
  }
  .tt-cloud {
    position: absolute;
    background: rgba(255,255,255,0.7);
    border-radius: 20px;
  }
  .tt-cloud1 { width:18px; height:7px; top:8px;  left:6px; }
  .tt-cloud2 { width:12px; height:5px; top:20px; left:16px; }

  /* The sliding knob */
  .tt-knob {
    position: absolute;
    top: 3px; left: 3px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fffde0, #ffe566 50%, #f5a300);
    box-shadow: 0 0 0 2px rgba(245,163,0,0.4), 0 0 12px 4px rgba(255,220,50,0.7), 0 2px 6px rgba(0,0,0,0.3);
    transition: left 0.5s cubic-bezier(0.68,-0.55,0.27,1.55), background 0.5s ease, box-shadow 0.5s ease;
    display: flex; align-items: center; justify-content: center;
    animation: sunPulse 2s ease-in-out infinite alternate;
  }
  @keyframes sunPulse {
    from { box-shadow: 0 0 0 2px rgba(245,163,0,0.4), 0 0 10px 3px rgba(255,220,50,0.6), 0 2px 6px rgba(0,0,0,0.3); }
    to   { box-shadow: 0 0 0 2px rgba(245,163,0,0.5), 0 0 18px 7px rgba(255,220,50,0.85), 0 2px 6px rgba(0,0,0,0.3); }
  }

  /* Sun rays */
  .tt-rays {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    animation: raysSpin 4s linear infinite;
  }
  .tt-ray {
    position: absolute;
    width: 2px; height: 6px;
    background: rgba(255,210,0,0.7);
    border-radius: 2px;
    top: -7px; left: 50%;
    transform-origin: 50% 21px;
  }
  .tt-ray:nth-child(1)  { transform: rotate(0deg);   }
  .tt-ray:nth-child(2)  { transform: rotate(45deg);  }
  .tt-ray:nth-child(3)  { transform: rotate(90deg);  }
  .tt-ray:nth-child(4)  { transform: rotate(135deg); }
  .tt-ray:nth-child(5)  { transform: rotate(180deg); }
  .tt-ray:nth-child(6)  { transform: rotate(225deg); }
  .tt-ray:nth-child(7)  { transform: rotate(270deg); }
  .tt-ray:nth-child(8)  { transform: rotate(315deg); }
  @keyframes raysSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

  /* Moon face (hidden by default, shown in dark) */
  .tt-moon-face {
    display: none;
    font-size: 15px;
    line-height: 1;
    filter: drop-shadow(0 0 4px rgba(200,240,90,0.8));
    animation: moonGlow 2s ease-in-out infinite alternate;
  }
  @keyframes moonGlow {
    from { filter: drop-shadow(0 0 3px rgba(200,240,90,0.6)); }
    to   { filter: drop-shadow(0 0 9px rgba(200,240,90,1)); }
  }

  /* DARK MODE state — knob slides right, becomes moon */
  [data-theme="dark"] .theme-toggle {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a2a5e 50%, #0d1b3e 100%);
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.12), inset 0 1px 3px rgba(0,0,0,0.5), 0 4px 15px rgba(123,110,246,0.35);
  }
  [data-theme="dark"] .tt-stars { opacity: 1; }
  [data-theme="dark"] .tt-clouds { opacity: 0; }
  [data-theme="dark"] .tt-knob {
    left: 41px;
    background: radial-gradient(circle at 40% 35%, #e8ffe0, #c8f05a 60%, #a8d040);
    box-shadow: 0 0 0 2px rgba(200,240,90,0.3), 0 0 14px 5px rgba(200,240,90,0.5), 0 2px 6px rgba(0,0,0,0.4);
    animation: moonPulse 2s ease-in-out infinite alternate;
  }
  @keyframes moonPulse {
    from { box-shadow: 0 0 0 2px rgba(200,240,90,0.3), 0 0 10px 3px rgba(200,240,90,0.45), 0 2px 6px rgba(0,0,0,0.4); }
    to   { box-shadow: 0 0 0 2px rgba(200,240,90,0.4), 0 0 20px 8px rgba(200,240,90,0.7), 0 2px 6px rgba(0,0,0,0.4); }
  }
  [data-theme="dark"] .tt-rays { display: none; }
  [data-theme="dark"] .tt-moon-face { display: block; }

  /* LIGHT MODE state — knob on left, is sun */
  [data-theme="light"] .theme-toggle {
    background: linear-gradient(135deg, #87ceeb 0%, #b0e0ff 50%, #87ceeb 100%);
    box-shadow: 0 0 0 1.5px rgba(0,0,0,0.1), inset 0 1px 3px rgba(255,255,255,0.4), 0 4px 15px rgba(245,163,0,0.35);
  }
  [data-theme="light"] .tt-stars { opacity: 0; }
  [data-theme="light"] .tt-clouds { opacity: 1; }
  [data-theme="light"] .tt-knob { left: 3px; animation: sunPulse 2s ease-in-out infinite alternate; }
  [data-theme="light"] .tt-moon-face { display: none; }
  [data-theme="light"] .tt-rays { display: block; }

  .hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .scroll-line {
    width: 40px;
    height: 1px;
    background: var(--muted);
    animation: scrollLine 2s ease-in-out infinite;
  }
  @keyframes scrollLine {
    0%, 100% { width: 40px; opacity: 0.4; }
    50% { width: 60px; opacity: 1; }
  }

  /* Grid deco */
  .hero-deco {
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
  }
  .deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border);
  }
  .deco-c1 { width: 500px; height: 500px; top: 10%; right: -100px; }
  .deco-c2 { width: 300px; height: 300px; top: 25%; right: 50px; border-color: rgba(200,240,90,0.1); }
  .deco-dot {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
  }

  #about {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 6rem;
  align-items: center;
}

/* Image */

.about-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image-container {
  position: relative;
  width: 100%;
  max-width: 650px;
}

.about-image {
  width: 100%;
  min-height: 600px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.about-img-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* Section Heading */

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Stats */

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-3px);
}

.highlight-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.highlight-item span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Tablet */

@media (max-width: 992px) {
  #about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-container {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-image {
    min-height: 500px;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .about-image-container {
    max-width: 350px;
  }

  .about-image {
    min-height: 400px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .about-img-tag {
    bottom: 15px;
    left: 15px;
    font-size: 0.8rem;
    padding: 8px 14px;
  }
}


  /* SKILLS */
  #skills { padding-top: 6rem; padding-bottom: 6rem; }
  .skills-header { text-align: center; margin-bottom: 4rem; }
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  .skill-card {
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: border-color 0.3s, transform 0.3s;
  }
  .skill-card:hover { border-color: var(--border2); transform: translateY(-4px); }
  .skill-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }
  .skill-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
  .skill-pct {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
  }
  .skill-bar-bg {
    width: 100%;
    height: 2px;
    background: var(--surface2);
    border-radius: 2px;
    overflow: hidden;
  }
  .skill-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 1s ease;
    width: 0;
  }

  /* EXPERIENCE */
  #experience { padding-top: 6rem; padding-bottom: 6rem; }
  .exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
  .exp-card {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
  }
  .exp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent2);
  }
  .exp-card.current::before { background: var(--accent); }
  .exp-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(200,240,90,0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(200,240,90,0.2);
  }
  .exp-badge.past { background: rgba(123,110,246,0.1); color: var(--accent2); border-color: rgba(123,110,246,0.2); }
  .exp-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
  .exp-company { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
  .exp-dates { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.03em; margin-bottom: 1rem; }
  .exp-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

  /* PROJECTS */
  #projects { padding-top: 6rem; padding-bottom: 6rem; }
  .projects-header { margin-bottom: 3rem; }
  .project-tabs { display: flex; gap: 0.5rem; margin-bottom: 3rem; }
  .tab-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
  }
  .tab-btn.active, .tab-btn:hover {
    background: var(--accent);
    color: #0a0a0f;
    border-color: var(--accent);
  }
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
  }
  .project-card:hover { border-color: var(--border2); transform: translateY(-4px); }
  .project-thumb {
    aspect-ratio: 16/9;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
  }
  .project-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.4));
  }
  .project-body { padding: 1.25rem; }
  .project-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
  .project-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
  .project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .project-link:hover { color: var(--accent); }

  /* SOCIAL MEDIA */
  #social { padding-top: 6rem; padding-bottom: 4rem; }
  .social-intro { color: var(--muted); max-width: 560px; margin-bottom: 3rem; }

  .specialize-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
  }
  .specialize-card {
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: border-color 0.3s, transform 0.3s;
  }
  .specialize-card:hover { border-color: var(--accent); transform: translateY(-4px); }
  .specialize-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(200,240,90,0.1);
    border: 1px solid rgba(200,240,90,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  .specialize-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
  .specialize-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

  .showcase-subheader { margin-top: 4rem; margin-bottom: 2rem; }

  .showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
  }
  .showcase-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
  }
  .showcase-card:hover { border-color: var(--border2); transform: translateY(-4px); }
  .showcase-thumb {
    aspect-ratio: 16/10;
    background: var(--surface2);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    position: relative;
  }
  .showcase-body { padding: 1.25rem; }
  .showcase-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
  .showcase-stat {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
  .showcase-desc { font-size: 0.825rem; color: var(--muted); line-height: 1.6; }

  .posts-subheader { margin-top: 4rem; margin-bottom: 2rem; }
  .posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
  }
  .post-thumb {
    aspect-ratio: 1/1;
    border-radius: 4px;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
    font-family: var(--font-display);
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    padding: 0.75rem;
    transition: transform 0.3s;
    color: #fff;
  }
  .post-thumb:hover { transform: scale(1.04); }

  .services-subheader { margin-top: 4rem; margin-bottom: 2rem; }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .service-card {
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
  }
  .service-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
  }
  .service-list { list-style: none; }
  .service-list li {
    font-size: 0.875rem;
    color: var(--muted);
    padding: 0.4rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }
  .service-list li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

  .social-follow {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
  }
  .follow-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
  }
  .follow-chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
  .follow-chip span { font-size: 1.1rem; }

  /* TECH STACK */
  #techstack { padding-top: 2rem; padding-bottom: 6rem; }
  .stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
  }
  .stack-pill {
    padding: 0.6rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--muted);
    transition: all 0.2s;
  }
  .stack-pill:hover { border-color: var(--accent); color: var(--accent); background: rgba(200,240,90,0.05); }
 .certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.cert-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .3s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
}

.cert-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.cert-content {
  padding: 18px;
}

.cert-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.cert-issuer {
  opacity: 0.8;
  margin-bottom: 14px;
}

.cert-link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
  /* CONTACT */
  #contact { padding-top: 6rem; padding-bottom: 6rem; }
  .contact-inner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .contact-inner::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%; transform: translateX(-50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(200,240,90,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .contact-inner h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
  .contact-inner p { color: var(--muted); margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
  .contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
  }
  .contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s;
  }
  .contact-chip:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
  .contact-chip span { font-size: 1rem; }

  /* footer base handled below */
  footer {
    border-top: 1px solid var(--border);
    padding: 2rem 8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .footer-copy { color: var(--muted); }

  /* ── COMIC-BOOK LIGHT MODE ── */
  [data-theme="light"] body {
    background-image: radial-gradient(circle, rgba(0,0,0,0.18) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    background-attachment: fixed;
  }
  [data-theme="light"] nav {
    background: var(--nav-bg);
    border-bottom: 3px solid #000;
    backdrop-filter: none;
  }
  [data-theme="light"] .nav-logo {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #fff;
    -webkit-text-stroke: 1px #000;
    text-shadow: 2px 2px 0 #000;
  }
  [data-theme="light"] .nav-logo span { color: #ffe600; }
  [data-theme="light"] .nav-links a { color: #fff; font-family: 'Patrick Hand', cursive; font-size: 1rem; }
  [data-theme="light"] .nav-links a:hover { color: #ffe600; }

  [data-theme="light"] h1.hero-title,
  [data-theme="light"] h2.section-title,
  [data-theme="light"] .contact-inner h2 {
    font-family: 'Bangers', cursive;
    color: #e8001c;
    -webkit-text-stroke: 2px #000;
    text-shadow: 4px 4px 0 #000, 6px 6px 0 rgba(0,0,0,0.3);
    letter-spacing: 0.04em;
  }
  [data-theme="light"] h1.hero-title em {
    color: #ffe600;
    -webkit-text-stroke: 2px #000;
  }
  [data-theme="light"] .hero-label {
    color: #fff;
    font-family: 'Patrick Hand', cursive;
    font-size: 0.9rem;
    background: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 0;
    letter-spacing: 0.1em;
  }
  [data-theme="light"] .hero-label::before { display: none; }
  [data-theme="light"] .section-label {
    color: #000;
    font-family: 'Patrick Hand', cursive;
    background: #ffe600;
    padding: 0.2rem 0.75rem;
    border: 2px solid #000;
    border-radius: 0;
    display: inline-flex;
    box-shadow: 3px 3px 0 #000;
  }
  [data-theme="light"] .section-label::before { display: none; }
  [data-theme="light"] .hero-desc,
  [data-theme="light"] .about-text,
  [data-theme="light"] .exp-desc,
  [data-theme="light"] .cert-issuer {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.05rem;
    color: #111;
  }

  [data-theme="light"] .btn-primary {
    background: #e8001c;
    color: #fff;
    border: 3px solid #000;
    border-radius: 4px;
    font-family: 'Bangers', cursive;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    box-shadow: 4px 4px 0 #000;
    text-transform: uppercase;
  }
  [data-theme="light"] .btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #000; background: #c8001a; }
  [data-theme="light"] .btn-outline {
    background: #fff;
    color: #000;
    border: 3px solid #000;
    border-radius: 4px;
    font-family: 'Bangers', cursive;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    box-shadow: 4px 4px 0 #000;
    text-transform: uppercase;
  }
  [data-theme="light"] .btn-outline:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #000; background: #f5f5f5; }

  [data-theme="light"] .theme-toggle {
    border: 3px solid #000 !important;
    box-shadow: 4px 4px 0 #000 !important;
  }
  [data-theme="light"] .theme-toggle:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #000 !important; }

  [data-theme="light"] .skill-card,
  [data-theme="light"] .exp-card,
  [data-theme="light"] .project-card,
  [data-theme="light"] .cert-card,
  [data-theme="light"] .highlight-item {
    border: 3px solid #000;
    border-radius: 0;
    box-shadow: 5px 5px 0 #000;
    background: #fff;
  }
  [data-theme="light"] .skill-card:hover,
  [data-theme="light"] .project-card:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #000; }

  [data-theme="light"] .exp-card::before { width: 6px; background: #e8001c; }
  [data-theme="light"] .exp-card.current::before { background: #1a7a00; }
  [data-theme="light"] .exp-badge {
    background: #1a7a00;
    color: #fff;
    border: 2px solid #000;
    border-radius: 0;
    font-family: 'Bangers', cursive;
    letter-spacing: 0.05em;
    box-shadow: 2px 2px 0 #000;
  }
  [data-theme="light"] .exp-badge.past { background: #e8001c; border-color: #000; }
  [data-theme="light"] .exp-title { font-family: 'Bangers', cursive; letter-spacing: 0.04em; font-size: 1.15rem; color: #000; }
  [data-theme="light"] .exp-company { font-family: 'Patrick Hand', cursive; }
  [data-theme="light"] .exp-dates { font-family: 'Patrick Hand', cursive; }

  [data-theme="light"] .skill-name { font-family: 'Bangers', cursive; letter-spacing: 0.04em; font-size: 1.1rem; color: #000; }
  [data-theme="light"] .skill-pct { font-family: 'Bangers', cursive; color: #e8001c; font-size: 1rem; }
  [data-theme="light"] .skill-bar-bg { background: #ddd; border: 1px solid #999; }
  [data-theme="light"] .skill-bar-fill { background: #e8001c; }

  [data-theme="light"] .stack-pill {
    background: #ffe600;
    border: 2px solid #000;
    border-radius: 0;
    color: #000;
    font-family: 'Patrick Hand', cursive;
    box-shadow: 3px 3px 0 #000;
  }
  [data-theme="light"] .stack-pill:hover { background: #e8001c; color: #fff; transform: translate(-1px,-1px); box-shadow: 4px 4px 0 #000; }

  [data-theme="light"] .tab-btn {
    border: 2px solid #000;
    border-radius: 0;
    font-family: 'Bangers', cursive;
    letter-spacing: 0.05em;
    font-size: 1rem;
    color: #000;
    background: #fff;
    box-shadow: 3px 3px 0 #000;
  }
  [data-theme="light"] .tab-btn.active,
  [data-theme="light"] .tab-btn:hover { background: #e8001c; color: #fff; border-color: #000; box-shadow: 3px 3px 0 #000; }

  [data-theme="light"] .project-title { font-family: 'Bangers', cursive; letter-spacing: 0.04em; font-size: 1.1rem; color: #000; }
  [data-theme="light"] .project-link { font-family: 'Patrick Hand', cursive; color: #333; }
  [data-theme="light"] .project-link:hover { color: #e8001c; }

  [data-theme="light"] .cert-name { font-family: 'Bangers', cursive; letter-spacing: 0.04em; font-size: 1rem; color: #000; }
  [data-theme="light"] .cert-icon { background: #ffe600; border: 2px solid #000; border-radius: 0; }

  [data-theme="light"] .contact-inner {
    background: #fff;
    border: 4px solid #000;
    border-radius: 0;
    box-shadow: 8px 8px 0 #000;
  }
  [data-theme="light"] .contact-inner::before { display: none; }
  [data-theme="light"] .contact-inner p { font-family: 'Patrick Hand', cursive; font-size: 1.1rem; color: #333; }
  [data-theme="light"] .contact-chip {
    background: #3db8e8;
    border: 2px solid #000;
    border-radius: 0;
    color: #000;
    font-family: 'Patrick Hand', cursive;
    box-shadow: 3px 3px 0 #000;
  }
  [data-theme="light"] .contact-chip:hover { background: #ffe600; color: #000; transform: translate(-1px,-1px); box-shadow: 4px 4px 0 #000; }

  [data-theme="light"] footer {
    background: #000;
    color: #fff;
    border-top: 3px solid #000;
    font-family: 'Patrick Hand', cursive;
  }

  [data-theme="light"] .highlight-item strong { color: #e8001c; }
  [data-theme="light"] .highlight-item span { font-family: 'Patrick Hand', cursive; color: #333; }
  [data-theme="light"] .about-img-placeholder { border: 4px solid #000; border-radius: 0; box-shadow: 6px 6px 0 #000; background: #3db8e8; }
  [data-theme="light"] .about-img-tag { border: 3px solid #000; box-shadow: 3px 3px 0 #000; font-family: 'Bangers', cursive; letter-spacing: 0.08em; font-size: 0.9rem; }

  [data-theme="light"] .deco-circle { border-color: rgba(0,0,0,0.15); }
  [data-theme="light"] .deco-dot { background: #e8001c; }

  [data-theme="light"] .scroll-line { background: #000; }
  [data-theme="light"] .hero-scroll { color: #000; font-family: 'Patrick Hand', cursive; }

  [data-theme="light"] .specialize-card,
  [data-theme="light"] .showcase-card,
  [data-theme="light"] .service-card {
    border: 3px solid #000;
    border-radius: 0;
    box-shadow: 5px 5px 0 #000;
    background: #fff;
  }
  [data-theme="light"] .specialize-card:hover,
  [data-theme="light"] .showcase-card:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #000; }
  [data-theme="light"] .specialize-icon { background: #ffe600; border: 2px solid #000; border-radius: 0; }
  [data-theme="light"] .specialize-title,
  [data-theme="light"] .showcase-title,
  [data-theme="light"] .service-title { font-family: 'Bangers', cursive; letter-spacing: 0.04em; font-size: 1.05rem; color: #000; }
  [data-theme="light"] .specialize-desc,
  [data-theme="light"] .showcase-desc,
  [data-theme="light"] .social-intro { font-family: 'Patrick Hand', cursive; font-size: 1rem; color: #333; }
  [data-theme="light"] .showcase-stat { color: #e8001c; font-family: 'Bangers', cursive; }
  [data-theme="light"] .service-title { border-bottom: 2px solid #000; }
  [data-theme="light"] .service-list li { font-family: 'Patrick Hand', cursive; color: #333; }
  [data-theme="light"] .service-list li::before { color: #e8001c; }
  [data-theme="light"] .post-thumb { border: 3px solid #000; border-radius: 0; box-shadow: 4px 4px 0 #000; }
  [data-theme="light"] .post-thumb:hover { transform: translate(-2px,-2px) scale(1); box-shadow: 6px 6px 0 #000; }
  [data-theme="light"] .follow-chip {
    background: #ffe600;
    border: 2px solid #000;
    border-radius: 0;
    color: #000;
    font-family: 'Patrick Hand', cursive;
    box-shadow: 3px 3px 0 #000;
  }
  [data-theme="light"] .follow-chip:hover { background: #e8001c; color: #fff; transform: translate(-1px,-1px); box-shadow: 4px 4px 0 #000; }

  /* ── HERO CTA BUTTON ── */
  .btn-hero-cta {
    position: relative;
    overflow: hidden;
    padding: 1rem 2.2rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    gap: 0.6rem;
    border-radius: 100px;
    background: var(--accent);
    color: #0a0a0f;
    border: none;
    animation: ctaPulse 2.5s ease-in-out infinite;
  }
  @keyframes ctaPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(200,240,90,0.5), 0 4px 20px rgba(200,240,90,0.25); }
    50%      { box-shadow: 0 0 0 12px rgba(200,240,90,0), 0 4px 30px rgba(200,240,90,0.5); }
  }
  .btn-hero-cta .btn-cta-arrow {
    display: flex; align-items: center;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  }
  .btn-hero-cta:hover .btn-cta-arrow { transform: translateX(6px); }
  .btn-hero-cta .btn-cta-ripple {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.4s; pointer-events: none;
  }
  .btn-hero-cta:hover .btn-cta-ripple { opacity: 1; }
  .btn-hero-cta:hover { transform: translateY(-3px) scale(1.04); background: #d4f56e; }
  .btn-hero-cta:active { transform: translateY(0) scale(0.98); }
  [data-theme="light"] .btn-hero-cta {
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    border: 3px solid #000 !important;
    border-radius: 4px;
    box-shadow: 4px 4px 0 #000;
    background: #e8001c;
    color: #fff;
    animation: none;
  }
  [data-theme="light"] .btn-hero-cta:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #000; background: #c8001a; }

  
  /* comic overrides */
  [data-theme="light"] .review-card { border: 3px solid #000; border-radius: 0; box-shadow: 5px 5px 0 #000; background: #fff; }
  [data-theme="light"] .review-card:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #000; }
  [data-theme="light"] .review-text { font-family: 'Patrick Hand', cursive; color: #333; }
  [data-theme="light"] .review-author strong { font-family: 'Bangers', cursive; letter-spacing: 0.04em; color: #000; }
  [data-theme="light"] .review-author span { color: #555; font-family: 'Patrick Hand', cursive; }
  [data-theme="light"] .review-form-wrap { border: 3px solid #000; border-radius: 0; box-shadow: 6px 6px 0 #000; background: #fff; }
  [data-theme="light"] .rf-field input, [data-theme="light"] .rf-field textarea { border: 2px solid #000; border-radius: 0; background: #f9f9f9; color: #000; font-family: 'Patrick Hand', cursive; }
  [data-theme="light"] .rf-field input:focus, [data-theme="light"] .rf-field textarea:focus { box-shadow: 0 0 0 3px rgba(232,0,28,0.12); border-color: #e8001c; }
  [data-theme="light"] .rf-field label { font-family: 'Bangers', cursive; font-size: 0.95rem; color: #000; }
  [data-theme="light"] .sp-star:hover, [data-theme="light"] .sp-star.lit { color: #e8001c; }
  [data-theme="light"] .rf-success { color: #1a7a00; background: rgba(26,122,0,0.07); border-color: rgba(26,122,0,0.25); font-family: 'Patrick Hand', cursive; }

  /* ── FOOTER SOCIAL ── */
  .footer-social { display: flex; gap: 0.75rem; align-items: center; }
  .social-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border2);
    background: var(--surface);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
  }
  .social-icon:hover { border-color: var(--accent); transform: translateY(-5px) scale(1.12); }
  .social-icon:nth-child(1):hover { color: #fff;      border-color: #ccc;    box-shadow: 0 6px 16px rgba(255,255,255,0.15); }
  .social-icon:nth-child(2):hover { color: #0a66c2;   border-color: #0a66c2; box-shadow: 0 6px 16px rgba(10,102,194,0.3); }
  .social-icon:nth-child(3):hover { color: #e1306c;   border-color: #e1306c; box-shadow: 0 6px 16px rgba(225,48,108,0.3); }
  .social-icon:nth-child(4):hover { color: #25d366;   border-color: #25d366; box-shadow: 0 6px 16px rgba(37,211,102,0.3); }
  .social-icon:nth-child(5):hover { color: #0057ff;   border-color: #0057ff; box-shadow: 0 6px 16px rgba(0,87,255,0.3); }
  [data-theme="light"] .social-icon { background: #222; border: 2px solid #444; color: #aaa; border-radius: 0; box-shadow: 2px 2px 0 #000; }
  [data-theme="light"] .social-icon:hover { transform: translate(-2px,-4px); box-shadow: 4px 4px 0 #000; }

  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  @media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    #hero { padding: 8rem 1.5rem 4rem; }
    .hero-scroll { left: 1.5rem; }
    section { padding: 4rem 1.5rem; }
    #about { grid-template-columns: 1fr; gap: 3rem; }
    .exp-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .specialize-grid { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    footer { padding: 1.5rem; flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .contact-inner { padding: 2rem 1.5rem; }
    h1.hero-title { font-size: 3rem; }
    .rf-row { grid-template-columns: 1fr; }
    .review-form-wrap { padding: 1.5rem; }
  }