    /* ============================================================================
       Core Imports (Shared across all modern pages)
       ============================================================================ */

    @import url('../css/core/_variables.css');
    @import url('../css/core/_container-queries.css');
    @import url('../css/core/_animations.css');
    @import url('../css/core/_utilities.css');

    /* ============================================================================
       Component Imports
       ============================================================================ */

    @import url('../css/components/_navigation.css');

    nav {
      --nav-extra-offset: clamp(0.75rem, 2vh, 1.5rem);
    }

    :root {
      /* Dark Neutral Gray Foundation (lightened to match main landing page) */
      --gray-950: #22252b;
      --gray-900: #2a2e35;
      --gray-800: #32373f;
      --gray-700: #3d424b;

      /* Rainbow Accents (HDR-compatible oklch) */
      --accent-red: oklch(65% 0.25 25);
      --accent-orange: oklch(75% 0.20 65);
      --accent-yellow: oklch(85% 0.18 95);
      --accent-green: oklch(70% 0.22 145);
      --accent-cyan: oklch(75% 0.18 195);
      --accent-blue: oklch(65% 0.22 245);
      --accent-purple: oklch(65% 0.25 295);

      --primary: var(--accent-orange);
      --secondary: var(--accent-blue);
      --text-primary: #f8fafc;
      --text-secondary: #cbd5e1;
      --text-muted: #64748b;
      --bg-card: rgba(42, 47, 56, 0.4);
      --border: rgba(148, 163, 184, 0.1);
      --light-subtle: rgba(255, 255, 255, 0.05);
      --shadow-deep: rgba(0, 0, 0, 0.6);
    }

    html[data-theme="light"] {
      --gray-950: #f8fafc;
      --gray-900: #f1f5f9;
      --gray-800: #e2e8f0;
      --gray-700: #cbd5e1;
      --primary: oklch(60% 0.18 65);
      --secondary: oklch(55% 0.18 245);
      --text-primary: #0f172a;
      --text-secondary: #334155;
      --text-muted: #64748b;
      --bg-card: rgba(255, 255, 255, 0.85);
      --border: rgba(15, 23, 42, 0.12);
      --light-subtle: rgba(15, 23, 42, 0.04);
      --shadow-deep: rgba(15, 23, 42, 0.15);
    }

    @supports (color: oklch(0% 0 0)) {
      :root {
        --accent-red: oklch(65% 0.30 25);
        --accent-orange: oklch(75% 0.25 65);
        --accent-green: oklch(70% 0.27 145);
        --accent-cyan: oklch(75% 0.23 195);
        --accent-blue: oklch(65% 0.27 245);
        --accent-purple: oklch(65% 0.30 295);
        --primary: var(--accent-orange);
      }
    }

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

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--gray-950);
      color: var(--text-primary);
      line-height: var(--leading-relaxed);
      /* Modern viewport units with fallback */
      min-height: 100vh;
      min-height: var(--viewport-height-dynamic, 100dvh);
      overflow-x: hidden;
    }

    /* Animated gradient background */
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background:
        radial-gradient(ellipse at 20% 30%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 60%);
      pointer-events: none;
      z-index: -1;
      animation: gradientShift 15s ease-in-out infinite;
    }

    html[data-theme="light"] body::before {
      background:
        radial-gradient(ellipse at 20% 30%, rgba(249, 115, 22, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
    }

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

    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 clamp(1rem, 3vw, 2rem);
      width: 100%;
    }

    /* Nav component from _navigation.css handles all styling */
    /* Header wrapper removed - nav component provides scroll-morphing behavior */

    nav {
      /* Adjust for container being on nav instead of inside */
      --nav-primary: var(--accent-green, var(--primary));
      --nav-secondary: var(--accent-blue, var(--secondary));
    }

    /* Nav component handles all layout - no overrides needed */

    @media (max-width: 420px) {
      nav {
        gap: 0.5rem;
      }

      nav .logo {
        flex-direction: row;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.98rem;
      }

      nav .logo-tagline {
        font-size: 0.88em;
      }

      nav .nav-toggle {
        width: 2.5rem;
        height: 2.5rem;
      }
    }

    /* Footer */
    .site-footer {
      padding: clamp(1.5rem, 3vh, 2.5rem) 0;
      border-top: 1px solid var(--border);
    }

    .footer-content {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 1.25rem;
      margin-bottom: clamp(1rem, 2vh, 1.5rem);
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: clamp(1rem, 3vw, 2rem);
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .footer-links a {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: clamp(0.85rem, 1.5vw, 0.95rem);
      transition: color 0.2s;
    }

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

    .theme-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: relative;
      width: 2.625rem;
      height: 2.625rem;
      padding: 0;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: rgba(34, 37, 43, 0.6);
      color: var(--text-secondary);
      font-size: 0.85rem;
      cursor: pointer;
      transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }

    html[data-theme="light"] .theme-toggle {
      background: rgba(255, 255, 255, 0.8);
    }

    .theme-toggle:hover {
      color: var(--text-primary);
      border-color: rgba(16, 185, 129, 0.3);
    }

    .theme-toggle-icon {
      display: inline-flex;
      position: relative;
      width: 1.125rem;
      height: 1.125rem;
    }

    .theme-toggle-icon svg {
      position: absolute;
      inset: 0;
      width: 1.125rem;
      height: 1.125rem;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .theme-toggle-icon .icon-sun {
      opacity: 0;
      transform: rotate(-90deg);
    }

    html[data-theme="light"] .theme-toggle-icon .icon-sun {
      opacity: 1;
      transform: rotate(0deg);
    }

    html[data-theme="light"] .theme-toggle-icon .icon-moon {
      opacity: 0;
      transform: rotate(90deg);
    }

    .theme-toggle-label {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .footer-copy {
      color: var(--text-muted);
      font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    }

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
  }
}

/* ============================================================================
   Scrollbars
   ============================================================================ */

:root {
  --scrollbar-thumb: rgba(148, 163, 184, 0.45);
  --scrollbar-track: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] {
  --scrollbar-thumb: rgba(15, 23, 42, 0.35);
  --scrollbar-track: rgba(15, 23, 42, 0.08);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) transparent;
}

*::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}


    /* Hero Section - Container Query Responsive */
    .hero {
      container-type: inline-size;
      container-name: hero;
      position: relative;
      padding-block: var(--space-2xl) var(--space-xl);
      padding-top: calc(var(--space-2xl) + 80px); /* Extra space for transparent nav */
      text-align: center;
      overflow: hidden;
      isolation: isolate;
    }

    /* AI Network Background */
    .ai-network-bg {
      position: absolute;
      top: -10%;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1200px;
      height: auto;
      opacity: 0.15;
      pointer-events: none;
      z-index: 0;
    }

    .hero > *:not(.ai-network-bg) {
      position: relative;
      z-index: 1;
    }

    @media (max-width: 768px) {
      .ai-network-bg {
        opacity: 0.12; /* Was 0.08 - 50% more visible */
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .ai-network-bg * {
        animation: none !important;
      }

      .hero-illustration * {
        animation: none !important;
      }
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: var(--space-xs);
      padding: var(--space-xs) var(--space-sm);
      background: rgba(249, 115, 22, 0.12);
      border: 1px solid rgba(249, 115, 22, 0.3);
      border-radius: var(--radius-full);
      font-size: var(--font-sm);
      color: var(--primary);
      margin-block-end: var(--space-lg);
      animation: fadeIn 0.6s ease-out;
    }

    .hero-badge svg {
      width: 1rem;
      height: 1rem;
      animation: pulse 2s ease-in-out infinite;
    }

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

    h1 {
      font-size: clamp(2.3rem, 5vw + 0.8rem, 4.1rem);
      font-weight: 700;
      margin-bottom: 1rem;
      line-height: 1.1;
      text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 2px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(16, 185, 129, 0.15);
      letter-spacing: -0.02em;
      max-width: 22ch;
      margin-left: auto;
      margin-right: auto;
      text-wrap: balance;
    }

    .gradient-text {
      background: linear-gradient(135deg, var(--accent-orange), var(--accent-cyan), var(--accent-blue));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      background-size: 200% 200%;
      animation: gradientFlow 8s ease infinite;
      text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(16, 185, 129, 0.3),
        0 0 60px rgba(59, 130, 246, 0.2);
    }

    @keyframes gradientFlow {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }

    .hero-description {
      font-size: clamp(1rem, 2.5vw, 1.2rem);
      color: var(--text-secondary);
      max-width: 700px;
      margin: 0 auto 2.5rem;
      line-height: 1.7;
      text-wrap: balance;
    }

    .hero-illustration {
      width: min(100%, 420px);
      margin: clamp(1.5rem, 5vw, 2.75rem) auto 0;
      filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.45));
      position: relative;
      transform: translateZ(0);
      will-change: transform;
      --glass: rgba(255, 255, 255, 0.08);
      --stroke: rgba(255, 255, 255, 0.22);
      --shadow: rgba(0, 0, 0, 0.45);
      --teal: var(--accent-cyan);
      --blue: var(--accent-blue);
      --green: var(--accent-green);
      --yellow: var(--accent-yellow);
      --pink: var(--accent-purple);
    }

    .hero-illustration svg {
      width: 100%;
      height: auto;
      display: block;
      position: relative;
      z-index: 1;
      transform: translateZ(0);
      will-change: transform;
      backface-visibility: hidden;
    }

    .hero-illustration .float {
      transform-box: fill-box;
      backface-visibility: hidden;
    }

    html[data-theme="light"] .hero-illustration {
      filter: drop-shadow(0 14px 26px rgba(15, 23, 42, 0.28));
      --glass: rgba(148, 163, 184, 0.55);
      --stroke: rgba(30, 41, 59, 0.45);
      --shadow: rgba(15, 23, 42, 0.24);
      --teal: oklch(52% 0.22 195);
      --blue: oklch(50% 0.24 245);
      --green: oklch(52% 0.24 145);
      --yellow: oklch(58% 0.2 95);
      --pink: oklch(52% 0.24 315);
    }

    html[data-theme="light"] .hero-illustration::before {
      content: '';
      position: absolute;
      inset: 18% 20%;
      background: radial-gradient(circle, rgba(15, 23, 42, 0.16) 0%, rgba(15, 23, 42, 0) 70%);
      filter: blur(18px);
      z-index: 0;
      pointer-events: none;
    }

    @media (max-width: 640px) {
      .hero-illustration {
        width: min(100%, 360px);
        margin-top: 1.5rem;
      }
    }

    @media (min-width: 860px) {
      .hero {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        grid-template-areas:
          "badge illustration"
          "title illustration"
          "desc illustration";
        column-gap: clamp(2rem, 4vw, 3.5rem);
        align-items: center;
        text-align: left;
        padding-block: clamp(3rem, 6vh, 4.5rem);
        padding-top: calc(clamp(3rem, 6vh, 4.5rem) + 80px);
      }

      .hero-badge {
        grid-area: badge;
        justify-self: start;
        margin-block-end: clamp(0.8rem, 2vh, 1.2rem);
      }

      h1 {
        grid-area: title;
        margin-left: 0;
        margin-right: 0;
        max-width: 22ch;
        font-size: clamp(2.2rem, 2.6vw + 1.2rem, 3.4rem);
      }

      .hero-description {
        grid-area: desc;
        margin: 0;
        max-width: 40ch;
        font-size: clamp(0.95rem, 1.4vw, 1.1rem);
      }

      .hero-illustration {
        grid-area: illustration;
        margin: 0;
        width: min(100%, 380px);
        justify-self: end;
        align-self: center;
      }
    }

    @media (min-width: 860px) and (max-height: 520px) {
      .hero {
        padding-block: clamp(2rem, 4vh, 3rem);
      }

      .hero-badge {
        margin-block-end: clamp(0.6rem, 1.6vh, 0.9rem);
      }
    }

    @media (min-width: 1200px) {
      h1 {
        font-size: clamp(2.6rem, 2.8vw + 1.4rem, 3.8rem);
      }

      .hero-description {
        font-size: clamp(1rem, 1.6vw, 1.2rem);
      }

      .hero-illustration {
        width: min(100%, 420px);
      }
    }

    /* Projects Grid */
    .projects {
      padding: clamp(2rem, 6vw, 4rem) 0;
    }

    .section-header {
      margin-bottom: clamp(2rem, 5vw, 3rem);
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.6s ease-out;
    }

    .section-header.animate-in {
      opacity: 1;
      transform: translateY(0);
    }

    .section-title {
      font-size: clamp(1.75rem, 4vw, 2.5rem);
      font-weight: 700;
      margin-bottom: 0.75rem;
      background: linear-gradient(135deg, var(--accent-orange), var(--accent-red));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.1);
      letter-spacing: -0.02em;
    }

    .section-subtitle {
      color: var(--text-secondary);
      font-size: clamp(0.95rem, 2vw, 1.1rem);
    }

    /* Container context for projects section */
    .projects {
      container-type: inline-size;
      container-name: projects;
    }

    .projects-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: var(--space-md);
    }

    /* Container query: 2 columns when container >= 640px */
    @container projects (min-width: 640px) {
      .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
      }
    }

    /* Container query: maintain 2 columns with larger gaps */
    @container projects (min-width: 900px) {
      .projects-grid {
        gap: var(--space-xl);
      }
    }

    /* Fallback for browsers without container query support */
    @supports not (container-type: inline-size) {
      .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
        gap: clamp(1.25rem, 3vw, 2rem);
      }

      /* 2-column grid at tablet widths */
      @media (min-width: 640px) {
        .projects-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: var(--space-lg);
        }
      }

      /* Maintain 2 columns with larger gaps at desktop */
      @media (min-width: 900px) {
        .projects-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: var(--space-xl);
        }
      }

      /* Card stacking fallback for very narrow viewports */
      @media (max-width: 280px) {
        .project-card {
          grid-template-columns: 1fr;
          text-align: center;
        }

        .project-card .project-icon {
          justify-self: center;
          margin-block-end: var(--space-sm);
        }
      }
    }

    /* Container context for individual cards */
    .project-card {
      container-type: inline-size;
      container-name: card;
      background: linear-gradient(
        135deg,
        rgba(42, 47, 56, 0.6) 0%,
        rgba(32, 37, 46, 0.8) 100%
      );
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: var(--radius-xl);
      padding: var(--space-lg);
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
      box-shadow:
        inset 0 1px 0 var(--light-subtle),
        0 8px 32px var(--shadow-deep),
        0 0 0 1px rgba(0, 0, 0, 0.1);
      position: relative;
      overflow: hidden;
      opacity: 0;
      transform: translateY(32px) scale(0.96);
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      grid-template-areas:
        "icon header"
        "desc desc"
        "link link";
      column-gap: var(--space-md);
      row-gap: var(--space-xs);
      align-items: start;
    }

    html[data-theme="light"] .project-card {
      background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(241, 245, 249, 0.9) 100%
      ) !important;
      border-color: rgba(15, 23, 42, 0.08) !important;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 8px 24px rgba(15, 23, 42, 0.12) !important;
    }

    /* Container query: stack card layout when card is narrow */
    @container card (max-width: 280px) {
      .project-card {
        grid-template-columns: 1fr;
        text-align: center;
        grid-template-areas:
          "icon"
          "header"
          "desc"
          "link";
      }

      .project-card .project-icon {
        justify-self: center;
        align-self: center;
        block-size: clamp(48px, 16vw, 56px);
        inline-size: clamp(48px, 16vw, 56px);
        margin-block-end: var(--space-sm);
      }

      .project-card .project-header-row {
        justify-items: center;
        text-align: center;
      }
    }

    .projects-grid.is-visible .project-card {
      animation: cardReveal 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

    .projects-grid.is-visible .project-card:nth-child(1) { animation-delay: 0ms; }
    .projects-grid.is-visible .project-card:nth-child(2) { animation-delay: 120ms; }
    .projects-grid.is-visible .project-card:nth-child(3) { animation-delay: 240ms; }
    .projects-grid.is-visible .project-card:nth-child(4) { animation-delay: 360ms; }

    .project-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
      opacity: 0;
      transition: opacity 0.3s;
    }

    .project-card:hover::before {
      opacity: 1;
    }

    .project-card:hover {
      border-color: var(--accent-color-1);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 0 0 1px var(--accent-color-1),
        0 0 24px rgba(var(--accent-rgb), 0.25);
    }

    html[data-theme="light"] .project-card:hover {
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 24px rgba(15, 23, 42, 0.18),
        0 0 0 1px var(--accent-color-1),
        0 0 18px rgba(var(--accent-rgb), 0.18) !important;
    }

    /* Rainbow colors for each project with RGB variables for glow effects */
    .project-card:nth-child(1) {
      --accent-color-1: var(--accent-green);
      --accent-color-2: var(--accent-cyan);
      --accent-rgb: 16, 185, 129;
      border-color: rgba(16, 185, 129, 0.25);
    }

    .project-card:nth-child(2) {
      --accent-color-1: var(--accent-blue);
      --accent-color-2: var(--accent-purple);
      --accent-rgb: 59, 130, 246;
      border-color: rgba(59, 130, 246, 0.25);
    }

    .project-card:nth-child(3) {
      --accent-color-1: var(--accent-orange);
      --accent-color-2: var(--accent-red);
      --accent-rgb: 251, 146, 60;
      border-color: rgba(251, 146, 60, 0.25);
    }

    .project-card:nth-child(4) {
      --accent-color-1: var(--accent-purple);
      --accent-color-2: var(--accent-blue);
      --accent-rgb: 168, 85, 247;
      border-color: rgba(168, 85, 247, 0.25);
    }

    @keyframes cardReveal {
      from {
        opacity: 0;
        transform: translateY(32px) scale(0.96);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .project-card {
        opacity: 1;
        transform: none;
        animation: none !important;
      }
    }

    .project-icon {
      grid-area: icon;
      align-self: stretch;
      block-size: 100%;
      min-block-size: clamp(48px, 10vw, 56px);
      aspect-ratio: 1 / 1;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
      border-radius: 0.75rem;
      margin: 0;
      opacity: 0.9;
      transition: all 0.3s;
    }

    .project-card:hover .project-icon {
      transform: scale(1.1) rotate(5deg);
      opacity: 1;
    }

    .project-icon svg {
      width: clamp(24px, 5vw, 28px);
      height: clamp(24px, 5vw, 28px);
      stroke: white;
      stroke-width: 2;
      fill: none;
    }

    .project-status {
      display: inline-flex;
      padding: 0.25rem 0.75rem;
      background: rgba(249, 115, 22, 0.12);
      border: 1px solid rgba(249, 115, 22, 0.3);
      border-radius: 1rem;
      font-size: clamp(0.75rem, 1.5vw, 0.85rem);
      color: var(--primary);
      margin: 0;
      white-space: nowrap;
      justify-self: start;
    }

    .project-status.coming-soon {
      background: rgba(148, 163, 184, 0.1);
      border-color: rgba(148, 163, 184, 0.3);
      color: var(--text-muted);
    }

    .project-card h3 {
      font-size: clamp(1.2rem, 3vw, 1.5rem);
      font-weight: 600;
      margin: 0;
      color: var(--text-primary);
      text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.2);
      letter-spacing: -0.01em;
    }

    .project-header-row {
      grid-area: header;
      display: grid;
      grid-template-rows: auto auto;
      align-items: start;
      justify-items: start;
      gap: clamp(0.35rem, 1vw, 0.55rem);
    }

    .project-card p {
      color: var(--text-secondary);
      font-size: clamp(0.9rem, 2vw, 1rem);
      margin: 0;
      line-height: 1.6;
      grid-area: desc;
    }

    .project-link {
      grid-area: link;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--accent-color-1);
      text-decoration: none;
      font-weight: 500;
      font-size: clamp(0.9rem, 2vw, 1rem);
      transition: gap 0.3s;
      grid-column: 1 / -1;
    }

    .project-link:hover {
      gap: 0.75rem;
    }

    .project-link svg {
      width: 1rem;
      height: 1rem;
      transition: transform 0.3s;
    }

    .project-link:hover svg {
      transform: translateX(3px);
    }

    /* Coming Soon Card */
    .coming-soon-card {
      opacity: 0.6;
      cursor: default;
    }

    .coming-soon-card:hover {
      transform: translateY(0);
      border-color: var(--border);
    }

    /* Footer */
    footer {
      margin-top: clamp(4rem, 8vw, 6rem);
      padding: clamp(2rem, 5vw, 3rem) 0;
      border-top: 1px solid var(--border);
      text-align: center;
    }

    footer p {
      color: var(--text-muted);
      font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    }

    .footer-tagline {
      color: var(--text-secondary);
      font-size: clamp(0.85rem, 1.6vw, 1rem);
      font-style: italic;
      margin-bottom: 0.35rem;
      text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    footer a {
      color: var(--primary);
      text-decoration: none;
      transition: color 0.2s;
    }

    footer a:hover {
      color: var(--accent-cyan);
    }

    /* Animations */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Responsive typography */
    @media (min-width: 640px) {
      .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      }
    }

    @media (min-width: 768px) {
      .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (min-width: 900px) {
      .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (min-width: 1024px) {
      .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    /* Ultra-wide support */
    @media (min-width: 1920px) {
      .container {
        max-width: 1600px;
      }

      .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
