  :root {
    --bg: #fafafa;
    --surface: #fff;
    --surface-2: #f5f5f5;
    --border: rgba(0,0,0,0.06);
    --border-hover: rgba(0,0,0,0.12);
    --text: #1a1a1a;
    --text-body: #444;
    --dim: #777;
    --muted: #aaa;
    --black: #0a0a0a;
    --green: #059669;
    --green-light: #d1fae5;
    --green-glow: rgba(5,150,105,0.06);
    --blue: #4f46e5;
    --blue-light: #e0e7ff;
    --amber: #d97706;
    --amber-light: #fef3c7;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.08);
  }
 
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  .main-content { display: block; width: 100%; }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
 
  body {
    font-family: 'Manrope', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: none;
  }

  /* Subtle, on-brand tap flash on iOS/Android (replaces the harsh default gray) */
  * { -webkit-tap-highlight-color: rgba(5,150,105,0.08); }

  /* On touch devices: kill the custom green cursor, restore native, and add tactile press states */
  @media (hover: none) {
    body { cursor: auto; }
    .cursor { display: none !important; }
    .bento-card:active, .connect-card:active, .featured-card:active, .pill:active, .btn:active, .footer-col a:active {
      transform: scale(0.98);
      transition: transform 0.12s ease-out;
    }
  }

  /* === GREEN CURSOR === */
  .cursor {
    width: 16px;
    height: 16px;
    background: #34d399;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), width 0.2s, height 0.2s, opacity 0.2s;
    mix-blend-mode: normal;
  }
 
  .cursor.hover {
    width: 40px;
    height: 40px;
    opacity: 0.6;
  }

  .cursor.project-hover {
    width: auto;
    height: auto;
    border-radius: 100px;
    opacity: 1;
    padding: 0.55rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #34d399;
  }

  .cursor-label {
    display: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    pointer-events: none;
  }

  .cursor.project-hover .cursor-label {
    display: block;
  }
 
  /* === NAV === */
  nav {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.625rem 0.625rem 0.625rem 1.875rem;
    display: flex;
    align-items: center;
    gap: 1.875rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  }
 
  .nav-name {
    font-size: 1.025rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-decoration: none;
  }
 
  .nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
 
  .nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dim);
    text-decoration: none;
    white-space: nowrap;
    padding: 0.5rem 0.94rem;
    border-radius: 100px;
    transition: all 0.2s;
  }
 
  .nav-links a:hover {
    color: var(--black);
    background: rgba(0,0,0,0.04);
  }
 
  .nav-cta {
    background: var(--black) !important;
    color: #fff !important;
    font-weight: 600 !important;
    white-space: nowrap;
    padding: 0.625rem 1.375rem !important;
  }
 
  .nav-cta:hover {
    background: var(--green) !important;
  }
 
  /* === HERO === */
  .hero {
    padding: 10rem 4rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    align-items: end;
  }
 
  .hero-text {
    opacity: 0;
    animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  }
 
  .hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.045em;
    color: var(--muted);
    margin-bottom: 1.5rem;
  }
 
  .hero h1 strong { color: var(--black); }
  .hero h1 em { color: var(--green); font-style: normal; }

  .hero-heading-visual,
  .hero-name,
  .hero-typing {
    display: block;
  }

  .hero-typing {
    min-height: 1.1em;
    color: var(--muted);
  }

  .hero-typing-text {
    display: inline;
  }

  .hero-typing-cursor {
    display: inline-block;
    width: 0.08em;
    height: 0.82em;
    margin-left: 0.08em;
    background: var(--green);
    transform: translateY(0.08em);
    animation: heroCursorBlink 0.9s steps(2, start) infinite;
  }
 
  .hero-body {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--dim);
    max-width: 560px;
    margin-bottom: 2.25rem;
  }
 
  .hero-body strong {
    color: var(--text-body);
    font-weight: 600;
  }
 
  .hero-pills {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }
 
  .pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.55rem 1.05rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--dim);
    background: var(--surface);
    transition: all 0.3s;
  }
 
  .pill:hover {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-light);
  }
 
  .hero-btns {
    display: flex;
    gap: 0.6rem;
  }
 
  .btn {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.9rem 1.9rem;
    border-radius: 100px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .hero-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--dim);
    transition: all 0.3s;
  }

  .hero-social a:hover {
    border-color: var(--black);
    color: var(--black);
    transform: translateY(-2px);
  }
 
  .btn-primary {
    background: var(--black);
    color: #fff;
  }
 
  .btn-primary:hover {
    background: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(5,150,105,0.15);
  }
 
  .btn-ghost {
    background: transparent;
    color: var(--dim);
    border: 1px solid var(--border);
  }
 
  .btn-ghost:hover {
    border-color: var(--black);
    color: var(--black);
  }
 
  /* hero photo */
  .hero-photo {
    align-self: start;
    margin-top: 0;
    opacity: 0;
    animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  }
 
  .hero-photo-img {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
 
  .hero-photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
  }
 
  .hero-photo-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: var(--muted);
    text-align: center;
    margin-top: 0.75rem;
    letter-spacing: 0.06em;
  }
 
  /* === LOGO MARQUEE === */
  .marquee-section {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
  }

  .marquee-heading {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    text-align: center;
    padding: 0.75rem 0 1.25rem;
  }

  /* === FEATURED IN === */
  .featured-in {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
  }

  .featured-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    margin-bottom: 2rem;
  }

  .featured-card {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,0.02);
    text-decoration: none;
    text-align: left;
    transition: border-color 0.3s, transform 0.3s;
  }

  .featured-card:hover {
    border-color: var(--muted);
    transform: translateY(-2px);
  }

  .featured-screenshot {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
  }

  .featured-screenshot img {
    width: 100%;
    height: auto;
    display: block;
  }

  .featured-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .featured-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    opacity: 0.95;
  }

  .featured-caption {
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    color: var(--dim);
    letter-spacing: -0.01em;
    line-height: 1.5;
  }

  .featured-caption strong {
    color: var(--text);
    font-weight: 600;
  }

  .featured-link {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
  }

 
  .marquee-section::before,
  .marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
  }
 
  .marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
  }
 
  .marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
  }
 
  .marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
 
  .marquee-slide {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem;
  }
 
  .logo-item {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
    letter-spacing: -0.02em;
    transition: color 0.3s;
    text-decoration: none;
  }
 
  .logo-img {
    display: flex;
    align-items: center;
  }
 
  .logo-img img {
    height: 86px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s;
  }
 
  .logo-img:hover img {
    opacity: 1;
  }
 
  .logo-dot {
    color: var(--border);
    font-size: 1.5rem;
  }
 
  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
 
  /* === BENTO GRID === */
  .bento-section {
    padding: 2rem 4rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .bento-cta {
    margin-top: 2rem;
    padding: 1.75rem 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .bento-cta-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin: 0;
  }

  .bento-cta-btns {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
  }

  .bento-cta .btn {
    padding: 0.7rem 1.3rem;
    font-size: 0.85rem;
  }

  @media (max-width: 600px) {
    .bento-cta { flex-direction: column; align-items: flex-start; padding: 1.25rem 1.25rem; }
    .bento-cta-text { font-size: 0.95rem; }
  }
 
  .section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.5rem;
  }
 
  .bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 0.75rem;
  }
 
  .bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
  }
 
  .bento-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, #fff 0%, var(--green-light) 100%);
  }
 
  .bento-card.tutor-card:hover {
    background: linear-gradient(135deg, #fff 0%, var(--amber-light) 100%);
  }

  .tutor-card {
    max-width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
  }
  .tutor-card-icon { flex-shrink: 0; color: var(--dim); }
  .tutor-card-icon svg { width: 28px; height: 28px; }
  .tutor-card-text { flex: 1; min-width: 0; }
  .tutor-card-text .bento-desc { margin-bottom: 0; }
  .tutor-card-btn { white-space: nowrap; flex-shrink: 0; }

  @media (max-width: 720px) {
    .tutor-card {
      flex-direction: column;
      align-items: stretch;
      gap: 1rem;
      padding: 1.75rem;
    }
    .tutor-card-icon { align-self: flex-start; }
    .tutor-card-btn {
      width: 100%;
      text-align: center;
      padding: 0.85rem 1.5rem;
      margin-top: 0.25rem;
    }

    .featured-in { padding: 3rem 1.25rem; }
    .featured-card {
      flex-direction: row;
      gap: 1rem;
      padding: 1.25rem;
      align-items: flex-start;
    }
    .featured-meta {
      flex: 1;
      order: 1;
      min-width: 0;
    }
    .featured-screenshot {
      order: 2;
      flex: 0 0 45%;
      max-width: 45%;
    }
    .featured-logo { height: 26px; }
    .featured-caption { font-size: 0.85rem; }
    .featured-link { font-size: 0.8rem; }
  }
 
  .bento-wide { grid-column: span 2; }
 
  .bento-icon {
    margin-bottom: 1.25rem;
    color: var(--dim);
  }
 
  .bento-icon svg {
    width: 28px;
    height: 28px;
  }
 
  .bento-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
  }
 
  .bento-desc {
    font-size: 0.78rem;
    color: var(--dim);
    line-height: 1.65;
    flex-grow: 1;
  }
 
  .bento-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    margin-top: 1rem;
    width: fit-content;
  }
 
  .tag-green { background: var(--green-light); color: var(--green); }
  .tag-blue { background: var(--blue-light); color: var(--blue); }
  .tag-amber { background: var(--amber-light); color: var(--amber); }
 
  .bento-gradient {
    background: var(--surface);
  }
 
  .bento-gradient:hover {
    background: linear-gradient(135deg, #fff 0%, var(--green-light) 100%);
  }
 
  /* === VISUAL SECTION === */
  .visual-section {
    padding: 3rem 4rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
  }
 
  .visual-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
 
  .visual-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
  }
 
  .visual-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, #fff 0%, #fee2e2 100%);
  }
 
  .visual-icon { margin-bottom: 1.25rem; color: var(--dim); }
  .visual-icon svg { width: 28px; height: 28px; }
  .visual-title { font-size: 1.1rem; font-weight: 700; color: var(--black); margin-bottom: 0.4rem; letter-spacing: -0.02em; }
  .visual-desc { font-size: 0.78rem; color: var(--dim); line-height: 1.65; }
 
  /* === CONNECT === */
  .connect-section {
    padding: 4rem 4rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
  }
 
  .connect-headline {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
  }
 
  .connect-sub {
    font-size: 1.49rem;
    color: var(--dim);
    margin-bottom: 2.5rem;
  }
 
  .connect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
  }
 
  .connect-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 2.75rem 2rem;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    box-shadow: var(--shadow);
  }
 
  .connect-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
  }
 
  .connect-icon { margin-bottom: 1rem; color: var(--dim); }
  .connect-icon svg { width: 32px; height: 32px; }
  .connect-title { font-size: 1.25rem; font-weight: 700; color: var(--black); margin-bottom: 0.35rem; letter-spacing: -0.02em; }
  .connect-desc { font-size: 0.9rem; color: var(--dim); }
 
  .socials-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding-top: 1rem;
  }
 
  .social-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
  }
 
  .social-link:hover { color: var(--black); }
 
  /* === FOOTER === */
  .footer {
    padding: 3.5rem 4rem;
    text-align: center;
    border-top: 1px solid var(--border);
  }

  .footer p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.04em;
  }
 
  .footer p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: var(--muted);
    letter-spacing: 0.04em;
  }

  .footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 1.75rem;
    padding: 0 2rem;
    text-align: left;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }

  .footer-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
  }

  .footer-col a {
    font-size: 1.05rem;
    color: var(--dim);
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.35;
  }

  .footer-col a:hover { color: var(--black); }

  /* === PROJECT SHOWCASE === */
  .projects-section {
    padding: 3rem 4rem 4rem;
    max-width: 1500px;
    margin: 0 auto;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }

  @media (max-width: 900px) {
    .projects-grid { grid-template-columns: 1fr; }
  }
 
  .project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow);
    perspective: 800px;
    cursor: pointer;
  }
 
  .project-card:hover {
    border-color: rgba(5,150,105,0.3);
    box-shadow: 0 12px 40px rgba(5,150,105,0.08), var(--shadow-hover);
    transform: translateY(-6px);
  }
 
  .project-card:hover .mockup-scroll {
    animation-play-state: paused;
  }
 
  .mockup-window {
    position: relative;
    overflow: hidden;
    height: 420px;
    background: #f4f2ee;
  }
 
  .mockup-chrome {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: #e8e4dc;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
    z-index: 2;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
 
  .chrome-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c8c4bc;
  }
 
  .chrome-url {
    flex: 1;
    margin-left: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 6px;
    padding: 3px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: #8a8680;
  }
 
  .mockup-body {
    position: absolute;
    top: 32px;
    left: 0;
    right: 0;
    overflow: hidden;
    height: calc(100% - 32px);
  }
 
  .mockup-scroll {
    animation: mockupScroll 14s ease-in-out infinite;
  }
 
  @keyframes mockupScroll {
    0%, 5% { transform: translateY(0) scale(1); }
    8% { transform: translateY(0) scale(1.03); }
    12% { transform: translateY(0) scale(1.03); }
    28%, 33% { transform: translateY(-390px) scale(1); }
    36% { transform: translateY(-390px) scale(1.03); }
    40% { transform: translateY(-390px) scale(1.03); }
    56%, 61% { transform: translateY(-780px) scale(1); }
    64% { transform: translateY(-780px) scale(1.03); }
    68% { transform: translateY(-780px) scale(1.03); }
    88%, 100% { transform: translateY(0) scale(1); }
  }
 
  /* mockup panels */
  .m-hero {
    background: #5a3a28;
    padding: 24px 20px;
    color: white;
  }
 
  .m-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 7px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px;
  }
 
  .m-title {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 6px;
  }
 
  .m-title em { color: #a8c4dc; font-style: normal; }
 
  .m-sub {
    font-size: 9px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    margin-bottom: 12px;
  }
 
  .m-stats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
 
  .m-stat {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 4px 8px;
    font-size: 8px;
    color: rgba(255,255,255,0.7);
  }
 
  .m-stat strong {
    color: white;
    font-weight: 700;
  }
 
  /* panel 2 - leaks */
  .m-leaks {
    background: white;
    padding: 20px;
  }
 
  .m-section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 7px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 10px;
  }
 
  .m-leak-cards {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
  }
 
  .m-leak {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 8px;
    line-height: 1.4;
    color: #5a5450;
  }
 
  .m-leak-red { border-left: 3px solid #b03a30; }
  .m-leak-amber { border-left: 3px solid #9a6010; }
 
  .m-leak-title {
    font-weight: 700;
    color: #1e1a16;
    margin-bottom: 3px;
    font-size: 9px;
  }
 
  .m-leak-badge {
    display: inline-block;
    font-size: 7px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 8px;
    margin-top: 4px;
  }
 
  .m-badge-red { background: #fad8d4; color: #7a2018; }
  .m-badge-amber { background: #faecd0; color: #6a3808; }
 
  .m-fix-strip {
    background: #f4f2ee;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 8px;
    color: #5a5450;
    text-align: center;
  }
 
  .m-fix-strip strong { color: #386828; }
 
  /* panel 3 - planner */
  .m-planner {
    display: flex;
    min-height: 390px;
  }
 
  .m-planner-left {
    width: 38%;
    background: #5a3a28;
    padding: 16px;
    color: white;
  }
 
  .m-planner-right {
    flex: 1;
    background: white;
    padding: 16px;
  }
 
  .m-slider-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 8px;
    color: rgba(255,255,255,0.5);
  }
 
  .m-slider-track {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.15);
    border-radius: 1px;
    margin: 0 6px;
    position: relative;
  }
 
  .m-slider-fill {
    height: 2px;
    background: #7a9ec0;
    border-radius: 1px;
  }
 
  .m-slider-thumb {
    position: absolute;
    top: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7a9ec0;
  }
 
  .m-slider-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    color: rgba(255,255,255,0.7);
    min-width: 28px;
    text-align: right;
  }
 
  .m-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 10px;
  }
 
  .m-metric {
    background: #faf9f7;
    border-radius: 6px;
    padding: 8px;
    border: 1px solid rgba(0,0,0,0.04);
  }
 
  .m-metric-label {
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 2px;
  }
 
  .m-metric-val {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
  }
 
  .m-milestone {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
    font-size: 7px;
    color: #5a5450;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
 
  .m-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
  }
 
  .m-hit {
    font-size: 6px;
    font-weight: 600;
    padding: 1px 4px;
    border-radius: 6px;
    margin-left: auto;
  }
 
  /* project card info */
  .project-info {
    padding: 1.5rem 2rem;
  }
 
  .project-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
  }
 
  .project-desc {
    font-size: 0.78rem;
    color: var(--dim);
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }
 
  .project-tags {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
  }
 
  .project-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    background: var(--green-light);
    color: var(--green);
  }
 
  .project-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    background: var(--black);
    color: white;
  }
 
  /* coming soon card */
  .project-card-soon {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    opacity: 0.6;
    margin-top: 0.75rem;
  }
 
  .project-card-soon .lock-icon {
    font-size: 1.5rem;
    color: var(--muted);
  }
 
  .soon-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dim);
  }
 
  .soon-desc {
    font-size: 0.72rem;
    color: var(--muted);
  }
 
  .soon-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
    background: var(--surface);
    color: var(--muted);
    border: 1px solid var(--border);
  }
 
  /* === INFAQ MOCKUP === */
  .infaq-mockup {
    background: #0c1222;
    font-family: 'Manrope', sans-serif;
  }
 
  .infaq-phone {
    width: 220px;
    margin: 0 auto;
    position: relative;
  }
 
  .infaq-phone-frame {
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.08);
    overflow: hidden;
    height: 420px;
    background: #0c1222;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  }
 
  .infaq-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 14px;
    background: #000;
    border-radius: 0 0 10px 10px;
    z-index: 3;
  }
 
  .infaq-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
  }
 
  .infaq-scroll {
    animation: infaqZoom 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: top left;
  }
 
  .project-card:hover .infaq-scroll {
    animation-play-state: paused;
  }


 
  @keyframes infaqZoom {
    0%, 10% { transform: translateY(0); }
    30%, 40% { transform: translateY(-200px); }
    60%, 70% { transform: translateY(-400px); }
    90%, 100% { transform: translateY(0); }
  }
 
  @keyframes checkPop {
    0%, 15% { background: transparent; border-color: rgba(255,255,255,0.18); }
    18% { background: #4f46e5; border-color: #4f46e5; transform: scale(1.3); }
    22%, 100% { background: #4f46e5; border-color: #4f46e5; transform: scale(1); }
  }
 
  @keyframes checkPop2 {
    0%, 40% { background: transparent; border-color: rgba(255,255,255,0.18); }
    43% { background: #4f46e5; border-color: #4f46e5; transform: scale(1.3); }
    47%, 100% { background: #4f46e5; border-color: #4f46e5; transform: scale(1); }
  }
 
  @keyframes checkPop3 {
    0%, 63% { background: transparent; border-color: rgba(255,255,255,0.18); }
    66% { background: #4f46e5; border-color: #4f46e5; transform: scale(1.3); }
    70%, 100% { background: #4f46e5; border-color: #4f46e5; transform: scale(1); }
  }
 
  @keyframes checkShow { 0%, 15% { opacity: 0; } 18%, 100% { opacity: 1; } }
  @keyframes checkShow2 { 0%, 40% { opacity: 0; } 43%, 100% { opacity: 1; } }
  @keyframes checkShow3 { 0%, 63% { opacity: 0; } 66%, 100% { opacity: 1; } }
 
  @keyframes textFade { 0%, 15% { opacity: 1; } 22%, 100% { opacity: 0.35; text-decoration: line-through; } }
  @keyframes textFade2 { 0%, 40% { opacity: 1; } 47%, 100% { opacity: 0.35; text-decoration: line-through; } }
  @keyframes textFade3 { 0%, 63% { opacity: 1; } 70%, 100% { opacity: 0.35; text-decoration: line-through; } }
 
  @keyframes progressGrow {
    0% { width: 22%; }
    18% { width: 35%; }
    43% { width: 52%; }
    66% { width: 68%; }
    100% { width: 68%; }
  }
 
  .infaq-check-anim { animation: checkPop 12s cubic-bezier(0.4,0,0.2,1) infinite; }
  .infaq-check-anim2 { animation: checkPop2 12s cubic-bezier(0.4,0,0.2,1) infinite; }
  .infaq-check-anim3 { animation: checkPop3 12s cubic-bezier(0.4,0,0.2,1) infinite; }
  .infaq-check-anim svg { animation: checkShow 12s cubic-bezier(0.4,0,0.2,1) infinite; }
  .infaq-check-anim2 svg { animation: checkShow2 12s cubic-bezier(0.4,0,0.2,1) infinite; }
  .infaq-check-anim3 svg { animation: checkShow3 12s cubic-bezier(0.4,0,0.2,1) infinite; }
 
  .infaq-check-anim svg { animation: checkSvg 12s cubic-bezier(0.4,0,0.2,1) infinite; }
  .infaq-check-anim2 svg { animation: checkSvg2 12s cubic-bezier(0.4,0,0.2,1) infinite; }
  .infaq-check-anim3 svg { animation: checkSvg3 12s cubic-bezier(0.4,0,0.2,1) infinite; }
 
  @keyframes checkSvg { 0%, 15% { opacity: 0; } 18%, 100% { opacity: 1; } }
  @keyframes checkSvg2 { 0%, 40% { opacity: 0; } 43%, 100% { opacity: 1; } }
  @keyframes checkSvg3 { 0%, 63% { opacity: 0; } 66%, 100% { opacity: 1; } }
  .infaq-text-anim { animation: textFade 12s cubic-bezier(0.4,0,0.2,1) infinite; }
  .infaq-text-anim2 { animation: textFade2 12s cubic-bezier(0.4,0,0.2,1) infinite; }
  .infaq-text-anim3 { animation: textFade3 12s cubic-bezier(0.4,0,0.2,1) infinite; }
  .infaq-progress-anim { animation: progressGrow 12s cubic-bezier(0.4,0,0.2,1) infinite; }
 
  .i-header { text-align: center; padding: 20px 14px 10px; }
  .i-logo { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, #4f46e5, #7c3aed); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 5px; }
  .i-title { font-size: 12px; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
  .i-subtitle { font-size: 5.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #4d5f7a; margin-top: 2px; }
 
  .i-progress-wrap { padding: 0 14px 8px; }
  .i-progress-bar { height: 2.5px; background: rgba(255,255,255,0.06); border-radius: 100px; overflow: hidden; }
  .i-progress-fill { height: 100%; background: linear-gradient(90deg, #4f46e5, #7c3aed); border-radius: 100px; }
  .i-progress-label { display: flex; justify-content: space-between; font-size: 5px; color: #4d5f7a; margin-bottom: 3px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
 
  .i-section { margin: 0 8px 5px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; overflow: hidden; }
  .i-section-header { padding: 8px 10px; display: flex; align-items: center; gap: 6px; position: relative; }
  .i-section-icon { font-size: 9px; }
  .i-section-title { font-size: 7px; font-weight: 700; color: #e8ecf4; flex: 1; }
  .i-section-count { font-size: 5.5px; color: #4d5f7a; font-weight: 600; }
  .i-section-progress { position: absolute; bottom: 0; left: 0; height: 2px; background: #4f46e5; border-radius: 0 1px 1px 0; }
 
  .i-item { display: flex; align-items: flex-start; gap: 6px; padding: 5px 10px; }
  .i-checkbox { width: 11px; height: 11px; min-width: 11px; border-radius: 3px; border: 1.5px solid rgba(255,255,255,0.18); margin-top: 1px; display: flex; align-items: center; justify-content: center; }
  .i-checkbox.checked { background: #4f46e5; border-color: #4f46e5; }
  .i-item-text { font-size: 6.5px; color: #a8b5cc; line-height: 1.5; }
  .i-item-text.checked { opacity: 0.35; text-decoration: line-through; }
  .i-item-reward { font-size: 5.5px; color: #4f46e5; margin-top: 1px; font-weight: 500; }
  .i-arabic { margin: 2px 10px 6px 27px; padding: 5px 6px; background: rgba(255,255,255,0.04); border-radius: 5px; text-align: center; font-size: 8px; color: #e8ecf4; direction: rtl; font-family: serif; line-height: 1.8; border: 1px solid rgba(255,255,255,0.06); }
 
  .i-level-pills { display: flex; justify-content: center; gap: 3px; padding: 0 14px 8px; }
  .i-pill { font-size: 5px; font-weight: 700; padding: 2.5px 6px; border-radius: 100px; letter-spacing: 0.04em; }
  .i-pill-active { background: rgba(79,70,229,0.15); color: #4f46e5; border: 1px solid rgba(79,70,229,0.3); }
  .i-pill-inactive { background: rgba(255,255,255,0.05); color: #4d5f7a; border: 1px solid rgba(255,255,255,0.08); }

  /* === EVENT INTELLIGENCE PLATFORM === */
  :root {
    --evt-bg: #0f172a;
    --evt-chrome: #0f172a;
    --evt-cyan: #22d3ee;
    --evt-sky: #38bdf8;
    --evt-green: #4ade80;
    --evt-amber: #fbbf24;
    --evt-muted: #64748b;
    --evt-slate: #94a3b8;
    --evt-text: #e2e8f0;
  }

  .evt-mockup {
    height: 420px; position: relative; overflow: hidden;
    background: radial-gradient(ellipse at center, #0b1327 0%, #060914 100%);
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .evt-stage {
    position: absolute; inset: 0;
    overflow: hidden;
  }

  .evt-grid-bg {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(148,163,184,0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(148,163,184,0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
    pointer-events: none;
  }

  .evt-glow {
    position: absolute; width: 420px; height: 420px;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(56,189,248,0.14) 0%, rgba(56,189,248,0) 65%);
    pointer-events: none; z-index: 1;
    transition: left 0.35s cubic-bezier(0.16,1,0.3,1), top 0.35s cubic-bezier(0.16,1,0.3,1);
  }

  .evt-sweep {
    position: absolute; left: 0; right: 0; height: 90px;
    background: linear-gradient(to bottom,
      transparent 0%,
      rgba(56,189,248,0.05) 40%,
      rgba(56,189,248,0.09) 50%,
      rgba(56,189,248,0.05) 60%,
      transparent 100%);
    pointer-events: none; z-index: 2;
    animation: evtSweep 7s ease-in-out infinite;
    top: -90px;
  }
  @keyframes evtSweep {
    0% { top: -90px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }

  .evt-topbar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 5;
    display: flex; justify-content: flex-end; align-items: center;
    padding: 18px 24px 14px;
    background: linear-gradient(to bottom, rgba(6,9,20,0.95) 0%, rgba(6,9,20,0.7) 60%, transparent 100%);
    pointer-events: none;
  }
  .evt-live {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 4px 10px; border-radius: 100px;
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.2);
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; letter-spacing: 0.14em; color: #4ade80;
  }
  .evt-live-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
    box-shadow: 0 0 8px rgba(74,222,128,0.8);
    animation: evtLivePulse 1.6s ease-in-out infinite;
  }
  @keyframes evtLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
  }
  .evt-eps {
    display: inline-flex; align-items: baseline; gap: 6px;
    font-family: 'JetBrains Mono', monospace;
  }
  .evt-eps-val {
    font-size: 18px; font-weight: 700; color: #e2e8f0;
    letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  }
  .evt-eps-unit {
    font-size: 9px; color: #64748b; letter-spacing: 0.1em; text-transform: uppercase;
  }

  .evt-stream {
    position: absolute; inset: 0; z-index: 2;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 22%, black 82%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, black 22%, black 82%, transparent 100%);
  }
  .evt-stream-track {
    padding: 90px 28px 90px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; line-height: 1;
    animation: evtStream 32s linear infinite;
    will-change: transform;
  }
  @keyframes evtStream {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
  }
  .evt-row {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
    color: #cbd5e1;
    white-space: nowrap;
  }
  .evt-row > span { display: inline-flex; align-items: center; }
  .evt-t { color: #64748b; font-size: 11px; }
  .evt-id { color: #cbd5e1; font-weight: 500; min-width: 105px; }
  .evt-tag {
    padding: 3px 8px; border-radius: 4px;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.02em;
  }
  .tag-auth    { background: rgba(56,189,248,0.15);  color: #7dd3fc; }
  .tag-page    { background: rgba(148,163,184,0.15); color: #cbd5e1; }
  .tag-order   { background: rgba(251,191,36,0.15);  color: #fcd34d; }
  .tag-cart    { background: rgba(34,211,238,0.15);  color: #67e8f9; }
  .tag-pay     { background: rgba(74,222,128,0.15);  color: #86efac; }
  .tag-session { background: rgba(244,114,182,0.15); color: #f9a8d4; }
  .tag-user    { background: rgba(192,132,252,0.15); color: #d8b4fe; }
  .tag-kafka   { background: rgba(251,146,60,0.15);  color: #fdba74; }
  .tag-ai      { background: rgba(167,139,250,0.20); color: #c4b5fd; box-shadow: 0 0 10px rgba(167,139,250,0.35); }
  .evt-region { color: #64748b; font-size: 11px; min-width: 92px; }
  .evt-lat { color: #cbd5e1; margin-left: auto; font-size: 11px; font-variant-numeric: tabular-nums; min-width: 52px; text-align: right; }
  .evt-ok { color: #4ade80; font-size: 10px; }

  .evt-footer {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 5;
    display: flex; align-items: center; justify-content: center;
    gap: 22px; padding: 16px 24px 18px;
    background: linear-gradient(to top, rgba(6,9,20,0.95) 0%, rgba(6,9,20,0.7) 60%, transparent 100%);
    pointer-events: none;
  }
  .evt-footer-item {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
  }
  .evt-footer-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; font-weight: 700; color: #e2e8f0;
    letter-spacing: -0.01em;
  }
  .evt-footer-label {
    font-size: 8px; color: #64748b;
    letter-spacing: 0.1em; text-transform: uppercase;
  }
  .evt-footer-sep {
    width: 1px; height: 18px;
    background: rgba(255,255,255,0.08);
  }

  .project-card.evt-card {
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s cubic-bezier(0.16,1,0.3,1);
  }
  .project-card.evt-card:hover {
    border-color: rgba(56,189,248,0.35);
    box-shadow: 0 12px 50px rgba(56,189,248,0.2), var(--shadow-hover);
    transform: translateY(-2px);
  }
  .evt-card:hover .evt-stream-track { animation-duration: 18s; }
  .evt-card:hover .evt-glow {
    background: radial-gradient(circle, rgba(56,189,248,0.22) 0%, rgba(56,189,248,0) 65%);
  }

  /* === ANIMATIONS === */
  @keyframes rise {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes heroCursorBlink {
    0%, 45% { opacity: 1; }
    46%, 100% { opacity: 0; }
  }
 
  .bento-card, .visual-card {
    opacity: 0;
    animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
 
  .bento-card:nth-child(1) { animation-delay: 0.1s; }
  .bento-card:nth-child(2) { animation-delay: 0.15s; }
  .bento-card:nth-child(3) { animation-delay: 0.2s; }
  .bento-card:nth-child(4) { animation-delay: 0.25s; }
 
  .visual-card:nth-child(1) { animation-delay: 0.1s; }
  .visual-card:nth-child(2) { animation-delay: 0.15s; }
  .visual-card:nth-child(3) { animation-delay: 0.2s; }
 
  /* === RESPONSIVE === */
  /* Hide in-page anchors on phones; users can scroll. Keeps nav fitting on small viewports. */
  @media (max-width: 720px) {
    .nav-anchor { display: none; }
  }

  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding: 5.5rem 1.5rem 2rem; gap: 1.5rem; }
    .hero h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1.15; }
    .hero-typing { min-height: 1.15em; }
    .hero-body { font-size: 0.92rem; }
    .hero-photo { order: -1; max-width: 220px; margin: 0 auto; width: 100%; }
    .hero-photo-img { height: 260px; }
    .bento-section, .visual-section, .connect-section, .projects-section { padding: 3rem 1.5rem; }
    .mockup-window { height: 300px; }
    .mockup-scroll { animation: none !important; }
    .evt-mockup { height: 340px; }
    .evt-topbar { padding: 12px 14px 10px; }
    .evt-eps-val { font-size: 14px; }
    .evt-stream-track { padding: 50px 14px 72px; font-size: 10px; }
    .evt-row { gap: 10px; padding: 5px 0; }
    .evt-id { min-width: 80px; }
    .evt-region { display: none; }
    .evt-footer { gap: 12px; padding: 12px 14px; }
    .evt-footer-num { font-size: 11px; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
    .visual-grid { grid-template-columns: 1fr; }
    .connect-grid { grid-template-columns: repeat(2, 1fr); }
    .footer { padding: 2rem 1.5rem; }
    nav { top: 0.5rem; padding: 0.2rem 0.25rem 0.2rem 1rem; gap: 0.75rem; }
    .nav-name { font-size: 0.78rem; }
    .nav-links { gap: 0.25rem; }
    .nav-links a { font-size: 0.72rem; padding: 0.3rem 0.6rem; white-space: nowrap; }
    .nav-links .nav-cta { font-size: 0.72rem; padding: 0.35rem 0.85rem !important; white-space: nowrap; }
  }
 
  @media (max-width: 500px) {
    .hero { padding: 4.5rem 1rem 1.5rem; }
    .hero h1 { font-size: 1.85rem; }
    .hero-photo { max-width: 200px; }
    .hero-photo-img { height: 240px; }
    .connect-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    nav { gap: 0.5rem; padding: 0.2rem 0.25rem 0.2rem 0.85rem; }
    .nav-name { font-size: 0.72rem; }
    .nav-links a { font-size: 0.66rem; padding: 0.28rem 0.5rem; white-space: nowrap; }
    .nav-links .nav-cta { font-size: 0.66rem; padding: 0.32rem 0.75rem !important; white-space: nowrap; }
    .footer-grid { gap: 1rem; padding: 0 0.5rem; }
  }

  /* === SW CARD (Streetwear Dashboard) === */
  .sw-card {
    display: block;
    text-decoration: none;
    color: var(--text);
    perspective: 1000px;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.4s, box-shadow 0.4s;
  }
  .sw-card:hover {
    border-color: rgba(56,104,40,0.4);
    box-shadow: 0 12px 40px rgba(56,104,40,0.12), 0 0 0 1px rgba(56,104,40,0.08), var(--shadow-hover);
    transform: scale(1.02);
  }
  .sw-card .sw-inner {
    transition: transform 0.15s ease-out;
    transform-style: preserve-3d;
  }
  .sw-card:hover .sw-scroll { animation-play-state: paused; }

  .sw-mockup {
    position: relative;
    overflow: hidden;
    height: 420px;
    background: #f4f2ee;
  }
  .sw-chrome {
    position: absolute; top: 0; left: 0; right: 0; height: 32px;
    background: #e8e4dc; display: flex; align-items: center;
    padding: 0 12px; gap: 6px; z-index: 2;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .sw-chrome-dot { width: 8px; height: 8px; border-radius: 50%; background: #c8c4bc; }
  .sw-chrome-url {
    flex: 1; margin-left: 8px; background: rgba(255,255,255,0.6);
    border-radius: 6px; padding: 3px 10px;
    font-family: 'JetBrains Mono', monospace; font-size: 9px; color: #8a8680;
  }
  .sw-body {
    position: absolute; top: 32px; left: 0; right: 0;
    overflow: hidden; height: calc(100% - 32px);
  }
  .sw-scroll { animation: swScroll 22s linear infinite; }
  @keyframes swScroll {
    0%, 4% { transform: translateY(0); }
    18%, 22% { transform: translateY(-160px); }
    40%, 44% { transform: translateY(-340px); }
    70%, 74% { transform: translateY(-620px); }
    94%, 100% { transform: translateY(0); }
  }

  /* SW Block 1 - Hero */
  .sw-hero {
    background: #5a3a28; padding: 20px; color: #fff;
    display: flex; gap: 16px; min-height: 160px; align-items: center;
  }
  .sw-hero-left { flex: 1; }
  .sw-hero-eyebrow {
    font-family: 'JetBrains Mono', monospace; font-size: 7px;
    letter-spacing: 0.12em; text-transform: uppercase; color: #7a9ec0;
    margin-bottom: 6px;
  }
  .sw-hero-headline {
    font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 800;
    line-height: 1.15; margin-bottom: 5px; color: #fff;
  }
  .sw-hero-sub { font-size: 9px; color: rgba(255,255,255,0.6); line-height: 1.5; }
  .sw-hero-right { display: flex; flex-direction: column; gap: 4px; }
  .sw-stat-chip {
    background: rgba(255,255,255,0.1); border-radius: 10px;
    padding: 4px 8px; font-size: 8px; color: rgba(255,255,255,0.7);
    white-space: nowrap;
  }
  .sw-stat-chip strong { color: #fff; font-weight: 700; }

  /* SW Block 2 - Cost Bleed */
  .sw-bleed { background: #fff; padding: 16px 20px; }
  .sw-bleed-label {
    font-family: 'JetBrains Mono', monospace; font-size: 7px;
    letter-spacing: 0.12em; text-transform: uppercase; color: #aaa;
    margin-bottom: 8px;
  }
  .sw-bleed-cards { display: flex; gap: 6px; margin-bottom: 8px; }
  .sw-bleed-card {
    flex: 1; padding: 10px; border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.06); font-size: 8px;
    line-height: 1.4; color: #5a5450;
  }
  .sw-bleed-card.red { border-left: 3px solid #b03a30; }
  .sw-bleed-card.amber { border-left: 3px solid #9a6010; }
  .sw-bleed-title { font-weight: 700; color: #1e1a16; margin-bottom: 3px; font-size: 9px; }
  .sw-bleed-badge {
    display: inline-block; font-size: 7px; font-weight: 600;
    padding: 2px 5px; border-radius: 8px; margin-top: 4px;
  }
  .sw-badge-red { background: #fad8d4; color: #7a2018; }
  .sw-badge-amber { background: #faecd0; color: #6a3808; }
  .sw-fix-strip {
    background: #f4f2ee; border-radius: 6px; padding: 8px 10px;
    font-size: 8px; color: #5a5450; text-align: center;
  }
  .sw-fix-strip strong { color: #386828; }

  /* SW Block 3 - Drop Planner */
  .sw-planner { display: flex; min-height: 280px; }
  .sw-planner-left {
    width: 38%; background: #5a3a28; padding: 14px; color: #fff;
  }
  .sw-planner-right { flex: 1; background: #fff; padding: 14px; }
  .sw-planner-label {
    font-family: 'JetBrains Mono', monospace; font-size: 7px;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 8px;
  }
  .sw-slider-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 7px; font-size: 8px; color: rgba(255,255,255,0.5);
  }
  .sw-slider-track {
    flex: 1; height: 2px; background: rgba(255,255,255,0.15);
    border-radius: 1px; margin: 0 6px; position: relative;
  }
  .sw-slider-fill { height: 2px; background: #7a9ec0; border-radius: 1px; }
  .sw-slider-thumb {
    position: absolute; top: -3px; width: 8px; height: 8px;
    border-radius: 50%; background: #7a9ec0;
  }
  .sw-slider-val {
    font-family: 'JetBrains Mono', monospace; font-size: 8px;
    color: rgba(255,255,255,0.7); min-width: 28px; text-align: right;
  }
  .sw-metric-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 8px;
  }
  .sw-metric {
    background: #faf9f7; border-radius: 6px; padding: 8px;
    border: 1px solid rgba(0,0,0,0.04);
  }
  .sw-metric-label {
    font-size: 6px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: #aaa; margin-bottom: 2px;
  }
  .sw-metric-val {
    font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 700;
  }
  .sw-stacked-bar {
    display: flex; height: 8px; border-radius: 4px; overflow: hidden;
    margin-bottom: 8px;
  }
  .sw-bar-red { background: #b03a30; }
  .sw-bar-green { background: #386828; }
  .sw-milestone {
    display: flex; align-items: center; gap: 5px; padding: 3px 0;
    font-size: 7px; color: #5a5450; border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .sw-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
  .sw-hit {
    font-size: 6px; font-weight: 600; padding: 1px 4px;
    border-radius: 6px; margin-left: auto;
  }
  .sw-summary-box {
    background: #faf9f7; border-radius: 6px; padding: 8px;
    margin-top: 6px; font-size: 7px; color: #5a5450; line-height: 1.5;
  }

  @media (max-width: 900px) {
    .sw-mockup { height: 300px; }
    .sw-scroll { animation: none !important; }
  }

  /* === CASE STUDY STYLES === */
  .case-study {
    font-family: 'Manrope', sans-serif;
    background: #fff;
    color: var(--text);
    min-height: 100vh;
  }
  .cs-container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
  .cs-hero-section { padding: 8rem 0 4rem; border-bottom: 1px solid var(--border); }
  .cs-breadcrumb {
    font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
    color: var(--muted); margin-bottom: 1.5rem; letter-spacing: 0.04em;
  }
  .cs-breadcrumb a { color: var(--dim); text-decoration: none; }
  .cs-breadcrumb a:hover { color: var(--green); }
  .cs-hero-layout { display: flex; gap: 4rem; align-items: flex-start; }
  .cs-hero-left { flex: 1; }
  .cs-hero-right {
    width: 280px; flex-shrink: 0;
    font-size: 0.8rem; color: var(--dim);
  }
  .cs-title {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
    letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 1.25rem;
    color: var(--black);
  }
  .cs-tags { display: flex; gap: 0.35rem; flex-wrap: wrap; }
  .cs-tag {
    font-family: 'JetBrains Mono', monospace; font-size: 0.58rem;
    font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
    padding: 0.25rem 0.6rem; border-radius: 100px;
    background: var(--green-light); color: var(--green);
  }
  .cs-meta-row {
    display: flex; justify-content: space-between; gap: 2rem;
    padding: 0.6rem 0; border-bottom: 1px solid var(--border);
    font-size: 0.78rem;
  }
  .cs-meta-label { color: var(--muted); font-weight: 500; min-width: 100px; flex-shrink: 0; }
  .cs-meta-val { color: var(--text); font-weight: 600; text-align: right; flex: 1; }

  .cs-section { padding: 4rem 0; border-bottom: 1px solid var(--border); }
  .cs-section:last-child { border-bottom: none; }
  .cs-section-label {
    font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
    font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 1.5rem;
  }
  .cs-section-title {
    font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em;
    color: var(--black); margin-bottom: 1rem;
  }
  .cs-two-col { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; }
  .cs-two-col-question {
    font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em;
    color: var(--black); line-height: 1.3;
  }
  .cs-body {
    font-size: 0.95rem; color: var(--text-body); line-height: 1.75;
  }
  .cs-body strong { color: var(--text); font-weight: 600; }

  .cs-metrics-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
  .cs-metric-callout {
    background: #f4f2ee; border-radius: var(--radius-sm);
    padding: 2rem; text-align: center;
  }
  .cs-metric-num {
    font-size: 2rem; font-weight: 800; color: var(--black);
    letter-spacing: -0.03em; margin-bottom: 0.25rem;
  }
  .cs-metric-num.red { color: #b03a30; }
  .cs-metric-num.green { color: #386828; }
  .cs-metric-desc { font-size: 0.78rem; color: var(--dim); }

  .cs-table-wrap {
    background: #f4f2ee; border-radius: var(--radius-sm);
    overflow: hidden; margin: 1.5rem 0;
  }
  .cs-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
  .cs-table th {
    text-align: left; padding: 0.75rem 1rem;
    font-family: 'JetBrains Mono', monospace; font-size: 0.65rem;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
    font-weight: 600; border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .cs-table td {
    padding: 0.6rem 1rem; border-bottom: 1px solid rgba(0,0,0,0.04);
    color: var(--text-body);
  }
  .cs-table td.red { color: #b03a30; font-weight: 600; }
  .cs-table td.green { color: #386828; font-weight: 600; }

  .cs-finding {
    border: 2px solid var(--green); border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem; margin: 1.5rem 0;
    background: rgba(5,150,105,0.03);
  }
  .cs-finding-label {
    font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--green);
    font-weight: 600; margin-bottom: 0.5rem;
  }
  .cs-finding-text { font-size: 0.9rem; color: var(--text-body); line-height: 1.6; }

  .cs-leak-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
  .cs-leak-card {
    padding: 1.5rem; border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.06);
    background: var(--surface);
  }
  .cs-leak-card.red { border-left: 4px solid #b03a30; }
  .cs-leak-card.amber { border-left: 4px solid #9a6010; }
  .cs-leak-title { font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 0.3rem; }
  .cs-leak-desc { font-size: 0.82rem; color: var(--dim); margin-bottom: 0.5rem; }
  .cs-leak-amount { font-size: 0.82rem; font-weight: 700; }
  .cs-leak-amount.red { color: #b03a30; }
  .cs-leak-amount.amber { color: #9a6010; }

  .cs-quote {
    border-left: 4px solid var(--green); padding: 1.25rem 1.5rem;
    background: rgba(5,150,105,0.03); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 2rem 0; font-size: 1.1rem; font-weight: 600;
    color: var(--black); line-height: 1.5;
  }

  .cs-numbered-item {
    display: grid; grid-template-columns: 40px 1fr; gap: 1rem;
    margin-bottom: 2.5rem; align-items: start;
  }
  .cs-number {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--black); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
  }
  .cs-numbered-title { font-size: 1.1rem; font-weight: 700; color: var(--black); margin-bottom: 0.5rem; }
  .cs-numbered-desc { font-size: 0.85rem; color: var(--dim); line-height: 1.65; }

  .cs-wireframe {
    background: #f4f2ee; border-radius: var(--radius-sm);
    padding: 1.5rem; margin: 1rem 0; font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem; color: var(--dim); text-align: center;
    border: 1px dashed rgba(0,0,0,0.1);
  }

  .cs-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
  .cs-ba-col { padding: 1.25rem; border-radius: var(--radius-sm); }
  .cs-ba-col.before { background: #fef2f2; }
  .cs-ba-col.after { background: #f0fdf4; }
  .cs-ba-label {
    font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    font-weight: 600; margin-bottom: 0.5rem;
  }
  .cs-ba-col.before .cs-ba-label { color: #b03a30; }
  .cs-ba-col.after .cs-ba-label { color: #386828; }
  .cs-ba-text { font-size: 0.82rem; color: var(--text-body); line-height: 1.6; }

  .cs-pipeline {
    display: flex; gap: 0; margin: 1rem 0;
    border-radius: var(--radius-sm); overflow: hidden;
    border: 1px solid var(--border);
  }
  .cs-pipe-step {
    flex: 1; padding: 1rem 0.75rem; text-align: center;
    background: var(--surface); border-right: 1px solid var(--border);
    position: relative;
  }
  .cs-pipe-step:last-child { border-right: none; }
  .cs-pipe-num {
    font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
    color: var(--muted); margin-bottom: 0.25rem;
  }
  .cs-pipe-label { font-size: 0.72rem; font-weight: 700; color: var(--black); }
  .cs-pipe-desc { font-size: 0.62rem; color: var(--dim); margin-top: 0.2rem; }

  .cs-results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0; }
  .cs-result-card {
    background: #f4f2ee; border-radius: var(--radius-sm);
    padding: 1.75rem 1.25rem; text-align: center;
  }
  .cs-result-num {
    font-size: 1.8rem; font-weight: 800; color: var(--black);
    letter-spacing: -0.03em; margin-bottom: 0.25rem;
  }
  .cs-result-num.green { color: #386828; }
  .cs-result-desc { font-size: 0.75rem; color: var(--dim); }

  .cs-learning { margin-bottom: 2rem; }
  .cs-learning-title { font-size: 1.05rem; font-weight: 700; color: var(--black); margin-bottom: 0.4rem; }
  .cs-learning-text { font-size: 0.88rem; color: var(--text-body); line-height: 1.7; }

  .cs-footer-nav {
    display: flex; justify-content: space-between; padding: 3rem 0;
    border-top: 1px solid var(--border);
  }
  .cs-footer-link {
    font-size: 0.9rem; font-weight: 600; color: var(--text);
    text-decoration: none; transition: color 0.2s;
  }
  .cs-footer-link:hover { color: var(--green); }
  .cs-footer-link.disabled { color: var(--muted); pointer-events: none; }

  .cs-fade-in {
    opacity: 0; transform: translateY(20px);
    animation: csFadeIn 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
  }
  @keyframes csFadeIn {
    to { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 900px) {
    .cs-hero-section { padding: 5rem 0 2.5rem; }
    .cs-title { font-size: clamp(1.6rem, 5.5vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.15; }
    .cs-hero-layout { flex-direction: column; gap: 2rem; }
    .cs-hero-right { width: 100%; }
    .cs-two-col { grid-template-columns: 1fr; gap: 1.5rem; }
    .cs-metrics-row { grid-template-columns: 1fr; }
    .cs-leak-cards { grid-template-columns: 1fr; }
    .cs-results-grid { grid-template-columns: repeat(2, 1fr); }
    .cs-before-after { grid-template-columns: 1fr; }
    .cs-pipeline { flex-direction: column; }
    .cs-container { padding: 0 1.5rem; }
    .cs-section { padding: 2.5rem 0; }
  }

  /* ============================
     INFAQ CASE STUDY (.ics-)
     ============================ */
  .infaq-case-study {
    font-family: 'Manrope', sans-serif;
    background: #fff;
    color: var(--text);
    min-height: 100vh;
  }

  .ics-back-nav {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 200;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dim);
    text-decoration: none;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    transition: all 0.2s;
  }
  .ics-back-nav:hover {
    color: #4f46e5;
    border-color: rgba(79,70,229,0.3);
  }

  .ics-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  /* Hero */
  .ics-hero {
    padding: 8rem 0 4rem;
    opacity: 0;
    animation: icsRise 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
  }
  .ics-hero-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4f46e5;
    margin-bottom: 1.25rem;
  }
  .ics-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: var(--black);
    max-width: 720px;
    margin-bottom: 1.25rem;
  }
  .ics-hero-desc {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 2.5rem;
  }
  .ics-hero-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
  }
  .ics-meta-item { display: flex; flex-direction: column; }
  .ics-meta-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 0.3rem;
  }
  .ics-meta-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
  }
  .ics-meta-val .ics-live {
    display: inline-block;
    background: #d1fae5;
    color: #059669;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
  }

  /* Hero Image (mockup card) */
  .ics-hero-image {
    margin: 3rem 0 0;
    background: #0c1222;
    border-radius: var(--radius);
    padding: 3.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(79,70,229,0.15), 0 0 160px rgba(79,70,229,0.08);
    opacity: 0;
    animation: icsRise 0.7s cubic-bezier(0.16,1,0.3,1) 0.3s forwards;
  }
  .ics-hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,0.2) 0%, transparent 70%);
    pointer-events: none;
  }
  .ics-mockup-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
  }
  .ics-mockup-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
  }
  .ics-mockup-sub {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
  }
  .ics-mockup-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 340px;
  }
  .ics-mockup-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .ics-mockup-check {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .ics-mockup-check.checked {
    background: #4f46e5;
    border-color: #4f46e5;
  }
  .ics-mockup-card-text {
    flex: 1;
  }
  .ics-mockup-card-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
  }
  .ics-mockup-card-reward {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.15rem;
  }

  /* Sections */
  .ics-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
  }
  .ics-section:last-child {
    border-bottom: none;
  }
  .ics-section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.5rem;
  }
  .ics-section-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--black);
    margin-bottom: 1rem;
  }
  .ics-body {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.75;
    max-width: 720px;
  }
  .ics-body p { margin-bottom: 1rem; }
  .ics-body p:last-child { margin-bottom: 0; }
  .ics-body strong { color: var(--text); font-weight: 600; }

  /* Stats grid */
  .ics-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .ics-stat-card {
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.75rem 1.25rem;
    text-align: center;
  }
  .ics-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #4f46e5;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
  }
  .ics-stat-desc {
    font-size: 0.75rem;
    color: var(--dim);
  }

  /* Bento grid */
  .ics-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .ics-bento-card {
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.75rem;
    transition: all 0.3s;
  }
  .ics-bento-card:hover {
    border-color: rgba(79,70,229,0.3);
    box-shadow: 0 4px 20px rgba(79,70,229,0.06);
  }
  .ics-bento-icon {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
  }
  .ics-bento-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.4rem;
  }
  .ics-bento-desc {
    font-size: 0.82rem;
    color: var(--dim);
    line-height: 1.6;
  }

  /* Timeline */
  .ics-timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 1.5rem;
  }
  .ics-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: var(--border);
  }
  .ics-timeline-item {
    position: relative;
    padding-bottom: 2rem;
  }
  .ics-timeline-item:last-child {
    padding-bottom: 0;
  }
  .ics-timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4f46e5;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px rgba(79,70,229,0.2);
    z-index: 1;
  }
  .ics-timeline-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    color: #4f46e5;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
  }
  .ics-timeline-text {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
  }

  /* Tech pills */
  .ics-tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.5rem;
  }
  .ics-tech-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--dim);
    background: var(--surface);
    transition: all 0.3s;
  }
  .ics-tech-pill:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #e0e7ff;
  }

  /* CTA */
  .ics-cta {
    padding: 4rem 0;
    text-align: center;
  }
  .ics-cta-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--black);
    margin-bottom: 0.5rem;
  }
  .ics-cta-sub {
    font-size: 0.95rem;
    color: var(--dim);
    margin-bottom: 2rem;
  }
  .ics-cta-btns {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
  }
  .ics-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: #4f46e5;
    border: none;
    border-radius: 100px;
    padding: 0.75rem 1.75rem;
    text-decoration: none;
    transition: all 0.2s;
  }
  .ics-btn-primary:hover {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(79,70,229,0.3);
  }
  .ics-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.75rem 1.75rem;
    text-decoration: none;
    transition: all 0.2s;
  }
  .ics-btn-ghost:hover {
    border-color: var(--black);
    background: rgba(0,0,0,0.02);
  }

  /* Footer */
  .ics-footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--muted);
  }

  /* Quote */
  .ics-quote {
    border-left: 4px solid #4f46e5;
    padding: 1.25rem 1.5rem;
    background: rgba(79,70,229,0.03);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    line-height: 1.5;
    font-style: italic;
  }

  /* Rise animation */
  @keyframes icsRise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Responsive */
  @media (max-width: 768px) {
    .ics-hero-meta {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.25rem;
    }
    .ics-stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .ics-bento-grid {
      grid-template-columns: 1fr;
    }
    .ics-wrap {
      padding: 0 1.25rem;
    }
    .ics-hero h1 {
      font-size: 1.8rem;
    }
    .ics-cta-btns {
      flex-direction: column;
      align-items: center;
    }
    .ics-back-nav {
      top: 1rem;
      left: 1rem;
    }
  }

  /* ===== EVENT PLATFORM CASE STUDY ===== */
  @keyframes evtcsRise {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .evtcs-back {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 200;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dim);
    text-decoration: none;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    transition: all 0.2s;
  }

  .evtcs-back:hover {
    color: #2563eb;
    border-color: rgba(37,99,235,0.3);
  }

  .evtcs-hero {
    padding: 8rem 4rem 4rem;
    max-width: 960px;
    margin: 0 auto;
  }

  .evtcs-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 1rem;
  }

  .evtcs-hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 1rem;
  }

  .evtcs-hero-sub {
    font-size: 1rem;
    color: #777;
    max-width: 680px;
    line-height: 1.6;
  }

  .evtcs-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem;
  }

  .evtcs-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: var(--black);
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .evtcs-body {
    font-size: 0.92rem;
    line-height: 1.85;
    color: #444;
    max-width: 680px;
  }

  .evtcs-body strong {
    color: #1a1a1a;
    font-weight: 700;
  }

  .evtcs-body p + p {
    margin-top: 1rem;
  }

  .evtcs-divider {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 4rem;
  }

  .evtcs-divider hr {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.06);
  }

  .evtcs-arch {
    margin-top: 2.5rem;
  }

  .evtcs-arch-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .evtcs-arch-box {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  }

  .evtcs-arch-box.bronze {
    border-left: 3px solid #f59e0b;
  }

  .evtcs-arch-box.silver {
    border-left: 3px solid #3b82f6;
  }

  .evtcs-arch-box.gold {
    border-left: 3px solid #22c55e;
  }

  .evtcs-arch-box.accent {
    border: 1px solid rgba(59,130,246,0.2);
    background: rgba(59,130,246,0.03);
  }

  .evtcs-arch-arrow {
    text-align: center;
    color: #aaa;
    font-size: 1.2rem;
    margin: 0.75rem 0;
  }

  .evtcs-arch-desc {
    text-align: center;
    font-size: 0.75rem;
    color: #777;
    margin-top: 0.25rem;
  }

  .evtcs-insight-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .evtcs-insight {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-left: 3px solid #3b82f6;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  }

  .evtcs-insight-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--black);
  }

  .evtcs-insight-body {
    font-size: 0.82rem;
    color: #444;
    line-height: 1.7;
  }

  .evtcs-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .evtcs-stat {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .evtcs-stat:hover {
    transform: translateY(-3px);
  }

  .evtcs-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
  }

  .evtcs-stat-label {
    font-size: 0.68rem;
    color: #777;
    margin-top: 0.25rem;
  }

  .evtcs-tech-pills {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
  }

  .evtcs-tech-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--dim);
    background: var(--surface);
    transition: all 0.3s;
  }

  .evtcs-tech-pill:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #eff6ff;
  }

  .evtcs-bullets {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
  }

  .evtcs-bullets li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 0.88rem;
    color: #444;
    line-height: 1.7;
    padding-left: 1.5rem;
    position: relative;
  }

  .evtcs-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
  }

  .evtcs-footer {
    padding: 3rem 4rem;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.06);
  }

  @media (max-width: 768px) {
    .evtcs-hero {
      padding: 6rem 1.5rem 2.5rem;
    }
    .evtcs-hero h1 {
      font-size: 1.8rem;
    }
    .evtcs-section {
      padding: 2.5rem 1.5rem;
    }
    .evtcs-divider {
      padding: 0 1.5rem;
    }
    .evtcs-stats {
      grid-template-columns: repeat(2, 1fr);
    }
    .evtcs-insight-cards {
      grid-template-columns: 1fr;
    }
    .evtcs-arch-row {
      flex-direction: column;
      align-items: center;
    }
    .evtcs-footer {
      padding: 2rem 1.5rem;
    }
    .evtcs-back {
      top: 1rem;
      left: 1rem;
    }
  }

  /* === PROFIT PLANNER / AUTO DEMO === */
  .pd-demo-wrap {
    margin: 0 0 3rem;
    padding: 2rem;
    background: linear-gradient(180deg, #faf8f4 0%, #f4f0e9 100%);
    border: 1px solid rgba(90,58,40,0.1);
    border-radius: 14px;
  }
  .pd-demo-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--green); margin-bottom: 0.5rem;
  }
  .pd-demo-title {
    font-size: 1.35rem; font-weight: 700;
    color: var(--black); letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
  }
  .pd-demo-sub {
    font-size: 0.85rem; color: var(--dim);
    line-height: 1.55; margin-bottom: 1.5rem;
    max-width: 620px;
  }

  .pd-demo {
    position: relative;
    display: grid; grid-template-columns: 44% 56%;
    border-radius: 10px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(90,58,40,0.18),
                0 0 0 1px rgba(90,58,40,0.08);
  }

  .pd-cursor {
    position: absolute;
    top: 0; left: 0;
    width: 18px; height: 22px;
    z-index: 10;
    transform: translate(-6px, -6px);
    transition: top 0.55s cubic-bezier(0.22,1,0.36,1), left 0.55s cubic-bezier(0.22,1,0.36,1);
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
    opacity: 0;
  }
  .pd-cursor.active { opacity: 1; }
  .pd-cursor.pressing { transform: translate(-6px, -6px) scale(0.88); }

  .pd-left {
    background: linear-gradient(180deg, #5a3a28 0%, #4a2f20 100%);
    padding: 22px 20px;
    color: #fff;
  }
  .pd-right {
    background: #fff;
    padding: 22px 20px;
    display: flex; flex-direction: column; gap: 12px;
  }
  .pd-col-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.4); margin-bottom: 14px;
  }
  .pd-right .pd-col-label { color: #aaa; margin-bottom: 10px; }

  .pd-row {
    display: grid;
    grid-template-columns: 110px 1fr 48px;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
  }
  .pd-name { font-size: 0.74rem; color: rgba(255,255,255,0.7); }
  .pd-track {
    position: relative; height: 3px;
    background: rgba(255,255,255,0.14);
    border-radius: 2px;
  }
  .pd-fill {
    position: absolute; top: 0; left: 0; height: 100%;
    background: #a3c1dc; border-radius: 2px;
    width: 42%;
    transition: width 1.4s cubic-bezier(0.22,1,0.36,1);
  }
  .pd-thumb {
    position: absolute; top: 50%;
    width: 13px; height: 13px;
    margin-top: -6.5px; margin-left: -6.5px;
    background: #a3c1dc;
    border: 2px solid #5a3a28;
    border-radius: 50%;
    left: 42%;
    transition: left 1.4s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  }
  .pd-row.dragging .pd-thumb {
    box-shadow: 0 0 0 6px rgba(163,193,220,0.25), 0 2px 8px rgba(0,0,0,0.3);
    transform: scale(1.15);
  }
  .pd-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem; font-weight: 600;
    color: #fff; text-align: right;
    font-variant-numeric: tabular-nums;
  }

  .pd-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  }
  .pd-stat {
    background: #faf8f4;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 7px;
    padding: 10px 12px;
  }
  .pd-stat-l {
    font-size: 0.6rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #aaa; margin-bottom: 3px;
  }
  .pd-stat-v {
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem; font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--black);
    font-variant-numeric: tabular-nums;
    transition: color 0.3s;
  }
  .pd-stat-v.red { color: #b03a30; }
  .pd-stat-v.green { color: #386828; }

  .pd-stackbar {
    display: flex; height: 9px;
    border-radius: 5px; overflow: hidden;
    background: #f4f0e9;
  }
  .pd-stack-red {
    background: #b03a30; width: 63%;
    transition: width 1.4s cubic-bezier(0.22,1,0.36,1);
  }
  .pd-stack-green {
    background: #386828; width: 37%;
    transition: width 1.4s cubic-bezier(0.22,1,0.36,1);
  }

  .pd-milestones {
    display: flex; flex-direction: column; gap: 2px;
  }
  .pd-ms {
    display: grid;
    grid-template-columns: 10px 1fr auto auto;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.72rem;
    color: #5a5450;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .pd-ms-dot { width: 6px; height: 6px; border-radius: 50%; background: #386828; }
  .pd-ms-dot.off { background: #d0cac2; }
  .pd-ms-label { color: #5a5450; }
  .pd-ms-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem; color: #888;
    font-variant-numeric: tabular-nums;
  }
  .pd-ms-badge {
    background: #d8f0d0; color: #2a5818;
    font-size: 0.62rem; font-weight: 600;
    padding: 2px 8px; border-radius: 8px;
  }
  .pd-ms-badge.off { background: #eee; color: #888; }

  .pd-footer {
    margin-top: 4px;
    background: #faf8f4;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 0.72rem;
    color: #5a5450;
    font-family: 'JetBrains Mono', monospace;
  }

  .pd-demo-note {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-left: 3px solid var(--green);
    border-radius: 4px;
    font-size: 0.82rem;
    color: var(--dim);
    line-height: 1.65;
  }
  .pd-demo-note strong { color: var(--text); }
  .pd-demo-note em { color: var(--green); font-style: normal; font-weight: 600; }

  /* Tablet (landscape-ish): keep 2-col but tighter */
  @media (max-width: 1024px) {
    .pd-demo { grid-template-columns: 42% 58%; }
    .pd-row { grid-template-columns: 100px 1fr 44px; gap: 10px; font-size: 0.72rem; }
    .pd-name { font-size: 0.7rem; }
    .pd-val { font-size: 0.72rem; }
    .pd-stat-v { font-size: 1rem; }
    .pd-col-label { margin-bottom: 10px; }
  }

  /* Tablet portrait + phones: stack */
  @media (max-width: 820px) {
    .pd-demo-wrap { padding: 1.25rem; border-radius: 12px; }
    .pd-demo-title { font-size: 1.1rem; }
    .pd-demo-sub { font-size: 0.8rem; }
    .pd-demo { grid-template-columns: 1fr; }
    .pd-left { padding: 18px 16px; }
    .pd-right { padding: 18px 16px; }
    .pd-row { grid-template-columns: 105px 1fr 46px; gap: 12px; padding: 9px 0; }
    .pd-name { font-size: 0.72rem; }
    .pd-val { font-size: 0.74rem; }
    .pd-cursor { display: none; }
  }

  /* Phones */
  @media (max-width: 500px) {
    .pd-demo-wrap { padding: 1rem; margin: 0 0 2rem; }
    .pd-demo-title { font-size: 1rem; line-height: 1.25; }
    .pd-demo-sub { font-size: 0.76rem; margin-bottom: 1rem; }
    .pd-left, .pd-right { padding: 14px 12px; }
    .pd-row { grid-template-columns: 90px 1fr 40px; gap: 8px; padding: 8px 0; }
    .pd-name { font-size: 0.66rem; letter-spacing: -0.01em; }
    .pd-val { font-size: 0.68rem; }
    .pd-thumb { width: 16px; height: 16px; margin-top: -8px; margin-left: -8px; }
    .pd-track { height: 4px; }
    .pd-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
    .pd-stat { padding: 8px 10px; }
    .pd-stat-l { font-size: 0.55rem; }
    .pd-stat-v { font-size: 0.95rem; }
    .pd-ms { grid-template-columns: 8px 1fr auto; gap: 6px; font-size: 0.66rem; padding: 3px 0; }
    .pd-ms-val { display: none; }
    .pd-ms-badge { font-size: 0.58rem; padding: 1px 6px; }
    .pd-footer { font-size: 0.66rem; padding: 7px 10px; }
    .pd-demo-note { font-size: 0.76rem; padding: 0.85rem 1rem; margin-top: 1rem; }
  }

  /* === Sales Productivity Platform / home card (interactive) === */
  .project-card.spp-card { perspective: 1000px; }
  .project-card.spp-card:hover .spp-stage {
    box-shadow: 0 14px 40px rgba(79,70,229,0.22);
    transform: translateY(-2px);
  }
  .project-card.spp-card:hover .spp-activity-track { animation-duration: 9s; }

  .spp-mockup {
    background: linear-gradient(135deg, #eef1f7 0%, #e0e7ff 100%);
    padding: 2rem;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .spp-stage {
    width: 100%;
    max-width: 540px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 1.1rem 1.15rem;
    box-shadow: 0 12px 40px rgba(15,23,42,0.10);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    font-family: 'Manrope', sans-serif;
    transition: box-shadow 0.4s cubic-bezier(0.16,1,0.3,1), transform 0.4s cubic-bezier(0.16,1,0.3,1);
  }

  .spp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }
  .spp-greeting { font-size: 0.88rem; font-weight: 700; color: #0f172a; letter-spacing: -0.01em; }
  .spp-greeting span { color: #4f46e5; }
  .spp-live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600;
  }
  .spp-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,0.55);
    animation: sppLivePulse 2s ease-in-out infinite;
  }
  @keyframes sppLivePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.55); }
    50%      { box-shadow: 0 0 0 7px rgba(22,163,74,0); }
  }

  .spp-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .spp-kpi {
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
  }
  .spp-kpi-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.52rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.25rem;
  }
  .spp-kpi-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
  }
  .spp-kpi-delta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    color: #16a34a;
    font-weight: 600;
    margin-top: 0.1rem;
  }

  .spp-funnel {
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
  }
  .spp-funnel-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.45rem;
  }
  .spp-stages {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.3rem;
  }
  .spp-stage-item {
    background: #fff;
    border: 1px solid rgba(15,23,42,0.06);
    border-radius: 6px;
    padding: 0.4rem 0.45rem;
  }
  .spp-stage-name { font-size: 0.55rem; font-weight: 600; color: #475569; margin-bottom: 0.18rem; }
  .spp-stage-count { font-size: 0.78rem; font-weight: 700; color: #0f172a; }
  .spp-stage-bar {
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 0.32rem;
    overflow: hidden;
  }
  .spp-stage-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    border-radius: 2px;
    width: 0;
    animation: sppBarFill 1.6s cubic-bezier(0.16,1,0.3,1) forwards;
  }
  .spp-stage-item:nth-child(1) .spp-stage-bar-fill { --target: 100%; animation-delay: 0.15s; }
  .spp-stage-item:nth-child(2) .spp-stage-bar-fill { --target: 78%;  animation-delay: 0.30s; }
  .spp-stage-item:nth-child(3) .spp-stage-bar-fill { --target: 58%;  animation-delay: 0.45s; }
  .spp-stage-item:nth-child(4) .spp-stage-bar-fill { --target: 38%;  animation-delay: 0.60s; }
  .spp-stage-item:nth-child(5) .spp-stage-bar-fill { --target: 22%;  animation-delay: 0.75s; }
  @keyframes sppBarFill { to { width: var(--target); } }

  .spp-activity {
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 10px;
    padding: 0.6rem 0.75rem 0.55rem;
  }
  .spp-activity-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.4rem;
  }
  .spp-activity-viewport {
    height: 56px;
    overflow: hidden;
    position: relative;
  }
  .spp-activity-track {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    animation: sppActivityScroll 14s linear infinite;
  }
  @keyframes sppActivityScroll {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
  }
  .spp-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.66rem;
    flex-shrink: 0;
    line-height: 1.3;
  }
  .spp-row-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.48rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.13rem 0.4rem;
    border-radius: 4px;
    background: #eef2ff;
    color: #4f46e5;
    flex-shrink: 0;
  }
  .spp-row-tag.green { background: #dcfce7; color: #15803d; }
  .spp-row-tag.amber { background: #fef3c7; color: #b45309; }
  .spp-row-text { color: #1e293b; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  @media (max-width: 900px) {
    .spp-mockup { height: 400px; padding: 1.25rem; }
  }
  @media (max-width: 600px) {
    .spp-mockup { height: 380px; padding: 1rem; }
    .spp-stage { padding: 0.85rem; gap: 0.55rem; }
    .spp-kpi-val { font-size: 0.85rem; }
    .spp-stage-count { font-size: 0.7rem; }
  }

  /* === Qabl Dashboard interactive enhancements === */
  .qabl-card-wrap {
    max-width: 760px;
    margin: 1.5rem auto 0;
  }
  .qabl-time-val {
    font-variant-numeric: tabular-nums;
    transition: color 0.2s;
  }
  .qabl-time-tick { animation: qablTimeTick 0.3s ease; }
  @keyframes qablTimeTick {
    0%   { transform: translateY(-3px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
  }
  .qabl-dot { animation: qablDotPulse 2.4s ease-in-out infinite; }
  .qabl-dot:nth-child(2) { animation-delay: 0.5s; }
  .qabl-dot:nth-child(3) { animation-delay: 1s; }
  @keyframes qablDotPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.3); }
  }
  .qabl-bar-fill {
    height: 100%;
    width: 0;
    animation: qablBarFill 1.4s cubic-bezier(0.16,1,0.3,1) forwards;
  }
  .qabl-bar-1 .qabl-bar-fill { --target: 80%; background: #b7552e; animation-delay: 0.25s; }
  .qabl-bar-2 .qabl-bar-fill { --target: 78%; background: #6a6b3a; animation-delay: 0.40s; }
  .qabl-bar-3 .qabl-bar-fill { --target: 77%; background: #7d3444; animation-delay: 0.55s; }
  @keyframes qablBarFill { to { width: var(--target); } }

  .qabl-task {
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, border-color 0.3s;
  }
  .project-card:hover .qabl-task {
    transform: translateX(2px);
    box-shadow: 0 4px 16px rgba(183,85,46,0.10);
    border-color: rgba(183,85,46,0.35);
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-typing-cursor {
      display: none;
      animation: none;
    }
  }

/* ============================
   ROUTE CARDS (Home only)
   Two large cards routing to /experience/ and /studio/
   ============================ */
.route-section {
  max-width: 1200px;
  margin: 4rem auto 5rem;
  padding: 0 2rem;
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.route-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  padding: 2.5rem 2.25rem 2.25rem;
  border-radius: 18px;
  background: #fafaf7;
  border: 1px solid #eaeae3;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.route-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.02) 100%);
  pointer-events: none;
}
.route-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  border-color: #d8d8d0;
}
.route-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b6b63;
  margin-bottom: 1.5rem;
}
.route-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  line-height: 1;
  margin-bottom: 0.85rem;
}
.route-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: #3a3a35;
  max-width: 38ch;
  margin-bottom: 1.75rem;
}
.route-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0a0a;
}
.route-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.route-card:hover .route-arrow {
  transform: translateX(6px);
}

/* Color accents per route */
.route-enterprise {
  background: linear-gradient(135deg, #f4f6fb 0%, #eaeef7 100%);
  border-color: #dde3ee;
}
.route-enterprise .route-eyebrow { color: #2a4675; }
.route-enterprise:hover { border-color: #c4cee0; }

.route-studio {
  background: linear-gradient(135deg, #fbf6ee 0%, #f5ecdb 100%);
  border-color: #ece2cd;
}
.route-studio .route-eyebrow { color: #8a5a1f; }
.route-studio:hover { border-color: #ddd0b5; }

@media (max-width: 720px) {
  .route-grid { grid-template-columns: 1fr; gap: 1rem; }
  .route-section { margin: 2.5rem auto 3rem; padding: 0 1.25rem; }
  .route-card { padding: 2rem 1.5rem 1.75rem; min-height: 220px; }
  .route-title { font-size: 2rem; }
  .route-desc { font-size: 0.95rem; }
}

/* Active nav indicator */
nav .nav-links a[aria-current="page"] {
  color: #0a0a0a;
  font-weight: 700;
  border-bottom: 2px solid #0a0a0a;
  padding-bottom: 2px;
}
