/* ══════════════════════════════════════════
       TOKENS & RESET
    ══════════════════════════════════════════ */
    :root {
      --ink:    #0a0a0f;
      --paper:  #f5f3ee;
      --cream:  #ede9e0;
      --acid:   #c8f135;
      --ocean:  #1a3a5c;
      --mist:   #8fa8bf;
      --rust:   #d4603a;
      --serif:  'Syne', sans-serif;
      --body:   'DM Sans', sans-serif;
      --ease:   cubic-bezier(0.22, 1, 0.36, 1);
    }

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

    html { scroll-behavior: smooth; font-size: 16px; }

    body {
      font-family: var(--body);
      background: var(--paper);
      color: var(--ink);
      overflow-x: hidden;
      cursor: none;
    }

    /* ── CUSTOM CURSOR ── */
    #cursor {
      position: fixed;
      width: 12px; height: 12px;
      background: var(--acid);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: transform 0.1s, width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
      mix-blend-mode: multiply;
    }
    #cursor-ring {
      position: fixed;
      width: 36px; height: 36px;
      border: 1.5px solid var(--ink);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      transition: transform 0.15s var(--ease), width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s, opacity 0.3s;
    }
    body:has(a:hover) #cursor, body:has(button:hover) #cursor { width: 20px; height: 20px; }
    body:has(a:hover) #cursor-ring, body:has(button:hover) #cursor-ring { width: 56px; height: 56px; border-color: var(--acid); }

    /* ── NOISE TEXTURE OVERLAY ── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 9997;
      opacity: 0.4;
    }

    /* ══════════════════════════════════════════
       NAV
    ══════════════════════════════════════════ */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.4rem 3rem;
      transition: background 0.4s, padding 0.4s;
    }
    nav.scrolled {
      background: rgba(245,243,238,0.92);
      backdrop-filter: blur(12px);
      padding: 1rem 3rem;
      border-bottom: 1px solid rgba(10,10,15,0.08);
    }

    .nav-logo {
      font-family: var(--serif);
      font-size: 1.4rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--ink);
      text-decoration: none;
    }
    .nav-logo span { color: var(--acid); background: var(--ink); padding: 0 4px; }

    .nav-links {
      display: flex;
      gap: 2.5rem;
      list-style: none;
    }
    .nav-links a {
      font-family: var(--body);
      font-size: 0.875rem;
      font-weight: 500;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--ink);
      text-decoration: none;
      position: relative;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -2px; left: 0;
      width: 0; height: 1px;
      background: var(--acid);
      transition: width 0.3s var(--ease);
    }
    .nav-links a:hover::after { width: 100%; }

    .nav-cta {
      background: var(--ink);
      color: var(--acid) !important;
      padding: 0.6rem 1.4rem;
      font-weight: 600 !important;
      letter-spacing: 0.06em;
    }
    .nav-cta::after { display: none !important; }
    .nav-cta:hover { background: var(--acid); color: var(--ink) !important; }
    .nav-cta:hover { transition: background 0.25s, color 0.25s; }

    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
    .hamburger span { display: block; width: 26px; height: 2px; background: var(--ink); transition: all 0.3s; }

    /* ══════════════════════════════════════════
       HERO
    ══════════════════════════════════════════ */
    #hero {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      padding: 8rem 3rem 4rem;
      position: relative;
      overflow: hidden;
      gap: 4rem;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 60% at 70% 50%, rgba(200,241,53,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 15% 80%, rgba(26,58,92,0.08) 0%, transparent 60%);
    }

    /* Animated grid lines */
    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(10,10,15,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,10,15,0.04) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
      animation: gridShift 20s linear infinite;
    }
    @keyframes gridShift {
      0% { background-position: 0 0; }
      100% { background-position: 60px 60px; }
    }

    .hero-left { position: relative; z-index: 2; }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ocean);
      margin-bottom: 2rem;
      opacity: 0;
      animation: fadeUp 0.8s 0.2s var(--ease) forwards;
    }
    .hero-tag::before {
      content: '';
      width: 28px; height: 2px;
      background: var(--acid);
    }

    .hero-h1 {
      font-family: var(--serif);
      font-size: clamp(3rem, 6vw, 5.5rem);
      font-weight: 800;
      line-height: 0.95;
      letter-spacing: -0.03em;
      color: var(--ink);
      margin-bottom: 2rem;
      opacity: 0;
      animation: fadeUp 0.9s 0.35s var(--ease) forwards;
    }
    .hero-h1 em {
      font-style: normal;
      color: var(--rust);
      position: relative;
    }
    .hero-h1 em::after {
      content: '';
      position: absolute;
      left: 0; right: 0; bottom: 4px;
      height: 6px;
      background: var(--acid);
      z-index: -1;
      transform: scaleX(0);
      transform-origin: left;
      animation: underlineIn 0.6s 1.2s var(--ease) forwards;
    }
    @keyframes underlineIn { to { transform: scaleX(1); } }

    .hero-sub {
      font-size: 1.125rem;
      line-height: 1.65;
      color: #4a4a5a;
      max-width: 480px;
      margin-bottom: 3rem;
      font-weight: 300;
      opacity: 0;
      animation: fadeUp 0.9s 0.5s var(--ease) forwards;
    }

    .hero-ctas {
      display: flex;
      gap: 1.2rem;
      align-items: center;
      flex-wrap: wrap;
      opacity: 0;
      animation: fadeUp 0.9s 0.65s var(--ease) forwards;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      background: var(--ink);
      color: var(--acid);
      font-family: var(--body);
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 1rem 2rem;
      text-decoration: none;
      position: relative;
      overflow: hidden;
      transition: transform 0.25s var(--ease);
    }
    .btn-primary::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--acid);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.35s var(--ease);
      z-index: 0;
    }
    .btn-primary:hover::before { transform: scaleX(1); }
    .btn-primary:hover { color: var(--ink); transform: translateY(-2px); }
    .btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--ink);
      text-decoration: none;
      border-bottom: 1px solid var(--ink);
      padding-bottom: 2px;
      transition: gap 0.3s, color 0.3s;
    }
    .btn-ghost:hover { gap: 0.9rem; color: var(--rust); border-color: var(--rust); }

    /* Hero right – floating cards */
    .hero-right {
      position: relative;
      z-index: 2;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 520px;
    }

    .hero-visual {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .float-card {
      position: absolute;
      background: white;
      border-radius: 12px;
      padding: 1.2rem 1.6rem;
      box-shadow: 0 20px 60px rgba(10,10,15,0.12), 0 2px 8px rgba(10,10,15,0.06);
      opacity: 0;
      animation: cardFloat 0.8s var(--ease) forwards;
    }
    .float-card:nth-child(1) { top: 5%; left: 10%; animation-delay: 0.7s; animation-name: cardFloat, floatA; animation-duration: 0.8s, 6s; animation-timing-function: var(--ease), ease-in-out; animation-fill-mode: forwards, infinite; animation-iteration-count: 1, infinite; }
    .float-card:nth-child(2) { top: 28%; right: 8%; animation-delay: 0.9s; animation-name: cardFloat, floatB; animation-duration: 0.8s, 7s; animation-timing-function: var(--ease), ease-in-out; animation-fill-mode: forwards, infinite; animation-iteration-count: 1, infinite; }
    .float-card:nth-child(3) { bottom: 18%; left: 5%; animation-delay: 1.1s; animation-name: cardFloat, floatA; animation-duration: 0.8s, 5s; animation-timing-function: var(--ease), ease-in-out; animation-fill-mode: forwards, infinite; animation-iteration-count: 1, infinite; }
    .float-card:nth-child(4) { bottom: 8%; right: 12%; animation-delay: 1.3s; animation-name: cardFloat, floatB; animation-duration: 0.8s, 8s; animation-timing-function: var(--ease), ease-in-out; animation-fill-mode: forwards, infinite; animation-iteration-count: 1, infinite; }

    @keyframes cardFloat { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
    @keyframes floatA { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-12px); } }
    @keyframes floatB { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-16px); } }

    .card-label {
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--mist);
      margin-bottom: 0.4rem;
    }
    .card-value {
      font-family: var(--serif);
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--ink);
    }
    .card-sub { font-size: 0.75rem; color: #888; margin-top: 0.2rem; }
    .card-badge {
      display: inline-block;
      background: var(--acid);
      color: var(--ink);
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 0.2rem 0.6rem;
      margin-top: 0.5rem;
    }

    .hero-browser {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 340px;
      background: white;
      border-radius: 12px;
      box-shadow: 0 40px 100px rgba(10,10,15,0.18);
      overflow: hidden;
      opacity: 0;
      animation: fadeUp 1s 0.8s var(--ease) forwards;
    }
    .browser-bar {
      background: #f0f0f0;
      padding: 0.7rem 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .browser-dots { display: flex; gap: 5px; }
    .browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
    .browser-dots span:nth-child(1) { background: #ff5f57; }
    .browser-dots span:nth-child(2) { background: #ffbd2e; }
    .browser-dots span:nth-child(3) { background: #28c840; }
    .browser-url {
      flex: 1;
      background: white;
      border-radius: 4px;
      padding: 0.3rem 0.7rem;
      font-size: 0.7rem;
      color: #666;
      margin-left: 0.5rem;
    }
    .browser-content { padding: 1.2rem; }
    .bc-img {
      width: 100%;
      height: 140px;
      background: linear-gradient(135deg, var(--ocean) 0%, var(--ink) 100%);
      border-radius: 6px;
      margin-bottom: 0.8rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--serif);
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--acid);
      letter-spacing: -0.02em;
    }
    .bc-lines { display: flex; flex-direction: column; gap: 6px; }
    .bc-line { height: 8px; background: #eee; border-radius: 4px; }
    .bc-line:nth-child(1) { width: 80%; }
    .bc-line:nth-child(2) { width: 60%; }
    .bc-line:nth-child(3) { width: 70%; }
    .bc-btn { width: 100%; height: 32px; background: var(--ink); border-radius: 4px; margin-top: 0.8rem; }

    /* Speed indicator */
    .speed-ring {
      position: absolute;
      bottom: 30%;
      right: 0;
      width: 80px; height: 80px;
      opacity: 0;
      animation: fadeUp 0.8s 1.4s var(--ease) forwards;
    }
    .speed-ring svg { width: 100%; height: 100%; }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* Marquee strip */
    .marquee-strip {
      background: var(--ink);
      padding: 0.9rem 0;
      overflow: hidden;
      white-space: nowrap;
    }
    .marquee-track {
      display: inline-flex;
      animation: marquee 24s linear infinite;
    }
    .marquee-item {
      display: inline-flex;
      align-items: center;
      gap: 1.5rem;
      font-family: var(--serif);
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--paper);
      padding: 0 2rem;
    }
    .marquee-item .dot { width: 6px; height: 6px; background: var(--acid); border-radius: 50%; }
    @keyframes marquee {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* ══════════════════════════════════════════
       SECTION HELPERS
    ══════════════════════════════════════════ */
    section { padding: 7rem 3rem; }
    .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--rust);
      margin-bottom: 1.5rem;
    }
    .section-tag::before { content:''; width: 20px; height: 2px; background: var(--rust); }
    .section-h2 {
      font-family: var(--serif);
      font-size: clamp(2.2rem, 4vw, 3.5rem);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -0.03em;
      color: var(--ink);
      margin-bottom: 1.5rem;
    }
    .section-lead {
      font-size: 1.1rem;
      line-height: 1.7;
      color: #555;
      font-weight: 300;
      max-width: 560px;
    }

    /* Reveal animation */
    .reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    }
    .reveal.in-view { opacity: 1; transform: none; }

    /* ══════════════════════════════════════════
       SERVICES
    ══════════════════════════════════════════ */
    #services { background: var(--cream); }
    .services-header { max-width: 1200px; margin: 0 auto 4rem; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; }

    .services-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1.5px;
      background: var(--ink);
      border: 1.5px solid var(--ink);
    }

    .service-card {
      background: var(--cream);
      padding: 2.8rem 2.4rem;
      position: relative;
      overflow: hidden;
      transition: background 0.35s var(--ease), transform 0.35s var(--ease);
      cursor: default;
    }
    .service-card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--ink);
      transform: scaleY(0);
      transform-origin: bottom;
      transition: transform 0.4s var(--ease);
      z-index: 0;
    }
    .service-card:hover::after { transform: scaleY(1); }
    .service-card:hover .sc-icon,
    .service-card:hover .sc-title,
    .service-card:hover .sc-desc,
    .service-card:hover .sc-num { color: var(--paper); }
    .service-card:hover .sc-icon { background: rgba(200,241,53,0.15); border-color: var(--acid); }

    .sc-num {
      font-family: var(--serif);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      color: var(--mist);
      margin-bottom: 2rem;
      position: relative;
      z-index: 1;
      transition: color 0.3s;
    }
    .sc-icon {
      width: 52px; height: 52px;
      border: 1.5px solid var(--ink);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.8rem;
      font-size: 1.3rem;
      position: relative;
      z-index: 1;
      transition: all 0.3s;
    }
    .sc-title {
      font-family: var(--serif);
      font-size: 1.35rem;
      font-weight: 700;
      margin-bottom: 0.8rem;
      position: relative;
      z-index: 1;
      transition: color 0.3s;
    }
    .sc-desc {
      font-size: 0.9rem;
      line-height: 1.65;
      color: #666;
      position: relative;
      z-index: 1;
      transition: color 0.3s;
    }
    .service-card:hover .sc-desc { color: rgba(245,243,238,0.75); }

    /* ══════════════════════════════════════════
       PROCESS
    ══════════════════════════════════════════ */
    #process { background: var(--ink); color: var(--paper); }
    .process-inner { max-width: 1200px; margin: 0 auto; }
    .process-inner .section-tag { color: var(--acid); }
    .process-inner .section-tag::before { background: var(--acid); }
    .process-inner .section-h2 { color: var(--paper); }
    .process-inner .section-lead { color: var(--mist); }

    .process-steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 0;
      margin-top: 4rem;
      position: relative;
    }
    .process-steps::before {
      content: '';
      position: absolute;
      top: 3rem; left: 0; right: 0;
      height: 1px;
      background: rgba(255,255,255,0.1);
    }

    .process-step { padding: 0 2rem 0 0; position: relative; }
    .ps-n {
      font-family: var(--serif);
      font-size: 4rem;
      font-weight: 800;
      color: rgba(200,241,53,0.15);
      line-height: 1;
      margin-bottom: 1.5rem;
    }
    .ps-title {
      font-family: var(--serif);
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--paper);
      margin-bottom: 0.8rem;
    }
    .ps-desc { font-size: 0.875rem; line-height: 1.65; color: var(--mist); }

    /* ══════════════════════════════════════════
       STATS BAR
    ══════════════════════════════════════════ */
    .stats-bar {
      background: var(--acid);
      padding: 3rem;
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
      gap: 2rem;
    }
    .stat-item { text-align: center; }
    .stat-num {
      font-family: var(--serif);
      font-size: 3rem;
      font-weight: 800;
      color: var(--ink);
      line-height: 1;
      display: block;
    }
    .stat-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(10,10,15,0.65); margin-top: 0.4rem; }

    /* ══════════════════════════════════════════
       BLOG
    ══════════════════════════════════════════ */
    #blog { background: var(--paper); }
    .blog-inner { max-width: 1200px; margin: 0 auto; }
    .blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1.5rem; }

    .blog-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 1.5px;
      background: rgba(10,10,15,0.12);
    }
    @media (max-width: 900px) {
      .blog-grid { grid-template-columns: 1fr; }
    }

    .blog-card {
      background: var(--paper);
      padding: 2.5rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      position: relative;
      overflow: hidden;
      transition: background 0.3s;
    }
    .blog-card:hover { background: var(--cream); }
    .blog-card.featured { background: var(--ocean); }
    .blog-card.featured:hover { background: var(--ink); }

    .blog-cat {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--rust);
    }
    .blog-card.featured .blog-cat { color: var(--acid); }

    .blog-title {
      font-family: var(--serif);
      font-size: 1.3rem;
      font-weight: 700;
      line-height: 1.2;
      color: var(--ink);
    }
    .blog-card.featured .blog-title { font-size: 1.8rem; color: var(--paper); }

    .blog-excerpt {
      font-size: 0.875rem;
      line-height: 1.65;
      color: #666;
      flex: 1;
    }
    .blog-card.featured .blog-excerpt { color: var(--mist); }

    .blog-meta {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      font-size: 0.75rem;
      color: #999;
    }
    .blog-card.featured .blog-meta { color: var(--mist); }
    .blog-meta .dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; }

    .blog-link {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--ink);
      text-decoration: none;
      transition: gap 0.3s;
    }
    .blog-link:hover { gap: 0.8rem; }
    .blog-card.featured .blog-link { color: var(--acid); }



    .blog-modal {
      position: fixed;
      inset: 0;
      z-index: 10050;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      cursor: auto;
    }
    .blog-modal.open { display: flex; }
    .blog-modal, .blog-modal * { cursor: auto; }
    body.blog-modal-active { cursor: auto; }
    body.blog-modal-active #cursor,
    body.blog-modal-active #cursor-ring { display: none; }
    .blog-modal-backdrop { position: absolute; inset: 0; background: rgba(10,10,15,0.72); }
    .blog-modal-panel {
      position: relative;
      background: var(--paper);
      color: var(--ink);
      width: min(860px, 100%);
      max-height: min(86vh, 900px);
      overflow-y: auto;
      overflow-x: hidden;
      padding: clamp(1.5rem, 4vw, 3rem);
      box-shadow: 0 30px 100px rgba(0,0,0,0.35);
      outline: none;
      overscroll-behavior: contain;
    }
    .blog-modal-close {
      position: fixed;
      top: max(1rem, env(safe-area-inset-top));
      right: max(1rem, env(safe-area-inset-right));
      z-index: 10060;
      width: 46px;
      height: 46px;
      border: 0;
      background: var(--ink);
      color: var(--acid);
      font-size: 2rem;
      line-height: 1;
      cursor: pointer;
      box-shadow: 0 12px 30px rgba(0,0,0,0.24);
    }
    .blog-modal-cat {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--rust);
      margin-bottom: 1rem;
    }
    .blog-modal-title {
      font-family: var(--serif);
      font-size: clamp(1.9rem, 4vw, 3rem);
      line-height: 1.05;
      letter-spacing: -0.03em;
      margin-bottom: 1rem;
    }
    .blog-modal-meta { color: #777; font-size: 0.875rem; margin-bottom: 2rem; }
    .blog-modal-body { display: grid; gap: 1.15rem; font-size: 1rem; line-height: 1.75; color: #444; }
    .blog-modal-body h3 { font-family: var(--serif); color: var(--ink); font-size: 1.35rem; margin-top: 0.8rem; }
    .blog-modal-body ul { padding-left: 1.2rem; }

    /* ══════════════════════════════════════════
       QUOTE FORM
    ══════════════════════════════════════════ */
    #quote { background: var(--cream); }
    .quote-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 6rem;
      align-items: start;
    }
    @media (max-width: 900px) {
      .quote-inner { grid-template-columns: 1fr; gap: 3rem; }
    }

    .quote-left .section-lead { margin-top: 1.2rem; }
    .quote-perks { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
    .perk {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      font-size: 0.9rem;
      font-weight: 500;
    }
    .perk::before {
      content: '✓';
      width: 22px; height: 22px;
      background: var(--acid);
      color: var(--ink);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: 800;
      flex-shrink: 0;
    }

    .quote-form {
      background: white;
      padding: 3rem;
      box-shadow: 0 24px 80px rgba(10,10,15,0.08);
    }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
    @media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

    .form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.2rem; }
    .form-group label {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--ink);
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 0.9rem 1rem;
      border: 1.5px solid #ddd;
      border-radius: 0;
      font-family: var(--body);
      font-size: 0.9rem;
      color: var(--ink);
      background: var(--paper);
      transition: border-color 0.25s, background 0.25s;
      outline: none;
      -webkit-appearance: none;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--ink);
      background: white;
    }
    .form-group textarea { resize: vertical; min-height: 120px; }

    .form-submit {
      width: 100%;
      padding: 1.1rem;
      background: var(--ink);
      color: var(--acid);
      font-family: var(--body);
      font-size: 0.9rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border: none;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: transform 0.25s;
      margin-top: 0.5rem;
    }
    .form-submit::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--acid);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.35s var(--ease);
    }
    .form-submit:hover::before { transform: scaleX(1); }
    .form-submit:hover { color: var(--ink); }
    .form-submit span { position: relative; z-index: 1; }
    .form-submit:hover { transform: translateY(-2px); }

    .form-note {
      font-size: 0.75rem;
      color: #999;
      text-align: center;
      margin-top: 1rem;
    }

    /* ══════════════════════════════════════════
       TESTIMONIALS
    ══════════════════════════════════════════ */
    #testimonials { background: var(--ink); overflow: hidden; padding: 6rem 0; }
    .test-header { padding: 0 3rem; max-width: 1200px; margin: 0 auto 3.5rem; }
    .test-header .section-tag { color: var(--acid); }
    .test-header .section-tag::before { background: var(--acid); }
    .test-header .section-h2 { color: var(--paper); }

    .test-track-wrap { overflow: hidden; }
    .test-track {
      display: flex;
      gap: 1.5rem;
      padding: 0 3rem;
      animation: scrollTest 30s linear infinite;
      width: max-content;
      will-change: transform;
    }
    .test-track:hover { animation-play-state: paused; }
    @keyframes scrollTest { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-1 * var(--scroll-distance, 50%))); } }

    .test-card {
      flex: 0 0 360px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.08);
      padding: 2.5rem;
      border-radius: 4px;
    }
    .test-stars { color: var(--acid); font-size: 1rem; margin-bottom: 1.2rem; letter-spacing: 3px; }
    .test-text {
      font-size: 0.95rem;
      line-height: 1.7;
      color: rgba(245,243,238,0.82);
      margin-bottom: 1.5rem;
      font-style: italic;
      font-weight: 300;
    }
    .test-author { display: flex; flex-direction: column; gap: 0.2rem; }
    .test-name { font-family: var(--serif); font-weight: 700; color: var(--paper); font-size: 0.95rem; }
    .test-role { font-size: 0.75rem; color: var(--mist); }

    /* ══════════════════════════════════════════
       FAQ
    ══════════════════════════════════════════ */
    #faq { background: var(--paper); }
    .faq-inner { max-width: 800px; margin: 0 auto; }
    .faq-inner .section-tag, .faq-inner .section-h2 { text-align: center; }
    .faq-inner .section-tag::before { display: none; }
    .faq-inner .section-h2 { margin-bottom: 3rem; }
    .faq-inner .section-tag { justify-content: center; }

    .faq-item {
      border-top: 1px solid rgba(10,10,15,0.12);
    }
    .faq-item:last-child { border-bottom: 1px solid rgba(10,10,15,0.12); }

    .faq-q {
      width: 100%;
      background: none;
      border: none;
      text-align: left;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.5rem 0;
      font-family: var(--serif);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--ink);
      cursor: pointer;
      gap: 1rem;
    }
    .faq-icon {
      width: 28px; height: 28px;
      border: 1.5px solid var(--ink);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      font-size: 1.1rem;
      transition: transform 0.35s var(--ease), background 0.25s;
    }
    .faq-item.open .faq-icon { transform: rotate(45deg); background: var(--acid); border-color: var(--acid); }
    .faq-a {
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.5s var(--ease), padding 0.4s;
    }
    .faq-a-inner { padding: 0 0 1.5rem; font-size: 0.925rem; line-height: 1.75; color: #555; }

    /* ══════════════════════════════════════════
       FOOTER
    ══════════════════════════════════════════ */
    footer {
      background: var(--ink);
      color: var(--paper);
      padding: 5rem 3rem 2rem;
    }
    .footer-inner { max-width: 1200px; margin: 0 auto; }
    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 3rem;
      margin-bottom: 4rem;
    }
    @media (max-width: 900px) {
      .footer-top { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 600px) {
      .footer-top { grid-template-columns: 1fr; }
    }

    .footer-logo {
      font-family: var(--serif);
      font-size: 1.6rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      margin-bottom: 1rem;
    }
    .footer-logo span { color: var(--acid); }
    .footer-tagline {
      font-size: 0.875rem;
      line-height: 1.65;
      color: var(--mist);
      max-width: 240px;
    }
    .footer-col h4 {
      font-family: var(--serif);
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--paper);
      margin-bottom: 1.2rem;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
    .footer-col ul a {
      font-size: 0.875rem;
      color: var(--mist);
      text-decoration: none;
      transition: color 0.25s;
    }
    .footer-col ul a:hover { color: var(--acid); }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }
    .footer-copy { font-size: 0.8rem; color: var(--mist); }
    .footer-social { display: flex; gap: 1rem; }
    .footer-social a {
      width: 36px; height: 36px;
      border: 1px solid rgba(255,255,255,0.15);
      display: flex; align-items: center; justify-content: center;
      font-size: 0.9rem;
      text-decoration: none;
      color: var(--mist);
      transition: background 0.25s, border-color 0.25s, color 0.25s;
    }
    .footer-social a:hover { background: var(--acid); border-color: var(--acid); color: var(--ink); }

    /* ══════════════════════════════════════════
       MOBILE HAMBURGER ANIMATION
    ══════════════════════════════════════════ */
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; z-index: 1001; position: relative; }
    .hamburger span { display: block; width: 26px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.25s, width 0.3s; transform-origin: center; }
    .nav-mobile-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-mobile-open .hamburger span:nth-child(2) { opacity: 0; width: 0; }
    .nav-mobile-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-mobile-open .hamburger span { background: var(--paper); }

    /* Mobile nav overlay */
    .nav-mobile-open .nav-links {
      display: flex;
      flex-direction: column;
      position: fixed;
      inset: 0;
      background: var(--ink);
      align-items: center;
      justify-content: center;
      gap: 0;
      z-index: 999;
      padding: 5rem 2rem 3rem;
      overflow-y: auto;
    }
    .nav-mobile-open .nav-links li {
      width: 100%;
      border-bottom: 1px solid rgba(255,255,255,0.07);
      opacity: 0;
      transform: translateX(-20px);
      animation: navItemIn 0.4s var(--ease) forwards;
    }
    .nav-mobile-open .nav-links li:nth-child(1) { animation-delay: 0.05s; }
    .nav-mobile-open .nav-links li:nth-child(2) { animation-delay: 0.10s; }
    .nav-mobile-open .nav-links li:nth-child(3) { animation-delay: 0.15s; }
    .nav-mobile-open .nav-links li:nth-child(4) { animation-delay: 0.20s; }
    .nav-mobile-open .nav-links li:nth-child(5) { animation-delay: 0.25s; border-bottom: none; padding-top: 1.5rem; }
    @keyframes navItemIn {
      to { opacity: 1; transform: translateX(0); }
    }
    .nav-mobile-open .nav-links a {
      display: block;
      color: var(--paper);
      font-size: 1.6rem;
      font-family: var(--serif);
      font-weight: 800;
      padding: 1rem 0;
      letter-spacing: -0.02em;
    }
    .nav-mobile-open .nav-links a::after { display: none; }
    .nav-mobile-open .nav-cta {
      display: block;
      background: var(--acid) !important;
      color: var(--ink) !important;
      text-align: center;
      padding: 1rem 2rem !important;
      font-size: 1rem !important;
      font-family: var(--body) !important;
      width: 100%;
    }

    /* ── TABLET (max 1024px) ── */
    @media (max-width: 1024px) {
      #hero { gap: 2rem; padding: 7rem 2rem 4rem; }
      .hero-browser { width: 280px; }
      .float-card { padding: 0.9rem 1.2rem; }
      .card-value { font-size: 1.2rem; }
    }

    @media (max-width: 1100px) and (min-width: 901px) {
      .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    /* ── MOBILE (max 900px) ── */
    @media (max-width: 900px) {
      /* Base */
      body { cursor: auto; }
      #cursor, #cursor-ring { display: none; }

      /* Nav */
      nav { padding: 1.1rem 1.25rem; }
      nav.scrolled { padding: 0.85rem 1.25rem; }
      .nav-links { display: none; }
      .hamburger { display: flex; }

      /* Hero — single column, no visual panel */
      #hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 6.5rem 1.25rem 3.5rem;
        gap: 0;
      }
      .hero-right { display: none; }
      .hero-h1 { font-size: clamp(2.6rem, 9vw, 3.8rem); }
      .hero-sub { font-size: 1rem; margin-bottom: 2rem; }
      .hero-ctas { flex-direction: column; align-items: flex-start; gap: 1rem; }
      .btn-primary { width: 100%; justify-content: center; padding: 1.1rem 1.5rem; font-size: 1rem; }
      .btn-ghost { font-size: 0.95rem; }

      /* Marquee */
      .marquee-item { font-size: 0.78rem; padding: 0 1.2rem; }

      /* Sections */
      section { padding: 4rem 1.25rem; }

      /* Services */
      .services-header { flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-bottom: 2.5rem; }
      .services-grid { grid-template-columns: 1fr; gap: 1px; }
      .service-card { padding: 2rem 1.5rem; }
      /* Disable tilt on touch */
      .service-card:hover { transform: none !important; }

      /* Stats */
      .stats-bar { padding: 2rem 1.25rem; gap: 1.5rem; justify-content: space-between; }
      .stat-num { font-size: 2.2rem; }
      .stat-item { flex: 0 0 calc(50% - 0.75rem); }

      /* Process */
      .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }
      .process-steps::before { display: none; }
      .process-step { padding: 0; border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 2rem; }
      .process-step:last-child { border-bottom: none; padding-bottom: 0; }
      .ps-n { font-size: 2.8rem; margin-bottom: 0.8rem; }

      /* Blog */
      .blog-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
      .blog-grid { grid-template-columns: 1fr; gap: 1px; }
      .blog-card { padding: 1.8rem 1.5rem; }
      .blog-card.featured .blog-title { font-size: 1.4rem; }
      .blog-modal { padding: 0; align-items: stretch; }
      .blog-modal-panel { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 5rem 1.25rem 2rem; }
      .blog-modal-close { top: max(0.75rem, env(safe-area-inset-top)); right: max(0.75rem, env(safe-area-inset-right)); width: 44px; height: 44px; }

      /* Quote */
      .quote-inner { grid-template-columns: 1fr; gap: 2.5rem; }
      .quote-form { padding: 1.75rem 1.25rem; }
      .form-row { grid-template-columns: 1fr; }
      .quote-perks { gap: 0.75rem; }

      /* Testimonials */
      #testimonials { padding: 4rem 0; }
      .test-header { padding: 0 1.25rem; }
      .test-track { padding: 0 1.25rem; gap: 1rem; }
      .test-card { flex: 0 0 300px; padding: 1.75rem; }

      /* FAQ */
      .faq-q { font-size: 0.975rem; padding: 1.2rem 0; }

      /* Footer */
      .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
      footer { padding: 3.5rem 1.25rem 1.75rem; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
    }

    /* ── SMALL MOBILE (max 480px) ── */
    @media (max-width: 480px) {
      .hero-h1 { font-size: clamp(2.2rem, 11vw, 3rem); line-height: 1.0; }
      .hero-tag { font-size: 0.72rem; }
      .section-h2 { font-size: clamp(1.8rem, 7.5vw, 2.4rem); }
      .stats-bar { flex-direction: column; align-items: center; }
      .stat-item { flex: none; width: 100%; text-align: center; }
      .footer-top { grid-template-columns: 1fr; }
      .test-card { flex: 0 0 260px; }
      .quote-form { padding: 1.25rem 1rem; }
      .blog-card { padding: 1.5rem 1.25rem; }
      .service-card { padding: 1.75rem 1.25rem; }
      .process-inner { padding: 0 0.25rem; }
      nav { padding: 1rem; }
    }

    /* ── Touch — disable hover-only effects ── */
    @media (hover: none) {
      .service-card::after { display: none; }
      .service-card:hover .sc-title,
      .service-card:hover .sc-desc,
      .service-card:hover .sc-num,
      .service-card:hover .sc-icon { color: inherit; }
      .service-card:hover .sc-icon { background: none; border-color: var(--ink); }
      .btn-primary::before { display: none; }
      .form-submit::before { display: none; }
    }

    /* ── SUCCESS MESSAGE ── */
    .form-success {
      display: none;
      text-align: center;
      padding: 3rem;
    }
    .form-success.visible { display: block; }
    .form-success h3 {
      font-family: var(--serif);
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--ink);
      margin-bottom: 0.5rem;
    }
    .form-success p { color: #666; font-size: 0.925rem; }

    /* ── LOADING BAR ── */
    #progress-bar {
      position: fixed;
      top: 0; left: 0;
      width: 0; height: 3px;
      background: var(--acid);
      z-index: 10000;
      transition: width 0.2s;
    }
