    :root {
      --bg: #080808;
      --bg-elevated: #0f0f0f;
      --bg-card: #121212;
      --border: rgba(255, 255, 255, 0.08);
      --bg-band: #0b0b0d;
      --card-top-gleam: inset 0 1px 0 rgba(255, 255, 255, 0.06);
      --border-hover: rgba(249, 115, 22, 0.35);
      --brand: #f97316;
      --brand-hover: #fb923c;
      --brand-muted: rgba(249, 115, 22, 0.15);
      --accent: #e5e5e5;
      --accent-dim: rgba(255, 255, 255, 0.55);
      --green: #a3a3a3;
      --amber: #d4d4d4;
      --rose: #a3a3a3;
      --text: #fafafa;
      --text-muted: #737373;
      --font-sans: 'Outfit', system-ui, sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
      --nav-height: 80px;
      --nav-height-scrolled: 56px;
      --radius: 14px;
      --radius-lg: 24px;
      --type-display: clamp(2.5rem, 6.5vw, 3.9rem);
      --type-section: clamp(1.58rem, 2.65vw, 2.08rem);
      --type-h3: clamp(1.06rem, 1.45vw, 1.22rem);
      --type-lead: clamp(1.02rem, 1.85vw, 1.14rem);
      --type-body: clamp(0.94rem, 1.08vw, 1.02rem);
      --type-mono-label: clamp(0.78rem, 0.92vw, 0.88rem);
      --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
      --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
      --shadow-mat: 0 4px 28px rgba(0, 0, 0, 0.38), var(--card-top-gleam);
      --shadow-mat-hover: 0 12px 40px rgba(0, 0, 0, 0.48), var(--card-top-gleam);
      /* Wider than classic 65ch so full-width cards do not leave a large empty gutter; still capped for readability */
      --prose-card: min(90ch, 100%);
      --prose-narrow: min(65ch, 100%);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-sans);
      background: var(--bg);
      color: var(--text);
      font-size: 1rem;
      line-height: 1.625;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 50% at 85% 15%, rgba(249, 115, 22, 0.12), transparent 55%),
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(255, 255, 255, 0.02), transparent 60%);
      pointer-events: none;
      z-index: 0;
    }
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      opacity: 0.015;
      pointer-events: none;
      z-index: 9999;
    }

    a { color: var(--accent); text-decoration: none; transition: color 0.3s var(--ease-smooth); }
    a:hover { color: var(--brand-hover); }

    .hero-badge,
    .section-label,
    .hero-tagline,
    .hero-companies,
    .hero-companies-label,
    .hero-press-label,
    .hero-press-pill,
    .timeline-date,
    .skill-bar-wrap .label-row,
    .stat-card .label,
    .skill-tags span,
    .portfolio-tech span,
    .portfolio-tag,
    .featured-badge,
    .portfolio-featured-by > span,
    .education-card .degree,
    .education-card .education-extra,
    .education-card .education-dates,
    .achievement-item .title .date,
    .contact-location,
    footer {
      font-variant-numeric: tabular-nums;
    }

    /* ----- Navigation ----- */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 1.5rem;
      padding: 1rem 2rem;
      background: rgba(8, 8, 8, 0.88);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid transparent;
      transition: padding 0.5s var(--ease-premium), border-color 0.5s var(--ease-smooth), background 0.5s var(--ease-smooth);
    }
    .nav.scrolled {
      padding: 0.75rem 2rem;
      border-bottom-color: var(--border);
      background: rgba(8, 8, 8, 0.96);
    }
    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }
    .nav-links a {
      color: var(--text-muted);
      font-weight: 500;
      font-size: 0.95rem;
      transition: color 0.3s var(--ease-smooth);
      position: relative;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 1px;
      background: var(--brand);
      transition: width 0.35s var(--ease-out-expo);
    }
    .nav-links a:hover { color: var(--text); }
    .nav-links a:hover::after { width: 100%; background: var(--brand); }
    .nav-toggle {
      display: none;
      background: none;
      border: none;
      color: var(--text);
      cursor: pointer;
      padding: 0.5rem;
      aria-label="Toggle menu";
    }
    .nav-toggle svg { width: 24px; height: 24px; }

    @media (min-width: 769px) {
      .nav { display: flex; align-items: center; gap: 1.5rem; }
      .nav-toggle { display: none !important; }
      .nav-links {
        flex: 1;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.25rem 2rem;
      }
    }
    @media (max-width: 768px) {
      .nav { justify-content: space-between; flex-wrap: wrap; }
      .nav-toggle { display: block; margin-left: auto; }
      .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 1rem 2rem;
        background: rgba(8, 8, 8, 0.98);
        backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
      }
      .nav-links.open {
        max-height: 420px;
        opacity: 1;
      }
      .nav-links li { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
      .nav-links li:last-child { border-bottom: none; }
    }

    /* ----- Hero ----- */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: stretch;
      padding: calc(var(--nav-height) + 2.5rem) 2rem 4rem;
      position: relative;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      overflow: hidden;
    }
    .hero-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(120px);
      opacity: 0.18;
      animation: float 26s var(--ease-premium) infinite;
    }
    .hero-orb:nth-child(1) {
      width: 400px; height: 400px;
      background: rgba(249, 115, 22, 0.12);
      top: 10%; left: 20%;
      animation-delay: 0s;
    }
    .hero-orb:nth-child(2) {
      width: 350px; height: 350px;
      background: rgba(249, 115, 22, 0.08);
      top: 50%; right: 10%;
      animation-delay: -4s;
    }
    .hero-orb:nth-child(3) {
      width: 300px; height: 300px;
      background: #151515;
      bottom: 15%; left: 30%;
      animation-delay: -8s;
    }
    @keyframes float {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33% { transform: translate(15px, -15px) scale(1.02); }
      66% { transform: translate(-10px, 10px) scale(0.98); }
    }
    .hero-inner {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 1180px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr minmax(260px, 38%);
      gap: clamp(2rem, 5vw, 4rem);
      align-items: center;
    }
    .hero-content {
      position: relative;
      z-index: 1;
      text-align: left;
      max-width: 640px;
    }
    .hero-visual {
      position: relative;
      justify-self: end;
      width: 100%;
      max-width: 420px;
    }
    .hero-frame {
      position: relative;
      padding: 12px;
      border: 2px solid var(--brand);
      border-radius: 4px;
      background: linear-gradient(145deg, rgba(249, 115, 22, 0.08), transparent 40%);
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    }
    .hero-frame::before {
      content: '';
      position: absolute;
      inset: -20px -12px auto auto;
      width: 55%;
      height: 45%;
      border: 2px solid rgba(249, 115, 22, 0.35);
      border-radius: 4px;
      pointer-events: none;
      z-index: -1;
    }
    .hero-photo {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 2px;
      object-fit: cover;
      aspect-ratio: 1;
    }
    .hero-stat {
      flex: 1 1 200px;
      min-width: 0;
    }
    .hero-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem 2.5rem;
      margin-top: 2rem;
      padding-top: 1.75rem;
      border-top: 1px solid var(--border);
      animation: fadeUp 1s var(--ease-premium) 1.15s forwards;
      opacity: 0;
    }
    @media (min-width: 900px) {
      .hero-stats {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem 0;
        align-items: start;
      }
      .hero-stat {
        flex: unset;
        min-width: 0;
        padding-left: 1.5rem;
        border-left: 1px solid var(--border);
      }
      .hero-stat:first-child {
        padding-left: 0;
        border-left: none;
      }
    }
    .hero-press {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.65rem 1rem;
      margin-top: 1.5rem;
      animation: fadeUp 1s var(--ease-premium) 1.22s forwards;
      opacity: 0;
    }
    .hero-press-label {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
      font-variant-numeric: tabular-nums;
    }
    .hero-press-pill {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      padding: 0.3rem 0.65rem;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: rgba(255, 255, 255, 0.03);
      color: var(--accent-dim);
      font-variant-numeric: tabular-nums;
    }
    .hero-stat strong {
      display: block;
      font-size: 1.65rem;
      font-weight: 800;
      font-family: var(--font-sans);
      color: var(--text);
      letter-spacing: -0.02em;
      font-variant-numeric: tabular-nums;
    }
    .hero-stat span {
      font-family: var(--font-sans);
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text-muted);
      text-transform: none;
      letter-spacing: 0.01em;
      line-height: 1.45;
      max-width: 15rem;
      display: block;
      margin-top: 0.35rem;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.45rem 1rem;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 999px;
      font-size: 0.85rem;
      font-family: var(--font-mono);
      color: var(--text-muted);
      margin-bottom: 2rem;
      animation: fadeUp 1s var(--ease-premium) forwards;
    }
    .hero-badge-dot {
      width: 8px; height: 8px;
      background: var(--brand);
      border-radius: 50%;
      animation: pulse 2.5s ease-in-out infinite;
    }
    @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
    .hero-name {
      font-size: var(--type-display);
      font-weight: 500;
      line-height: 1.08;
      letter-spacing: -0.035em;
      margin-bottom: 1rem;
      animation: fadeUpScale 1.1s var(--ease-premium) 0.25s forwards;
      opacity: 0;
      color: var(--text);
    }
    .hero-name-line {
      display: block;
    }
    .hero-name-intro {
      font-weight: 400;
      color: var(--text-muted);
    }
    .hero-name strong {
      font-weight: 800;
      color: var(--brand);
      -webkit-text-fill-color: var(--brand);
    }
    .hero-tagline {
      font-family: var(--font-mono);
      font-size: var(--type-lead);
      font-weight: 500;
      color: var(--text-muted);
      margin-bottom: 0.85rem;
      line-height: 1.45;
      max-width: 40rem;
      animation: fadeUp 1s var(--ease-premium) 0.55s forwards;
      opacity: 0;
    }
    .hero-subtitle {
      font-size: var(--type-body);
      font-weight: 400;
      color: var(--text-muted);
      max-width: 34rem;
      margin: 0 0 2rem;
      line-height: 1.55;
      animation: fadeUp 1s var(--ease-premium) 0.8s forwards;
      opacity: 0;
    }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeUpScale {
      from { opacity: 0; transform: translateY(10px) scale(0.995); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    @keyframes slideInLeft {
      from { opacity: 0; transform: translateX(-10px); }
      to { opacity: 1; transform: translateX(0); }
    }
    @keyframes lineGrow {
      from { transform: scaleY(0); transform-origin: top; }
      to { transform: scaleY(1); transform-origin: top; }
    }
    @keyframes dotPop {
      from { opacity: 0; transform: scale(0); }
      to { opacity: 1; transform: scale(1); }
    }
    @keyframes cardShine {
      from { transform: translateX(-100%) skewX(-12deg); }
      to { transform: translateX(200%) skewX(-12deg); }
    }
    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: flex-start;
      margin-bottom: 0;
      animation: fadeUp 1s var(--ease-premium) 1.05s forwards;
      opacity: 0;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.8rem 1.6rem;
      font-family: var(--font-sans);
      font-weight: 600;
      font-size: 0.95rem;
      border-radius: 16px;
      cursor: pointer;
      transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-smooth), border-color 0.5s var(--ease-smooth), color 0.5s var(--ease-smooth);
    }
    .btn:hover { transform: translateY(-2px) scale(1.01); }
.btn:active { transform: translateY(-1px) scale(0.99); }
    .btn-primary {
      background: var(--brand);
      color: #0c0c0c;
      border: none;
      box-shadow: 0 8px 28px rgba(249, 115, 22, 0.28);
    }
    .btn-primary:hover {
      background: var(--brand-hover);
      box-shadow: 0 12px 36px rgba(249, 115, 22, 0.35);
    }
    .btn-outline {
      background: transparent;
      color: var(--text);
      border: 1px solid rgba(255, 255, 255, 0.28);
    }
    .btn-outline:hover { border-color: var(--brand); color: var(--text); background: rgba(249, 115, 22, 0.08); }
    .hero-divider {
      width: 120px;
      height: 1px;
      background: linear-gradient(90deg, var(--brand), transparent);
      margin: 2rem 0 1rem;
      animation: fadeUp 1s var(--ease-premium) 1.35s forwards;
      opacity: 0;
    }
    .hero-companies-wrap {
      animation: fadeUp 1s var(--ease-premium) 1.55s forwards;
      opacity: 0;
      text-align: left;
    }
    .hero-companies-label {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 0.5rem;
    }
    .hero-companies {
      font-family: var(--font-mono);
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    @media (max-width: 900px) {
      .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .hero-content { text-align: center; max-width: none; margin: 0 auto; }
      .hero-buttons { justify-content: center; }
      .hero-divider { margin-left: auto; margin-right: auto; }
      .hero-companies-wrap { text-align: center; }
      .hero-visual { justify-self: center; max-width: 340px; margin-top: 1.5rem; order: -1; }
      .hero-content { order: 0; }
      .hero-press { justify-content: center; }
    }

    /* ----- Sections common ----- */
    section {
      padding: 5.25rem 2rem;
      max-width: 1100px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
      isolation: isolate;
    }
    section:nth-of-type(odd)::before {
      content: '';
      position: absolute;
      z-index: -1;
      top: 0;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100vw;
      background: var(--bg-band);
      border-top: 1px solid rgba(255, 255, 255, 0.035);
      border-bottom: 1px solid rgba(255, 255, 255, 0.035);
      pointer-events: none;
    }
    .section-label {
      font-family: var(--font-mono);
      font-size: 0.88rem;
      color: var(--brand);
      margin-bottom: 0.5rem;
      letter-spacing: 0.08em;
    }
    .section-title {
      font-size: var(--type-section);
      font-weight: 700;
      margin-bottom: 1rem;
      letter-spacing: -0.02em;
      line-height: 1.15;
    }

    /* Type scale: card titles & secondary headings */
    .skill-card h3,
    .portfolio-card h3 {
      font-size: var(--type-h3);
      font-weight: 600;
      letter-spacing: -0.02em;
      line-height: 1.28;
    }
    .skill-card h3 { margin-bottom: 0.75rem; }
    .portfolio-card h3 {
      margin-bottom: 0.5rem;
      max-width: var(--prose-card);
    }
    .knowledge-block > h3 {
      font-size: var(--type-mono-label);
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 1rem;
      font-family: var(--font-mono);
    }
    .knowledge-grid h3 {
      font-size: clamp(0.98rem, 1.2vw, 1.08rem);
      font-weight: 600;
      margin-bottom: 0.75rem;
      letter-spacing: -0.015em;
    }
    .timeline-role {
      font-weight: 700;
      font-size: var(--type-h3);
      margin-bottom: 0.2rem;
      letter-spacing: -0.02em;
      line-height: 1.25;
      grid-column: 1;
      grid-row: 1;
    }
    .timeline-company {
      color: var(--text-muted);
      font-size: var(--type-body);
      margin-bottom: 0.75rem;
      grid-column: 1;
      grid-row: 2;
    }
    .timeline-bullets {
      list-style: none;
      grid-column: 1 / -1;
      grid-row: 3;
    }
    .timeline-bullets li {
      position: relative;
      padding-left: 1.25rem;
      margin-bottom: 0.4rem;
      color: var(--text-muted);
      max-width: var(--prose-card);
      font-size: var(--type-body);
    }
    .education-card .school {
      font-weight: 700;
      font-size: var(--type-h3);
      margin-bottom: 0;
      letter-spacing: -0.02em;
    }
    .portfolio-card p {
      max-width: var(--prose-card);
      font-size: var(--type-body);
      color: var(--text-muted);
      margin-bottom: 1rem;
    }
    .achievement-item .desc {
      max-width: var(--prose-card);
      font-size: var(--type-body);
      color: var(--text-muted);
    }

    /* ----- Publications & Speaking subsections ----- */
    #publications .publications-stack,
    #speaking .publications-stack {
      margin-top: 2rem;
      display: flex;
      flex-direction: column;
      gap: 2.5rem;
    }
    #publications .writing-block > h3,
    #speaking .writing-block > h3 {
      font-size: var(--type-mono-label);
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 0.75rem;
      font-family: var(--font-mono);
    }
    #publications .writing-block .achievements-list,
    #speaking .writing-block .achievements-list {
      margin-top: 0;
    }

    .reveal {
      opacity: 0;
      transform: translateY(14px);
      transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium);
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal.visible .section-label {
      animation: slideInLeft 0.9s var(--ease-premium) 0.15s both;
    }
    .reveal.visible .section-title {
      animation: slideInLeft 0.9s var(--ease-premium) 0.35s both;
    }
    .reveal.visible .about-stats .stat-card,
    .reveal.visible .skills-grid .skill-card,
    .reveal.visible .portfolio-grid .portfolio-card,
    .reveal.visible .education-grid .education-card,
    .reveal.visible .achievements-list .achievement-item {
      opacity: 0;
      animation: fadeUpScale 0.85s var(--ease-premium) forwards;
    }
    .reveal.visible .about-stats .stat-card:nth-child(1) { animation-delay: 0.4s; }
    .reveal.visible .about-stats .stat-card:nth-child(2) { animation-delay: 0.55s; }
    .reveal.visible .about-stats .stat-card:nth-child(3) { animation-delay: 0.7s; }
    .reveal.visible .about-stats .stat-card:nth-child(4) { animation-delay: 0.85s; }
    .reveal.visible .skills-grid .skill-card:nth-child(1) { animation-delay: 0.35s; }
    .reveal.visible .skills-grid .skill-card:nth-child(2) { animation-delay: 0.5s; }
    .reveal.visible .skills-grid .skill-card:nth-child(3) { animation-delay: 0.65s; }
    .reveal.visible .skills-grid .skill-card:nth-child(4) { animation-delay: 0.8s; }
    .reveal.visible .skills-grid .skill-card:nth-child(5) { animation-delay: 0.95s; }
    .reveal.visible .skills-grid .skill-card:nth-child(6) { animation-delay: 1.1s; }
    .reveal.visible .portfolio-featured-grid .portfolio-card:nth-child(1) { animation-delay: 0.35s; }
    .reveal.visible .portfolio-featured-grid .portfolio-card:nth-child(2) { animation-delay: 0.5s; }
    .reveal.visible .portfolio-projects-grid .portfolio-card:nth-child(1) { animation-delay: 0.35s; }
    .reveal.visible .portfolio-projects-grid .portfolio-card:nth-child(2) { animation-delay: 0.5s; }
    .reveal.visible .portfolio-projects-grid .portfolio-card:nth-child(3) { animation-delay: 0.65s; }
    .reveal.visible .portfolio-projects-grid .portfolio-card:nth-child(4) { animation-delay: 0.8s; }
    .reveal.visible .portfolio-projects-grid .portfolio-card:nth-child(5) { animation-delay: 0.95s; }
    .reveal.visible .education-grid .education-card:nth-child(1) { animation-delay: 0.4s; }
    .reveal.visible .education-grid .education-card:nth-child(2) { animation-delay: 0.65s; }
    .reveal.visible .achievements-list .achievement-item:nth-child(1) { animation-delay: 0.4s; }
    .reveal.visible .achievements-list .achievement-item:nth-child(2) { animation-delay: 0.65s; }
    .reveal.visible #publications .achievements-list .achievement-item:nth-child(1) { animation-delay: 0.35s; }
    .reveal.visible #publications .achievements-list .achievement-item:nth-child(2) { animation-delay: 0.5s; }
    .reveal.visible .contact-links a { opacity: 0; animation: fadeUpScale 0.75s var(--ease-premium) forwards; }
    .reveal.visible .contact-links a:nth-child(1) { animation-delay: 0.35s; }
    .reveal.visible .contact-links a:nth-child(2) { animation-delay: 0.5s; }
    .reveal.visible .contact-links a:nth-child(3) { animation-delay: 0.65s; }
    .reveal.visible .contact-links a:nth-child(4) { animation-delay: 0.8s; }
    .reveal.visible .contact-links a:nth-child(5) { animation-delay: 0.95s; }
    .reveal.visible .contact-links a:nth-child(6) { animation-delay: 1.1s; }
    .reveal.visible .about-text p {
      opacity: 0;
      animation: fadeUp 0.85s var(--ease-premium) forwards;
    }
    .reveal.visible .about-text p:nth-of-type(1) { animation-delay: 0.4s; }
    .reveal.visible .about-text p:nth-of-type(2) { animation-delay: 0.6s; }
    .reveal.visible .about-text p:nth-of-type(3) { animation-delay: 0.8s; }
    .reveal.visible .about-text p:nth-of-type(4) { animation-delay: 1s; }
    .reveal.visible .about-text p:nth-of-type(5) { animation-delay: 1.2s; }
    .reveal.visible .skills-subtitle {
      opacity: 0;
      animation: slideInLeft 0.9s var(--ease-premium) 0.55s both;
    }

    /* ----- About ----- */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: start;
      margin-top: 2rem;
    }
    .about-text {
      max-width: var(--prose-narrow);
    }
    .about-text p { margin-bottom: 1.25rem; color: var(--text-muted); opacity: 0; }
    .about-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
    .stat-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      box-shadow: var(--shadow-mat);
      transition: transform 0.5s var(--ease-premium), border-color 0.45s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
      backdrop-filter: blur(8px);
      position: relative;
      overflow: hidden;
    }
    .stat-card::after {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%);
      transform: translateX(-100%);
      pointer-events: none;
    }
    .stat-card:hover::after {
      animation: cardShine 1s var(--ease-premium);
    }
    .stat-card:hover {
      transform: translateY(-3px) scale(1.01);
      border-color: var(--border-hover);
      box-shadow: var(--shadow-mat-hover);
    }
    .stat-card .num {
      font-size: 1.75rem;
      font-weight: 800;
      color: var(--text);
      font-family: var(--font-mono);
      font-variant-numeric: tabular-nums;
    }
    .stat-card .label { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.25rem; }

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

    /* ----- Skills ----- */
    .skills-subtitle {
      color: var(--text-muted);
      font-size: var(--type-body);
      line-height: 1.6;
      margin-bottom: 2rem;
      max-width: var(--prose-narrow);
      opacity: 0;
    }
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 2rem;
    }
    .skill-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-mat);
      transition: transform 0.5s var(--ease-premium), border-color 0.45s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
      backdrop-filter: blur(8px);
    }
    .skill-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: rgba(255, 255, 255, 0.15);
      opacity: 0;
      transition: opacity 0.5s var(--ease-smooth);
    }
    .skill-card::after {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
      transform: translateX(-100%);
      pointer-events: none;
      border-radius: var(--radius-lg);
    }
    .skill-card:hover::after {
      animation: cardShine 1s var(--ease-premium);
    }
    .skill-card:hover {
      transform: translateY(-3px) scale(1.01);
      border-color: var(--border-hover);
      box-shadow: var(--shadow-mat-hover);
    }
    .skill-card:hover::before { opacity: 1; }
    .skill-card .icon {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 1rem;
      background: rgba(255, 255, 255, 0.05);
      transition: background 0.35s var(--ease-smooth);
    }
    .skill-card:hover .icon { background: rgba(255, 255, 255, 0.08); }
    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
    }
    .skill-tags span {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      padding: 0.28rem 0.65rem;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border);
      border-radius: 999px;
      color: var(--text-muted);
      transition: border-color 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth);
    }
    .skill-card:hover .skill-tags span { border-color: var(--border-hover); background: rgba(255, 255, 255, 0.06); }

    /* Knowledge level bars (like jerryadamsfranklin.com) */
    .knowledge-block {
      margin-bottom: 2.5rem;
    }
    .knowledge-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }
    .skill-bar-wrap {
      margin-bottom: 1rem;
    }
    .skill-bar-wrap .label-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 0.35rem;
      font-family: var(--font-mono);
      font-size: 0.85rem;
    }
    .skill-bar-wrap .label-row span:last-child { color: var(--text-muted); }
    .skill-bar-track {
      height: 8px;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 999px;
      overflow: hidden;
    }
    .skill-bar-fill {
      height: 100%;
      background: linear-gradient(90deg, #ea580c, #f97316);
      border-radius: 999px;
      transition: width 1.4s var(--ease-premium);
    }
    .reveal.visible .skill-bar-fill { transition: width 1.4s var(--ease-premium) 0.4s; }

    .portfolio-featured-grid { margin-top: 2rem; }
    .portfolio-projects-grid { margin-top: 2rem; }
    .portfolio-featured-by {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      margin-bottom: 2rem;
      padding: 1rem;
    }
    .portfolio-featured-by span {
      font-family: var(--font-mono);
      font-size: 0.8rem;
      color: var(--text-muted);
    }
    .featured-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.4rem 0.9rem;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 999px;
      font-family: var(--font-mono);
      font-size: 0.8rem;
      color: var(--text-muted);
      text-decoration: none;
      transition: border-color 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth);
    }
    .portfolio-featured-by a.featured-badge {
      cursor: pointer;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }
    .portfolio-featured-by a.featured-badge::after {
      content: ' ↗';
      opacity: 0.85;
      font-size: 0.85em;
    }
    .portfolio-featured-by a.featured-badge:hover {
      border-color: var(--border-hover);
      background: rgba(255, 255, 255, 0.04);
    }

    @media (max-width: 768px) {
      .skills-grid { grid-template-columns: 1fr; }
      .knowledge-grid { grid-template-columns: 1fr; }
    }

    /* ----- Experience ----- */
    .timeline {
      position: relative;
      padding-left: 2rem;
      margin-top: 2rem;
    }
    .timeline::before {
      content: '';
      position: absolute;
      left: 5px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.06) 100%);
      border-radius: 2px;
      transform: scaleY(0);
      transform-origin: top;
    }
    .reveal.visible .timeline::before {
      animation: lineGrow 1.4s var(--ease-premium) 0.5s forwards;
    }
    .timeline-item {
      position: relative;
      padding-bottom: 2.5rem;
      opacity: 0;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      column-gap: 1rem;
      row-gap: 0.35rem;
      align-items: start;
      color: inherit;
      text-decoration: none;
    }
    a.timeline-item {
      cursor: pointer;
      box-shadow: inset 3px 0 0 rgba(249, 115, 22, 0.55);
      border-radius: 0 8px 8px 0;
    }
    .timeline-item:last-child { padding-bottom: 0; }
    .reveal.visible .timeline-item {
      animation: fadeUpScale 0.8s var(--ease-premium) forwards;
    }
    .reveal.visible .timeline-item:nth-child(1) { animation-delay: 0.7s; }
    .reveal.visible .timeline-item:nth-child(2) { animation-delay: 0.9s; }
    .reveal.visible .timeline-item:nth-child(3) { animation-delay: 1.1s; }
    .reveal.visible .timeline-item:nth-child(4) { animation-delay: 1.3s; }
    .reveal.visible .timeline-item:nth-child(5) { animation-delay: 1.5s; }
    .reveal.visible .timeline-item:nth-child(6) { animation-delay: 1.7s; }
    .reveal.visible .timeline-item:nth-child(7) { animation-delay: 1.9s; }
    .reveal.visible .timeline-item:nth-child(8) { animation-delay: 2.1s; }
    .timeline-dot {
      position: absolute;
      left: -2rem;
      top: 0.25rem;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--bg-elevated);
      border: 2px solid var(--border);
    }
    .timeline-item:first-child .timeline-dot {
      background: rgba(249, 115, 22, 0.35);
      border-color: rgba(249, 115, 22, 0.55);
    }
    .timeline-date {
      font-family: var(--font-mono);
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 0;
      grid-column: 2;
      grid-row: 1;
      justify-self: end;
      text-align: right;
      white-space: nowrap;
      max-width: 100%;
    }
    .timeline-bullets li::before {
      content: '▹';
      position: absolute;
      left: 0;
      color: var(--text-muted);
    }

    /* ----- Portfolio ----- */
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
      margin-top: 2rem;
    }
    .portfolio-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-mat);
      transition: transform 0.5s var(--ease-premium), border-color 0.45s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
      backdrop-filter: blur(8px);
      display: block;
      color: inherit;
      text-decoration: none;
    }
    .portfolio-card::after {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%);
      transform: translateX(-100%);
      pointer-events: none;
      border-radius: var(--radius-lg);
    }
    .portfolio-card:hover::after {
      animation: cardShine 1s var(--ease-premium);
    }
    .portfolio-card:hover {
      transform: translateY(-3px) scale(1.01);
      border-color: var(--border-hover);
      box-shadow: var(--shadow-mat-hover);
    }
    a.portfolio-card {
      cursor: pointer;
      box-shadow: inset 3px 0 0 rgba(249, 115, 22, 0.55), var(--shadow-mat);
    }
    a.portfolio-card:hover {
      box-shadow: inset 3px 0 0 rgba(249, 115, 22, 0.85), var(--shadow-mat-hover);
    }
    .portfolio-tag {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      padding: 0.25rem 0.6rem;
      border-radius: 999px;
      margin-bottom: 0.75rem;
    }
    .portfolio-tag.featured { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }
    .portfolio-tag.project { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); }
    .portfolio-tech {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
    }
    .portfolio-tech span {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      padding: 0.25rem 0.55rem;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border);
      border-radius: 8px;
      color: var(--text-muted);
      transition: border-color 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth);
    }
    .portfolio-card:hover .portfolio-tech span { border-color: var(--border-hover); background: rgba(255, 255, 255, 0.06); }

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

    /* ----- Contact ----- */
    .contact {
      text-align: center;
      padding: 5.25rem 2rem;
    }
    .contact .section-title { margin-bottom: 0.5rem; }
    .contact-subtitle {
      color: var(--text-muted);
      margin-bottom: 2rem;
      max-width: var(--prose-narrow);
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
    }
    .contact-links {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
    }
    .contact-links a {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.8rem 1.5rem;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 16px;
      color: var(--text);
      font-weight: 500;
      box-shadow: var(--shadow-mat);
      transition: border-color 0.45s var(--ease-smooth), color 0.45s var(--ease-smooth), transform 0.45s var(--ease-premium), background 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth);
      backdrop-filter: blur(8px);
    }
    .contact-links a:hover {
      border-color: rgba(249, 115, 22, 0.45);
      color: var(--text);
      transform: translateY(-2px);
      background: rgba(249, 115, 22, 0.06);
      box-shadow: var(--shadow-mat-hover);
    }
    .contact-links a svg { width: 20px; height: 20px; flex-shrink: 0; }

    /* ----- Education ----- */
    .education-grid {
      display: grid;
      gap: 1.5rem;
      margin-top: 2rem;
    }
    .education-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      box-shadow: var(--shadow-mat);
      transition: border-color 0.45s var(--ease-smooth), box-shadow 0.5s var(--ease-premium), transform 0.45s var(--ease-premium);
      backdrop-filter: blur(8px);
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      column-gap: 1rem;
      row-gap: 0.5rem;
      align-items: start;
      color: inherit;
      text-decoration: none;
    }
    a.education-card {
      cursor: pointer;
      box-shadow: inset 3px 0 0 rgba(249, 115, 22, 0.55), var(--shadow-mat);
    }
    .education-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-mat-hover); transform: translateY(-2px); }
    a.education-card:hover { box-shadow: inset 3px 0 0 rgba(249, 115, 22, 0.85), var(--shadow-mat-hover); }
    .education-card-main {
      grid-column: 1;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.35rem;
      min-width: 0;
    }
    .education-card .degree {
      color: var(--text-muted);
      font-family: var(--font-mono);
      font-size: 0.95rem;
    }
    .education-card .education-extra {
      font-family: var(--font-mono);
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.45;
    }
    .education-card .education-dates {
      grid-column: 2;
      font-family: var(--font-mono);
      font-size: 0.85rem;
      color: var(--text-muted);
      justify-self: end;
      text-align: right;
      white-space: nowrap;
      align-self: start;
      max-width: min(22ch, 50vw);
    }

    /* ----- Achievements ----- */
    .achievements-list { margin-top: 2rem; }
    .achievement-item {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.25rem 1.5rem;
      margin-bottom: 1rem;
      box-shadow: var(--shadow-mat);
      transition: border-color 0.45s var(--ease-smooth), box-shadow 0.5s var(--ease-premium), transform 0.45s var(--ease-premium);
      backdrop-filter: blur(8px);
      display: block;
      color: inherit;
      text-decoration: none;
    }
    a.achievement-item {
      cursor: pointer;
      box-shadow: inset 3px 0 0 rgba(249, 115, 22, 0.55), var(--shadow-mat);
    }
    .achievement-item:hover { border-color: var(--border-hover); box-shadow: var(--shadow-mat-hover); transform: translateY(-2px); }
    a.achievement-item:hover { box-shadow: inset 3px 0 0 rgba(249, 115, 22, 0.85), var(--shadow-mat-hover); }
    .achievement-item-static {
      cursor: default;
      box-shadow: inset 3px 0 0 rgba(148, 163, 184, 0.35), var(--shadow-mat);
    }
    .achievement-item-static:hover {
      transform: none;
      border-color: var(--border);
      box-shadow: inset 3px 0 0 rgba(148, 163, 184, 0.35), var(--shadow-mat);
    }
    .achievement-item .title {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: baseline;
      gap: 0.5rem 1.25rem;
      width: 100%;
      max-width: none;
      font-weight: 700;
      margin-bottom: 0.35rem;
    }
    .achievement-item .title .date {
      font-family: var(--font-mono);
      font-size: 0.85rem;
      color: var(--text-muted);
      font-weight: 500;
      justify-self: end;
      text-align: right;
      white-space: nowrap;
    }

    /* ----- Footer ----- */
    footer {
      text-align: center;
      padding: 2rem;
      font-family: var(--font-mono);
      font-size: 0.85rem;
      color: var(--text-muted);
    }
    .contact-location { font-family: var(--font-mono); font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; }

    @media (max-width: 520px) {
      .timeline-date,
      .achievement-item .title .date {
        white-space: normal;
      }
      .education-card .education-dates {
        white-space: normal;
        text-align: right;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
      .hero-orb { animation: none; }
    }
