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

    :root {
      --bg: #0b0b0b;
      --surface: #111111;
      --surface-2: #161616;
      --border: rgba(255,255,255,0.11);
      --border-strong: rgba(255,255,255,0.20);
      --text-primary: #f5f3ee;
      --text-secondary: #aaa8a2;
      --text-muted: #6f6d68;
      --accent: #d7ff45;
      --accent-soft: rgba(215,255,69,0.09);
      --mono: 'JetBrains Mono', monospace;
      --serif: 'DM Serif Display', serif;
      --sans: 'Inter', sans-serif;
      --max-width: 1180px;
      --radius: 22px;
    }

    html {
      scroll-behavior: smooth;
      background: var(--bg);
    }

    body {
      font-family: var(--sans);
      background:
        radial-gradient(circle at 75% 10%, rgba(215,255,69,0.055), transparent 24rem),
        var(--bg);
      color: var(--text-primary);
      line-height: 1.65;
      overflow-x: hidden;
    }

    ::selection {
      background: var(--accent);
      color: #080808;
    }

    body::before {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: .18;
      z-index: 999;
      background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: linear-gradient(to bottom, black, transparent 70%);
    }

    a { color: inherit; }

    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      height: 74px;
      padding: 0 clamp(1.2rem, 4vw, 3.5rem);
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(11,11,11,.70);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
    }

    .nav-logo {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border: 1px solid var(--border-strong);
      border-radius: 50%;
      text-decoration: none;
      font-family: var(--mono);
      font-weight: 600;
      font-size: .82rem;
      letter-spacing: -.03em;
      transition: .25s ease;
    }

    .nav-logo:hover {
      background: var(--accent);
      border-color: var(--accent);
      color: #090909;
      transform: rotate(-7deg);
    }

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

    .nav-links a {
      position: relative;
      font-family: var(--mono);
      font-size: .72rem;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: .08em;
      text-decoration: none;
      color: var(--text-secondary);
      transition: color .2s ease;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      left: 0;
      right: 100%;
      bottom: -7px;
      height: 1px;
      background: var(--accent);
      transition: right .25s ease;
    }

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

    .nav-links a:hover::after {
      right: 0;
    }

    section {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 120px clamp(1.3rem, 5vw, 4rem);
    }

    section:first-of-type {
      padding-top: 145px;
    }

    .section-divider {
      border: 0;
      border-top: 1px solid var(--border);
      max-width: var(--max-width);
      margin: 0 auto;
    }

    /* Keep the original reveal animation */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity .65s cubic-bezier(.2,.7,.2,1),
                  transform .65s cubic-bezier(.2,.7,.2,1);
    }

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

    .reveal-delay-1 { transition-delay: .10s; }
    .reveal-delay-2 { transition-delay: .18s; }
    .reveal-delay-3 { transition-delay: .26s; }
    .reveal-delay-4 { transition-delay: .34s; }

    #hero {
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      border-bottom: 0;
      padding-bottom: 80px;
    }

    .hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr);
      gap: clamp(2.5rem, 7vw, 7rem);
      align-items: end;
    }

    .hero-content {
      max-width: 780px;
    }

    .hero-eyebrow,
    .section-eyebrow {
      font-family: var(--mono);
      font-size: .72rem;
      font-weight: 500;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--accent);
    }

    .hero-eyebrow {
      display: flex;
      align-items: center;
      gap: .8rem;
      margin-bottom: 1.4rem;
    }

    .hero-eyebrow::before {
      content: '';
      width: 34px;
      height: 1px;
      background: var(--accent);
    }

    .hero-name {
      font-family: var(--sans);
      font-weight: 600;
      font-size: clamp(3.4rem, 8.2vw, 7.7rem);
      line-height: .88;
      letter-spacing: -.075em;
      margin-bottom: 2rem;
    }

    .hero-name em {
      display: inline-block;
      font-family: var(--serif);
      font-weight: 400;
      color: var(--text-secondary);
      letter-spacing: -.045em;
    }

    .hero-desc {
      max-width: 670px;
      font-size: clamp(1rem, 1.5vw, 1.2rem);
      color: var(--text-secondary);
      line-height: 1.75;
      margin-bottom: 2.2rem;
    }

    .hero-actions {
      display: flex;
      gap: .8rem;
      flex-wrap: wrap;
    }

    .btn-primary,
    .btn-secondary,
    .contact-link {
      min-height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .55rem;
      padding: .78rem 1.35rem;
      border-radius: 999px;
      font-family: var(--mono);
      font-size: .75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .045em;
      text-decoration: none;
      transition: transform .2s ease, background .2s ease,
                  color .2s ease, border-color .2s ease;
    }

    .btn-primary {
      border: 1px solid var(--accent);
      background: var(--accent);
      color: #090909;
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      background: #e2ff78;
      border-color: #e2ff78;
    }

    .btn-secondary {
      background: transparent;
      color: var(--text-primary);
      border: 1px solid var(--border-strong);
    }

    .btn-secondary:hover {
      transform: translateY(-3px);
      border-color: var(--text-primary);
    }

    .hero-photo-wrap {
      position: relative;
      justify-self: end;
      width: min(100%, 330px);
    }

    .hero-photo-wrap::before {
      content: '';
      position: absolute;
      width: 55%;
      aspect-ratio: 1;
      border-radius: 50%;
      background: var(--accent);
      filter: blur(65px);
      opacity: .16;
      left: -18%;
      top: -8%;
      pointer-events: none;
    }

    .hero-photo {
      position: relative;
      z-index: 1;
      display: block;
      width: 100%;
      aspect-ratio: 4 / 5;
      object-fit: cover;
      object-position: top center;
      border-radius: 180px 180px 24px 24px;
      border: 1px solid var(--border-strong);
      filter: grayscale(18%) contrast(1.02);
      box-shadow: 0 30px 80px rgba(0,0,0,.42);
    }

    .hero-photo-badge {
      position: absolute;
      z-index: 2;
      right: -20px;
      bottom: 22px;
      max-width: 160px;
      padding: .65rem .9rem;
      border: 1px solid rgba(215,255,69,.4);
      background: rgba(11,11,11,.85);
      backdrop-filter: blur(14px);
      border-radius: 12px;
      color: var(--accent);
      font-family: var(--mono);
      font-size: .67rem;
      font-weight: 600;
      line-height: 1.4;
      text-transform: uppercase;
      letter-spacing: .06em;
      box-shadow: 0 12px 35px rgba(0,0,0,.3);
    }

    .hero-stats {
      margin-top: 5rem;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .hero-stats > div {
      min-height: 120px;
      padding: 1.45rem 1.5rem 1.3rem 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      border-right: 1px solid var(--border);
    }

    .hero-stats > div:not(:first-child) {
      padding-left: 1.5rem;
    }

    .hero-stats > div:last-child {
      border-right: 0;
    }

    .stat-num {
      font-size: clamp(1.2rem, 2.4vw, 2rem);
      line-height: 1.1;
      letter-spacing: -.045em;
      font-weight: 600;
    }

    .stat-label {
      margin-top: .8rem;
      font-family: var(--mono);
      font-size: .65rem;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--text-muted);
    }

    .section-header {
      display: grid;
      grid-template-columns: 180px 1fr;
      gap: 2rem;
      align-items: start;
      margin-bottom: 4rem;
    }

    .section-title {
      max-width: 750px;
      font-family: var(--sans);
      font-size: clamp(2.4rem, 5.7vw, 5rem);
      line-height: .98;
      letter-spacing: -.06em;
      font-weight: 600;
    }

    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
      gap: clamp(2rem, 7vw, 6rem);
    }

    .about-text p {
      font-size: clamp(1rem, 1.5vw, 1.13rem);
      color: var(--text-secondary);
      line-height: 1.9;
      margin-bottom: 1.2rem;
    }

    .about-tags,
    .skill-list,
    .project-tech {
      display: flex;
      flex-wrap: wrap;
      gap: .5rem;
    }

    .about-tags {
      margin-top: 1.6rem;
    }

    .tag,
    .skill-pill,
    .tech-tag {
      border: 1px solid var(--border);
      background: transparent;
      border-radius: 999px;
      color: var(--text-secondary);
      font-family: var(--mono);
      font-size: .67rem;
      line-height: 1;
      padding: .48rem .72rem;
    }

    .about-info {
      display: flex;
      flex-direction: column;
      border-top: 1px solid var(--border);
    }

    .info-item {
      padding: 1.1rem 0;
      background: transparent;
      border: 0;
      border-bottom: 1px solid var(--border);
      border-radius: 0;
    }

    .info-label {
      margin-bottom: .35rem;
      color: var(--text-muted);
      font-family: var(--mono);
      text-transform: uppercase;
      font-size: .64rem;
      letter-spacing: .10em;
    }

    .info-value {
      font-size: .92rem;
      color: var(--text-primary);
    }

    .skills-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      border-top: 1px solid var(--border);
      border-left: 1px solid var(--border);
    }

    .skill-card {
      position: relative;
      overflow: hidden;
      min-height: 190px;
      padding: 1.6rem;
      border-radius: 0;
      border: 0;
      border-right: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: transparent;
      box-shadow: none;
      transition: background .25s ease, transform .25s ease;
    }

    .skill-card::after {
      content: '';
      position: absolute;
      inset: auto -20% -80% auto;
      width: 160px;
      height: 160px;
      border-radius: 50%;
      background: var(--accent);
      filter: blur(55px);
      opacity: 0;
      transition: opacity .3s ease;
    }

    .skill-card:hover {
      transform: none;
      background: var(--surface);
      box-shadow: none;
    }

    .skill-card:hover::after {
      opacity: .06;
    }

    .skill-card-label {
      margin-bottom: 1.25rem;
      font-family: var(--mono);
      color: var(--accent);
      font-size: .68rem;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .exp-timeline {
      border-top: 1px solid var(--border);
    }

    .exp-item {
      display: grid;
      grid-template-columns: 180px 1fr;
      gap: 2rem;
      padding: 2.5rem 0;
      border-bottom: 1px solid var(--border);
    }

    .exp-date {
      color: var(--text-muted);
      font-family: var(--mono);
      font-size: .7rem;
      letter-spacing: .04em;
    }

    .exp-role {
      font-size: clamp(1.25rem, 2.4vw, 1.8rem);
      font-weight: 600;
      letter-spacing: -.035em;
      margin-bottom: .25rem;
    }

    .exp-company {
      color: var(--accent);
      font-family: var(--mono);
      font-size: .72rem;
      margin-bottom: 1.4rem;
    }

    .exp-bullets {
      list-style: none;
      display: grid;
      gap: .75rem;
    }

    .exp-bullets li {
      position: relative;
      padding-left: 1.25rem;
      color: var(--text-secondary);
      font-size: .9rem;
      line-height: 1.75;
    }

    .exp-bullets li::before {
      content: '↳';
      position: absolute;
      left: 0;
      top: 0;
      color: var(--accent);
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
    }

    .project-card {
      position: relative;
      min-height: 340px;
      padding: 2rem;
      border-radius: 0;
      border: 0;
      background: var(--bg);
      box-shadow: none;
      display: flex;
      flex-direction: column;
      transition: background .25s ease;
    }

    .project-card:hover {
      background: var(--surface);
      box-shadow: none;
      transform: none;
    }

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

    .project-title {
      max-width: 78%;
      font-size: clamp(1.25rem, 2.2vw, 1.65rem);
      font-weight: 600;
      line-height: 1.2;
      letter-spacing: -.035em;
    }

    .project-year {
      white-space: nowrap;
      padding: .35rem .55rem;
      border: 1px solid rgba(215,255,69,.28);
      border-radius: 999px;
      background: var(--accent-soft);
      color: var(--accent);
      font-family: var(--mono);
      font-size: .62rem;
      font-weight: 500;
    }

    .project-desc {
      color: var(--text-secondary);
      font-size: .88rem;
      line-height: 1.8;
      margin-bottom: 2rem;
    }

    .project-tech {
      margin-top: auto;
    }

    .tech-tag {
      text-transform: uppercase;
      color: var(--text-muted);
      font-size: .6rem;
      letter-spacing: .06em;
    }

    #contact {
      text-align: left;
      padding-bottom: 95px;
    }

    #contact .section-header {
      text-align: left;
    }

    .contact-desc {
      max-width: 720px;
      margin: 0 0 2.2rem 180px;
      padding-left: 2rem;
      color: var(--text-secondary);
      font-size: 1rem;
      line-height: 1.8;
    }

    .contact-links {
      margin-left: 180px;
      padding-left: 2rem;
      display: flex;
      flex-wrap: wrap;
      gap: .75rem;
    }

    .contact-link {
      border: 1px solid var(--border-strong);
      background: transparent;
      color: var(--text-primary);
      box-shadow: none;
    }

    .contact-link:hover {
      border-color: var(--accent);
      background: var(--accent);
      color: #080808;
      transform: translateY(-3px);
      box-shadow: none;
    }

    footer {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 2rem clamp(1.3rem, 5vw, 4rem) 3rem;
      border-top: 1px solid var(--border);
      color: var(--text-muted);
      font-family: var(--mono);
      font-size: .64rem;
      letter-spacing: .05em;
      text-align: left;
      text-transform: uppercase;
    }

    @media (max-width: 900px) {
      .hero-inner {
        grid-template-columns: 1fr 260px;
        gap: 2.5rem;
      }

      .hero-stats {
        grid-template-columns: repeat(2, 1fr);
      }

      .hero-stats > div:nth-child(2) {
        border-right: 0;
      }

      .hero-stats > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
      }

      .projects-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 700px) {
      nav {
        height: 66px;
      }

      .nav-links {
        display: none;
      }

      section {
        padding-top: 90px;
        padding-bottom: 90px;
      }

      #hero {
        min-height: auto;
        padding-top: 110px;
      }

      .hero-inner {
        grid-template-columns: 1fr;
        align-items: start;
      }

      .hero-photo-wrap {
        order: -1;
        justify-self: start;
        width: 190px;
        margin-bottom: 1rem;
      }

      .hero-photo {
        border-radius: 100px 100px 18px 18px;
      }

      .hero-photo-badge {
        right: -55px;
        bottom: 14px;
      }

      .hero-name {
        font-size: clamp(3rem, 16vw, 5rem);
      }

      .hero-stats {
        margin-top: 3.5rem;
      }

      .hero-stats > div {
        min-height: 100px;
      }

      .section-header {
        grid-template-columns: 1fr;
        gap: .8rem;
        margin-bottom: 2.8rem;
      }

      .about-grid {
        grid-template-columns: 1fr;
      }

      .skills-grid {
        grid-template-columns: 1fr;
      }

      .exp-item {
        grid-template-columns: 1fr;
        gap: .7rem;
      }

      .contact-desc,
      .contact-links {
        margin-left: 0;
        padding-left: 0;
      }
    }

    @media (max-width: 460px) {
      .hero-stats {
        grid-template-columns: 1fr;
      }

      .hero-stats > div,
      .hero-stats > div:not(:first-child) {
        padding: 1.25rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
      }

      .hero-stats > div:last-child {
        border-bottom: 0;
      }

      .project-card {
        min-height: 0;
        padding: 1.5rem;
      }

      .project-title {
        max-width: 100%;
      }

      .project-header {
        flex-direction: column;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }

      .reveal {
        opacity: 1;
        transform: none;
        transition: none;
      }
    }

/* ============================================================
   2026 PORTFOLIO UPDATE
   ============================================================ */

.project-card {
  display: flex;
  flex-direction: column;
}

.project-desc {
  flex: 1;
}

.project-actions {
  margin-top: 1.35rem;
}

.project-progress-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.project-progress-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Shared project progress page */
.project-page-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 150px 2rem 110px;
}

.project-page-hero {
  padding: 0 0 72px;
  max-width: none;
  margin: 0;
}

.project-page-kicker,
.project-update-date,
.project-status-label {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-page-title {
  max-width: 900px;
  margin: 1rem 0 1.5rem;
  font-size: clamp(2.7rem, 7vw, 6.2rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.project-page-lead {
  max-width: 780px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.8;
}

.project-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.7rem;
}

.project-page-meta span,
.project-tech-list span {
  display: inline-flex;
  padding: .5rem .75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: .7rem;
}

.project-page-section {
  padding: 58px 0;
  border-top: 1px solid var(--border);
}

.project-page-section h2 {
  margin: .7rem 0 1.3rem;
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  letter-spacing: -.035em;
}

.project-page-section > p {
  max-width: 790px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.project-checklist {
  display: grid;
  gap: .8rem;
  margin-top: 1.6rem;
}

.project-check-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: .75rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-secondary);
}

.project-check-mark {
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
}

.project-update-list {
  margin-top: 1.6rem;
}

.project-update {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--border);
}

.project-update:first-child {
  border-top: 0;
  padding-top: 0;
}

.project-update h3 {
  margin: 0 0 .55rem;
  font-size: 1.05rem;
}

.project-update p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.project-status-box {
  margin-top: 1.4rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(215,255,69,.22);
  border-radius: 14px;
  background: var(--accent-soft);
}

.project-status-box p {
  margin: .55rem 0 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.project-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.3rem;
}

.project-page-back {
  padding-top: 46px;
  border-top: 1px solid var(--border);
}

.project-page-back a {
  color: var(--accent);
  font-family: var(--mono);
  font-size: .78rem;
  text-decoration: none;
}

.project-page-back a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 700px) {
  .project-page-main {
    padding-top: 105px;
  }

  .project-update {
    grid-template-columns: 1fr;
    gap: .55rem;
  }
}
