/* ============================================================
   styles.css — All styles merged
   base · nav · hero · sections · pages · components
   Font sizes in px · Colors in hex
   ============================================================ */


    /* ─── Design Tokens ─────────────────────────────────────────── */
    :root {
      /* Backgrounds */
      --bg: #ffffff;
      --bg2: #f8f8f6;
      --bg3: #f0f0ee;

      /* Surfaces */
      --surface: #00000008;
      --surface2: #0000000f;

      /* Borders */
      --border: #00000014;
      --border2: #00000024;

      /* Text */
      --text: #0a0a0f;
      --text2: #5a5a66;
      --text3: #9a9aa8;
      --text4: #d0d0d8;

      /* Accent */
      --accent: #0a0a0f;
      --accent2: #2a2a3a;
      --accent3: #4a4a5a;
      --accent-glow: #0a0a0f26;
      --accent-glow2: #0a0a0f14;

      /* Brand */
      --teal: var(--accent);

      /* Floating nav */
      --nav-text: #0a0a0f;
      --nav-text2: rgba(10, 10, 15, 0.55);
      --nav-avatar-bg: #0a0a0f;
      --nav-avatar-text: #ffffff;
      --nav-cta-bg: #0a0a0f;
      --nav-cta-text: #ffffff;
      --nav-link-hover-bg: rgba(10, 10, 15, 0.06);
      --nav-link-active-bg: #282828;

      /* Radii */
      --r-sm: 8px;
      --r-md: 12px;
      --r-lg: 16px;
      --r-xl: 24px;

      /* Shadows */
      --shadow: 0 2px 16px #0000000f;
      --shadow2: 0 1px 8px #0000000a;

      /* Transition */
      --tr: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

      /* Typography */
      --font-body: 'Inter', system-ui, -apple-system, sans-serif;
      --font-display: 'Inter', system-ui, -apple-system, sans-serif;
      --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    }

    /* Dark theme overrides */
    [data-theme="dark"] {
      --bg: #0a0a0f;
      --bg2: #111118;
      --bg3: #16161f;

      --surface: #ffffff0a;
      --surface2: #ffffff12;

      --border: #ffffff14;
      --border2: #ffffff24;

      --text: #f0f0f5;
      --text2: #9896a0;
      --text3: #5e5c68;
      --text4: #3d3b48;

      --accent: #f0f0f5;
      --accent2: #d0d0d8;
      --accent3: #b0b0b8;
      --accent-glow: #ffffff26;
      --accent-glow2: #ffffff14;

      --shadow: 0 2px 16px #0000004d;
      --shadow2: 0 1px 8px #00000033;

      --nav-text: #0a0a0f;
      --nav-text2: rgba(10, 10, 15, 0.55);
      --nav-avatar-bg: #0a0a0f;
      --nav-avatar-text: #ffffff;
      --nav-cta-bg: #0a0a0f;
      --nav-cta-text: #ffffff;
      --nav-link-hover-bg: rgba(10, 10, 15, 0.06);
      --nav-link-active-bg: rgba(10, 10, 15, 0.1);
    }


    /* ─── Reset ──────────────────────────────────────────────────── */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      overflow-x: clip;
      max-width: 100%;
    }

    body {
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: clip;
      transition: background var(--tr), color var(--tr);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    ul {
      list-style: none;
    }

    button {
      cursor: pointer;
      border: none;
      background: none;
      font-family: inherit;
    }


    /* ─── Scrollbar ──────────────────────────────────────────────── */
    ::-webkit-scrollbar {
      width: 4px;
    }

    ::-webkit-scrollbar-track {
      background: var(--bg);
    }

    ::-webkit-scrollbar-thumb {
      background: var(--text3);
      border-radius: 2px;
    }


    /* ─── Page system ────────────────────────────────────────────── */
    .page {
      min-height: 100vh;
      display: none;
      background: var(--bg);
    }

    .page.active {
      display: block;
    }

    /* Vertical swipe transition: outgoing page slides up and out while the
   incoming page slides in from the bottom, both with a subtle fade. */
    .page.h-outgoing,
    .page.h-incoming {
      position: fixed;
      inset: 0;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.6s ease;
    }

    .page.h-outgoing {
      z-index: 490;
      transform: translateY(0);
      opacity: 1;
    }

    .page.h-outgoing.h-outgoing-active {
      transform: translateY(-6%);
      opacity: 0;
    }

    .page.h-incoming {
      z-index: 500;
      transform: translateY(100%);
      opacity: 0;
    }

    .page.h-incoming.h-incoming-active {
      transform: translateY(0);
      opacity: 1;
    }


    /* ─── Layout helpers ─────────────────────────────────────────── */
    section {
      padding: 100px 0;
    }

    .container {
      max-width: 100%;
      margin: 0 auto;
      padding: 0 180px;
    }
    
    .projects-page-container {
      max-width: 1200px !important;
      padding: 0 40px !important;
      margin: 0 auto;
    }

    @media (max-width: 1024px) {
      .container {
        padding: 0 48px;
      }
    }

    @media (max-width: 768px) {
      section {
        padding: 64px 0;
      }

      .container {
        padding: 0 24px;
      }
    }


    /* ─── Section atoms ──────────────────────────────────────────── */
    .section-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      border-radius: 100px;
      background: var(--surface);
      border: 1px solid var(--border);
      font-size: 13px;
      font-weight: 500;
      color: var(--text2);
      margin-bottom: 24px;
      width: fit-content;
    }

    .section-title {
      font-family: var(--font-display);
      font-size: clamp(32px, 4vw, 56px);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -0.04em;
      color: var(--text);
      margin-bottom: 20px;
    }

    .section-subtitle {
      font-size: 17px;
      color: var(--text2);
      max-width: 520px;
      line-height: 1.7;
      text-align: justify;
    }


    /* ─── Surface variants ───────────────────────────────────────── */
    .section-surface,
    .section-surface.alt {
      position: relative;
      background-image:
        linear-gradient(#00000008 1px, transparent 1px),
        linear-gradient(90deg, #00000008 1px, transparent 1px);
      background-size: 80px 80px;
      background-attachment: fixed;
    }

    .section-surface {
      background-color: var(--bg);
    }

    .section-surface.alt {
      background-color: var(--bg2);
    }

    [data-theme="dark"] .section-surface {
      background-color: var(--bg);
    }

    [data-theme="dark"] .section-surface.alt {
      background-color: var(--bg2);
    }

    [data-theme="dark"] .section-surface,
    [data-theme="dark"] .section-surface.alt {
      background-image:
        linear-gradient(#ffffff06 1px, transparent 1px),
        linear-gradient(90deg, #ffffff06 1px, transparent 1px);
    }

    /* (per-section grid overlay removed — using single page-wide grid via body::before) */

    .section-surface .container {
      position: relative;
      z-index: 1;
    }


    /* ─── Buttons ────────────────────────────────────────────────── */
    .btn-primary {
      padding: 14px 32px;
      background: var(--text);
      color: var(--bg);
      border-radius: 100px;
      font-size: 14px;
      font-weight: 600;
      transition: all var(--tr);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-primary:hover {
      opacity: 0.8;
      transform: translateY(-2px);
    }

    .btn-secondary {
      padding: 14px 32px;
      color: var(--text);
      border-radius: 100px;
      font-size: 14px;
      font-weight: 600;
      border: 1.5px solid var(--border2);
      background: transparent;
      transition: all var(--tr);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-secondary:hover {
      background: var(--surface);
      transform: translateY(-2px);
    }


    /* ─── Badge dot ──────────────────────────────────────────────── */
    .badge-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
        transform: scale(1);
      }

      50% {
        opacity: 0.5;
        transform: scale(1.4);
      }
    }


    /* ─── Skeleton loader ────────────────────────────────────────── */
    .skeleton {
      background: linear-gradient(90deg,
          var(--surface) 25%,
          var(--surface2) 50%,
          var(--surface) 75%);
      background-size: 200% 100%;
      animation: shimmer 1.5s infinite;
      border-radius: var(--r-md);
    }

    @keyframes shimmer {
      0% {
        background-position: 200% 0;
      }

      100% {
        background-position: -200% 0;
      }
    }


    /* ─── Scroll-reveal ──────────────────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-delay-1 {
      transition-delay: 0.1s;
    }

    .reveal-delay-2 {
      transition-delay: 0.2s;
    }

    .reveal-delay-3 {
      transition-delay: 0.3s;
    }

    .reveal-delay-4 {
      transition-delay: 0.4s;
    }


    /* ─── Toast ──────────────────────────────────────────────────── */
    .toast {
      position: fixed;
      bottom: 32px;
      right: 32px;
      z-index: 9999;
      padding: 14px 24px;
      background: var(--bg2);
      border: 1px solid var(--border2);
      border-radius: var(--r-md);
      color: var(--text);
      font-size: 14px;
      font-weight: 500;
      box-shadow: var(--shadow);
      transform: translateY(100px);
      opacity: 0;
      transition: all var(--tr);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .toast.show {
      transform: translateY(0);
      opacity: 1;
    }

    .toast.success {
      border-color: var(--teal);
      color: var(--teal);
    }

    .toast.error {
      border-color: #f87171;
      color: #f87171;
    }


    /* ─── View-all link ──────────────────────────────────────────── */
    .view-all-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
      transition: all var(--tr);
      cursor: pointer;
      padding: 9px 22px;
      border: 1.5px solid var(--border2);
      border-radius: 100px;
    }

    [data-theme="dark"] .view-all-link {
      color: var(--text);
      border-color: var(--border2);
      background: var(--surface);
    }

    .view-all-link:hover {
      gap: 12px;
      border-color: var(--text);
    }


    /* ─── Social links ───────────────────────────────────────────── */
    .social-links {
      display: flex;
      gap: 12px;
    }

    .social-link {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--surface);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text2);
      font-size: 14px;
      transition: all var(--tr);
    }

    .social-link:hover {
      background: var(--text);
      color: var(--bg);
      border-color: var(--text);
      box-shadow: 0 0 16px var(--accent-glow);
    }


    /* ─── Reduced motion ─────────────────────────────────────────── */
    @media (prefers-reduced-motion: reduce) {
      * {
        animation: none !important;
        transition: none !important;
      }
    }


    /* ============================================================
   NAV
   ============================================================ */

    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      display: flex;
      justify-content: center;
      padding: 18px 24px 0;
      background: transparent;
      border-bottom: none;
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-inner {
      position: relative;
      width: 100%;
      max-width: 880px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 8px 10px 8px 8px;
      border-radius: 20px;
      background: #ffffff;
      border: 1px solid rgba(10, 10, 15, 0.08);
      box-shadow:
        0 12px 32px rgba(20, 20, 30, 0.12),
        0 2px 6px rgba(20, 20, 30, 0.06);
      transition: box-shadow var(--tr), border-color var(--tr);
    }

    @media (max-width: 768px) {
      nav {
        padding: 14px 16px 0;
      }

      .nav-inner {
        height: 56px;
        padding: 6px 8px;
        border-radius: 16px;
      }
    }

    .nav-logo {
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 700;
      letter-spacing: -0.01em;
      cursor: pointer;
      color: var(--nav-text);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    #main-nav .nav-logo::before {
      display: none;
    }

    .nav-logo-avatar {
      width: 40px;
      height: 40px;
      flex-shrink: 0;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--nav-avatar-bg);
      border: 1px solid rgba(128, 128, 128, 0.25);
      color: var(--nav-avatar-text);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .nav-logo-text {
      white-space: nowrap;
      color: var(--nav-text);
    }

    @media (max-width: 560px) {
      .nav-logo-text {
        display: none;
      }
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .nav-links a {
      font-size: 13px;
      font-weight: 600;
      color: var(--nav-text2);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      cursor: pointer;
      position: relative;
      padding: 8px 16px;
      border-radius: 10px;
      background: transparent;
      transition: color var(--tr), background var(--tr);
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--nav-text);
      background: var(--nav-link-hover-bg);
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .nav-cta {
      padding: 10px 22px;
      background: var(--nav-cta-bg);
      color: var(--nav-cta-text);
      border-radius: 100px;
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      transition: all var(--tr);
    }

    .nav-cta:hover {
      opacity: 0.85;
      transform: translateY(-1px);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 4px;
      padding: 10px;
      border-radius: 10px;
    }

    .hamburger span {
      display: block;
      width: 20px;
      height: 2px;
      background: var(--nav-text2);
      border-radius: 2px;
      transition: all var(--tr);
    }

    .mobile-nav {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 999;
      background: var(--bg);
      padding: 96px 32px 48px;
      flex-direction: column;
      gap: 0;
    }

    .mobile-nav.open {
      display: flex;
    }

    .mobile-nav a {
      font-size: 20px;
      font-weight: 600;
      color: var(--text2);
      padding: 16px 0;
      border-bottom: 1px solid var(--border);
      cursor: pointer;
      transition: color var(--tr);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .mobile-nav a:hover {
      color: var(--text);
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }

      .nav-cta {
        display: none;
      }

      .hamburger {
        display: flex;
      }
    }


    /* ============================================================
   HERO
   ============================================================ */

    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      overflow: hidden;
      padding-top: 88px;
      padding-bottom: 0;
      background-color: var(--bg);
      background-image:
        linear-gradient(#00000008 1px, transparent 1px),
        linear-gradient(90deg, #00000008 1px, transparent 1px);
      background-size: 80px 80px;
      background-attachment: fixed;
    }

    [data-theme="dark"] .hero {
      background-image:
        linear-gradient(#ffffff06 1px, transparent 1px),
        linear-gradient(90deg, #ffffff06 1px, transparent 1px);
    }

    /* (grid overlay applied directly on section backgrounds with fixed attachment for a single continuous page-wide grid) */
    .page,
    .hero,
    .section-surface {
      position: relative;
      z-index: 1;
    }

    .hero-ticker {
      position: absolute;
      top: 88px;
      left: 0;
      right: 0;
      z-index: 2;
      background: var(--bg);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 10px 0;
      overflow: hidden;
      white-space: nowrap;
    }

    .hero-ticker-track {
      display: inline-flex;
      gap: 0;
      animation: ticker 40s linear infinite;
    }

    @keyframes ticker {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    .ticker-item {
      display: inline-flex;
      align-items: center;
      gap: 0;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .ticker-dev {
      color: var(--text);
      padding: 0 24px;
    }

    .ticker-des {
      color: var(--text);
      font-style: italic;
      font-weight: 700;
      padding: 0 24px;
    }

    .ticker-sep {
      width: 32px;
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 24px 48px 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    @media (max-width: 768px) {
      .hero-inner {
        padding: 48px 24px 32px;
      }

      .hero-title {
        font-size: 32px;
      }
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      border-radius: 100px;
      background: var(--surface);
      border: 1px solid var(--border);
      font-size: 13px;
      font-weight: 500;
      color: var(--text2);
      width: fit-content;
    }

    .hero-title {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 38px;
      font-weight: 800;
      line-height: 1.35;
      letter-spacing: -0.03em;
      color: var(--text);
      margin-bottom: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 18px;
      width: 100%;
      max-width: 980px;
    }

    .hero-title .accent {
      color: var(--text2);
      -webkit-text-fill-color: var(--text2);
      background: none;
    }

    [data-theme="dark"] .hero-title .accent {
      color: var(--text2);
      -webkit-text-fill-color: var(--text2);
    }

    .hero-desc {
      font-size: 15px;
      color: var(--text2);
      max-width: 480px;
      line-height: 1.6;
      margin-top: 18px;
      margin-bottom: 16px;
      text-align: justify;
    }

    .hero-answer {
      background: var(--text);
      border-radius: var(--r-lg);
      padding: 22px 26px;
      max-width: 500px;
      margin-top: 28px;
      margin-bottom: 32px;
    }

    .hero-answer-label {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--bg);
      opacity: 0.55;
      margin-bottom: 8px;
    }

    .hero-answer-text {
      font-size: 16px;
      font-weight: 700;
      line-height: 1.5;
      letter-spacing: -0.01em;
      color: var(--bg);
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      justify-content: center;
    }

    /* ─── Hero client-logo carousel ─────────────────────────────── */
    .hero-logos-strip {
      position: relative;
      margin-top: 40px;
      z-index: 2;
      padding: 16px 0;
      border-top: 1px solid var(--border);
      background: var(--bg);
      overflow: hidden;
      white-space: nowrap;
    }

    .hero-logos-track {
      display: inline-flex;
      align-items: center;
      gap: 72px;
      animation: heroLogosScroll 26s linear infinite;
    }

    .hero-logos-track img {
      height: 28px;
      width: auto;
      display: block;
      filter: grayscale(1);
      opacity: 0.55;
      transition: opacity 0.25s ease, filter 0.25s ease;
    }

    .hero-logos-track img:hover {
      filter: grayscale(0);
      opacity: 1;
    }

    @keyframes heroLogosScroll {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    @media (max-width: 640px) {
      .hero-logos-track img {
        height: 22px;
      }

      .hero-logos-track {
        gap: 48px;
      }
    }

    .hero-content-full {
      flex: 1 1 auto;
      max-width: 1000px;
      min-width: 0;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 52px;
    }

    .hero-numbers {
      display: flex;
      width: 100%;
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      overflow: hidden;
      max-width: 560px;
      margin: 0;
      background: var(--surface);
    }

    .hero-number-tab {
      flex: 1;
      padding: 20px 18px;
      text-align: center;
      border-right: 1px solid var(--border);
      transition: background 0.3s ease;
    }

    .hero-number-tab:last-child {
      border-right: none;
    }

    .hero-number-tab:hover {
      background: var(--bg2);
    }

    .hero-number-value {
      font-family: 'Inter', sans-serif;
      font-size: 30px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.02em;
      line-height: 1;
    }

    .hero-number-label {
      font-size: 11px;
      color: var(--text3);
      font-weight: 500;
      margin-top: 8px;
      letter-spacing: 0.03em;
      line-height: 1.4;
    }

    @media (max-width: 640px) {
      .hero-numbers {
        flex-direction: column;
        max-width: 100%;
      }

      .hero-number-tab {
        border-right: none;
        border-bottom: 1px solid var(--border);
        text-align: left;
        display: flex;
        align-items: baseline;
        gap: 10px;
        padding: 14px 18px;
      }

      .hero-number-tab:last-child {
        border-bottom: none;
      }

      .hero-number-value {
        font-size: 22px;
      }

      .hero-number-label {
        margin-top: 0;
      }
    }

    /* ─── Hero floating tool icons ──────────────────────────────── */
    .hero-float-col {
      position: absolute;
      top: 50%;
      transform: translateY(calc(-50% + 40px));
      width: 150px;
      height: 620px;
      z-index: 0;
      pointer-events: none;
    }

    .hero-float-col.left {
      left: 50px;
    }

    .hero-float-col.right {
      right: 50px;
    }

    .hero-float-line {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }

    .hero-float-line path {
      fill: none;
      stroke: var(--border2);
      stroke-width: 1.5;
      stroke-dasharray: 4 6;
    }

    .float-icon {
      position: absolute;
      width: 50px;
      height: 50px;
      border-radius: 16px;
      background: #ffffff;
      border: 1px solid rgba(0, 0, 0, 0.08);
      box-shadow:
        0 12px 24px -6px rgba(0, 0, 0, 0.1),
        0 4px 8px -2px rgba(0, 0, 0, 0.05);
      display: flex;
      align-items: center;
      justify-content: center;
      animation: floatBob 5s ease-in-out infinite;
    }

    .float-icon::before {
      display: none;
    }

    .float-icon svg {
      width: 24px;
      height: 24px;
      display: block;
    }

    .float-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 16px;
      display: block;
      filter: drop-shadow(0 3px 4px #00000060);
      position: relative;
      z-index: 1;
    }

    .float-icon .glyph-text {
      font-family: var(--font-mono, monospace);
      font-weight: 700;
      font-size: 13px;
      letter-spacing: -0.02em;
      line-height: 1;
    }

    @keyframes floatBob {

      0%,
      100% {
        transform: rotate(var(--tilt, 0deg)) translateY(0);
      }

      50% {
        transform: rotate(var(--tilt, 0deg)) translateY(-14px);
      }
    }

    @media (max-width: 1300px) {
      .hero-float-col {
        display: none;
      }
    }

    .scroll-indicator {
      position: absolute;
      bottom: 40px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      color: var(--text3);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .scroll-mouse {
      width: 22px;
      height: 34px;
      border: 1.5px solid var(--border2);
      border-radius: 11px;
      position: relative;
    }

    .scroll-mouse::after {
      content: "";
      position: absolute;
      top: 6px;
      left: 50%;
      transform: translateX(-50%);
      width: 3px;
      height: 6px;
      background: var(--text3);
      border-radius: 2px;
      animation: scrollWheel 1.8s ease-in-out infinite;
    }

    @keyframes scrollWheel {
      0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
      }

      80% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
      }

      100% {
        opacity: 0;
      }
    }


    /* ============================================================
   SECTIONS (Home: specialties, process, testimonials, CTA, footer)
   ============================================================ */

    .featured-heading {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 56px;
    }

    /* ─── Specialties ────────────────────────────────────────────── */
    /* .specialties-section background now controlled by .section-surface / .alt */

    .specialties-header {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: end;
      margin-bottom: 56px;
    }

    @media (max-width: 768px) {
      .specialties-header {
        grid-template-columns: 1fr;
        gap: 24px;
      }
    }

    .specialties-title-block .section-eyebrow {
      color: var(--text3);
    }

    .specialties-big-title {
      font-family: 'Inter', sans-serif;
      font-size: clamp(38px, 4.5vw, 61px);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -0.03em;
      color: var(--text);
      display: inline-flex;
      align-items: center;
      gap: 16px;
    }

    .specialties-desc {
      font-size: 16px;
      color: var(--text2);
      line-height: 1.75;
      max-width: 420px;
      align-self: end;
    }

    /* ─── What I Do Best — Portfolio card grid ───────────────────── */
    .services-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-top: 56px;
    }

    .services-grid-bottom {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 0;
    }

    @media (max-width: 900px) {
      .services-grid {
        grid-template-columns: 1fr;
      }

      .services-grid-bottom {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 560px) {
      .services-grid-bottom {
        grid-template-columns: 1fr;
      }
    }

    .service-card {
      background: var(--bg2);
      border-radius: 20px;
      border: 1.5px solid var(--border);
      overflow: hidden;
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: pointer;
    }

    [data-theme="dark"] .service-card {
      background: var(--bg3);
      border-color: var(--border);
    }

    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 60px #00000012, 0 4px 16px #00000008;
      border-color: var(--border2);
    }

    [data-theme="dark"] .service-card:hover {
      box-shadow: 0 20px 60px #00000050, 0 4px 16px #00000030;
    }

    .service-card-body {
      padding: 24px 24px 16px;
    }

    .service-card-title {
      font-size: 17px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 6px;
      letter-spacing: -0.02em;
    }

    .service-card-desc {
      font-size: 13px;
      color: var(--text2);
      line-height: 1.65;
    }

    .service-card-img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      display: block;
      margin-top: 16px;
      border-radius: 12px 12px 0 0;
      background: var(--bg3);
    }

    .service-card-img-sm {
      width: 100%;
      height: 180px;
      object-fit: cover;
      display: block;
      margin-top: 16px;
      border-radius: 12px 12px 0 0;
      background: var(--bg3);
    }

    /* Tall variant for top row */
    .service-card.tall .service-card-img {
      height: 240px;
    }

    /* ─── What I Make ─────────────────────────────────────────────── */
    .make-track {
      position: relative;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 40px;
      margin-top: 64px;
    }

    .make-track::before {
      content: "";
      position: absolute;
      left: 33px;
      right: 33px;
      top: 33px;
      height: 0;
      border-top: 1.5px dashed var(--border2);
      z-index: 0;
    }

    .make-node {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 22px;
    }

    .make-node-icon {
      width: 66px;
      height: 66px;
      flex-shrink: 0;
      border-radius: 50%;
      background: var(--bg);
      border: 1.5px solid var(--border2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text2);
      transition: all var(--tr);
    }

    .make-node-icon svg {
      width: 28px;
      height: 28px;
      overflow: visible;
    }

    .make-node-icon svg * {
      transform-box: fill-box;
    }

    /* ── Icon 1 · App & Web Design ───────────────────────────────
   A browser and a phone screen "pop" apart on hover, then the
   phone gets tapped — showing the same design working across
   both surfaces. */
    .icon-appweb .i-browser {
      transform-origin: center;
      transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .icon-appweb .i-browser-bar {
      transition: opacity 0.25s ease;
    }

    .icon-appweb .i-phone {
      transform-origin: center;
      transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s;
    }

    .icon-appweb .i-tap {
      transform-origin: center;
      opacity: 0;
      transform: scale(0);
    }

    .make-node:hover .icon-appweb .i-browser {
      transform: translate(-1.5px, -1px) scale(0.94);
    }

    .make-node:hover .icon-appweb .i-phone {
      transform: translate(1.5px, 1.5px) scale(1.06);
    }

    .make-node:hover .icon-appweb .i-tap {
      animation: tapRipple 0.65s ease-out 0.2s;
    }

    @keyframes tapRipple {
      0% {
        opacity: 0.9;
        transform: scale(0);
      }

      60% {
        opacity: 0.35;
      }

      100% {
        opacity: 0;
        transform: scale(2.8);
      }
    }

    /* ── Icon 2 · Websites ────────────────────────────────────────
   The top bar loads, then the copy lines "type in" left-to-right
   and the image block fades in — a page assembling itself. */
    .icon-website .i-topbar {
      transform-origin: left center;
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }

    .icon-website .i-line {
      transform-origin: left center;
      transform: scaleX(0);
      transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1) 0.22s;
    }

    .icon-website .i-line2 {
      transition-delay: 0.32s;
    }

    .icon-website .i-img {
      transform-origin: center;
      opacity: 0;
      transform: scale(0.5);
      transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s, opacity 0.3s ease 0.4s;
    }

    .make-node:hover .icon-website .i-topbar {
      transform: scaleX(1);
    }

    .make-node:hover .icon-website .i-line {
      transform: scaleX(1);
    }

    .make-node:hover .icon-website .i-img {
      opacity: 1;
      transform: scale(1);
    }

    /* ── Icon 3 · Business Platforms ─────────────────────────────
   The header label draws in, then the bars climb up one after
   another like a live dashboard chart updating. */
    .icon-dashboard .i-header {
      transform-origin: left center;
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }

    .icon-dashboard .i-bar {
      transform-origin: bottom center;
      transform: scaleY(0);
      transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .icon-dashboard .i-bar1 {
      transition-delay: 0.12s;
    }

    .icon-dashboard .i-bar2 {
      transition-delay: 0.2s;
    }

    .icon-dashboard .i-bar3 {
      transition-delay: 0.28s;
    }

    .make-node:hover .icon-dashboard .i-header {
      transform: scaleX(1);
    }

    .make-node:hover .icon-dashboard .i-bar {
      transform: scaleY(1);
    }

    /* ── Icon 4 · Branding & Design Systems ──────────────────────
   Three loose shapes drift in from different directions and
   settle into place — separate tokens forming one system. */
    .icon-brand .i-square {
      transform-origin: center;
      transform: translate(-4px, 3px) rotate(-20deg) scale(0.6);
      opacity: 0.4;
      transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    }

    .icon-brand .i-circle {
      transform-origin: center;
      transform: translateY(-6px) scale(0.6);
      opacity: 0.4;
      transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s, opacity 0.3s ease 0.08s;
    }

    .icon-brand .i-triangle {
      transform-origin: center;
      transform: translate(5px, 3px) scale(0.6);
      opacity: 0.4;
      transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.16s, opacity 0.3s ease 0.16s;
    }

    .make-node:hover .icon-brand .i-square,
    .make-node:hover .icon-brand .i-circle,
    .make-node:hover .icon-brand .i-triangle {
      transform: translate(0, 0) rotate(0) scale(1);
      opacity: 1;
    }

    .make-node:hover .make-node-icon {
      border-color: var(--accent);
      color: var(--bg);
      background: var(--accent);
      transform: translateY(-4px);
    }

    .make-node-index {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.08em;
      color: var(--text3);
    }

    .make-node-title {
      font-family: var(--font-display);
      font-size: 17px;
      font-weight: 800;
      letter-spacing: -0.015em;
      color: var(--text);
      white-space: nowrap;
    }

    .make-node-desc {
      font-size: 12.5px;
      line-height: 1.65;
      color: var(--text2);
      max-width: 165px;
    }

    @media (max-width: 900px) {
      .make-track {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 32px;
        row-gap: 56px;
      }

      .make-track::before {
        display: none;
      }
    }

    @media (max-width: 560px) {
      .make-track {
        grid-template-columns: 1fr;
        row-gap: 44px;
      }

      .make-node-title {
        white-space: normal;
      }
    }


    /* ─── Design Process (Sprint Panel) ─────────────────────────────────────── */
    .sprint-shell {
      display: grid;
      grid-template-columns: 300px 1fr;
      margin-top: 56px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--r-xl);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    @media (max-width: 860px) {
      .sprint-shell {
        grid-template-columns: 1fr;
      }
    }

    /* Sidebar */
    .sprint-sidebar {
      padding: 28px 20px;
      border-right: 1px solid var(--border);
      background: var(--bg2);
    }

    @media (max-width: 860px) {
      .sprint-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border);
      }
    }

    .sprint-sidebar-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 4px 8px 20px;
    }

    .sprint-brand {
      font-family: var(--font-display);
      font-size: 19px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.01em;
    }

    .sprint-brand-icon {
      width: 30px;
      height: 30px;
      border-radius: 8px;
      display: grid;
      place-items: center;
      color: var(--text3);
    }

    .sprint-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .sprint-item {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      padding: 14px 16px;
      border-radius: var(--r-md);
      border: 1px solid transparent;
      background: transparent;
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 600;
      color: var(--text2);
      text-align: left;
      cursor: pointer;
      transition: all var(--tr);
    }

    .sprint-item:hover {
      background: var(--surface);
      color: var(--text);
    }

    .sprint-item.active {
      background: var(--bg);
      border-color: var(--border2);
      color: var(--text);
      box-shadow: var(--shadow2);
    }

    .sprint-dot {
      width: 9px;
      height: 9px;
      min-width: 9px;
      border-radius: 50%;
      background: var(--dot, var(--text));
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot, var(--text)) 18%, transparent);
    }

    /* Content pane */
    .sprint-content {
      padding: 36px;
    }

    @media (max-width: 640px) {
      .sprint-content {
        padding: 24px;
      }
    }

    .sprint-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.08em;
      color: var(--text3);
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .sprint-card {
      position: relative;
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      padding: 32px;
      margin-bottom: 24px;
    }

    .sprint-card-corner {
      position: absolute;
      width: 18px;
      height: 18px;
      border: 2px solid var(--dot, var(--text));
      opacity: 0.55;
    }

    .sprint-card-corner.tl {
      top: -9px;
      left: -9px;
      border-right: none;
      border-bottom: none;
    }

    .sprint-card-corner.tr {
      top: -9px;
      right: -9px;
      border-left: none;
      border-bottom: none;
    }

    .sprint-card-corner.bl {
      bottom: -9px;
      left: -9px;
      border-right: none;
      border-top: none;
    }

    .sprint-card-corner.br {
      bottom: -9px;
      right: -9px;
      border-left: none;
      border-top: none;
    }

    .sprint-card-title {
      font-family: var(--font-display);
      font-size: 28px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.01em;
      margin-bottom: 16px;
    }

    .sprint-card-desc {
      font-family: var(--font-mono);
      font-size: 13px;
      font-weight: 400;
      line-height: 1.85;
      letter-spacing: 0.01em;
      color: var(--text2);
      text-transform: uppercase;
    }

    .sprint-image {
      position: relative;
      border-radius: var(--r-lg);
      overflow: hidden;
      aspect-ratio: 16 / 9;
      border: 1px solid var(--border);
      background: var(--bg3);
    }

    .sprint-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sprint-image:hover img {
      transform: scale(1.04);
    }

    .sprint-image-tag {
      position: absolute;
      left: 16px;
      bottom: 16px;
      padding: 6px 12px;
      border-radius: 999px;
      background: #0a0a0fcc;
      -webkit-backdrop-filter: blur(6px);
      backdrop-filter: blur(6px);
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #fff;
    }

    /* ─── What Clients Say / Testimonials ───────────────────────────── */
    .pv-section {
      overflow: hidden;
    }

    .pv-layout {
      display: grid;
      grid-template-columns: 360px 1fr;
      gap: 40px;
      align-items: center;
    }

    @media (max-width: 1024px) {
      .pv-layout {
        grid-template-columns: 1fr;
        gap: 32px;
      }
    }

    .pv-intro-sub {
      font-size: 16px;
      color: var(--text2);
      line-height: 1.75;
      max-width: 420px;
      margin-bottom: 28px;
      text-align: justify;
    }

    .pv-add-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      background: var(--text);
      color: var(--bg);
      border-radius: 100px;
      font-size: 14px;
      font-weight: 700;
      transition: all var(--tr);
    }

    .pv-add-btn:hover {
      background: var(--accent2);
      box-shadow: 0 0 24px var(--accent-glow);
      transform: translateY(-2px);
    }

    .pv-viewport {
      overflow: hidden;
    }

    .pv-track {
      display: flex;
      gap: 24px;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .pv-card {
      flex: 0 0 380px;
      width: 380px;
      min-width: 0;
      display: grid;
      grid-template-columns: 30% 70%;
      border-radius: var(--r-xl);
      overflow: hidden;
      height: 260px;
      border: 1.5px solid var(--border);
    }

    @media (max-width: 1024px) {
      .pv-card {
        flex: 0 0 100%;
        width: 100%;
        grid-template-columns: 30% 70%;
        height: 220px;
      }
    }

    @media (max-width: 640px) {
      .pv-card {
        grid-template-columns: 1fr;
        height: auto;
      }
    }

    .pv-photo {
      position: relative;
      height: 100%;
    }

    .pv-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .pv-photo .pv-initial {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-size: 64px;
      font-weight: 800;
      color: #ffffff;
    }

    .pv-content {
      padding: 28px 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background: var(--bg2);
    }

    .pv-content-quote {
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 600;
      line-height: 1.6;
      color: var(--text);
      letter-spacing: -0.01em;
      display: -webkit-box;
      -webkit-line-clamp: 5;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .pv-stars {
      color: var(--accent2);
      font-size: 14px;
      margin-bottom: 14px;
      letter-spacing: 2px;
    }

    .pv-meta {
      margin-top: 12px;
    }

    .pv-meta-name {
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 2px;
    }

    .pv-meta-role {
      font-size: 12px;
      color: var(--text3);
    }

    .pv-controls {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 32px;
    }

    .pv-arrow {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--bg2);
      border: 1.5px solid var(--border2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text);
      transition: all var(--tr);
      cursor: pointer;
    }

    .pv-arrow:hover {
      background: var(--text);
      color: var(--bg);
      border-color: var(--text);
    }

    .pv-arrow:disabled {
      opacity: 0.35;
      cursor: not-allowed;
    }

    .pv-arrow:disabled:hover {
      background: var(--bg2);
      color: var(--text);
      border-color: var(--border2);
    }

    .pv-dots {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-left: 8px;
    }

    .pv-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--border2);
      transition: all var(--tr);
      cursor: pointer;
    }

    .pv-dot.active {
      background: var(--text);
      width: 24px;
      border-radius: 4px;
    }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 56px;
    }

    @media (max-width: 900px) {
      .testimonials-grid {
        grid-template-columns: 1fr;
      }
    }

    .testimonial-card {
      background: var(--bg);
      border-radius: var(--r-lg);
      padding: 32px;
      border: 1.5px solid var(--border);
      cursor: default;
      width: 530px;
      max-width: 100%;
    }

    [data-theme="dark"] .testimonial-card {
      background: var(--bg3);
      border-color: var(--border);
    }

    .testimonial-quote {
      font-size: 15px;
      color: var(--text2);
      line-height: 1.75;
      margin-bottom: 24px;
      font-style: italic;
    }

    .testimonial-quote::before {
      content: "C";
      font-family: var(--font-display);
      font-size: 48px;
      font-weight: 800;
      color: var(--text4);
      line-height: 1;
      display: block;
      margin-bottom: 8px;
    }

    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .testimonial-avatar {
      width: 40%;
      height: auto;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      font-weight: 700;
      color: #ffffff;
      flex-shrink: 0;
    }

    .testimonial-name {
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
    }

    .testimonial-role {
      font-size: 12px;
      color: var(--text3);
    }

    /* ─── CTA section ────────────────────────────────────────────── */
    .cta-section {
      background: var(--text);
      border-radius: var(--r-xl);
      padding: 80px 64px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    [data-theme="dark"] .cta-section {
      background: #0d0d14;
      border: 1px solid var(--border);
    }

    @media (max-width: 768px) {
      .cta-section {
        padding: 48px 32px;
      }
    }

    .cta-section::before {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(ellipse 50% 50% at 50% 50%, #ffffff14, transparent 70%);
    }

    .cta-title {
      font-family: var(--font-display);
      font-size: clamp(32px, 4vw, 48px);
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--bg);
      margin-bottom: 16px;
      position: relative;
    }

    .cta-desc {
      font-size: 17px;
      color: #ffffff99;
      max-width: 480px;
      margin: 0 auto 40px;
      position: relative;
    }

    .cta-actions {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      position: relative;
    }

    .cta-section .section-eyebrow {
      color: #ffffff99;
      background: #ffffff14;
      border: 1px solid #ffffff26;
      padding: 8px 18px;
      border-radius: 100px;
      margin-bottom: 28px;
    }

    .cta-section .btn-primary {
      background: var(--bg);
      color: var(--text);
    }

    .cta-section .btn-primary:hover {
      background: #ffffff;
      color: var(--text);
      opacity: 1;
      box-shadow: 0 8px 32px #00000033;
    }

    .cta-section .btn-secondary {
      color: var(--bg);
      border-color: #ffffff40;
      background: #ffffff0a;
    }

    .cta-section .btn-secondary:hover {
      background: #ffffff14;
    }

    /* ─── Agent-style CTA card (fixed light palette, both themes) ──── */
    .acta-card {
      background: #ffffff;
      border-radius: 24px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
      padding: 56px 64px;
      position: relative;
      overflow: hidden;
      flex-wrap: wrap;
    }

    .acta-text {
      flex: 1 1 320px;
      position: relative;
      z-index: 10;
    }

    .acta-title {
      font-family: var(--font-display);
      font-size: clamp(26px, 3vw, 36px);
      font-weight: 700;
      color: #111827;
      letter-spacing: -0.02em;
      line-height: 1.15;
      margin: 0 0 14px 0;
    }

    .acta-desc {
      font-size: 16px;
      line-height: 1.6;
      color: #6b7280;
      max-width: 440px;
      margin: 0 0 32px 0;
    }

    .acta-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .acta-btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 26px;
      background: #111827;
      border: 1px solid #111827;
      border-radius: 12px;
      font-size: 14.5px;
      font-weight: 600;
      color: #ffffff;
      cursor: pointer;
      transition: transform 0.2s, opacity 0.2s;
    }

    .acta-btn-primary:hover {
      opacity: 0.85;
      transform: translateY(-2px);
    }

    .acta-btn-secondary {
      display: inline-flex;
      align-items: center;
      padding: 13px 26px;
      background: #ffffff;
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      font-size: 14.5px;
      font-weight: 600;
      color: #111827;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
      cursor: pointer;
      transition: background-color 0.2s, transform 0.2s;
    }

    .acta-btn-secondary:hover {
      background: #f9fafb;
      transform: translateY(-2px);
    }

    .acta-visual {
      position: relative;
      width: 460px;
      height: 330px;
      flex-shrink: 0;
      z-index: 5;
    }

    .acta-visual-inner {
      position: absolute;
      inset: 0;
      transform: rotate(-13deg) translate(34px, 54px);
      transform-origin: 50% 50%;
    }

    .acta-ring {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border: 1px solid #eeeff4;
      box-sizing: border-box;
    }

    .acta-ring-1 {
      width: 140px;
      height: 140px;
      border-radius: 40px;
    }

    .acta-ring-2 {
      width: 260px;
      height: 260px;
      border-radius: 80px;
    }

    .acta-ring-3 {
      width: 380px;
      height: 380px;
      border-radius: 120px;
    }

    .acta-ring-4 {
      width: 500px;
      height: 500px;
      border-radius: 160px;
    }

    .acta-hub {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 104px;
      height: 104px;
      background: #212134;
      border-radius: 24px;
      box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.3), 0 12px 24px rgba(0, 0, 0, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
    }

    .acta-hub-grid {
      display: grid;
      grid-template-columns: 24px 24px;
      grid-template-rows: 24px 24px;
      gap: 6px;
    }

    .acta-hub-box {
      border: 3px solid #7853ff;
      border-radius: 6px;
      box-sizing: border-box;
    }

    .acta-hub-plus {
      position: relative;
    }

    .acta-hub-plus::before,
    .acta-hub-plus::after {
      content: "";
      position: absolute;
      background: #7853ff;
      border-radius: 2px;
    }

    .acta-hub-plus::before {
      top: 10.5px;
      left: 0;
      width: 24px;
      height: 3px;
    }

    .acta-hub-plus::after {
      left: 10.5px;
      top: 0;
      width: 3px;
      height: 24px;
    }

    .acta-fi {
      position: absolute;
      top: 50%;
      left: 50%;
      background: #ffffff;
      border-radius: 12px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
      display: flex;
      align-items: center;
      justify-content: center;
      transform: translate(-50%, -50%);
      z-index: 5;
    }

    .acta-fi-code {
      padding: 6px;
    }

    .acta-fi-telegram {
      padding: 10px;
      border-radius: 14px;
    }

    .acta-fi-burst {
      padding: 8px;
    }

    .acta-fi-whatsapp {
      padding: 8px;
      border-radius: 12px;
    }

    .acta-fi-cross {
      padding: 8px;
    }

    /* ─── Footer bottom-center social CTA stack ─────────────────────── */
    .acta-fi-css {
      padding: 8px;
    }

    .footer-cta-stack {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 18px;
      margin: 0 0 40px;
    }

    .fcs-icons {
      display: flex;
      align-items: center;
      gap: 18px;
      background: #1a1a1d;
      padding: 18px;
      border-radius: 24px;
    }

    .fcs-icon {
      width: 54px;
      height: 54px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), z-index 0s;
      position: relative;
    }

    .fcs-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .fcs-linkedin {
      background: #17171c;
      color: #ffffff;
    }

    .fcs-call {
      background: #17171c;
      color: #ffffff;
    }

    .fcs-behance {
      background: #1769ff;
      color: #ffffff;
    }

    .fcs-resume {
      background: #f97316;
      color: #ffffff;
    }

    .fcs-email {
      background: #ffffff;
      border: 1px solid #ffffff20;
    }

    .fcs-icon:hover {
      transform: translateY(-8px) scale(1.08);
      z-index: 6;
    }

    @media (max-width: 480px) {
      .fcs-icons {
        gap: 12px;
        padding: 12px;
        border-radius: 18px;
      }

      .fcs-icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
      }
    }

    .fcs-message {
      background: #17171c;
      color: #ffffff;
      font-size: 14px;
      font-weight: 700;
      padding: 12px 26px;
      border-radius: 100px;
      box-shadow: none;
      opacity: 0;
      transform: translateY(-6px) scale(0.94);
      transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
      pointer-events: none;
      white-space: nowrap;
    }

    .fcs-message.show {
      opacity: 1;
      transform: translateY(0) scale(1);
    }



    .acta-fi img {
      display: block;
      object-fit: contain;
    }

    .acta-cursor {
      position: absolute;
      top: 50%;
      left: 50%;
      margin: 36px 0 0 40px;
      z-index: 20;
      pointer-events: none;
    }

    @media (max-width: 980px) {
      .acta-visual {
        display: none;
      }

      .acta-card {
        justify-content: center;
        padding: 48px 36px;
      }

      .acta-text {
        flex: 1 1 100%;
        text-align: center;
      }

      .acta-actions {
        justify-content: center;
      }

      .acta-desc {
        margin-left: auto;
        margin-right: auto;
      }
    }

    @media (max-width: 560px) {
      .acta-card {
        padding: 40px 24px;
      }

      .acta-actions {
        flex-direction: column;
        width: 100%;
      }

      .acta-btn-primary,
      .acta-btn-secondary {
        justify-content: center;
        width: 100%;
      }
    }


    footer {
      border-top: 1px solid #ffffff1a;
      padding: 60px 0 32px;
      margin-top: 70px;
      background: #000000;
    }

    [data-theme="dark"] footer {
      background: #000000;
    }

    footer .nav-logo,
    footer .nav-logo::before,
    footer .footer-copyright,
    footer .footer-bottom>div:last-child {
      color: #f5f5f8;
    }

    footer .nav-logo::before {
      background: #f5f5f8;
    }

    footer .footer-brand-desc,
    footer .footer-col-title,
    footer .footer-copyright {
      color: #9a9aa5;
    }

    footer .footer-links a,
    footer .footer-links span {
      color: #cfcfd8;
    }

    footer .footer-links a:hover {
      color: #ffffff;
    }

    footer .social-link {
      background: #ffffff0d;
      border-color: #ffffff1f;
      color: #cfcfd8;
    }

    footer .social-link:hover {
      background: #ffffff;
      color: #000000;
      border-color: #ffffff;
      box-shadow: none;
    }

    footer .footer-bottom {
      border-top: 1px solid #ffffff1a;
    }

    .footer-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 40px;
      margin-bottom: 48px;
    }

    .footer-inner .social-links {
      justify-content: center;
      margin-top: 4px;
    }

    .footer-brand-desc {
      font-size: 14px;
      color: var(--text3);
      line-height: 1.7;
      margin-top: 4px;
      max-width: 360px;
      margin-left: auto;
      margin-right: auto;
    }

    .footer-col-title {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text3);
      margin-bottom: 0;
      margin-top: 12px;
    }

    .footer-links {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px 32px;
    }

    .footer-links a,
    .footer-links span {
      font-size: 14px;
      color: var(--text2);
      cursor: pointer;
      transition: color var(--tr);
    }

    .footer-links a:hover {
      color: var(--text);
    }

    .footer-bottom {
      border-top: 1px solid var(--border);
      padding-top: 24px;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      text-align: left;
      gap: 16px;
    }

    .footer-copyright {
      font-size: 13px;
      color: var(--text3);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .footer-copyright-sym {
      cursor: default;
      user-select: none;
    }


    /* ============================================================
   PAGES (About, Projects, Project Detail, Contact)
   ============================================================ */

    /* ─── About page (redesigned: editorial masthead style) ─────────── */
    .about-hero {
      padding: 150px 0 70px;
      background: var(--bg);
      position: relative;
      overflow: hidden;
    }

    .about-hero::before {
      content: 'ABOUT';
      position: absolute;
      top: 6%;
      right: -2%;
      font-family: var(--font-display);
      font-size: clamp(120px, 18vw, 300px);
      font-weight: 900;
      letter-spacing: -0.05em;
      color: var(--text);
      opacity: 0.035;
      line-height: 1;
      pointer-events: none;
      z-index: 0;
      user-select: none;
    }

    [data-theme="dark"] .about-hero::before {
      opacity: 0.05;
    }

    .about-intro {
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: 72px;
      align-items: start;
    }

    @media (max-width: 900px) {
      .about-intro {
        grid-template-columns: 1fr;
        gap: 48px;
      }
    }

    .about-img {
      width: 100%;
      max-width: 340px;
      aspect-ratio: 3 / 4;
      border-radius: 4px;
      background: linear-gradient(160deg, #1a1a2e 0%, #2d2b50 100%);
      border: none;
      overflow: hidden;
      display: flex;
      align-items: stretch;
      position: relative;
      filter: grayscale(0.25) contrast(1.05);
    }

    .about-img-placeholder {
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #1a1a2e 0%, #2d2b50 50%, #1a1a2e 100%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 16px;
    }

    .about-avatar-large {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--text), var(--text2));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 48px;
      font-weight: 800;
      color: var(--bg);
      box-shadow: 0 0 40px var(--accent-glow);
    }

    .about-img-wrap {
      position: relative;
      display: flex;
      justify-content: flex-start;
      padding: 15px;
    }

    /* ─── About redesign: framed portrait with corner brackets ──────── */
    .about-img-ring {
      position: absolute;
      pointer-events: none;
      z-index: -1;
      border: none;
    }

    .about-img-ring.r1,
    .about-img-ring.r2 {
      display: none;
    }

    .about-img-wrap .framed-card-corner {
      border-color: var(--text);
      width: 20px;
      height: 20px;
    }

    .about-img-dot {
      position: absolute;
      bottom: 4px;
      left: -14px;
      width: auto;
      height: auto;
      border-radius: 100px;
      background: var(--text);
      color: var(--bg);
      display: flex;
      align-items: baseline;
      justify-content: center;
      flex-direction: row;
      gap: 6px;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 16px;
      line-height: 1.1;
      text-align: center;
      padding: 10px 18px;
      box-shadow: 0 10px 30px #00000024;
      transform: rotate(-3deg);
    }

    .about-img-dot span {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      opacity: 0.75;
    }

    .node-card {
      background: var(--bg);
      border-radius: var(--r-lg);
      padding: 28px 26px;
      border: 1.5px solid transparent;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
    }

    [data-theme="dark"] .node-card {
      background: var(--bg3);
      border-color: var(--border);
    }

    .node-card:hover {
      border-color: var(--text);
      transform: translateY(-6px);
      box-shadow: 0 16px 48px #00000014, 0 0 0 1px #0000000f;
    }

    .node-card-index {
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 700;
      color: var(--text3);
      letter-spacing: 0.08em;
      margin-bottom: 14px;
    }

    .node-card-title {
      font-size: 16px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 4px;
    }

    .node-card-sub {
      font-size: 13px;
      color: var(--text3);
      margin-bottom: 10px;
    }

    .node-card-text {
      font-size: 14px;
      color: var(--text2);
      line-height: 1.7;
    }

    .circle-icon {
      width: 52px;
      height: 52px;
      flex-shrink: 0;
      border-radius: 50%;
      background: var(--bg);
      border: 1.5px solid var(--border2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 19px;
      transition: all var(--tr);
    }

    .contact-item:hover .circle-icon,
    .contact-item-row:hover .circle-icon {
      border-color: var(--accent);
      background: var(--accent);
      color: var(--bg);
      transform: scale(1.06);
    }

    .framed-card {
      position: relative;
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      padding: 32px;
    }

    .framed-card-corner {
      position: absolute;
      width: 16px;
      height: 16px;
      border: 1.5px solid var(--text3);
    }

    .framed-card-corner.tl {
      top: -1px;
      left: -1px;
      border-right: none;
      border-bottom: none;
    }

    .framed-card-corner.tr {
      top: -1px;
      right: -1px;
      border-left: none;
      border-bottom: none;
    }

    .framed-card-corner.bl {
      bottom: -1px;
      left: -1px;
      border-right: none;
      border-top: none;
    }

    .framed-card-corner.br {
      bottom: -1px;
      right: -1px;
      border-left: none;
      border-top: none;
    }

    .philosophy-card summary::-webkit-details-marker {
      display: none;
    }

    .philosophy-card summary::marker {
      content: "";
    }

    .philosophy-card[open] summary span {
      transform: rotate(45deg);
      display: inline-block;
      transition: transform 0.2s;
    }

    /* ─── Contact page: FAQ accordion (vertical, single-column, v2) ──── */
    .faq-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-top: 56px;
      max-width: 100%;
    }

    .faq-item {
      border: 1.5px solid var(--border);
      border-radius: 16px;
      background: var(--bg);
      overflow: hidden;
      transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
      position: relative;
    }

    [data-theme="dark"] .faq-item {
      background: var(--bg2);
    }

    .faq-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      width: 3px;
      background: var(--teal);
      transform: scaleY(0);
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .faq-item:hover {
      border-color: var(--border2);
      box-shadow: 0 10px 28px #00000010;
    }

    [data-theme="dark"] .faq-item:hover {
      box-shadow: 0 10px 28px #00000030;
    }

    .faq-item[open] {
      border-color: var(--text);
      box-shadow: 0 16px 40px #00000014;
    }

    [data-theme="dark"] .faq-item[open] {
      box-shadow: 0 16px 40px #00000050;
    }

    .faq-item[open]::before {
      transform: scaleY(1);
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item summary::marker {
      content: "";
    }

    .faq-question {
      padding: 26px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      cursor: pointer;
      list-style: none;
    }

    .faq-question-text {
      font-size: 18px;
      font-weight: 700;
      color: var(--text);
      line-height: 1.4;
      display: flex;
      align-items: baseline;
      gap: 16px;
      transition: color 0.25s ease;
    }

    .faq-item:hover .faq-question-text {
      color: var(--text);
    }

    .faq-index {
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 800;
      color: var(--text4);
      letter-spacing: 0.04em;
      flex-shrink: 0;
      transition: color 0.3s ease;
    }

    .faq-item[open] .faq-index {
      color: var(--teal);
    }

    .faq-icon {
      position: relative;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 1.5px solid var(--border2);
      flex-shrink: 0;
      transition: border-color 0.3s ease, background 0.3s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .faq-item:hover .faq-icon {
      border-color: var(--teal);
    }

    .faq-icon::before,
    .faq-icon::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      background: var(--text);
      transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
    }

    .faq-icon::before {
      width: 11px;
      height: 1.5px;
      transform: translate(-50%, -50%);
    }

    .faq-icon::after {
      width: 1.5px;
      height: 11px;
      transform: translate(-50%, -50%);
    }

    .faq-item[open] .faq-icon {
      background: var(--teal);
      border-color: var(--teal);
      transform: rotate(180deg);
    }

    .faq-item[open] .faq-icon::before,
    .faq-item[open] .faq-icon::after {
      background: var(--bg);
    }

    .faq-item[open] .faq-icon::after {
      opacity: 0;
    }

    .faq-answer {
      padding: 0 28px 28px 28px;
      margin-left: 30px;
      color: var(--text2);
      font-size: 16px;
      font-weight: 450;
      line-height: 1.85;
      max-width: 660px;
      border-left: 1.5px solid var(--border);
      padding-left: 24px;
    }

    @media (max-width: 640px) {
      .faq-question {
        padding: 20px 20px;
        gap: 14px;
      }

      .faq-question-text {
        font-size: 16px;
        gap: 10px;
      }

      .faq-answer {
        padding: 0 20px 22px 20px;
        margin-left: 0;
        border-left: none;
        font-size: 15px;
      }
    }

    .about-img-badge {
      position: absolute;
      bottom: -16px;
      right: -16px;
      background: var(--bg);
      border: 1.5px solid transparent;
      border-radius: 16px;
      padding: 14px 18px;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 8px 24px #00000014;
    }

    [data-theme="dark"] .about-img-badge {
      background: var(--bg3);
      border-color: var(--border);
      box-shadow: none;
    }

    .about-story {
      font-size: 18px;
      color: var(--text2);
      line-height: 1.75;
      text-align: left;
    }

    .about-story:first-of-type::first-letter {
      font-family: var(--font-display);
      font-size: 52px;
      font-weight: 800;
      color: var(--text);
      float: left;
      line-height: 0.8;
      margin: 6px 6px 0 0;
    }

    .about-highlights {
      display: flex;
      flex-wrap: wrap;
      margin-top: 16px;
      border-top: 1px solid var(--border);
    }

    .highlight-item {
      background: none;
      border-radius: 0;
      padding: 18px 24px 18px 0;
      margin-right: 24px;
      border: none;
      border-bottom: 1px solid transparent;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      flex: 1 1 auto;
      min-width: 120px;
    }

    [data-theme="dark"] .highlight-item {
      background: none;
    }

    .highlight-item:hover {
      border-bottom-color: var(--text);
    }

    .highlight-item:hover .highlight-val {
      transform: translateX(4px);
      color: var(--teal);
    }

    .highlight-val {
      display: inline-block;
      font-family: var(--font-display);
      font-size: 30px;
      font-weight: 800;
      color: var(--text);
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
    }

    .highlight-label {
      font-size: 12px;
      color: var(--text3);
      margin-top: 6px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .timeline {
      position: relative;
      padding-left: 0;
      margin-top: 56px;
      display: flex;
      flex-direction: column;
    }

    .timeline-item {
      position: relative;
      background: none;
      border: none;
      border-radius: 0;
      border-bottom: 1px solid var(--border);
      padding: 30px 0;
      opacity: 0;
      transform: translateX(-16px);
      transition: opacity 0.5s ease, transform 0.5s ease, padding-left 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s;
      display: grid;
      grid-template-columns: 64px 1fr auto;
      align-items: baseline;
      gap: 20px;
      counter-increment: tl;
    }

    [data-theme="dark"] .timeline-item {
      background: none;
    }

    .timeline-item:hover {
      padding-left: 32px;
      background: #0a0a0a;
      box-shadow: none;
    }

    [data-theme="dark"] .timeline-item:hover {
      background: #000000;
    }

    .timeline-item:hover .timeline-date,
    .timeline-item:hover .timeline-title,
    .timeline-item:hover .timeline-company {
      color: #ffffff;
    }

    .timeline-item.visible {
      opacity: 1;
      transform: translateX(0);
    }

    .timeline-item::after {
      content: counter(tl, decimal-leading-zero);
      font-family: var(--font-display);
      font-size: 34px;
      font-weight: 800;
      color: var(--text4);
      order: -1;
      transition: color 0.3s;
    }

    .timeline-item:hover::after {
      color: #ffffff;
    }

    .timeline-date {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      color: var(--text3);
      font-family: var(--font-mono);
      grid-column: 3;
      text-align: right;
      transition: color 0.3s ease;
    }

    .timeline-title {
      font-size: 17px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 4px;
      grid-column: 2;
      transition: color 0.3s ease;
    }

    .timeline-company {
      font-size: 14px;
      color: var(--text2);
      grid-column: 2;
      transition: color 0.3s ease;
    }

    .timeline {
      counter-reset: tl;
    }

    /* ─── Toolkit: hairline grid, black-invert on hover ──────────────── */
    .tools-grid {
      margin-top: 56px;
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      overflow: visible;
      -webkit-mask-image: none;
      mask-image: none;
    }

    @media (max-width: 900px) {
      .tools-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 560px) {
      .tools-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .tools-track {
      display: contents;
    }

    .tools-group {
      display: contents;
    }

    .tools-group[aria-hidden="true"] {
      display: none;
    }

    .tool-item {
      background: var(--bg);
      border-radius: 0;
      padding: 30px 16px;
      border: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      flex: 0 0 auto;
      transition: background 0.25s ease, transform 0.25s ease;
    }

    .tool-item:hover {
      background: #0a0a0a;
      transform: translateY(-2px);
      z-index: 1;
      position: relative;
    }

    .tool-item:hover .tool-name {
      color: #ffffff;
    }

    .tool-item:hover .tool-icon {
      filter: brightness(1.1);
    }

    [data-theme="dark"] .tool-item {
      background: var(--bg2);
    }

    [data-theme="dark"] .tool-item:hover {
      background: #000000;
    }

    .tool-icon {
      font-size: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .tool-name {
      font-size: 12px;
      color: var(--text2);
      font-weight: 600;
      text-align: center;
      white-space: nowrap;
      transition: color 0.25s ease;
    }

    .philosophy-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 56px;
    }

    @media (max-width: 900px) {
      .philosophy-cards {
        grid-template-columns: 1fr;
      }
    }

    .philosophy-card {
      background: var(--bg);
      border-radius: var(--r-lg);
      padding: 32px;
      border: 1.5px solid transparent;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [data-theme="dark"] .philosophy-card {
      background: var(--bg3);
      border-color: var(--border);
    }

    .philosophy-card:hover {
      border-color: var(--text);
      transform: translateY(-6px);
      box-shadow: 0 16px 48px #00000014, 0 0 0 1px #0000000f;
    }

    [data-theme="dark"] .philosophy-card:hover {
      box-shadow: 0 16px 48px #0000004d, 0 0 0 1px #ffffff1a;
    }

    .philosophy-num {
      font-family: var(--font-display);
      font-size: 48px;
      font-weight: 800;
      color: var(--text4);
      line-height: 1;
      margin-bottom: 16px;
    }

    .philosophy-title {
      font-size: 17px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 10px;
    }

    .philosophy-text {
      font-size: 14px;
      color: var(--text2);
      line-height: 1.7;
    }

    /* ─── About: manifesto pull-quote (redesigned: editorial mark) ──── */
    .manifesto-section {
      padding: 110px 0;
      position: relative;
    }

    .manifesto-section .container {
      position: relative;
    }

    .manifesto-section .container::before {
      content: '“';
      position: absolute;
      top: -90px;
      left: -8px;
      font-family: var(--font-display);
      font-size: 260px;
      font-weight: 800;
      color: var(--text);
      opacity: 0.06;
      line-height: 1;
      pointer-events: none;
    }

    .manifesto-text {
      font-family: var(--font-display);
      font-size: clamp(28px, 4.4vw, 50px);
      font-weight: 700;
      line-height: 1.3;
      letter-spacing: -0.02em;
      color: var(--text);
      text-align: left;
      max-width: 780px;
      margin: 0 auto;
      padding-left: 32px;
      border-left: 3px solid var(--text);
    }

    .manifesto-text em {
      color: var(--text3);
      font-style: italic;
      font-weight: 500;
    }

    .manifesto-dim {
      color: var(--text4);
    }

    /* ─── About: hero scroll cue ──────────────────────────────────── */
    .about-scroll-cue {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 64px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text3);
    }

    .about-scroll-cue-line {
      width: 32px;
      height: 1px;
      background: var(--border2);
      position: relative;
      overflow: hidden;
    }

    .about-scroll-cue-line::after {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--text3);
      transform: translateX(-100%);
      animation: scrollCueSlide 1.8s ease-in-out infinite;
    }

    @keyframes scrollCueSlide {
      0% {
        transform: translateX(-100%);
      }

      50% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(100%);
      }
    }

    /* ─── About: "Right Now" section — rows invert to black on hover ── */
    .now-section .section-title {
      font-size: clamp(40px, 5.6vw, 68px);
    }

    .now-grid {
      display: flex;
      flex-direction: column;
      margin-top: 56px;
      max-width: 100%;
      border-top: 1px solid var(--border);
    }

    .now-card {
      background: none;
      border: none;
      border-bottom: 1px solid var(--border);
      border-radius: 0;
      padding: 26px 20px;
      margin: 0 -20px;
      display: grid;
      grid-template-columns: 130px 1fr;
      gap: 20px;
      align-items: baseline;
      transition: background 0.25s ease, padding-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [data-theme="dark"] .now-card {
      background: none;
    }

    .now-card:hover {
      background: var(--surface);
      padding-left: 14px;
    }

    [data-theme="dark"] .now-card:hover {
      background: var(--surface);
    }

    .now-card-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text3);
      margin-bottom: 0;
      font-family: var(--font-mono);
      transition: color 0.25s ease;
      grid-column: 1;
      grid-row: 1;
    }

    .now-card-label::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--text3);
      flex-shrink: 0;
      transition: background 0.25s ease;
    }

    .now-card-body {
      font-size: 18px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 4px;
      transition: color 0.25s ease;
      grid-column: 2;
      grid-row: 1;
    }

    .now-card-sub {
      font-size: 16px;
      color: var(--text3);
      transition: color 0.25s ease;
      grid-column: 2;
      grid-row: 2;
      max-width: 380px;
      line-height: 1.5;
    }

    @media (max-width: 640px) {
      .now-card {
        grid-template-columns: 1fr;
        gap: 6px;
        margin: 0;
      }

      .now-card:hover {
        padding-left: 20px;
      }

      .now-card-label,
      .now-card-body,
      .now-card-sub {
        grid-column: 1;
        max-width: none;
      }
    }

    /* ─── About: flip cards ("Beyond the Screen") ──────────────────── */
    .flip-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 56px;
    }

    @media (max-width: 900px) {
      .flip-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 560px) {
      .flip-grid {
        grid-template-columns: 1fr;
      }
    }

    .flip-card {
      perspective: 1200px;
      height: 180px;
      cursor: pointer;
      outline: none;
    }

    .flip-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      text-align: center;
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
      transform-style: preserve-3d;
    }

    .flip-card:hover .flip-card-inner,
    .flip-card:focus-visible .flip-card-inner {
      transform: rotateY(180deg);
    }

    .flip-card-face {
      position: absolute;
      inset: 0;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      border-radius: var(--r-lg);
      border: 1.5px solid var(--border);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .flip-card-front {
      background: var(--bg);
      gap: 12px;
    }

    [data-theme="dark"] .flip-card-front {
      background: var(--bg3);
    }

    .flip-card-icon {
      font-size: 34px;
      line-height: 1;
    }

    .flip-card-label {
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
    }

    .flip-card-back {
      background: var(--text);
      color: var(--bg);
      transform: rotateY(180deg);
      border-color: var(--text);
    }

    .flip-card-back-text {
      font-size: 14px;
      line-height: 1.6;
      font-weight: 500;
    }


    /* ─── Projects page ──────────────────────────────────────────── */
    .projects-page-hero {
      padding: 160px 0 60px;
      background: var(--bg);
      position: relative;
      overflow: hidden;
    }

    .projects-page-hero::before {
      content: 'WORK';
      position: absolute;
      top: 4%;
      right: -2%;
      font-family: var(--font-display);
      font-size: clamp(100px, 16vw, 260px);
      font-weight: 900;
      letter-spacing: -0.05em;
      color: var(--text);
      opacity: 0.035;
      line-height: 1;
      pointer-events: none;
      z-index: 0;
      user-select: none;
    }

    [data-theme="dark"] .projects-page-hero::before {
      opacity: 0.05;
    }

    .filter-bar {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: var(--surface2);
      border-radius: 12px;
      padding: 6px;
      margin-bottom: 40px;
    }

    .filter-btn {
      padding: 10px 24px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      background: transparent;
      border: none;
      color: var(--text2);
      transition: all var(--tr);
      cursor: pointer;
    }

    .filter-btn:hover {
      color: var(--text);
    }

    .filter-btn.active {
      background: var(--bg);
      color: var(--text);
      box-shadow: var(--shadow2);
    }

    .search-input-wrap {
      flex: 1;
      position: relative;
      max-width: 400px;
    }

    .search-input {
      width: 100%;
      padding: 12px 16px 12px 44px;
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 100px;
      color: var(--text);
      font-size: 14px;
      transition: all var(--tr);
      outline: none;
      font-family: var(--font-body);
    }

    .search-input:focus {
      border-color: var(--text2);
    }

    .search-icon {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text3);
      pointer-events: none;
    }

    .no-projects {
      text-align: center;
      padding: 80px 0;
      color: var(--text2);
      grid-column: 1 / -1;
    }

    /* ─── Project Detail page ────────────────────────────────────── */
    .project-detail-hero {
      padding: 140px 0 56px;
      background: var(--bg);
      background-image:
        linear-gradient(#00000008 1px, transparent 1px),
        linear-gradient(90deg, #00000008 1px, transparent 1px);
      background-size: 80px 80px;
      background-attachment: fixed;
      position: relative;
      overflow: hidden;
    }

    [data-theme="dark"] .project-detail-hero {
      background: var(--bg);
    }

    [data-theme="dark"] .project-detail-hero {
      background-image:
        linear-gradient(#ffffff06 1px, transparent 1px),
        linear-gradient(90deg, #ffffff06 1px, transparent 1px);
    }

    .project-back {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text3);
      margin-bottom: 28px;
      cursor: pointer;
      transition: all var(--tr);
      padding: 8px 16px;
      border: 1px solid var(--border);
      border-radius: 100px;
      background: var(--surface);
    }

    .project-back:hover {
      color: var(--text);
      border-color: var(--text2);
      background: var(--surface2);
    }

    /* Detail hero two-col layout */
    .detail-hero-layout {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 64px;
      align-items: start;
    }

    @media (max-width: 900px) {
      .detail-hero-layout {
        grid-template-columns: 1fr;
        gap: 32px;
      }
    }

    .project-detail-title {
      font-family: var(--font-display);
      font-size: clamp(32px, 4.5vw, 60px);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -0.04em;
      margin-bottom: 20px;
      color: var(--text);
    }

    .project-detail-tagline {
      font-size: 17px;
      color: var(--text2);
      line-height: 1.7;
      max-width: 560px;
      margin-bottom: 32px;
    }

    /* Meta card on right */
    .detail-meta-card {
      background: var(--bg2);
      border: 1.5px solid var(--border);
      border-radius: var(--r-xl);
      padding: 28px 24px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    [data-theme="dark"] .detail-meta-card {
      background: var(--bg3);
    }

    .detail-meta-row {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .detail-meta-row+.detail-meta-row {
      padding-top: 20px;
      border-top: 1px solid var(--border);
    }

    .project-meta {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 40px;
    }

    .project-meta-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .project-meta-item+.project-meta-item {
      padding-top: 16px;
      border-top: 1px solid var(--border);
    }

    .project-meta-label {
      font-size: 11px;
      color: var(--text3);
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .project-meta-value {
      font-size: 14px;
      color: var(--text);
      font-weight: 600;
    }

    /* Outcome metrics strip */
    .detail-outcomes {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      border: 1.5px solid var(--border);
      border-radius: var(--r-xl);
      overflow: hidden;
      margin: 48px 0;
    }

    @media (max-width: 640px) {
      .detail-outcomes {
        grid-template-columns: 1fr;
      }
    }

    .detail-outcome-item {
      padding: 28px 24px;
      border-right: 1px solid var(--border);
      background: var(--bg2);
      transition: background var(--tr);
    }

    [data-theme="dark"] .detail-outcome-item {
      background: var(--bg3);
    }

    .detail-outcome-item:last-child {
      border-right: none;
    }

    .detail-outcome-item:hover {
      background: var(--surface2);
    }

    .detail-outcome-val {
      font-family: var(--font-display);
      font-size: 36px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.04em;
      line-height: 1;
      margin-bottom: 6px;
    }

    .detail-outcome-label {
      font-size: 13px;
      color: var(--text2);
      font-weight: 500;
      line-height: 1.4;
    }

    /* Cover image */
    .project-cover {
      width: 100%;
      height: 520px;
      border-radius: var(--r-xl);
      background: var(--bg2);
      border: 1.5px solid var(--border);
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 48px 0;
    }

    .project-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Two-col detail body layout */
    .detail-body-grid {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 56px;
      align-items: start;
      margin-top: 0;
    }

    @media (max-width: 900px) {
      .detail-body-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }

    .detail-sidebar {
      position: sticky;
      top: 88px;
    }

    .detail-sidebar-card {
      background: var(--bg2);
      border: 1.5px solid var(--border);
      border-radius: var(--r-xl);
      padding: 24px;
      margin-bottom: 20px;
    }

    [data-theme="dark"] .detail-sidebar-card {
      background: var(--bg3);
    }

    .detail-sidebar-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text3);
      margin-bottom: 12px;
    }

    .detail-sidebar-value {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      line-height: 1.5;
    }

    .detail-section {
      margin-bottom: 56px;
    }

    .detail-section-title {
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 800;
      margin-bottom: 18px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 10px;
      letter-spacing: -0.02em;
    }

    .detail-section-title::before {
      content: "";
      width: 3px;
      height: 20px;
      background: var(--text);
      border-radius: 2px;
      flex-shrink: 0;
    }

    .detail-text {
      font-size: 15px;
      color: var(--text2);
      line-height: 1.85;
    }

    .detail-text p+p {
      margin-top: 14px;
    }

    /* Challenges / approach two-col */
    .detail-two-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-top: 4px;
    }

    @media (max-width: 640px) {
      .detail-two-col {
        grid-template-columns: 1fr;
      }
    }

    .detail-highlight-box {
      background: var(--bg2);
      border: 1.5px solid var(--border);
      border-radius: var(--r-lg);
      padding: 24px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [data-theme="dark"] .detail-highlight-box {
      background: var(--bg3);
    }

    .detail-highlight-box:hover {
      border-color: var(--text);
      transform: translateY(-4px);
    }

    .detail-highlight-box-icon {
      font-size: 26px;
      margin-bottom: 10px;
    }

    .detail-highlight-box-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 8px;
    }

    .detail-highlight-box-text {
      font-size: 13px;
      color: var(--text2);
      line-height: 1.65;
    }

    /* Process steps inline */
    .detail-process-steps {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 4px;
    }

    .detail-process-step {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 20px;
      border: 1.5px solid var(--border);
      border-radius: var(--r-lg);
      background: var(--bg2);
      transition: all 0.25s ease;
    }

    [data-theme="dark"] .detail-process-step {
      background: var(--bg3);
    }

    .detail-process-step:hover {
      border-color: var(--text2);
      transform: translateX(4px);
    }

    .detail-process-step-num {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--text);
      color: var(--bg);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 800;
      flex-shrink: 0;
    }

    .detail-process-step-content {}

    .detail-process-step-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 4px;
    }

    .detail-process-step-desc {
      font-size: 13px;
      color: var(--text2);
      line-height: 1.6;
    }

    /* Feedback blockquote */
    .detail-feedback-block {
      border-left: 3px solid var(--text);
      padding: 20px 24px;
      background: var(--bg2);
      border-radius: 0 var(--r-md) var(--r-md) 0;
      margin-top: 4px;
    }

    [data-theme="dark"] .detail-feedback-block {
      background: var(--bg3);
    }

    .detail-feedback-quote {
      font-size: 16px;
      font-style: italic;
      color: var(--text);
      line-height: 1.75;
      font-weight: 500;
      margin-bottom: 14px;
    }

    .detail-feedback-author {
      font-size: 13px;
      color: var(--text3);
      font-weight: 600;
    }

    /* Gallery */
    .project-gallery {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin-top: 4px;
    }

    .gallery-item {
      border-radius: var(--r-md);
      overflow: hidden;
      background: var(--bg2);
      border: 1px solid var(--border);
      aspect-ratio: 16 / 9;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 40px;
      cursor: zoom-in;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .gallery-item:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Lightbox — light themed, shows the full, uncropped image at full quality */
    .lightbox-overlay {
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: rgba(250, 250, 248, 0.92);
      backdrop-filter: blur(6px);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 40px 24px;
      opacity: 0;
      transition: opacity 0.25s ease;
    }

    .lightbox-overlay.open {
      display: flex;
      opacity: 1;
    }

    .lightbox-figure {
      position: relative;
      max-width: 92vw;
      max-height: 90vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .lightbox-figure img {
      max-width: 92vw;
      max-height: 90vh;
      width: auto;
      height: auto;
      object-fit: contain;
      image-rendering: -webkit-optimize-contrast;
      border-radius: 12px;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
      background: #fff;
    }

    .lightbox-close {
      position: absolute;
      top: -18px;
      right: -18px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #fff;
      border: 1px solid rgba(0, 0, 0, 0.08);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      color: #111;
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .lightbox-close:hover {
      transform: scale(1.08);
    }

    @media (max-width: 640px) {
      .lightbox-close {
        top: -14px;
        right: 4px;
      }
    }

    .tech-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
    }

    .tech-chip {
      padding: 6px 16px;
      background: var(--surface);
      border: 1px solid var(--border2);
      border-radius: 100px;
      font-size: 13px;
      color: var(--text2);
      font-weight: 500;
    }

    .external-links {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-top: 24px;
    }

    .ext-link {
      padding: 10px 20px;
      border-radius: 100px;
      background: var(--surface);
      border: 1px solid var(--border2);
      color: var(--text2);
      font-size: 14px;
      font-weight: 600;
      transition: all var(--tr);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .ext-link:hover {
      color: var(--text);
      border-color: var(--text);
      background: var(--surface2);
    }

    /* ─── Contact page ───────────────────────────────────────────── */
    .contact-hero {
      padding: 160px 0 60px;
      background: var(--bg);
      position: relative;
      overflow: hidden;
    }

    .contact-hero::before {
      content: 'CONTACT';
      position: absolute;
      top: 4%;
      right: -3%;
      font-family: var(--font-display);
      font-size: clamp(100px, 16vw, 260px);
      font-weight: 900;
      letter-spacing: -0.05em;
      color: var(--text);
      opacity: 0.035;
      line-height: 1;
      pointer-events: none;
      z-index: 0;
      user-select: none;
    }

    [data-theme="dark"] .contact-hero::before {
      opacity: 0.05;
    }

    /* ─── Contact: form (left) + image (right) split ─────────────── */
    .contact-split {
      display: grid;
      grid-template-columns: 1.3fr 1fr;
      gap: 64px;
      align-items: stretch;
      margin-top: 48px;
    }

    @media (max-width: 900px) {
      .contact-split {
        grid-template-columns: 1fr;
        gap: 40px;
      }

      .contact-side-img {
        order: -1;
      }
    }

    .contact-side-img {
      display: flex;
      justify-content: center;
    }

    .contact-side-img .about-img-wrap {
      display: flex;
      width: 100%;
    }

    .contact-side-img .about-img {
      max-width: 440px;
      width: 100%;
      height: 100%;
      aspect-ratio: auto;
    }

    @media (max-width: 900px) {
      .contact-side-img .about-img {
        max-width: 100%;
        aspect-ratio: 4 / 3;
        height: auto;
      }
    }

    /* ─── Contact: detail strip with small decorative marks ──────── */
    .contact-detail-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      margin-top: 72px;
      position: relative;
    }

    @media (max-width: 900px) {
      .contact-detail-strip {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 560px) {
      .contact-detail-strip {
        grid-template-columns: 1fr;
      }
    }

    .contact-detail-cell {
      background: var(--bg);
      padding: 32px 28px;
      position: relative;
      transition: background 0.25s ease;
    }

    [data-theme="dark"] .contact-detail-cell {
      background: var(--bg2);
    }

    .contact-detail-cell:hover {
      background: #0a0a0a;
    }

    [data-theme="dark"] .contact-detail-cell:hover {
      background: #000000;
    }

    .contact-detail-cell:hover .contact-item-label,
    .contact-detail-cell:hover .contact-item-value,
    .contact-detail-cell:hover .contact-detail-index {
      color: #ffffff;
    }

    .contact-detail-cell:hover .contact-detail-mark {
      background: #ffffff;
    }

    .contact-detail-mark {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--text);
      margin-bottom: 20px;
      transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease;
    }

    .contact-detail-cell:hover .contact-detail-mark {
      width: 40px;
    }

    .contact-detail-index {
      position: absolute;
      top: 22px;
      right: 22px;
      font-family: var(--font-display);
      font-size: 11px;
      font-weight: 800;
      color: var(--text4);
      letter-spacing: 0.04em;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 16px;
      border-bottom: 1px solid var(--border);
      padding: 22px 4px;
      margin: 0 -4px;
      transition: background 0.25s ease, padding-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .contact-item:hover {
      background: #0a0a0a;
      padding-left: 20px;
    }

    [data-theme="dark"] .contact-item:hover {
      background: #000000;
    }

    .contact-item:hover .contact-item-label,
    .contact-item:hover .contact-item-value {
      color: #ffffff;
    }

    .circle-icon {
      display: none;
    }

    .contact-item-icon {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: var(--bg2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

    [data-theme="dark"] .contact-item-icon {
      background: var(--surface2);
    }

    .contact-item-label {
      font-size: 11px;
      color: var(--text3);
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 6px;
      font-family: var(--font-mono);
      transition: color 0.25s ease;
    }

    .contact-item-value {
      font-size: 17px;
      color: var(--text);
      font-weight: 800;
      transition: color 0.25s ease;
    }

    .contact-form {
      background: transparent;
      border-radius: 0;
      padding: 40px 0;
      border: none;
      display: flex;
      flex-direction: column;
    }

    [data-theme="dark"] .contact-form {
      background: transparent;
      border-color: transparent;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    @media (max-width: 600px) {
      .form-row {
        grid-template-columns: 1fr;
      }
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 24px;
    }

    .form-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--text3);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-family: var(--font-mono);
    }

    .form-input,
    .form-textarea,
    .form-select {
      padding: 10px 2px;
      background: transparent;
      border: none;
      border-bottom: 1.5px solid var(--border);
      border-radius: 0;
      color: var(--text);
      font-size: 16px;
      font-weight: 600;
      transition: border-color var(--tr);
      outline: none;
      -webkit-appearance: none;
      font-family: var(--font-body);
    }

    [data-theme="dark"] .form-input,
    [data-theme="dark"] .form-textarea,
    [data-theme="dark"] .form-select {
      background: transparent;
      border-color: var(--border);
    }

    .form-input:focus,
    .form-textarea:focus,
    .form-select:focus {
      border-color: var(--text);
      box-shadow: none;
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
      color: var(--text4);
      font-weight: 500;
    }

    .form-textarea {
      resize: none;
      min-height: 100px;
      flex: 1;
    }

    .form-group.message-group {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .form-group.message-group .form-textarea {
      flex: 1;
    }

    .form-submit {
      width: 100%;
      padding: 18px;
      background: var(--text);
      color: var(--bg);
      border-radius: 4px;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.02em;
      transition: all var(--tr);
      margin-top: 8px;
      font-family: var(--font-body);
    }

    .form-submit:hover {
      background: #0a0a0a;
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 12px 30px #00000024;
    }

    [data-theme="dark"] .form-submit:hover {
      background: #000000;
    }

    .form-error {
      font-size: 12px;
      color: #f87171;
      margin-top: 4px;
      display: none;
    }

    .form-success {
      display: none;
      padding: 16px;
      background: var(--surface2);
      border: 1px solid var(--border2);
      border-radius: var(--r-sm);
      color: var(--accent);
      font-size: 14px;
      text-align: center;
      margin-top: 12px;
    }


    /* ============================================================
   COMPONENTS (Project card grid)
   ============================================================ */

    .projects-list {
      display: flex;
      flex-direction: column;
      gap: 64px;
    }

    /* ─── Editorial project card ─────────────────────────────── */
    .proj-entry {
      cursor: pointer;
      border-radius: var(--r-xl);
      overflow: hidden;
      border: 1.5px solid var(--border);
      background: var(--bg);
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    [data-theme="dark"] .proj-entry {
      background: var(--bg2);
    }

    .proj-entry:hover {
      border-color: var(--text2);
      box-shadow: 0 20px 60px #00000012;
    }

    [data-theme="dark"] .proj-entry:hover {
      box-shadow: 0 20px 60px #00000050;
    }

    /* header strip */
    .proj-entry-header {
      padding: 32px 36px 20px;
      border-bottom: 1px solid var(--border);
    }

    .proj-entry-logo-row {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 12px;
    }

    .proj-entry-logo-box {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: var(--text);
      color: var(--bg);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 17px;
      font-weight: 900;
      flex-shrink: 0;
    }

    .proj-entry-title {
      font-size: clamp(20px, 2.5vw, 28px);
      font-weight: 900;
      letter-spacing: -0.02em;
      text-transform: uppercase;
      color: var(--text);
      line-height: 1.1;
    }

    .proj-entry-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 20px;
    }

    .proj-entry-tag {
      padding: 6px 14px;
      border-radius: 100px;
      font-size: 11px;
      font-weight: 600;
      background: #eff6ff;
      color: #3b82f6;
      border: none;
    }

    [data-theme="dark"] .proj-entry-tag {
      background: #1e3a8a33;
      color: #60a5fa;
    }

    /* two-col desc */
    .proj-entry-desc-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    @media (max-width: 640px) {
      .proj-entry-desc-row {
        grid-template-columns: 1fr;
        gap: 12px;
      }
    }

    .proj-entry-desc-col-label {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text3);
      margin-bottom: 6px;
    }

    .proj-entry-desc-col-body {
      font-size: 13px;
      color: var(--text2);
      line-height: 1.75;
    }

    /* ─── Design tab: fanned overlapping image card ─────────────── */
    .design-fan-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      padding: 12px 20px 0;
    }

    .design-fan-images {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      max-width: 720px;
      height: 360px;
      margin: 0 auto 28px;
      perspective: 1400px;
    }

    .design-fan-img {
      position: absolute;
      left: 50%;
      width: 250px;
      aspect-ratio: 3 / 4;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid var(--border);
      background: var(--surface);
      transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s ease;
    }

    .design-fan-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* center card: straight-on, in front, larger than the side cards */
    .design-fan-img.pos-2 {
      width: 280px;
      transform: translateX(-50%);
      z-index: 3;
      box-shadow: 0 26px 52px rgba(0, 0, 0, 0.22);
    }

    /* side cards: tilted inward in 3D behind the center card */
    .design-fan-img.pos-1 {
      transform-origin: right center;
      transform: translateX(calc(-50% - 210px)) rotateY(28deg);
      z-index: 1;
      box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
    }

    .design-fan-img.pos-3 {
      transform-origin: left center;
      transform: translateX(calc(-50% + 210px)) rotateY(-28deg);
      z-index: 1;
      box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
    }

    /* hover on an individual image: straighten it, lift it, and match front image's size */
    .design-fan-img.pos-1:hover {
      transform: translateX(calc(-50% - 210px)) rotateY(0deg) translateY(-10px) scale(1.12);
      z-index: 5;
    }

    .design-fan-img.pos-2:hover {
      transform: translateX(-50%) translateY(-10px);
      z-index: 5;
    }

    .design-fan-img.pos-3:hover {
      transform: translateX(calc(-50% + 210px)) rotateY(0deg) translateY(-10px) scale(1.12);
      z-index: 5;
    }

    .design-fan-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--text);
      text-align: center;
      margin-bottom: 6px;
    }

    .design-fan-desc {
      font-size: 13px;
      color: var(--text3);
      text-align: center;
      max-width: 380px;
      line-height: 1.6;
    }

    @media (max-width: 640px) {
      .design-fan-images {
        height: 250px;
      }

      .design-fan-img {
        width: 170px;
      }

      .design-fan-img.pos-2 {
        width: 200px;
      }

      .design-fan-img.pos-1 {
        transform: translateX(calc(-50% - 130px)) rotateY(28deg);
      }

      .design-fan-img.pos-3 {
        transform: translateX(calc(-50% + 130px)) rotateY(-28deg);
      }

      .design-fan-img.pos-1:hover {
        transform: translateX(calc(-50% - 130px)) rotateY(0deg) translateY(-8px) scale(1.18);
      }

      .design-fan-img.pos-3:hover {
        transform: translateX(calc(-50% + 130px)) rotateY(0deg) translateY(-8px) scale(1.18);
      }
    }

    /* screenshot showcase */
    .proj-entry-showcase {
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding: 32px 36px;
      border-top: 1px solid var(--border);
    }

    @media (max-width: 640px) {
      .proj-entry-showcase {
        padding: 20px;
      }
    }

    /* each row in the showcase */
    .proj-showcase-row {
      display: flex;
      gap: 20px;
      width: 100%;
    }

    .proj-entry-shot {
      overflow: hidden;
      background: var(--bg2);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
      position: relative;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      height: 488px;
      flex-shrink: 0;
      cursor: none;
    }

    /* Row 1: narrow | wide */
    .proj-showcase-row:nth-child(1) .proj-entry-shot:nth-child(1) { width: 366px; }
    .proj-showcase-row:nth-child(1) .proj-entry-shot:nth-child(2) { flex: 1; min-width: 0; }

    /* Row 2: wide | narrow */
    .proj-showcase-row:nth-child(2) .proj-entry-shot:nth-child(1) { flex: 1; min-width: 0; }
    .proj-showcase-row:nth-child(2) .proj-entry-shot:nth-child(2) { width: 366px; }

    @media (max-width: 640px) {
      .proj-showcase-row {
        flex-direction: column;
      }
      .proj-entry-shot {
        width: 100% !important;
        height: 320px;
      }
    }
    #custom-cursor-wrapper {
      position: fixed;
      top: 0;
      left: 0;
      pointer-events: none;
      z-index: 99999;
    }

    .custom-cursor {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.72);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      color: #ffffff;
      text-transform: uppercase;
      transform: translate(-50%, -50%) scale(0);
      transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease;
      opacity: 0;
    }

    [data-theme="dark"] .custom-cursor {
      background: rgba(0, 0, 0, 0.80);
      border-color: rgba(255, 255, 255, 0.12);
      color: #ffffff;
    }

    .custom-cursor.active {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }

    @media (max-width: 640px) {
      .proj-entry-shot {
        height: 320px;
      }
    }

    .proj-entry-shot:nth-child(1) {
      width: 366px;
      max-width: 100%;
    }

    .proj-entry-shot:nth-child(2) {
      width: 714px;
      max-width: 100%;
    }

    .proj-entry-shot:nth-child(3) {
      width: 714px;
      max-width: 100%;
    }

    .proj-entry-shot:nth-child(4) {
      width: 366px;
      max-width: 100%;
    }

    @media (max-width: 640px) {
      .proj-entry-shot:nth-child(n) {
        width: 100%;
      }
    }

    .proj-entry:hover .proj-entry-shot {
      transform: translateY(-4px);
      box-shadow: 0 10px 30px #00000014;
    }

    .proj-entry-shot img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .proj-entry:hover .proj-entry-shot img {
      transform: scale(1.06);
    }

    /* emoji fallback big tile */
    .proj-entry-emoji-bg {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3.5rem;
    }


    /* ─── old card classes kept for home-grid compatibility ──── */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    @media (max-width: 1024px) {
      .projects-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .projects-grid {
        grid-template-columns: 1fr;
      }
    }

    .project-card {
      background: var(--bg);
      border: 1.5px solid transparent;
      border-radius: var(--r-lg);
      overflow: hidden;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: pointer;
    }

    [data-theme="dark"] .project-card {
      background: var(--bg3);
      border-color: var(--border);
    }

    .project-card:hover {
      border-color: var(--text);
      transform: translateY(-6px);
      box-shadow: 0 16px 48px #00000014, 0 0 0 1px #0000000f;
    }

    [data-theme="dark"] .project-card:hover {
      box-shadow: 0 16px 48px #0000004d, 0 0 0 1px #ffffff1a;
    }

    .project-card-thumb {
      height: 220px;
      overflow: hidden;
      position: relative;
      background: var(--bg2);
    }

    .project-card-thumb-inner {
      width: 100%;
      height: 100%;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .project-card:hover .project-card-thumb-inner {
      transform: scale(1.05);
    }

    .project-card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 50%, #00000080);
      opacity: 0;
      transition: opacity var(--tr);
      display: flex;
      align-items: flex-end;
      padding: 20px;
    }

    .project-card:hover .project-card-overlay {
      opacity: 1;
    }

    .project-card-view {
      padding: 8px 16px;
      background: #ffffff26;
      backdrop-filter: blur(10px);
      border: 1px solid #ffffff33;
      border-radius: 100px;
      color: #ffffff;
      font-size: 13px;
      font-weight: 600;
      transform: translateY(10px);
      transition: transform var(--tr);
    }

    .project-card:hover .project-card-view {
      transform: translateY(0);
    }

    .project-card-body {
      padding: 24px;
    }

    .project-card-cat {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text3);
      margin-bottom: 8px;
    }

    .project-card-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .project-card-desc {
      font-size: 14px;
      color: var(--text2);
      line-height: 1.6;
    }

    .hero-ticker {
      display: none !important;
    }

    /* ============================================================
   My Projects — Static homepage feature (3 cards, after Hero)
   ============================================================ */
    .mp-showcase {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .mp-row {
      display: grid;
      grid-template-columns: 1.15fr 1fr;
      gap: 56px;
      align-items: center;
      padding: 36px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--r-xl);
      cursor: pointer;
      transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--tr), border-color var(--tr);
    }

    [data-theme="dark"] .mp-row {
      background: var(--bg2);
    }

    .mp-row:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow);
      border-color: var(--border2);
    }

    .mp-row:nth-child(even) {
      grid-template-columns: 1fr 1.15fr;
    }

    .mp-row:nth-child(even) .mp-row-media {
      order: 2;
    }

    .mp-row:nth-child(even) .mp-row-content {
      order: 1;
    }

    .mp-row-media {
      position: relative;
      aspect-ratio: 16 / 11;
      border-radius: calc(var(--r-xl) - 10px);
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      isolation: isolate;
    }

    .mp-row-media::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
      background-size: 22px 22px;
      opacity: 0.6;
    }

    .mp-row-num {
      position: absolute;
      top: 22px;
      left: 24px;
      font-family: var(--font-mono);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.08em;
      color: rgba(255, 255, 255, 0.55);
      z-index: 2;
    }

    .mp-row-emoji {
      font-size: 112px;
      line-height: 1;
      z-index: 2;
      filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
      transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mp-row:hover .mp-row-emoji {
      transform: scale(1.06) translateY(-4px);
    }

    .mp-row-content {
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding: 8px 12px;
    }

    .mp-row-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text3);
    }

    .mp-row-dot {
      opacity: 0.5;
    }

    .mp-row-title {
      font-family: var(--font-display);
      font-size: 30px;
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.18;
      color: var(--text);
    }

    .mp-row-desc {
      font-size: 15px;
      line-height: 1.7;
      color: var(--text2);
      max-width: 46ch;
    }

    .mp-row-stats {
      display: flex;
      gap: 28px;
      padding-top: 6px;
      flex-wrap: wrap;
    }

    .mp-row-stat {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .mp-row-stat-val {
      font-family: var(--font-display);
      font-size: 20px;
      font-weight: 700;
      color: var(--text);
    }

    .mp-row-stat-label {
      font-size: 11.5px;
      color: var(--text3);
      max-width: 15ch;
      line-height: 1.35;
    }

    .mp-row-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 4px;
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      transition: gap var(--tr);
    }

    .mp-row-link svg {
      transition: transform var(--tr);
    }

    .mp-row:hover .mp-row-link {
      gap: 10px;
    }

    .mp-row:hover .mp-row-link svg {
      transform: translate(2px, -2px);
    }

    @media (max-width: 900px) {

      .mp-row,
      .mp-row:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 22px;
      }

      .mp-row-media,
      .mp-row:nth-child(even) .mp-row-media {
        order: 1;
      }

      .mp-row-content,
      .mp-row:nth-child(even) .mp-row-content {
        order: 2;
      }

      .mp-row-title {
        font-size: 24px;
      }

      .mp-row-emoji {
        font-size: 76px;
      }

      .mp-row-stats {
        gap: 20px;
      }
    }

    @media (max-width: 600px) {
      .mp-row-desc {
        max-width: 100%;
      }
    }


    /* ============================================================
   Concept B — Dark Editorial Showcase (deck-grid style, for comparison)
   ============================================================ */
    .dk-showcase {
      background: #111014;
      padding: 100px 0;
    }

    .dk-showcase-heading {
      margin-bottom: 56px;
    }

    .dk-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: #8f8f9c;
      margin-bottom: 24px;
    }

    .dk-title-lg {
      font-family: var(--font-display);
      font-size: clamp(32px, 4vw, 56px);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -0.04em;
      color: #f5f5f8;
    }

    .dk-rows {
      display: flex;
      flex-direction: column;
      gap: 140px;
    }

    .dk-showcase .container {
      max-width: 1200px;
      padding: 0 0;
    }

    .dk-row {
      display: grid;
      grid-template-columns: 350px 1fr;
      gap: 25px;
      align-items: center;
      --dk-accent: #6366f1;
      --dk-accent-bg: #1e1b4b;
      --dk-accent-bg2: #312e81;
    }

    .dk-row-text {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
    }

    .dk-row-tags {
      display: flex;
      gap: 8px;
      margin-bottom: 22px;
      justify-content: flex-start;
    }

    .dk-tag {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #cfcfd8;
      background: #ffffff14;
      border: 1px solid #ffffff1c;
      border-radius: 100px;
      padding: 6px 14px;
    }

    .dk-title {
      font-family: var(--font-display);
      font-size: 46px;
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.1;
      color: #f5f5f8;
      margin-bottom: 20px;
    }

    .dk-desc {
      font-size: 15px;
      line-height: 1.75;
      color: #8f8f9c;
      max-width: 100%;
      margin: 0 0 26px;
    }

    .dk-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 600;
      color: var(--dk-accent);
      cursor: pointer;
      transition: gap 0.25s ease;
    }

    .dk-link:hover {
      gap: 10px;
    }

    .dk-frame {
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid #ffffff14;
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    }

    .dk-frame-img {
      display: block;
      width: 100%;
      aspect-ratio: 800 / 450;
      object-fit: cover;
      background: linear-gradient(135deg, var(--dk-accent-bg, #1a1a1f), var(--dk-accent-bg2, #26262e));
    }

    .dk-showcase .view-all-link {
      color: #f5f5f8;
      border-color: #ffffff24;
    }

    .dk-showcase .view-all-link:hover {
      border-color: #f5f5f8;
    }

    .dk-row.skeleton-row .dk-frame {
      background: #1c1c26;
    }

    .dk-row.skeleton-row .dk-title-skel {
      height: 46px;
      width: 70%;
      border-radius: 8px;
      background: #ffffff12;
    }

    .dk-row.skeleton-row .dk-desc-skel {
      height: 15px;
      border-radius: 6px;
      background: #ffffff0c;
      margin-bottom: 10px;
    }

    .dk-row.skeleton-row .dk-tag-skel {
      width: 70px;
      height: 24px;
      border-radius: 100px;
      background: #ffffff0c;
    }

    @media (max-width: 900px) {
      .dk-row {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .dk-title {
        font-size: 34px;
      }

      .dk-desc {
        max-width: 100%;
      }

      .dk-rows {
        gap: 80px;
      }
    }

    @media (max-width: 600px) {
      .dk-showcase {
        padding: 64px 0;
      }
    }


    /* ============================================================
   Global Motion System — site-wide animation pass
   ============================================================ */

    /* Upgrade the existing reveal system to a premium fade-up curve */
    .reveal {
      transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* ─── Nav: slide down + glass morph ─────────────────────────── */
    nav {
      animation: navSlideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    @keyframes navSlideDown {
      from {
        transform: translateY(-100%);
      }

      to {
        transform: translateY(0);
      }
    }

    nav.nav-scrolled .nav-inner {
      box-shadow:
        0 18px 44px rgba(20, 20, 30, 0.16),
        0 3px 8px rgba(20, 20, 30, 0.08);
    }

    /* While hidden (slid up off-screen), kill the shadow so it doesn't
   peek into the viewport past the translated element's edge. Delay
   matches the nav's transform duration so the shadow only disappears
   once the bar has actually finished sliding out of view. */
    nav.nav-hidden .nav-inner {
      box-shadow: none;
      transition: box-shadow 0.01s linear 0.35s, background var(--tr), border-color var(--tr);
    }

    nav.nav-hidden {
      pointer-events: none;
    }

    .nav-logo {
      animation: fadeIn 0.6s ease 0.15s both;
    }

    .nav-links a {
      opacity: 0;
      animation: navLinkIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .nav-links a:nth-child(1) {
      animation-delay: 0.2s;
    }

    .nav-links a:nth-child(2) {
      animation-delay: 0.27s;
    }

    .nav-links a:nth-child(3) {
      animation-delay: 0.34s;
    }

    .nav-links a:nth-child(4) {
      animation-delay: 0.41s;
    }

    .nav-links a:nth-child(5) {
      animation-delay: 0.48s;
    }

    @keyframes navLinkIn {
      from {
        opacity: 0;
        transform: translateY(-6px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    /* ─── Hero background: slow gradient drift ──────────────────── */
    .hero {
      background-image: radial-gradient(ellipse 80% 60% at 20% 0%, var(--accent-glow2), transparent 60%),
        radial-gradient(ellipse 60% 50% at 100% 20%, var(--accent-glow2), transparent 60%);
      background-size: 160% 160%;
      animation: heroGradientDrift 18s ease-in-out infinite alternate;
    }

    @keyframes heroGradientDrift {
      0% {
        background-position: 0% 0%, 100% 0%;
      }

      100% {
        background-position: 20% 20%, 80% 30%;
      }
    }

    /* ─── Hero entrance ──────────────────────────────────────────── */
    .hero-badge {
      animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
    }

    .hero-title {
      animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    }

    .hero-desc,
    .hero-answer {
      animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
    }

    .hero-actions {
      animation: fadeUpScale 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
    }

    .hero-numbers {
      animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
    }

    .hero-float-col {
      animation: fadeScaleDown 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(24px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeUpScale {
      from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    @keyframes fadeScaleDown {
      from {
        opacity: 0;
        transform: translateY(calc(-50% + 40px)) scale(1.08);
      }

      to {
        opacity: 1;
        transform: translateY(calc(-50% + 40px)) scale(1);
      }
    }

    /* Note: prefers-reduced-motion is already handled globally above (line ~406),
   which disables all animations/transitions site-wide including these. */

    /* ─── Buttons: hover lift + click press ──────────────────────── */
    .btn-primary:active,
    .btn-secondary:active {
      transform: scale(0.96);
    }

    /* ─── Cards: unified hover lift ──────────────────────────────── */
    .pv-card {
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--tr), border-color var(--tr);
    }

    .pv-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 50px #00000012, 0 4px 16px #00000008;
      border-color: var(--border2);
    }

    [data-theme="dark"] .pv-card:hover {
      box-shadow: 0 20px 50px #00000050;
    }

    /* ─── Service icons/images: scale on hover ──────────────────── */
    .service-card-img {
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .service-card:hover .service-card-img {
      transform: scale(1.05);
    }

    /* ─── Case-study / CTA links: lift + glow ────────────────────── */
    .mp-row-link,
    .dk-link,
    .proj-entry-tag,
    .view-all-link {
      transition: gap var(--tr), transform var(--tr), text-shadow var(--tr);
    }

    .mp-row:hover .mp-row-link {
      text-shadow: 0 0 18px var(--accent-glow);
    }

    .dk-row:hover .dk-link {
      text-shadow: 0 0 18px currentColor;
    }

    .btn-primary,
    .btn-secondary {
      transition: all var(--tr), box-shadow var(--tr);
    }

    .btn-primary:hover {
      box-shadow: 0 8px 24px var(--accent-glow);
    }

    /* ─── Skill pills / tags: fade up + hover lift ───────────────── */
    .proj-entry-tag,
    .dk-tag,
    .mp-row-meta span {
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .proj-entry-tag:hover {
      transform: translateY(-2px);
    }

    /* ─── Social icons: scale on hover ───────────────────────────── */
    .social-link {
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background var(--tr), color var(--tr);
    }

    .social-link:hover {
      transform: scale(1.15) translateY(-2px);
    }

    /* ─── Footer links: slide right on hover ─────────────────────── */
    .footer-links a {
      display: inline-block;
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color var(--tr);
    }

    .footer-links a:hover {
      transform: translateX(6px);
      color: var(--text);
    }

    /* ─── Form: minimal underline focus (glow removed for editorial style) ── */
    .form-input:focus,
    .form-textarea:focus,
    .form-select:focus {
      box-shadow: none;
    }

    .contact-form .btn-primary:active {
      transform: scale(0.95);
    }

    /* ─── Timeline: ledger-row reveal (see redesigned rules near .timeline-item) ── */

    /* ─── Background dividers: subtle parallax hook ──────────────── */
    [data-parallax] {
      will-change: transform;
    }

    /* ─── Count-up numbers: subtle pop when they finish ──────────── */
    .count-up-target {
      transition: transform 0.3s ease;
    }
/* --- Contact Social Icons --- */
.contact-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.csi-link {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 12px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0,0,0,0.03);
  text-decoration: none;
}

.csi-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.08);
}

.csi-link:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition-duration: 0.1s;
}

.csi-img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.csi-link:hover .csi-img {
  transform: scale(1.08);
}

.tooltip-pill {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.94);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10;
}

.csi-link:hover .tooltip-pill {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
