
    /* ============================================================
       CSS CUSTOM PROPERTIES
    ============================================================ */
    :root {
      --bg-0:        #07090D;
      --bg-1:        #0B0F17;
      --bg-2:        #0F1219;
      --bg-3:        #141925;
      --surface-1:   rgba(255,255,255,0.03);
      --surface-2:   rgba(255,255,255,0.055);
      --surface-3:   rgba(255,255,255,0.09);
      --border-1:    rgba(255,255,255,0.07);
      --border-2:    rgba(255,255,255,0.12);
      --border-3:    rgba(255,255,255,0.18);
      --text-1:      #F5F7FA;
      --text-2:      #B4BCC9;
      --text-3:      #6B7280;
      --accent:      #5DA9FF;
      --accent-dim:  rgba(93,169,255,0.12);
      --accent-glow: rgba(93,169,255,0.25);
      --radius-sm:   8px;
      --radius-md:   14px;
      --radius-lg:   20px;
      --radius-xl:   28px;
      --ease:        cubic-bezier(0.22,1,0.36,1);
      --transition:  0.45s cubic-bezier(0.22,1,0.36,1);
      --font-display: 'Syne', sans-serif;
      --font-body:    'Figtree', sans-serif;
      --font-mono:    'JetBrains Mono', monospace;
      --max-w:       1240px;
      --section-pad: 120px;
    }

    /* ============================================================
       RESET & BASE
    ============================================================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body {
      background: var(--bg-0);
      color: var(--text-1);
      font-family: var(--font-body);
      font-weight: 400;
      line-height: 1.7;
      overflow-x: hidden;
    }
    }

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

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    ul { list-style: none; }
    button { border: none; background: none; font-family: inherit; }

    /* ============================================================
       CUSTOM CURSOR
    ============================================================ */
    #cursor-dot {
      position: fixed;
      top: 0; left: 0;
      width: 8px; height: 8px;
      background: var(--accent);
      border-radius: 50%;
      pointer-events: none;
      z-index: 10000;
      transform: translate(-50%, -50%);
      transition: transform 0.1s, opacity 0.3s;
    }
    #cursor-ring {
      position: fixed;
      top: 0; left: 0;
      width: 36px; height: 36px;
      border: 1.5px solid rgba(93,169,255,0.5);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: transform 0.18s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
    }
    #cursor-glow {
      position: fixed;
      top: 0; left: 0;
      width: 280px; height: 280px;
      background: radial-gradient(circle, rgba(93,169,255,0.07) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      transition: transform 0.6s var(--ease);
    }
    body.cursor-hover #cursor-ring { width: 56px; height: 56px; border-color: var(--accent); }
    body.cursor-hover #cursor-dot { opacity: 0.6; transform: translate(-50%,-50%) scale(1.5); }

    /* ============================================================
       NOISE OVERLAY
    ============================================================ */
    body::before {
      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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
      opacity: 0.022;
      pointer-events: none;
      z-index: 9997;
    }

    /* ============================================================
       GRID BACKGROUND
    ============================================================ */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 72px 72px;
      pointer-events: none;
      z-index: 0;
      mask-image: radial-gradient(ellipse 80% 80% at 50% 20%, black 30%, transparent 100%);
    }

    /* ============================================================
       LAYOUT UTILITIES
    ============================================================ */
    .container {
      width: 100%;
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 32px;
      position: relative;
      z-index: 1;
    }

    .section {
      padding: var(--section-pad) 0;
      position: relative;
      z-index: 1;
    }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 20px;
    }
    .section-label::before {
      content: '';
      display: block;
      width: 24px; height: 1px;
      background: var(--accent);
    }

    .section-title {
      font-family: var(--font-display);
      font-size: clamp(30px, 4vw, 52px);
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.02em;
      color: var(--text-1);
      margin-bottom: 16px;
    }

    .section-sub {
      font-size: 17px;
      color: var(--text-2);
      max-width: 540px;
      line-height: 1.7;
    }

    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

    /* ============================================================
       NAVBAR
    ============================================================ */
    .navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 900;
      padding: 0 32px;
      transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
    }
    .navbar.scrolled {
      background: rgba(7,9,13,0.85);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border-1);
    }
    .navbar-inner {
      max-width: var(--max-w);
      margin: 0 auto;
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-logo {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 700;
      color: var(--text-1);
      letter-spacing: -0.02em;
    }
    .nav-logo span { color: var(--accent); }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 36px;
    }
    .nav-links a {
      font-size: 14px;
      font-weight: 500;
      color: var(--text-2);
      transition: color 0.25s;
      letter-spacing: 0.01em;
      position: relative;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -3px; left: 0;
      width: 0; height: 1px;
      background: var(--accent);
      transition: width 0.3s var(--ease);
    }
    .nav-links a:hover { color: var(--text-1); }
    .nav-links a:hover::after { width: 100%; }
    .nav-cta {
      padding: 9px 20px;
      border: 1px solid var(--border-2);
      border-radius: 10px;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-1) !important;
      background: var(--surface-2);
      transition: background 0.3s, border-color 0.3s, box-shadow 0.3s !important;
    }
    .nav-cta:hover {
      background: var(--surface-3) !important;
      border-color: var(--accent) !important;
      box-shadow: 0 0 16px var(--accent-glow) !important;
    }
    .nav-cta::after { display: none !important; }

    .nav-mobile-btn {
      display: none;
      flex-direction: column;
      gap: 5px;
      padding: 8px;
    }
    .nav-mobile-btn span {
      display: block;
      width: 22px; height: 1.5px;
      background: var(--text-2);
      transition: var(--transition);
    }

    /* ============================================================
       HERO
    ============================================================ */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: 68px;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      top: -20%;
      right: -10%;
      width: 700px; height: 700px;
      background: radial-gradient(circle, rgba(93,169,255,0.06) 0%, transparent 65%);
      pointer-events: none;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
      padding: 60px 0;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px 6px 8px;
      border: 1px solid var(--border-2);
      border-radius: 100px;
      background: var(--surface-1);
      font-size: 12px;
      color: var(--text-2);
      margin-bottom: 28px;
      font-family: var(--font-mono);
      letter-spacing: 0.03em;
    }
    .hero-badge-dot {
      width: 6px; height: 6px;
      background: #4ADE80;
      border-radius: 50%;
      box-shadow: 0 0 8px rgba(74,222,128,0.6);
      animation: pulse-dot 2s infinite;
    }
    @keyframes pulse-dot {
      0%,100% { box-shadow: 0 0 8px rgba(74,222,128,0.6); }
      50% { box-shadow: 0 0 14px rgba(74,222,128,0.9); }
    }
    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(38px, 5vw, 70px);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -0.035em;
      margin-bottom: 24px;
    }
    .hero-title .accent-text { color: var(--accent); }
    .hero-title .muted-text { color: var(--text-3); }
    .hero-sub {
      font-size: 17px;
      color: var(--text-2);
      line-height: 1.75;
      max-width: 480px;
      margin-bottom: 40px;
    }
    .hero-ctas {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 52px;
    }
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 26px;
      background: var(--accent);
      color: #07090D;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 600;
      font-family: var(--font-body);
      letter-spacing: 0.01em;
      transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(93,169,255,0.35);
    }
    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 26px;
      border: 1px solid var(--border-2);
      color: var(--text-1);
      border-radius: 12px;
      font-size: 14px;
      font-weight: 500;
      font-family: var(--font-body);
      background: var(--surface-2);
      transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
    }
    .btn-secondary:hover {
      transform: translateY(-2px);
      border-color: var(--border-3);
      background: var(--surface-3);
    }
    .hero-trust {
      display: flex;
      align-items: center;
      gap: 24px;
    }
    .hero-trust-item {
      text-align: center;
    }
    .hero-trust-num {
      font-family: var(--font-display);
      font-size: 26px;
      font-weight: 700;
      color: var(--text-1);
      letter-spacing: -0.03em;
      line-height: 1;
    }
    .hero-trust-num span { color: var(--accent); }
    .hero-trust-label {
      font-size: 12px;
      color: var(--text-3);
      margin-top: 3px;
    }
    .hero-divider {
      width: 1px;
      height: 36px;
      background: var(--border-1);
    }

    /* Hero Visual */
    .hero-visual {
      position: relative;
      height: 500px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .hero-visual-bg {
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at center, rgba(93,169,255,0.06) 0%, transparent 70%);
      border-radius: 24px;
    }
    .hero-canvas {
      position: relative;
      width: 100%;
      height: 100%;
    }
    /* Architecture diagram nodes */
    .arch-node {
      position: absolute;
      background: var(--surface-2);
      border: 1px solid var(--border-2);
      border-radius: 12px;
      padding: 12px 16px;
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--text-2);
      backdrop-filter: blur(8px);
      transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
      white-space: nowrap;
    }
    .arch-node:hover {
      transform: translateY(-4px) !important;
      box-shadow: 0 8px 24px rgba(0,0,0,0.4);
      border-color: var(--border-3);
    }
    .arch-node .node-dot {
      display: inline-block;
      width: 6px; height: 6px;
      border-radius: 50%;
      margin-right: 7px;
      background: var(--accent);
    }
    .arch-node .node-dot.green { background: #4ADE80; }
    .arch-node .node-dot.purple { background: #A78BFA; }
    .arch-node .node-dot.orange { background: #FB923C; }

    .arch-node-1  { top: 8%;   left: 20%;  animation: float1 6s ease-in-out infinite; }
    .arch-node-2  { top: 22%;  right: 8%;  animation: float2 7s ease-in-out infinite; }
    .arch-node-3  { top: 42%;  left: 5%;   animation: float3 8s ease-in-out infinite; }
    .arch-node-4  { top: 55%;  left: 30%;  animation: float1 9s ease-in-out infinite 1s; }
    .arch-node-5  { top: 38%;  right: 12%; animation: float2 6s ease-in-out infinite 0.5s; }
    .arch-node-6  { bottom: 15%; left: 15%; animation: float3 7s ease-in-out infinite 1.5s; }
    .arch-node-7  { bottom: 8%;  right: 20%; animation: float1 8s ease-in-out infinite 0.8s; }

    @keyframes float1 {
      0%,100% { transform: translateY(0px); }
      50%     { transform: translateY(-10px); }
    }
    @keyframes float2 {
      0%,100% { transform: translateY(0px) translateX(0px); }
      33%     { transform: translateY(-8px) translateX(4px); }
      66%     { transform: translateY(4px) translateX(-4px); }
    }
    @keyframes float3 {
      0%,100% { transform: translateY(0px) rotate(0deg); }
      50%     { transform: translateY(-12px) rotate(1deg); }
    }

    /* SVG connector lines */
    .arch-svg {
      position: absolute;
      inset: 0;
      width: 100%; height: 100%;
      pointer-events: none;
      overflow: visible;
    }
    .arch-line {
      stroke: rgba(93,169,255,0.15);
      stroke-width: 1;
      fill: none;
      stroke-dasharray: 6 4;
      animation: dash 20s linear infinite;
    }
    @keyframes dash {
      to { stroke-dashoffset: -200; }
    }

    /* Center orb */
    .hero-orb {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 120px; height: 120px;
    }
    .hero-orb-ring {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 1px solid rgba(93,169,255,0.2);
      animation: spin-slow 20s linear infinite;
    }
    .hero-orb-ring::before {
      content: '';
      position: absolute;
      top: -3px; left: 50%;
      width: 6px; height: 6px;
      background: var(--accent);
      border-radius: 50%;
      transform: translateX(-50%);
      box-shadow: 0 0 10px var(--accent);
    }
    .hero-orb-ring-2 {
      position: absolute;
      inset: 14px;
      border-radius: 50%;
      border: 1px solid rgba(93,169,255,0.12);
      animation: spin-slow 14s linear infinite reverse;
    }
    .hero-orb-core {
      position: absolute;
      inset: 28px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(93,169,255,0.3), rgba(93,169,255,0.05));
      box-shadow: 0 0 30px rgba(93,169,255,0.2);
      animation: pulse-orb 4s ease-in-out infinite;
    }
    @keyframes spin-slow { to { transform: rotate(360deg); } }
    @keyframes pulse-orb {
      0%,100% { box-shadow: 0 0 30px rgba(93,169,255,0.2); }
      50%     { box-shadow: 0 0 50px rgba(93,169,255,0.4); }
    }

    /* ============================================================
       EXPERTISE STRIP
    ============================================================ */
    .expertise-strip {
      border-top: 1px solid var(--border-1);
      border-bottom: 1px solid var(--border-1);
      background: var(--surface-1);
      padding: 28px 0;
      overflow: hidden;
      position: relative;
      z-index: 1;
    }
    .strip-inner {
      display: flex;
      align-items: center;
      gap: 48px;
      animation: marquee 28s linear infinite;
      width: max-content;
    }
    .strip-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.08em;
      color: var(--text-3);
      text-transform: uppercase;
      white-space: nowrap;
      transition: color 0.3s;
    }
    .strip-item:hover { color: var(--text-2); }
    .strip-dot {
      width: 4px; height: 4px;
      border-radius: 50%;
      background: var(--accent);
      opacity: 0.5;
    }
    @keyframes marquee {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    /* ============================================================
       ABOUT
    ============================================================ */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 80px;
      align-items: start;
    }
    .about-left {}
    .about-body {
      font-size: 16px;
      color: var(--text-2);
      line-height: 1.85;
      margin-bottom: 20px;
    }
    .about-body strong { color: var(--text-1); font-weight: 500; }
    .about-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-top: 40px;
    }
    .about-card {
      padding: 20px;
      border: 1px solid var(--border-1);
      border-radius: var(--radius-md);
      background: var(--surface-1);
      transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
    }
    .about-card:hover {
      border-color: var(--border-2);
      background: var(--surface-2);
      transform: translateY(-3px);
    }
    .about-card-num {
      font-family: var(--font-display);
      font-size: 30px;
      font-weight: 700;
      color: var(--accent);
      letter-spacing: -0.03em;
      line-height: 1;
      margin-bottom: 6px;
    }
    .about-card-label { font-size: 13px; color: var(--text-2); }

    .about-right {}
    .about-philosophy {
      padding: 32px;
      border: 1px solid var(--border-1);
      border-radius: var(--radius-lg);
      background: var(--surface-1);
      margin-bottom: 24px;
    }
    .about-philosophy-title {
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 600;
      color: var(--accent);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 14px;
      font-family: var(--font-mono);
    }
    .about-philosophy p {
      font-size: 16px;
      color: var(--text-2);
      line-height: 1.8;
      font-style: italic;
    }
    .about-philosophy p strong { color: var(--text-1); font-style: normal; }
    .about-timeline { display: flex; flex-direction: column; gap: 16px; }
    .timeline-item {
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .timeline-year {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--accent);
      padding-top: 2px;
      min-width: 44px;
    }
    .timeline-content {}
    .timeline-title {
      font-size: 14px;
      font-weight: 500;
      color: var(--text-1);
      margin-bottom: 3px;
    }
    .timeline-desc { font-size: 13px; color: var(--text-3); }

    /* ============================================================
       PROJECTS
    ============================================================ */
    .projects-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 52px;
    }
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }
    .project-card {
      border: 1px solid var(--border-1);
      border-radius: var(--radius-lg);
      background: var(--surface-1);
      overflow: hidden;
      transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
      display: flex;
      flex-direction: column;
    }
    .project-card:hover {
      border-color: rgba(93,169,255,0.25);
      transform: translateY(-6px);
      box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(93,169,255,0.1);
    }
    .project-thumb {
      height: 200px;
      position: relative;
      overflow: hidden;
    }
    .project-thumb-bg {
      position: absolute;
      inset: 0;
      transition: transform 0.6s var(--ease);
    }
    .project-card:hover .project-thumb-bg { transform: scale(1.04); }
    .project-thumb-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, transparent 40%, var(--bg-0) 100%);
    }
    .project-status {
      position: absolute;
      top: 14px; right: 14px;
      padding: 4px 10px;
      border-radius: 100px;
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      background: rgba(7,9,13,0.8);
      backdrop-filter: blur(8px);
      border: 1px solid var(--border-2);
    }
    .status-live { color: #4ADE80; border-color: rgba(74,222,128,0.25); }
    .status-case { color: var(--accent); border-color: rgba(93,169,255,0.25); }
    .status-oss  { color: #A78BFA; border-color: rgba(167,139,250,0.25); }

    .project-body { padding: 24px 24px 20px; flex: 1; display: flex; flex-direction: column; }
    .project-tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
    .tag {
      padding: 3px 10px;
      border-radius: 100px;
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.05em;
      background: var(--surface-2);
      border: 1px solid var(--border-1);
      color: var(--text-3);
    }
    .project-title {
      font-family: var(--font-display);
      font-size: 20px;
      font-weight: 700;
      color: var(--text-1);
      letter-spacing: -0.02em;
      margin-bottom: 10px;
      line-height: 1.25;
    }
    .project-desc {
      font-size: 14px;
      color: var(--text-2);
      line-height: 1.7;
      flex: 1;
      margin-bottom: 20px;
    }
    .project-impact {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 12px 14px;
      background: var(--surface-2);
      border: 1px solid var(--border-1);
      border-radius: var(--radius-sm);
      margin-bottom: 20px;
    }
    .project-impact-icon { font-size: 14px; margin-top: 1px; }
    .project-impact-text { font-size: 12px; color: var(--text-2); line-height: 1.5; }
    .project-links { display: flex; gap: 10px; }
    .project-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border: 1px solid var(--border-1);
      border-radius: var(--radius-sm);
      font-size: 12px;
      font-weight: 500;
      color: var(--text-2);
      background: var(--surface-1);
      transition: border-color 0.25s, color 0.25s, background 0.25s;
    }
    .project-link:hover { border-color: var(--border-3); color: var(--text-1); background: var(--surface-2); }

    /* Color themes per project */
    .thumb-1 { background: linear-gradient(135deg, #0d1f3a 0%, #0b1528 50%, #091019 100%); }
    .thumb-2 { background: linear-gradient(135deg, #0d1a10 0%, #0b1a2a 50%, #0d0f1a 100%); }
    .thumb-3 { background: linear-gradient(135deg, #1a0d2e 0%, #0d0f1a 50%, #0a1020 100%); }
    .thumb-4 { background: linear-gradient(135deg, #1a1000 0%, #120e22 50%, #0a1020 100%); }
    .thumb-5 { background: linear-gradient(135deg, #001a1a 0%, #0a1520 50%, #07090d 100%); }

    /* Mini diagram in thumbnails */
    .thumb-diagram {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0.5;
      transition: opacity 0.4s;
    }
    .project-card:hover .thumb-diagram { opacity: 0.7; }
    .thumb-diagram svg { width: 70%; max-width: 240px; }

    /* ============================================================
       CASE STUDIES
    ============================================================ */
    .case-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
    }
    .case-card {
      padding: 36px;
      border: 1px solid var(--border-1);
      border-radius: var(--radius-lg);
      background: var(--surface-1);
      transition: border-color 0.4s, transform 0.4s var(--ease), background 0.4s;
      position: relative;
      overflow: hidden;
    }
    .case-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      opacity: 0;
      transition: opacity 0.4s;
    }
    .case-card:hover { border-color: var(--border-2); transform: translateY(-4px); background: var(--surface-2); }
    .case-card:hover::before { opacity: 1; }
    .case-number {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--text-3);
      letter-spacing: 0.1em;
      margin-bottom: 16px;
    }
    .case-title {
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 700;
      color: var(--text-1);
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }
    .case-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; }
    .case-metrics { display: flex; gap: 24px; margin-bottom: 24px; }
    .case-metric {}
    .case-metric-val {
      font-family: var(--font-display);
      font-size: 24px;
      font-weight: 700;
      color: var(--accent);
      letter-spacing: -0.03em;
      line-height: 1;
    }
    .case-metric-label { font-size: 12px; color: var(--text-3); margin-top: 3px; }
    .case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
    .case-expand-btn {
      margin-top: 24px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 500;
      color: var(--accent);
      transition: gap 0.3s var(--ease);
    }
    .case-expand-btn:hover { gap: 12px; }

    /* ============================================================
       AI WORKFLOW
    ============================================================ */
    .ai-section { background: var(--bg-1); }
    .ai-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(93,169,255,0.04), transparent);
      pointer-events: none;
    }
    .ai-header { max-width: 600px; margin-bottom: 64px; }
    .ai-disclaimer {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      border: 1px solid rgba(93,169,255,0.2);
      border-radius: 100px;
      background: var(--accent-dim);
      font-size: 12px;
      color: var(--accent);
      margin-bottom: 24px;
      font-family: var(--font-mono);
    }
    .ai-flow-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2px;
      margin-bottom: 48px;
    }
    .ai-flow-step {
      padding: 28px 24px;
      background: var(--surface-1);
      border: 1px solid var(--border-1);
      position: relative;
      transition: background 0.3s, border-color 0.3s;
    }
    .ai-flow-step:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
    .ai-flow-step:last-child  { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
    .ai-flow-step:hover { background: var(--surface-2); border-color: var(--border-2); }
    .ai-flow-arrow {
      position: absolute;
      right: -12px; top: 50%;
      transform: translateY(-50%);
      width: 24px; height: 24px;
      background: var(--bg-1);
      border: 1px solid var(--border-2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
      font-size: 10px;
      color: var(--accent);
    }
    .ai-flow-step:last-child .ai-flow-arrow { display: none; }
    .ai-step-num {
      font-family: var(--font-mono);
      font-size: 10px;
      color: var(--accent);
      opacity: 0.6;
      margin-bottom: 10px;
      letter-spacing: 0.1em;
    }
    .ai-step-icon { font-size: 22px; margin-bottom: 12px; }
    .ai-step-title {
      font-family: var(--font-display);
      font-size: 16px;
      font-weight: 600;
      color: var(--text-1);
      margin-bottom: 8px;
    }
    .ai-step-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }

    .ai-tools-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }
    .ai-tool-card {
      padding: 24px;
      border: 1px solid var(--border-1);
      border-radius: var(--radius-md);
      background: var(--surface-1);
      transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
    }
    .ai-tool-card:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-3px); }
    .ai-tool-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
    .ai-tool-icon {
      width: 36px; height: 36px;
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 16px;
    }
    .ai-tool-name { font-size: 15px; font-weight: 600; color: var(--text-1); font-family: var(--font-display); }
    .ai-tool-desc { font-size: 13px; color: var(--text-2); line-height: 1.65; }

    /* ============================================================
       TECH STACK
    ============================================================ */
    .stack-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }
    .stack-category {
      padding: 28px;
      border: 1px solid var(--border-1);
      border-radius: var(--radius-lg);
      background: var(--surface-1);
      transition: border-color 0.3s, background 0.3s;
    }
    .stack-category:hover { border-color: var(--border-2); background: var(--surface-2); }
    .stack-cat-label {
      font-family: var(--font-mono);
      font-size: 10px;
      color: var(--accent);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 18px;
    }
    .stack-items { display: flex; flex-direction: column; gap: 12px; }
    .stack-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      color: var(--text-2);
      transition: color 0.3s;
    }
    .stack-item:hover { color: var(--text-1); }
    .stack-item-dot {
      width: 5px; height: 5px;
      border-radius: 50%;
      flex-shrink: 0;
    }
    .stack-bar {
      flex: 1;
      height: 2px;
      background: var(--surface-3);
      border-radius: 1px;
      overflow: hidden;
      margin-left: auto;
      width: 48px;
    }
    .stack-bar-fill {
      height: 100%;
      border-radius: 1px;
      background: var(--accent);
      opacity: 0.5;
      transform-origin: left;
      transform: scaleX(0);
      transition: transform 1s var(--ease);
    }
    .stack-bar-fill.visible { transform: scaleX(1); }

    /* ============================================================
       BLOG
    ============================================================ */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }
    .blog-card {
      border: 1px solid var(--border-1);
      border-radius: var(--radius-lg);
      background: var(--surface-1);
      overflow: hidden;
      transition: border-color 0.3s, transform 0.4s var(--ease);
    }
    .blog-card:hover { border-color: var(--border-2); transform: translateY(-5px); }
    .blog-top {
      padding: 28px 28px 0;
    }
    .blog-category {
      display: inline-block;
      padding: 3px 10px;
      border-radius: 100px;
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.06em;
      background: var(--accent-dim);
      color: var(--accent);
      margin-bottom: 14px;
    }
    .blog-title {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 600;
      color: var(--text-1);
      line-height: 1.3;
      letter-spacing: -0.015em;
      margin-bottom: 10px;
    }
    .blog-excerpt { font-size: 13px; color: var(--text-2); line-height: 1.7; }
    .blog-footer {
      padding: 20px 28px;
      border-top: 1px solid var(--border-1);
      margin-top: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .blog-meta { font-size: 12px; color: var(--text-3); font-family: var(--font-mono); }
    .blog-read {
      font-size: 12px;
      font-weight: 500;
      color: var(--accent);
      display: flex; align-items: center; gap: 5px;
      transition: gap 0.3s var(--ease);
    }
    .blog-card:hover .blog-read { gap: 9px; }

    /* ============================================================
       CONTACT
    ============================================================ */
    .contact-section {
      background: var(--bg-1);
      border-top: 1px solid var(--border-1);
    }
    .contact-inner {
      max-width: 680px;
      margin: 0 auto;
      text-align: center;
    }
    .contact-title {
      font-family: var(--font-display);
      font-size: clamp(32px, 5vw, 58px);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.1;
      margin-bottom: 20px;
    }
    .contact-sub { font-size: 16px; color: var(--text-2); margin-bottom: 40px; line-height: 1.7; }
    .contact-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
    .contact-links {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .contact-link {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      border: 1px solid var(--border-1);
      border-radius: var(--radius-sm);
      font-size: 13px;
      color: var(--text-2);
      background: var(--surface-1);
      transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s var(--ease);
    }
    .contact-link:hover {
      border-color: var(--border-2);
      color: var(--text-1);
      background: var(--surface-2);
      transform: translateY(-2px);
    }

    /* ============================================================
       FOOTER
    ============================================================ */
    footer {
      border-top: 1px solid var(--border-1);
      padding: 36px 0;
      position: relative;
      z-index: 1;
    }
    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .footer-left {}
    .footer-name {
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 700;
      color: var(--text-1);
      letter-spacing: -0.02em;
      margin-bottom: 4px;
    }
    .footer-tagline { font-size: 12px; color: var(--text-3); }
    .footer-right {
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 12px;
      color: var(--text-3);
    }
    .footer-link {
      color: var(--text-3);
      transition: color 0.25s;
    }
    .footer-link:hover { color: var(--text-2); }

    /* ============================================================
       DIVIDER
    ============================================================ */
    .section-divider {
      height: 1px;
      background: var(--border-1);
      position: relative;
      z-index: 1;
    }

    /* ============================================================
       MODAL
    ============================================================ */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(7,9,13,0.92);
      backdrop-filter: blur(12px);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 32px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s;
    }
    .modal-overlay.open { opacity: 1; pointer-events: all; }
    .modal {
      background: var(--bg-2);
      border: 1px solid var(--border-2);
      border-radius: var(--radius-xl);
      max-width: 680px;
      width: 100%;
      max-height: 80vh;
      overflow-y: auto;
      padding: 44px;
      transform: scale(0.95) translateY(20px);
      transition: transform 0.45s var(--ease);
    }
    .modal-overlay.open .modal { transform: scale(1) translateY(0); }
    .modal-close {
      position: absolute;
      top: 20px; right: 20px;
      width: 32px; height: 32px;
      border-radius: 8px;
      background: var(--surface-2);
      border: 1px solid var(--border-1);
      display: flex; align-items: center; justify-content: center;
      color: var(--text-2);
      font-size: 16px;
      transition: background 0.25s;
    }
    .modal-close:hover { background: var(--surface-3); }
    .modal { position: relative; }
    .modal-tag { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
    .modal-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px; }
    .modal-section-title { font-size: 13px; font-weight: 600; color: var(--accent); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; margin-top: 24px; }
    .modal p { font-size: 14px; color: var(--text-2); line-height: 1.75; margin-bottom: 8px; }

    /* ============================================================
       SCROLLBAR
    ============================================================ */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg-0); }
    ::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--border-2); }

/* ============================================================
   EXTERNAL-FILE CLEANUP ADDITIONS
============================================================ */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-label-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }
.text-accent { color: var(--accent); }
.project-card-wide { grid-column: span 2; }
.project-wide-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 240px;
}
.project-thumb-auto { height: auto; min-height: 200px; }
.fill-absolute { height: 100%; position: absolute; }
.thumb-wide-svg { width: 75%; max-width: 280px; }
.ai-icon-blue { background: rgba(93,169,255,0.1); }
.ai-icon-green { background: rgba(74,222,128,0.1); }
.ai-icon-purple { background: rgba(167,139,250,0.1); }
.dot-5da9ff { background: #5DA9FF; }
.dot-a78bfa { background: #A78BFA; }
.dot-4ade80 { background: #4ADE80; }
.dot-fb923c { background: #FB923C; }
.dot-f472b6 { background: #F472B6; }
.dot-f7df1e { background: #F7DF1E; }
.dot-38bdf8 { background: #38BDF8; }
.w-95 { width: 95%; }
.w-92 { width: 92%; }
.w-90 { width: 90%; }
.w-88 { width: 88%; }
.w-85 { width: 85%; }
.w-82 { width: 82%; }
.w-80 { width: 80%; }
.w-78 { width: 78%; }
.w-75 { width: 75%; }
.w-72 { width: 72%; }
.w-68 { width: 68%; }

.contact-form {
  margin: 0 auto 34px;
  padding: 24px;
  max-width: 620px;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  text-align: left;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--text-2);
  font-size: 13px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
  color: var(--text-1);
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.contact-form input:focus,
.contact-form textarea:focus,
a:focus-visible,
button:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  outline: none;
}
.contact-form textarea { resize: vertical; min-height: 116px; }
.contact-submit { margin-top: 4px; }

@media (hover: none), (pointer: coarse) {
  #cursor-dot, #cursor-ring, #cursor-glow { display: none; }
}

