  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg: #080c10;
    --bg2: #0e1318;
    --bg3: #131a22;
    --accent: #00e5a0;
    --accent2: #5eead4;
    --indigo: #818cf8;
    /* Primary body text and nav labels that use --text */
    --text: #ffffff;
    /* Secondary / descriptive copy — was #64748b; lifted for readability on dark bg */
    --muted: #a3b5ca;
    --border: rgba(255,255,255,0.07);
    --card: rgba(255,255,255,0.03);
    --mono: 'JetBrains Mono', monospace;
    --sans: 'DM Sans', sans-serif;
    --display: 'Outfit', system-ui, sans-serif;
    --nav-h: 4.5rem;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 0.75rem);
  }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
  }

  .skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10001;
    padding: 0.65rem 1.1rem;
    background: var(--accent);
    color: #000;
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-radius: 4px;
    transition: top 0.15s ease;
  }

  .skip-link:focus {
    top: 1rem;
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  /* --- NAV: pinned to viewport while page scrolls --- */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 12, 16, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  a.nav-logo {
    font-family: var(--mono);
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, text-shadow 0.2s ease;
  }

  a.nav-logo:hover {
    color: var(--accent2);
    text-shadow: 0 0 18px rgba(0, 229, 160, 0.25);
  }

  a.nav-logo:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 2px;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .nav-links a {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: color 0.2s ease, box-shadow 0.2s ease;
  }

  .nav-links a:hover { color: var(--accent); }

  .nav-links a.is-active {
    color: var(--accent);
    box-shadow: 0 1px 0 0 var(--accent);
  }

  .nav-progress-track {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    overflow: hidden;
  }

  .nav-progress-bar {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0);
    transform-origin: 0 50%;
    will-change: transform;
  }

  @media (prefers-reduced-motion: reduce) {
    .nav-progress-bar { transition: none; }
  }

  /* --- HERO --- */
  /* Full-width wrapper; sits above fixed glow while scrolling */
  .hero-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    gap: clamp(2rem, 6vw, 4rem);
    row-gap: clamp(1rem, 2.5vw, 1.5rem);
    align-items: center;
    padding: calc(var(--nav-h) + 2.75rem) 2rem 0;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }

  .hero-scroll-hint {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    align-self: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #a8b8d8;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    padding: 0.35rem 1rem 0.35rem;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    transition: color 0.2s ease, opacity 0.2s ease;
    z-index: 1;
  }

  .hero-scroll-hint:hover {
    color: #c4d0eb;
  }

  .hero-scroll-hint:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 6px;
    border-radius: 4px;
  }

  .hero-scroll-chevron {
    color: #9eb0d4;
    line-height: 0;
    animation: heroScrollFloat 2.2s ease-in-out infinite;
  }

  .hero-scroll-hint:hover .hero-scroll-chevron {
    color: #b8c8e8;
  }

  @keyframes heroScrollFloat {
    0%, 100% { transform: translateY(0); opacity: 0.85; }
    50% { transform: translateY(6px); opacity: 1; }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-scroll-chevron { animation: none; }
  }

  /* Pinned to viewport — stays put while the page scrolls (above dot-bg, below main content) */
  .hero-glow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: min(115vh, 980px);
    pointer-events: none;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(0, 229, 160, 0.035) 0%, rgba(0, 229, 160, 0.012) 26%, transparent 48%),
      radial-gradient(ellipse 130% 85% at 50% -8%, rgba(0, 229, 160, 0.075) 0%, rgba(0, 229, 160, 0.022) 34%, transparent 62%),
      radial-gradient(ellipse 100% 60% at 50% 2%, rgba(94, 234, 212, 0.038) 0%, transparent 55%),
      radial-gradient(ellipse 140% 80% at 50% -15%, rgba(255, 255, 255, 0.025) 0%, transparent 45%);
    animation: heroGlowDrift 22s ease-in-out infinite alternate;
  }

  .hero-glow::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -5%;
    transform: translateX(-50%);
    width: min(100%, 1400px);
    height: 55%;
    background: radial-gradient(ellipse 75% 60% at 50% 0%, rgba(0, 229, 160, 0.085) 0%, transparent 78%);
    filter: blur(88px);
    opacity: 0.13;
    pointer-events: none;
  }

  @keyframes heroGlowDrift {
    0% { opacity: 0.98; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.008); }
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    max-width: 640px;
    min-width: 0;
    position: relative;
    z-index: 1;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
  }

  .hero-profile-tilt {
    perspective: 1100px;
    perspective-origin: 50% 50%;
    flex-shrink: 0;
    cursor: default;
  }

  .hero-profile-frame {
    width: clamp(210px, 26vw, 300px);
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 160, 0.32);
    box-shadow:
      0 28px 56px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.05) inset,
      0 0 56px rgba(0, 229, 160, 0.08);
    transform-style: preserve-3d;
    transition: transform 0.18s ease-out, box-shadow 0.25s ease;
    will-change: transform;
    backface-visibility: hidden;
  }

  .hero-profile-tilt:hover .hero-profile-frame {
    box-shadow:
      0 32px 60px rgba(0, 0, 0, 0.52),
      0 0 0 1px rgba(255, 255, 255, 0.06) inset,
      0 0 72px rgba(0, 229, 160, 0.11);
  }

  .hero-profile-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 10%;
    transform: scale(1.38);
    transform-origin: 50% 20%;
    pointer-events: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-profile-frame { transition: none; }
    .hero-glow {
      animation: none;
      opacity: 1;
      transform: none;
    }
    .hero-glow::after {
      opacity: 0.08;
      filter: blur(72px);
    }
    .btn-primary:hover,
    .btn-outline:hover {
      transform: none;
    }
  }

  .hero-tag {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 0 28px rgba(0, 229, 160, 0.18);
    line-height: 1.45;
    max-width: min(100%, 40rem);
    flex-wrap: wrap;
  }

  .hero-tag::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
    box-shadow: 0 0 12px rgba(0, 229, 160, 0.35);
  }

  h1 {
    font-family: var(--display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 1.35rem;
    text-shadow: 0 2px 48px rgba(0, 0, 0, 0.35);
  }

  h1 span { color: var(--accent); }

  .hero-desc {
    font-size: clamp(1.02rem, 1.9vw, 1.12rem);
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 2.35rem;
    line-height: 1.82;
    font-weight: 300;
    letter-spacing: 0.01em;
  }

  .hero-desc-br {
    display: none;
  }

  @media (min-width: 720px) {
    .hero-desc-br {
      display: inline;
    }
  }

  .hero-desc strong {
    color: #f8fafc;
    font-weight: 600;
    letter-spacing: 0;
    text-shadow: 0 0 24px rgba(0, 229, 160, 0.1);
  }

  .hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn {
    font-family: var(--mono);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    padding: 0.8rem 1.85rem;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    display: inline-block;
  }

  .btn-primary {
    background: var(--accent);
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 22px rgba(0, 229, 160, 0.28);
  }

  .btn-primary:hover {
    background: var(--accent2);
    box-shadow: 0 6px 28px rgba(0, 229, 160, 0.35);
    transform: translateY(-1px);
  }

  .btn-outline {
    border: 1px solid var(--border);
    color: var(--muted);
    background: transparent;
  }

  .btn-outline:hover {
    border-color: rgba(0, 229, 160, 0.45);
    color: var(--accent);
    transform: translateY(-1px);
  }

  .hero-grid {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.04;
    pointer-events: none;
  }

  /* --- SECTIONS --- */
  section {
    padding: 5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  h2 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
  }

  /* --- STATS BAR --- */
  .stats-bar {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 2rem 2.25rem;
    overflow: visible;
  }

  /* Directly under hero — no vertical gap between hero block and metrics */
  .hero-shell > .about-route {
    margin-top: 0;
    max-width: none;
    width: 100%;
    flex-shrink: 0;
  }

  .hero-shell > .about-route > .stats-bar#about {
    padding: 1.85rem 2rem 2.25rem;
    scroll-margin-top: calc(var(--nav-h) + 0.75rem);
    outline: none;
  }

  .hero-shell > .about-route > .stats-bar#about:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
  }

  .stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    align-items: start;
  }

  .stat {
    text-align: center;
    min-width: 0;
    padding: 0.2rem 0.35rem 0;
  }

  .stat-num {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1.25;
    padding-top: 0.08em;
    letter-spacing: -0.02em;
  }

  .stat-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.35rem;
    line-height: 1.35;
  }

  /* --- ABOUT --- */
  .about-section h2 {
    margin-bottom: 1.25rem;
  }

  .about-tagline {
    font-family: var(--mono);
    font-size: 0.88rem;
    color: var(--accent);
    letter-spacing: 0.06em;
    min-height: 1.6em;
    margin-bottom: 2.5rem;
    border-left: 2px solid rgba(0, 229, 160, 0.35);
    padding-left: 1rem;
  }

  .about-type-caret {
    display: inline-block;
    color: var(--accent);
    animation: aboutCaretBlink 1s step-end infinite;
    margin-left: 2px;
  }

  @keyframes aboutCaretBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 380px);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
  }

  .about-copy p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1.2rem;
    line-height: 1.82;
    font-weight: 300;
  }

  .about-copy p:last-child {
    margin-bottom: 0;
  }

  .about-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .about-pillar {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.35rem 1.4rem 1.3rem;
    transition:
      border-color 0.28s ease,
      box-shadow 0.28s ease;
  }

  .about-pillar:hover {
    border-color: rgba(0, 229, 160, 0.45);
    box-shadow:
      0 0 0 1px rgba(0, 229, 160, 0.12),
      0 0 28px rgba(0, 229, 160, 0.1);
  }

  .about-pillar:focus-within {
    border-color: rgba(0, 229, 160, 0.4);
    box-shadow:
      0 0 0 1px rgba(0, 229, 160, 0.1),
      0 0 24px rgba(0, 229, 160, 0.08);
  }

  .about-pillar-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1.35;
  }

  .about-pillar-text {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 400;
  }

  .js-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .js-reveal[data-reveal-delay="1"] { transition-delay: 0.08s; }
  .js-reveal[data-reveal-delay="2"] { transition-delay: 0.16s; }
  .js-reveal[data-reveal-delay="3"] { transition-delay: 0.24s; }

  @media (prefers-reduced-motion: reduce) {
    .about-type-caret { animation: none; opacity: 1; }
    .js-reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
    .about-pillar:hover,
    .about-pillar:focus-within {
      box-shadow: none;
    }
  }

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

  /* --- EXPERIENCE --- */
  /* --- TIMELINE --- */
  .timeline {
    position: relative;
    padding-left: 2rem;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), transparent);
  }

  .timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
  }

  .timeline-item:last-child { margin-bottom: 0; }

  .timeline-dot {
    position: absolute;
    left: -2rem;
    top: 10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
    z-index: 1;
  }

  .timeline-dot.active {
    background: var(--accent);
    box-shadow: 0 0 10px rgba(0,229,160,0.4);
  }

  .exp-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem 2rem 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s;
  }

  .exp-card:hover { border-color: rgba(0,229,160,0.2); }

  .exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .exp-title {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
  }

  .exp-company {
    font-size: 0.9rem;
    color: var(--accent);
    margin-top: 0.2rem;
  }

  .exp-company span {
    color: var(--muted);
    font-size: 0.8rem;
  }

  .exp-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
  }

  .exp-date {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--muted);
    background: var(--bg3);
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    white-space: nowrap;
  }

  .exp-type {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .exp-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.25rem;
  }

  .exp-bullets li {
    font-size: 0.92rem;
    color: var(--muted);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.6;
  }

  .exp-bullets li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1rem;
  }

  /* --- SKILLS (simple list — category + tags) --- */
  .skills-list {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .skills-row {
    display: grid;
    grid-template-columns: minmax(9.5rem, 12rem) 1fr;
    gap: 1rem 1.75rem;
    align-items: start;
    padding: 1.15rem 0;
    position: relative;
  }

  .skills-row:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 229, 160, 0.15) 12%,
      rgba(0, 229, 160, 0.42) 50%,
      rgba(0, 229, 160, 0.15) 88%,
      transparent 100%
    );
    box-shadow: 0 0 14px rgba(0, 229, 160, 0.35), 0 0 4px rgba(0, 229, 160, 0.5);
  }

  @media (max-width: 560px) {
    .skills-row {
      grid-template-columns: 1fr;
      gap: 0.5rem;
    }
  }

  .skills-cat {
    margin: 0;
    padding-top: 0.15rem;
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: -0.01em;
  }

  .skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0;
    column-gap: 0;
    row-gap: 0.35rem;
  }

  .tag {
    font-family: var(--mono);
    font-size: 0.72rem;
    padding: 0.3rem 0.7rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--muted);
    letter-spacing: 0.03em;
  }

  .skills-tags .tag {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0.15rem 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.72);
    box-shadow: none;
    position: relative;
  }

  .skills-tags .tag:not(:last-child)::after {
    content: '·';
    margin-left: 0.55rem;
    margin-right: 0.1rem;
    color: rgba(0, 229, 160, 0.45);
    font-weight: 600;
    pointer-events: none;
  }

  /* --- PROJECTS --- */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.5rem;
  }

  .project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.75rem 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .project-card:hover {
    border-color: rgba(0, 229, 160, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  }

  .project-card-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }

  .project-logo-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--bg3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .project-logo-wrap img {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  .project-title {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 0.35rem;
  }

  .project-meta {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
  }

  .project-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 300;
    flex: 1;
  }

  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .project-tags .tag {
    font-size: 0.68rem;
  }

  .project-link {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--accent);
    text-decoration: none;
    align-self: flex-start;
    margin-top: 0.25rem;
    transition: color 0.2s ease;
  }

  .project-link:hover {
    color: var(--accent2);
  }

  .project-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 2px;
  }

  /* --- ACHIEVEMENTS --- */
  .ach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
  }

  .ach-grid--spaced {
    margin-bottom: 2.5rem;
  }

  .ach-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.75rem;
    transition: border-color 0.2s;
  }

  .ach-card:hover { border-color: rgba(0,229,160,0.2); }

  .ach-logo-wrap {
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg3);
    border: 1px solid var(--border);
    flex-shrink: 0;
  }

  .ach-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
  }

  .ach-logo--text {
    width: auto;
    height: auto;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent);
  }

  .ach-title {
    font-family: var(--display);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.4rem;
  }

  .ach-sub {
    font-size: 0.83rem;
    color: var(--muted);
  }

  .certifications-block {
    font-family: var(--sans);
  }

  section[id],
  .contact-section[id] {
    scroll-margin-top: calc(var(--nav-h) + 0.75rem);
  }

  /* Tight under nav — default section padding-top (5rem) left a large void above work history */
  section#experience {
    padding-top: 0.75rem;
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
    scroll-margin-top: calc(var(--nav-h) + 0.35rem);
  }

  section#skills {
    padding-top: 1.1rem;
    scroll-margin-top: calc(var(--nav-h) + 0.65rem);
  }

  section#projects,
  section#achievements,
  section#education,
  section#blogs {
    padding-top: 1.1rem;
    scroll-margin-top: calc(var(--nav-h) + 0.65rem);
  }

  .blogs-section h2 {
    margin-bottom: 1rem;
  }

  .blogs-lead {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 1.75rem;
  }

  .blog-actions {
    margin-bottom: 2.5rem;
  }

  .blog-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--mono);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    text-decoration: none;
    padding: 0.65rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: border-color 0.2s, color 0.2s;
  }

  .blog-cta:hover {
    border-color: rgba(0, 229, 160, 0.35);
    color: var(--accent);
  }

  .blog-cta-icon {
    display: flex;
    color: var(--accent);
    opacity: 0.9;
  }

  #certifications.certifications-block {
    scroll-margin-top: calc(var(--nav-h) + 0.65rem);
  }

  .contact-section#contact {
    padding-top: 1.1rem;
    scroll-margin-top: calc(var(--nav-h) + 0.65rem);
  }

  .about-section {
    scroll-margin-top: calc(var(--nav-h) + 0.75rem);
  }

  /* Same typography as “Achievements” (global h2); only tighten spacing above the list */
  section#achievements h2.certifications-title {
    margin-top: 0;
    margin-bottom: 1.25rem;
  }

  /* --- CERTS --- */
  .cert-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-family: var(--sans);
  }

  .cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: var(--sans);
  }

  .cert-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }

  .cert-name {
    color: #fff;
    font-weight: 400;
    font-family: var(--sans);
  }

  .cert-org {
    color: var(--muted);
    font-size: 0.8rem;
    margin-left: auto;
    font-family: var(--mono);
  }

  .cert-org--muted {
    color: rgba(138, 154, 166, 0.92);
  }

  /* --- CONTACT --- */
  .contact-section {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 5rem 2rem;
  }

  .contact-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.88rem;
    transition: all 0.2s;
  }

  .contact-link:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  .contact-link-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-right: auto;
    min-width: 60px;
  }

  .big-quote {
    font-family: var(--display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
  }

  .big-quote span { color: var(--accent); }

  .contact-heading {
    margin-bottom: 1.25rem;
  }

  .contact-subhead {
    font-family: var(--display);
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
  }

  .contact-intro {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 1.25rem;
  }

  .contact-intro strong {
    color: #f1f5f9;
    font-weight: 500;
  }

  /* --- FOOTER --- */
  .site-footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 2.75rem 2rem 2.25rem;
  }

  .site-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .footer-row--top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
  }

  .footer-col--main {
    flex: 1 1 260px;
    min-width: 0;
  }

  .footer-col--nav {
    flex: 0 0 auto;
  }

  @media (min-width: 681px) {
    .footer-col--nav {
      padding-left: 2rem;
      margin-left: 0.25rem;
      border-left: 1px solid var(--border);
    }
  }

  .footer-nav-panel {
    padding: 1.1rem 1.35rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  }

  .footer-brand-name {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .footer-brand-title {
    font-size: 0.88rem;
    color: var(--muted);
    font-weight: 400;
    margin-top: 0.35rem;
  }

  .footer-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .footer-connect-eyebrow {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: var(--accent);
    text-transform: uppercase;
    margin-top: 1.35rem;
    margin-bottom: 0;
    opacity: 0.85;
  }

  .footer-connect-wrap {
    max-width: 520px;
  }

  .footer-connect {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem 1.25rem;
    margin-top: 0.75rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 100%;
  }

  @media (min-width: 720px) {
    .footer-connect {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.5rem 1.5rem;
    }
    .footer-connect-link--wide {
      grid-column: 1 / -1;
    }
  }

  .footer-connect-link {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.7rem;
    text-decoration: none;
    text-align: left;
    padding: 0.45rem 0.35rem;
    margin: 0 -0.35rem;
    border-radius: 8px;
    transition: background 0.2s;
  }

  .footer-connect-link:hover {
    background: rgba(0, 229, 160, 0.04);
  }

  .footer-connect-icon {
    flex-shrink: 0;
    display: flex;
    margin-top: 0.15rem;
    color: var(--muted);
    transition: color 0.2s;
  }

  .footer-connect-link:hover .footer-connect-icon {
    color: var(--accent);
  }

  .footer-connect-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 0;
  }

  .footer-connect-label {
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .footer-connect-value {
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.45;
    transition: color 0.2s;
    word-break: break-word;
  }

  .footer-connect-link:hover .footer-connect-value {
    color: #e2e8f0;
  }

  .footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-link:hover {
    color: var(--accent);
  }

  .footer-link-icon {
    display: flex;
    color: var(--muted);
  }

  .footer-link:hover .footer-link-icon {
    color: var(--accent);
  }

  .footer-rule {
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--border) 12%,
      var(--border) 88%,
      transparent
    );
    margin: 2rem 0 1.35rem;
  }

  .footer-row--bottom {
    text-align: center;
  }

  .footer-copy,
  .footer-tagline {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.04em;
    line-height: 1.6;
  }

  .footer-tagline {
    margin-top: 0.35rem;
  }

  .footer-heart {
    color: #f472b6;
    display: inline-block;
    margin: 0 0.15em;
  }

  /* --- GRID LINES BACKGROUND DECORATION --- */
  .dot-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    background-image: radial-gradient(rgba(0,229,160,0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, #000 40%, transparent 100%);
  }

  /* Above fixed .hero-glow (z-index 1); nav stays at 1000 */
  .hero-shell, section, .stats-bar, .contact-section, .site-footer {
    position: relative;
    z-index: 2;
  }

  /* --- ANIMATIONS --- */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-tag { animation: fadeUp 0.5s ease both; }
  h1 { animation: fadeUp 0.5s ease 0.1s both; }
  .hero-desc { animation: fadeUp 0.5s ease 0.2s both; }
  .hero-cta { animation: fadeUp 0.5s ease 0.3s both; }
  .hero-visual { animation: fadeUp 0.6s ease 0.25s both; }
  .hero-scroll-hint { animation: fadeUp 0.55s ease 0.4s both; }

  /* mobile */
  @media (max-width: 900px) {
    .hero {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto;
      justify-items: center;
      text-align: center;
      padding-top: calc(var(--nav-h) + 2rem);
      min-height: 100vh;
    }
    .hero-content {
      grid-column: 1;
      grid-row: auto;
      max-width: 100%;
      order: 1;
    }
    .hero-visual {
      grid-column: 1;
      grid-row: auto;
      order: 0;
      justify-content: center;
      width: 100%;
    }
    .hero-scroll-hint {
      grid-column: 1;
      grid-row: auto;
      order: 2;
      margin-top: 0.25rem;
    }
    .hero-tag { justify-content: center; }
    .hero-tag::before { display: none; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
  }

  @media (max-width: 680px) {
    .nav-links { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    h1 { font-size: 2.6rem; }
    .footer-row--top {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 1.75rem;
    }
    .footer-col--main {
      flex-basis: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .footer-brand {
      text-align: center;
    }
    .footer-links {
      justify-content: center;
    }
    .footer-col--nav {
      padding-left: 0;
      margin-left: 0;
      border-left: none;
      width: 100%;
      max-width: 22rem;
    }
    .footer-nav-panel {
      width: 100%;
    }
    .footer-connect-wrap {
      max-width: 100%;
    }
    .footer-connect-eyebrow {
      margin-top: 1rem;
    }
    .footer-connect {
      margin-top: 0.65rem;
      padding-top: 1rem;
    }
    .footer-connect-link {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding-left: 0.5rem;
      padding-right: 0.5rem;
    }
    .footer-connect-text {
      align-items: center;
    }
  }
