    /* ── Design Tokens ───────────────────────────────────────────── */
    :root {
      --bg:          #0F172A; /* Slate 900 */
      --surface-1:   #1E293B; /* Slate 800 */
      --surface-2:   #273449; /* between Slate 800 and 700 */
      --surface-3:   #3B4A61; /* Slate 700, lifted */
      --border:      rgba(148,163,184,0.18); /* Slate 400 at 18% */
      --border-hover:rgba(56,189,248,0.4);   /* Sky 400 at 40% */

      --accent-1:    #0EA5E9; /* Sky 500 */
      --accent-2:    #0284C7; /* Sky 600 */
      --accent-3:    #38BDF8; /* Sky 400 */
      --accent-gold: #F59E0B;

      --text-1:      #F8FAFC; /* Slate 50 */
      --text-2:      #94A3B8; /* Slate 400 */
      --text-muted:  #64748B; /* Slate 500 */

      --grad-accent: linear-gradient(135deg, var(--accent-1), var(--accent-2));
      --grad-hero:   linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 50%, var(--accent-3) 100%);

      --radius-sm:   8px;
      --radius-md:   14px;
      --radius-lg:   20px;

      --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
      --shadow-glow: 0 4px 20px rgba(14,165,233,0.12);
      --shadow-lift: 0 12px 40px rgba(0,0,0,0.5);

      --font-heading: 'Outfit', system-ui, sans-serif;
      --font-body:    'Inter', system-ui, sans-serif;
      --font-mono:    'JetBrains Mono', monospace;
    }

    /* ── Reset & Base ───────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html {
      scroll-padding-top: 80px;
      font-size: 16px;
    }

    @media (prefers-reduced-motion: no-preference) {
      html { scroll-behavior: smooth; }
    }

    body {
      background: var(--bg);
      color: var(--text-1);
      font-family: var(--font-body);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    /* ── Skip Link ──────────────────────────────────────────────── */
    .skip-link {
      position: absolute; top: 0; left: 0;
      padding: 0.5rem 1rem;
      background: var(--accent-1); color: #fff;
      font-weight: 600; z-index: 10000;
      transform: translateY(-110%); transition: transform 0.15s;
    }
    .skip-link:focus { transform: translateY(0); outline: 2px solid #fff; outline-offset: 2px; }

    /* ── Scroll Reveal ──────────────────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.65s ease, transform 0.65s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    /* ── Typography ─────────────────────────────────────────────── */
    h1, h2, h3, h4, h5 { font-family: var(--font-heading); }

    .section-title {
      font-size: clamp(1.5rem, 3vw, 2rem);
      font-weight: 700;
      color: var(--text-1);
      letter-spacing: -0.02em;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      margin-bottom: 1.5rem;
    }
    .section-title::after {
      content: '';
      display: block;
      width: 3rem;
      height: 3px;
      background: var(--grad-accent);
      border-radius: 2px;
    }

    /* One-line deck under a section heading: sets expectation before the scan. */
    .section-lede {
      margin-top: -1rem;
      margin-bottom: 1.75rem;
      max-width: 62ch;
      font-size: 0.9rem;
      line-height: 1.7;
      color: var(--text-muted);
    }
    .section-lede--wide { max-width: none; }

    .gradient-text {
      background: var(--grad-accent);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
    }

    /* ── Layout ─────────────────────────────────────────────────── */
    .container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .section {
      padding: 1.5rem 0;
    }

    .section-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--border), transparent);
      margin: 0 1.5rem;
    }

    /* ── Cards ──────────────────────────────────────────────────── */
    .glass-card {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    }
    @media (prefers-reduced-motion: no-preference) {
      .glass-card:hover {
        border-color: var(--border-hover);
        box-shadow: var(--shadow-glow);
        transform: translateY(-3px);
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .glass-card:hover {
        border-color: var(--border-hover);
        box-shadow: var(--shadow-glow);
      }
    }

    /* ── Tech Chip ──────────────────────────────────────────────── */
    .chip {
      display: inline-block;
      padding: 0.2rem 0.65rem;
      background: rgba(14,165,233,0.08);
      border: 1px solid rgba(14,165,233,0.22);
      border-radius: 9999px;
      font-size: 12px;
      font-family: var(--font-mono);
      color: var(--text-2);
      white-space: nowrap;
      transition: border-color 0.2s, color 0.2s;
    }
    .chip:hover { border-color: var(--accent-1); color: var(--text-1); }

    /* ── Buttons ────────────────────────────────────────────────── */
    .btn-primary {
      display: inline-flex; align-items: center; gap: 0.4rem;
      background: var(--grad-accent);
      color: #fff; border: none;
      padding: 0.7rem 1.4rem;
      border-radius: var(--radius-sm);
      font-size: 0.9rem; font-weight: 600;
      font-family: var(--font-body);
      cursor: pointer;
      transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
      box-shadow: 0 4px 16px rgba(99,102,241,0.35);
    }
    .btn-primary:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(99,102,241,0.5); }

    /* Second-tier action: visibly above the ghost links, below the primary. */
    .btn-secondary {
      display: inline-flex; align-items: center; gap: 0.4rem;
      background: rgba(14,165,233,0.1);
      color: var(--accent-3); border: 1px solid rgba(14,165,233,0.45);
      padding: 0.7rem 1.4rem;
      border-radius: var(--radius-sm);
      font-size: 0.9rem; font-weight: 600;
      font-family: var(--font-body);
      cursor: pointer; text-decoration: none;
      transition: background 0.2s, border-color 0.2s;
    }
    .btn-secondary:hover { background: rgba(14,165,233,0.18); border-color: var(--accent-1); }

    .btn-ghost {
      display: inline-flex; align-items: center; gap: 0.4rem;
      background: transparent;
      color: var(--text-2); border: 1px solid var(--border);
      padding: 0.7rem 1.4rem;
      border-radius: var(--radius-sm);
      font-size: 0.9rem; font-weight: 500;
      font-family: var(--font-body);
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s, transform 0.15s;
    }
    .btn-ghost:hover { border-color: rgba(99,102,241,0.5); color: var(--text-1); transform: translateY(-1px); }

    .btn-sm {
      padding: 0.4rem 0.9rem;
      font-size: 0.9rem;
      border-radius: var(--radius-sm);
    }

    /* ── Keyframe Animations ────────────────────────────────────── */
    @keyframes float-orb-1 {
      0%,100% { transform: translate(0, 0) scale(1); }
      33%      { transform: translate(40px, -30px) scale(1.05); }
      66%      { transform: translate(-20px, 20px) scale(0.97); }
    }
    @keyframes float-orb-2 {
      0%,100% { transform: translate(0, 0) scale(1); }
      33%      { transform: translate(-50px, 20px) scale(1.04); }
      66%      { transform: translate(30px, -40px) scale(0.96); }
    }
    @keyframes shimmer {
      0%   { background-position: -400px 0; }
      100% { background-position: 400px 0; }
    }
    @keyframes glow-pulse {
      0%,100% { box-shadow: 0 0 10px rgba(14,165,233,0.1); }
      50%      { box-shadow: 0 0 25px rgba(14,165,233,0.25); }
    }
    @keyframes slideUp {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes draw-line {
      from { height: 0; }
      to   { height: 100%; }
    }

    /* ═══════════════════════════════════════════════════════════════
       NAVIGATION
    ═══════════════════════════════════════════════════════════════ */
    #site-header {
      position: sticky; top: 0; z-index: 100;
      border-bottom: 1px solid var(--border);
      background: rgba(15,23,42,0.75);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      transition: background 0.3s, border-color 0.3s;
    }
    #site-header.scrolled {
      background: rgba(15,23,42,0.92);
      border-bottom-color: rgba(14,165,233,0.2);
    }

    .nav-inner {
      display: flex; align-items: center; justify-content: space-between;
      height: 68px;
    }

    .nav-brand {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.05rem;
      background: var(--grad-accent);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      letter-spacing: -0.01em;
    }
    .nav-brand:hover { opacity: 0.85; }

    .nav-desktop {
      display: flex; align-items: center; gap: 1.75rem;
      list-style: none;
      font-size: 0.875rem;
      color: var(--text-2);
    }
    .nav-desktop li a {
      position: relative; padding-bottom: 2px;
      transition: color 0.2s;
    }
    .nav-desktop li a::after {
      content: '';
      position: absolute; bottom: -2px; left: 0; right: 0;
      height: 1.5px;
      background: var(--grad-accent);
      border-radius: 1px;
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.25s ease;
    }
    .nav-desktop li a:hover { color: var(--text-1); }
    .nav-desktop li a:hover::after { transform: scaleX(1); transform-origin: left; }

    /* Dropdown */
    .nav-dropdown { position: relative; }
    .nav-dropdown-trigger {
      display: flex; align-items: center; gap: 4px;
      cursor: pointer; color: var(--text-2);
      transition: color 0.2s;
      font-size: 0.875rem;
      padding-bottom: 2px;
      background: none; border: 0; font-family: inherit; line-height: inherit;
    }
    .nav-dropdown-trigger:hover,
    .nav-dropdown-trigger:focus-visible { color: var(--text-1); }
    .nav-dropdown-trigger svg { width: 9px; height: 9px; opacity: 0.55; transition: transform 0.2s; }
    .nav-dropdown:hover .nav-dropdown-trigger svg,
    .nav-dropdown:focus-within .nav-dropdown-trigger svg { transform: rotate(180deg); }

    .nav-dropdown-menu {
      display: none;
      position: absolute; top: calc(100% + 12px); left: 50%;
      transform: translateX(-50%);
      min-width: 200px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-lift);
      padding: 0.4rem;
      z-index: 200;
    }
    /* Bridge the gap so hover doesn't break */
    .nav-dropdown-menu::before {
      content: '';
      position: absolute;
      top: -12px;
      left: 0;
      right: 0;
      height: 12px;
    }
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
    .nav-dropdown-menu a {
      display: flex; align-items: center; gap: 8px;
      padding: 0.5rem 0.8rem;
      font-size: 0.825rem;
      color: var(--text-2);
      border-radius: var(--radius-sm);
      transition: background 0.15s, color 0.15s;
      white-space: nowrap;
    }
    .nav-dropdown-menu a:hover { background: var(--surface-3); color: var(--text-1); }
    .nav-dd-dot {
      width: 6px; height: 6px; border-radius: 50%;
      flex-shrink: 0;
    }

    /* Hamburger */
    #menuBtn {
      display: none;
      flex-direction: column; justify-content: center; align-items: center;
      width: 40px; height: 40px; gap: 5px;
      background: none; border: 1px solid var(--border);
      border-radius: var(--radius-sm); cursor: pointer;
    }
    #menuBtn span {
      display: block; width: 20px; height: 1.5px;
      background: var(--text-2);
      transition: transform 0.2s, opacity 0.2s;
    }
    #menuBtn.is-open #bar1 { transform: translateY(6.5px) rotate(45deg); }
    #menuBtn.is-open #bar2 { opacity: 0; }
    #menuBtn.is-open #bar3 { transform: translateY(-6.5px) rotate(-45deg); }

    /* Mobile Menu */
    #mobileMenu {
      display: none;
      border-top: 1px solid var(--border);
      background: rgba(15,23,42,0.97);
      backdrop-filter: blur(20px);
    }
    #mobileMenu.open { display: block; }
    .mobile-nav {
      display: flex; flex-direction: column;
      padding: 0.5rem 1.5rem 1rem;
    }
    .mobile-nav a,
    .mobile-nav span {
      display: block;
      padding: 0.75rem 0;
      border-bottom: 1px solid var(--border);
      color: var(--text-2);
      font-size: 0.9rem;
      transition: color 0.2s;
    }
    .mobile-nav a:hover { color: var(--text-1); }
    .mobile-nav .mobile-sub {
      padding-left: 1rem;
    }
    .mobile-nav .mobile-sub a {
      font-size: 0.9rem;
      color: var(--text-muted);
      border-bottom-color: rgba(99,120,160,0.08);
    }
    .mobile-nav .mobile-sub a:last-child { border-bottom: none; }

    @media (max-width: 720px) {
      .nav-desktop { display: none; }
      #menuBtn { display: flex; }
    }

    /* ═══════════════════════════════════════════════════════════════
       HERO
    ═══════════════════════════════════════════════════════════════ */
    #home {
      position: relative;
      overflow: hidden;
      padding: 2.5rem 0 2.5rem;
    }

    /* Ambient orbs */
    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      pointer-events: none;
      z-index: 0;
    }
    .orb-1 {
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(14,165,233,0.04) 0%, transparent 70%);
      top: -120px; left: -100px;
      animation: float-orb-1 12s ease-in-out infinite;
    }
    .orb-2 {
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(2,132,199,0.03) 0%, transparent 70%);
      bottom: -200px; right: -150px;
      animation: float-orb-2 15s ease-in-out infinite;
    }
    .orb-3 {
      width: 300px; height: 300px;
      background: radial-gradient(circle, rgba(56,189,248,0.02) 0%, transparent 70%);
      top: 60%; left: 40%;
      animation: float-orb-1 18s ease-in-out infinite reverse;
    }

    .hero-inner {
      position: relative; z-index: 1;
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: center;
      gap: 3.5rem;
    }

    /* Profile Photo */
    .profile-wrap {
      position: relative;
      width: 200px; height: 200px;
      flex-shrink: 0;
    }
    .profile-gradient-ring {
      position: absolute; inset: -4px;
      border-radius: 28px;
      background: var(--grad-hero);
      z-index: 0;
      animation: glow-pulse 3s ease-in-out infinite;
    }
    .profile-img {
      position: relative; z-index: 1;
      width: 100%; height: 100%;
      border-radius: 24px;
      object-fit: cover;
      display: block;
      border: 3px solid var(--surface-1);
    }

    /* Hero text */
    .hero-label {
      display: flex; flex-wrap: wrap; gap: 0.5rem;
      margin-bottom: 1.1rem;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 0.3rem 0.75rem;
      background: rgba(14,165,233,0.1);
      border: 1px solid rgba(14,165,233,0.3);
      border-radius: 9999px;
      font-size: 0.9rem;
      color: var(--accent-3);
      font-family: var(--font-mono);
    }

    .hero-title {
      font-size: clamp(2.2rem, 5vw, 3.5rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.1;
      background: var(--grad-accent);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      margin-bottom: 0.6rem;
    }

    .hero-subtitle {
      font-size: 1.05rem;
      color: var(--text-2);
      font-weight: 400;
      margin-bottom: 1.25rem;
    }

    .hero-bio {
      color: var(--text-2);
      font-size: 0.95rem;
      line-height: 1.75;
      max-width: 600px;
      margin-bottom: 1.75rem;
    }

    .hero-actions {
      display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
      margin-bottom: 1.5rem;
    }

    .hero-meta {
      display: flex; flex-wrap: wrap; gap: 1rem;
      font-size: 0.875rem;
      color: var(--text-muted);
    }
    .hero-meta span {
      display: flex; align-items: center; gap: 5px;
    }

    /* Stats bar */
    .stats-bar {
      display: flex; flex-wrap: wrap; gap: 0;
      margin-top: 2.5rem;
      padding-top: 2rem;
      border-top: 1px solid var(--border);
    }
    .stat-item {
      flex: 1; min-width: 130px;
      padding: 0 1.5rem;
      border-right: 1px solid var(--border);
    }
    .stat-item:first-child { padding-left: 0; }
    .stat-item:last-child { border-right: none; }
    .stat-num {
      font-family: var(--font-heading);
      font-size: 1.9rem;
      font-weight: 800;
      background: var(--grad-accent);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      line-height: 1;
      margin-bottom: 0.2rem;
    }
    .stat-label {
      font-size: 0.75rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    @media (max-width: 720px) {
      .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .profile-wrap {
        width: 150px; height: 150px;
        margin: 0 auto;
      }
      .profile-gradient-ring { border-radius: 22px; }
      .profile-img { border-radius: 18px; }
      .hero-label { justify-content: center; }
      .hero-actions { justify-content: center; }
      .hero-meta { justify-content: center; }
      .stats-bar { justify-content: center; }
      .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 0.75rem 0; text-align: center; min-width: 100px; }
      .stat-item:last-child { border-bottom: none; }
    }

    /* ═══════════════════════════════════════════════════════════════
       ABOUT
    ═══════════════════════════════════════════════════════════════ */
    .about-paragraphs p {
      color: var(--text-2);
      font-size: 0.95rem;
      line-height: 1.85;
      margin-bottom: 1rem;
      padding-left: 1rem;
      border-left: 2px solid transparent;
      transition: border-color 0.3s;
    }
    .about-paragraphs p:hover {
      border-left-color: var(--accent-1);
    }

    /* ═══════════════════════════════════════════════════════════════
       SKILLS
    ═══════════════════════════════════════════════════════════════ */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1rem;
    }

    .skill-card {
      padding: 1.4rem 1.4rem 1.25rem;
    }

    .skill-card-header {
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 1rem;
    }
    .skill-icon {
      width: 36px; height: 36px;
      background: rgba(99,102,241,0.12);
      border: 1px solid rgba(99,102,241,0.2);
      border-radius: 9px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .skill-icon svg { width: 18px; height: 18px; }
    .skill-category {
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent-1);
    }

    .skill-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

    /* ═══════════════════════════════════════════════════════════════
       CERTIFICATIONS
    ═══════════════════════════════════════════════════════════════ */
    .certs-grid {
      display: flex; flex-wrap: wrap; gap: 1.25rem;
    }
    .cert-card {
      display: flex; align-items: center; gap: 1.25rem;
      padding: 1.4rem 1.75rem;
      flex: 1; min-width: 280px;
      position: relative; overflow: hidden;
    }
    .cert-card::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(99,102,241,0.06), transparent 60%);
      pointer-events: none;
    }
    .cert-badge-img {
      width: 80px; height: auto;
      flex-shrink: 0;
      filter: drop-shadow(0 4px 12px rgba(99,102,241,0.3));
      transition: transform 0.3s;
    }
    .cert-card:hover .cert-badge-img { transform: scale(1.05) rotate(-2deg); }
    .cert-name {
      font-family: var(--font-heading);
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-1);
      margin-bottom: 0.2rem;
    }
    .cert-issuer {
      font-size: 0.9rem;
      color: var(--accent-1);
      margin-bottom: 0.15rem;
    }
    .cert-year {
      font-size: 0.75rem;
      font-family: var(--font-mono);
      color: var(--text-muted);
      letter-spacing: 0.1em;
    }

    /* Shimmer effect on cert card hover */
    .cert-card::after {
      content: '';
      position: absolute;
      top: 0; left: -150%;
      width: 80%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
      transform: skewX(-20deg);
      transition: left 0.5s ease;
    }
    .cert-card:hover::after { left: 150%; }

    /* ═══════════════════════════════════════════════════════════════
       EXPERIENCE — COMPANY CARDS
    ═══════════════════════════════════════════════════════════════ */
    .exp-grid {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .exp-card {
      padding: 1.75rem;
      position: relative;
      overflow: hidden;
    }
    .exp-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: var(--grad-accent);
    }

    /* Older roles keep every detail but open on demand: the section was twelve
       screens of continuous text, and nothing in it gave the eye a place to stop. */
    .exp-details > summary {
      list-style: none; cursor: pointer; user-select: none;
      display: inline-flex; align-items: center; gap: 0.4rem;
      margin-top: 0.35rem; font-size: 0.85rem; font-weight: 500;
      color: var(--accent-3);
    }
    .exp-details > summary::-webkit-details-marker { display: none; }
    .exp-details > summary::after { content: '\25BE'; font-size: 0.9em; transition: transform 0.2s; }
    .exp-details[open] > summary::after { transform: rotate(180deg); }
    .exp-details > summary:hover { text-decoration: underline; }
    .exp-details[open] > summary { margin-bottom: 0.75rem; }

    .exp-card-header {
      display: flex; flex-wrap: wrap; align-items: flex-start;
      justify-content: space-between; gap: 0.75rem;
      margin-bottom: 0.5rem;
    }
    .exp-role {
      font-family: var(--font-heading);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--text-1);
      margin-bottom: 0.2rem;
    }
    .exp-date {
      font-size: 0.9rem;
      font-family: var(--font-mono);
      color: var(--text-muted);
      background: var(--surface-1);
      border: 1px solid var(--border);
      padding: 0.3rem 0.8rem;
      border-radius: 9999px;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .exp-company {
      font-size: 0.9rem;
      color: var(--accent-1);
      font-weight: 500;
      margin-bottom: 0.2rem;
    }
    .exp-company-desc {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 1rem;
      line-height: 1.6;
    }
    .exp-company-desc a { color: var(--accent-1); }
    .exp-company-desc a:hover { text-decoration: underline; }
    .exp-summary {
      font-size: 0.88rem;
      color: var(--text-2);
      line-height: 1.75;
      margin-bottom: 1.25rem;
    }
    .exp-projects {
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }

    /* Project sub-card within timeline */
    .project-card {
      border-radius: var(--radius-md);
      padding: 1.25rem 1.4rem;
      margin-bottom: 0.75rem;
      border: 1px solid var(--border);
      background: var(--surface-1);
      position: relative;
      overflow: hidden;
      transition: border-color 0.25s, box-shadow 0.25s;
    }
    .project-card:hover {
      border-color: var(--border-hover);
      box-shadow: 0 4px 20px rgba(99,102,241,0.15);
    }
    /* A screenshot of the product itself. The card used to be text only. */
    .project-media {
      display: block; margin: 0.35rem 0 1rem;
      border-radius: var(--radius-sm); overflow: hidden;
      border: 1px solid var(--border); background: var(--surface-2);
      aspect-ratio: 16 / 9;
    }
    .project-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

    .project-card-accent {
      position: absolute; top: 0; left: 0;
      width: 3px; height: 100%;
    }

    .project-header {
      display: flex; flex-wrap: wrap; align-items: flex-start;
      justify-content: space-between; gap: 0.5rem;
      margin-bottom: 0.65rem;
    }
    .project-label {
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 0.2rem;
    }
    .project-name {
      font-family: var(--font-heading);
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-1);
    }
    .project-links { display: flex; gap: 0.5rem; }
    .project-desc {
      font-size: 0.9rem;
      color: var(--text-2);
      line-height: 1.75;
      margin-bottom: 0.75rem;
    }

    .project-section-label {
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
      margin-bottom: 0.4rem;
    }
    .project-arch {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.7;
      font-family: var(--font-mono);
      margin-bottom: 0.65rem;
    }
    .chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }

    /* Bullet list in timeline */
    .tl-bullets {
      list-style: none;
      padding: 0;
      margin: 0.5rem 0 0.75rem;
    }
    .tl-bullets li {
      position: relative;
      padding-left: 1.25rem;
      font-size: 0.9rem;
      color: var(--text-2);
      line-height: 1.7;
      margin-bottom: 0.35rem;
    }
    .tl-bullets li::before {
      content: '';
      position: absolute; left: 0; top: 0.6em;
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--accent-1);
      opacity: 0.6;
    }

    /* Sub-project accent line */
    .subproject {
      border-left: 2px solid rgba(99,102,241,0.4);
      padding-left: 1rem;
      margin-bottom: 0.75rem;
    }
    .subproject-title {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text-1);
      margin-bottom: 0.2rem;
    }
    .subproject-desc {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* ═══════════════════════════════════════════════════════════════
       RESEARCH
    ═══════════════════════════════════════════════════════════════ */
    .research-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1rem;
    }
    .research-card {
      padding: 1.4rem;
      display: flex; flex-direction: column; gap: 0.5rem;
    }
    .research-icon {
      width: 38px; height: 38px;
      border-radius: 9px;
      background: rgba(99,102,241,0.1);
      border: 1px solid rgba(99,102,241,0.2);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 0.25rem;
    }
    .research-venue {
      font-size: 0.75rem;
      color: var(--accent-1);
      font-family: var(--font-mono);
    }
    .research-title {
      font-family: var(--font-heading);
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text-1);
      line-height: 1.4;
    }
    .research-top {
      display: flex; align-items: flex-start; justify-content: space-between;
      gap: 0.5rem;
    }
    .research-title { margin-bottom: 0.5rem; }
    .research-pub {
      font-size: 0.9rem;
      font-family: var(--font-mono);
      color: var(--text-muted);
      letter-spacing: 0.08em;
      text-align: right;
    }

    /* ═══════════════════════════════════════════════════════════════
       EDUCATION
    ═══════════════════════════════════════════════════════════════ */
    .edu-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1rem;
    }
    .edu-card {
      padding: 1.4rem;
    }
    .edu-year {
      font-size: 0.75rem;
      font-family: var(--font-mono);
      color: var(--text-muted);
      letter-spacing: 0.08em;
      margin-bottom: 0.4rem;
    }
    .edu-degree {
      font-family: var(--font-heading);
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-1);
      margin-bottom: 0.25rem;
    }
    .edu-school {
      font-size: 0.9rem;
      color: var(--text-2);
    }

    /* ═══════════════════════════════════════════════════════════════
       AWARDS
    ═══════════════════════════════════════════════════════════════ */
    .awards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1rem;
    }
    .award-card {
      padding: 1.4rem;
      position: relative; overflow: hidden;
      display: flex; flex-direction: column;
    }
    .award-card::before {
      content: '';
      position: absolute; top: 0; left: 0;
      width: 100%; height: 2px;
      background: linear-gradient(90deg, var(--accent-gold), transparent);
    }
    .award-top {
      display: flex; align-items: flex-start; justify-content: space-between;
      gap: 0.5rem;
      margin-bottom: 0.65rem;
    }
    .award-icon {
      font-size: 1.3rem;
      line-height: 1;
    }
    .award-date {
      font-size: 0.9rem;
      font-family: var(--font-mono);
      color: var(--text-muted);
      letter-spacing: 0.08em;
    }
    .award-name {
      font-family: var(--font-heading);
      font-size: 0.975rem;
      font-weight: 700;
      color: var(--text-1);
      margin-bottom: 0.5rem;
    }
    .award-desc {
      font-size: 0.875rem;
      color: var(--text-2);
      line-height: 1.65;
      margin-bottom: 0.65rem;
    }
    .award-org {
      font-size: 0.75rem;
      color: var(--text-muted);
    }
    .cert-link { display: inline-block; margin-top: 0.4rem; }
    .award-links { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
    /* Pin the presenter line and certificate links to the card bottom so they line up across a row */
    .award-card .award-org { margin-top: auto; padding-top: 0.75rem; }
    .award-card .award-org--inline { margin-top: 0; padding-top: 0; }
    .award-link {
      font-size: 0.75rem;
      color: var(--accent-1);
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    .award-link:hover { color: var(--accent-2); }

    /* ═══════════════════════════════════════════════════════════════
       CONTACT
    ═══════════════════════════════════════════════════════════════ */
    .contact-grid {
      display: flex; flex-wrap: wrap; gap: 0.75rem;
    }
    .contact-tile {
      display: flex; align-items: center; gap: 1rem;
      padding: 1.1rem 1.6rem;
      flex: 1; min-width: 260px;
      border-radius: var(--radius-md);
      background: var(--surface-2);
      border: 1px solid var(--border);
      transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    }
    .contact-tile:hover {
      border-color: var(--border-hover);
      box-shadow: var(--shadow-glow);
      transform: translateY(-2px);
    }
    .contact-icon-wrap {
      width: 42px; height: 42px; flex-shrink: 0;
      border-radius: 10px;
      background: rgba(99,102,241,0.12);
      border: 1px solid rgba(99,102,241,0.2);
      display: flex; align-items: center; justify-content: center;
    }
    .contact-icon-wrap svg { width: 20px; height: 20px; }
    .contact-tile-text {
      min-width: 0;
    }
    .contact-label {
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      margin-bottom: 0.15rem;
    }
    .contact-value {
      font-size: 0.875rem;
      color: var(--text-1);
      font-weight: 500;
      word-break: break-word;
    }

    /* ═══════════════════════════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════════════════════════ */
    footer {
      border-top: 1px solid var(--border);
      padding: 2rem 0;
      text-align: center;
      font-size: 0.9rem;
      color: var(--text-muted);
    }
    footer a { color: var(--text-muted); }
    footer a:hover { color: var(--text-2); text-decoration: underline; }

    /* ═══════════════════════════════════════════════════════════════
       CONTACT MODAL
    ═══════════════════════════════════════════════════════════════ */
    .modal-overlay {
      display: none;
      position: fixed; inset: 0;
      background: rgba(0, 0, 0, 0.65);
      z-index: 9999;
      justify-content: center; align-items: center;
      padding: 1rem;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }
    .modal-overlay.is-open { display: flex; }

    .modal-dialog {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 2rem;
      width: 100%; max-width: 440px;
      position: relative;
      box-shadow: var(--shadow-lift);
    }
    @media (prefers-reduced-motion: no-preference) {
      .modal-dialog { animation: slideUp 0.22s ease; }
    }

    .modal-header {
      display: flex; justify-content: space-between; align-items: center;
      margin-bottom: 1.5rem;
    }
    .modal-title {
      font-family: var(--font-heading);
      font-size: 1.2rem; font-weight: 700; color: var(--text-1);
    }
    .modal-close {
      background: none; border: none;
      color: var(--text-muted); font-size: 1.4rem;
      cursor: pointer; line-height: 1; padding: 0.2rem 0.4rem;
      border-radius: 4px; transition: color 0.2s;
    }
    .modal-close:hover { color: var(--text-1); }
    .modal-field { margin-bottom: 1rem; }
    .modal-field-last { margin-bottom: 1.25rem; }
    .modal-label {
      display: block; font-size: 0.9rem; font-weight: 600;
      color: var(--text-2); margin-bottom: 0.35rem;
    }
    .modal-input {
      width: 100%; padding: 0.65rem 0.85rem;
      background: var(--surface-1); border: 1px solid var(--border);
      border-radius: var(--radius-sm); color: var(--text-1);
      font-size: 0.95rem; font-family: inherit; box-sizing: border-box;
      transition: border-color 0.2s;
    }
    .modal-input:focus { outline: none; border-color: var(--accent-1); }
    .modal-textarea { resize: vertical; }
    .modal-submit {
      width: 100%; padding: 0.75rem;
      background: var(--grad-accent);
      color: white; border: none;
      border-radius: var(--radius-sm);
      font-size: 1rem; font-weight: 600;
      cursor: pointer; font-family: inherit;
      transition: opacity 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 16px rgba(99,102,241,0.35);
    }
    .modal-submit:hover { opacity: 0.9; box-shadow: 0 6px 24px rgba(99,102,241,0.5); }
    .modal-status {
      margin-top: 1rem; font-size: 0.875rem; font-weight: 600;
      text-align: center; display: none;
    }

    /* ═══════════════════════════════════════════════════════════════
       MISC UTILITIES
    ═══════════════════════════════════════════════════════════════ */
    .key-subprojects-label {
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--accent-1);
      margin-bottom: 0.6rem;
    }
    .tl-tech-label {
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
      margin-bottom: 0.4rem;
      margin-top: 0.65rem;
    }
    .tl-os-label {
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
      margin-bottom: 0.4rem;
      margin-top: 0.65rem;
    }
