
    /* =============================================
       DESIGN TOKENS — extracted from Framer source
       ============================================= */
    :root {
      --dark: #080808;
      --dark-alt: #0c0c0c;
      --blue: #5500dd;
      --orange: #ee0033;
      --yellow: #ff6b35;
      --white: #fff;
      --bg: #faf9f7;
      --gray-50: #f7f7f7;
      --gray-100: #ececec;
      --gray-200: #dcdcdc;
      --gray-300: #a8a8a8;
      --gray-400: #444;
      --navy: #19213d;
      --font: "Satoshi", system-ui, sans-serif;
      --wdth: 125;
    }

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

    html { font-size: 18px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 100px; scrollbar-width: none; }
    html::-webkit-scrollbar { display: none; }

    /* Scroll progress bar */
    .scroll-progress {
      position: fixed; top: 0; left: 0; height: 3px; z-index: 200;
      background: linear-gradient(90deg, var(--blue), var(--orange));
      width: 0%;
      transition: none;
    }
    body {
      font-family: var(--font);
      font-variation-settings: "wdth" var(--wdth);
      color: var(--navy);
      background: var(--bg);
      line-height: 1.5;
      overflow-x: hidden;
    }
    img { display: block; max-width: 100%; }
    a { text-decoration: none; color: inherit; }

    /* =============================================
       LAYOUT
       ============================================= */
    .container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
    @media (max-width: 809px) { .container { padding: 0 16px; } }

    /* =============================================
       TYPOGRAPHY — matching Framer presets
       ============================================= */
    .h1 {
      font-size: 76px;
      font-variation-settings: "wdth" var(--wdth), "wght" 600;
      line-height: 1.1;
    }
    .h2 {
      font-size: 62px;
      font-variation-settings: "wdth" var(--wdth), "wght" 600;
      line-height: 1.1;
    }
    .h3 {
      font-size: 30px;
      font-variation-settings: "wdth" var(--wdth), "wght" 600;
      line-height: 1.25;
    }
    .h4 {
      font-size: 32px;
      font-variation-settings: "wdth" var(--wdth), "wght" 600;
      line-height: 1.2;
    }
    .body {
      font-size: 16px;
      font-variation-settings: "wdth" var(--wdth), "wght" 500;
      line-height: 1.5;
      color: var(--gray-400);
    }
    .body-lg {
      font-size: 18px;
      font-variation-settings: "wdth" var(--wdth), "wght" 500;
      line-height: 1.5;
      color: var(--gray-400);
    }
    .label {
      font-size: 18px;
      font-variation-settings: "wdth" var(--wdth), "wght" 600;
      line-height: 1.25;
    }
    .stat-num {
      font-size: 60px;
      font-variation-settings: "wdth" var(--wdth), "wght" 600;
      line-height: 1.15;
    }

    @media (max-width: 1199px) {
      .h1 { font-size: 64px; }
      .h2 { font-size: 56px; }
      .h3 { font-size: 26px; }
      .h4 { font-size: 26px; }
      .stat-num { font-size: 48px; }
    }
    @media (max-width: 809px) {
      .h1 { font-size: 36px; }
      .h2 { font-size: 34px; }
      .h3 { font-size: 22px; }
      .h4 { font-size: 24px; }
      .body { font-size: 15px; }
      .body-lg { font-size: 16px; }
      .stat-num { font-size: 38px; }
    }

    /* =============================================
       BADGE (colored pill accent words)
       ============================================= */
    .badge {
      display: inline-block;
      padding: 10px 24px;
      border-radius: 16px;
      color: var(--white);
      transform: rotate(-5deg);
      white-space: nowrap;
    }
    .badge-blue { background: var(--blue); }
    .badge-orange { background: var(--orange); }
    .badge-yellow { background: var(--yellow); }
    @media (max-width: 809px) { .badge { border-radius: 10px; } }

    /* Title wrapper for badge + text rows */
    .title-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
    }
    /* Badge inherits parent font size */
    .title-row .badge,
    .title-row .h1,
    .title-row .h2 { font-size: inherit; }

    /* =============================================
       BUTTONS — matching Framer exactly
       ============================================= */
    .btn {
      position: relative;
      display: inline-flex;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--dark);
    }
    .btn-inner {
      position: relative; z-index: 1;
      padding: 16px 24px;
      font-size: 16px;
      font-variation-settings: "wdth" var(--wdth), "wght" 500;
      border-radius: 16px;
    }
    .btn-bg {
      position: absolute; inset: 0; z-index: 0;
      border-radius: 16px;
      transition: bottom 0.3s ease;
    }
    .btn:hover .btn-bg { bottom: -8px; }
    .btn { transition: transform 0.2s ease; }
    .btn:hover { transform: translateY(-2px); }
    .btn:active { transform: translateY(0); }

    .btn-text { transition: opacity 0.2s ease; }
    .btn-text:hover { opacity: 0.8; }
    .btn-text:hover .arrow-circle { transform: translate(2px, -2px); }
    .arrow-circle { transition: transform 0.3s ease; }

    .btn-dark .btn-inner { background: #5500DD; color: var(--white); }
    .btn-dark .btn-bg { background: #4400bb; }

    .btn-light .btn-inner { background: var(--white); color: var(--dark); }
    .btn-light .btn-bg { background: var(--blue); }

    .btn-hollow .btn-inner { background: var(--dark); color: var(--white); border: 1px solid var(--white); }
    .btn-hollow .btn-bg { background: var(--blue); }

    .btn-text {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 18px;
      font-variation-settings: "wdth" var(--wdth), "wght" 500;
    }

    .arrow-circle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px; height: 34px;
      border: 2px solid currentColor;
      border-radius: 9999px;
    }

    .btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
    @media (max-width: 809px) {
      .btn-inner { padding: 13px 16px; }
      .btn, .btn-inner { border-radius: 10px; }
      .btn-bg { border-radius: 10px; }
      .arrow-circle { width: 24px; height: 24px; }
      .arrow-circle svg { width: 8px; height: 8px; }
      .btn-text { font-size: 16px; }
    }

    /* Arrow SVG inline */
    .arrow-svg { width: 11px; height: 11px; }

    /* =============================================
       NAV
       ============================================= */
    .nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      background: rgba(250, 249, 247, 0.85);
      /* backdrop-filter removed for performance */
      border-bottom: 1px solid rgba(0,0,0,0.06);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav.scrolled {
      top: 12px;
      left: 24px;
      right: 24px;
      background: rgba(255, 255, 255, 0.82);
      /* backdrop-filter removed for performance */
      border-radius: 16px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
      border: 1px solid rgba(0,0,0,0.06);
      border-bottom: 1px solid rgba(0,0,0,0.06);
    }
    .nav.scrolled .nav-logo img {
      /* stays dark on white glass */
    }
    .nav.scrolled .nav-link {
      color: var(--navy);
    }
    .nav.scrolled .btn-text {
      color: var(--navy);
    }
    .nav.scrolled .arrow-circle {
      border-color: var(--navy);
      color: var(--navy);
    }
    .nav.scrolled .btn-dark .btn-inner {
      background: #5500DD;
      color: var(--white);
    }
    .nav-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 14px; padding-bottom: 14px;
      transition: padding 0.4s ease;
    }
    .nav.scrolled .nav-inner {
      padding-top: 8px; padding-bottom: 8px;
    }
    .nav-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-variation-settings: "wdth" 125, "wght" 800; text-decoration: none; }
    .nav-logo .logo-skip { color: #191923; }
    .nav-logo .logo-noise { background: linear-gradient(90deg, #5500dd, #cc0000); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .nav-logo img { height: 41px; width: auto; }
    .nav-links {
      display: flex; align-items: center; gap: 2px;
    }
    .nav-link {
      font-size: 14px;
      font-variation-settings: "wdth" var(--wdth), "wght" 500;
      padding: 7px 14px;
      border-radius: 100px;
      position: relative;
      transition: background 0.2s, color 0.2s;
      color: #555;
    }
    .nav-link::after { display: none; }
    .nav-link:hover {
      background: rgba(0,0,0,0.05);
      color: var(--navy);
    }
    .nav-link.active {
      color: var(--navy);
      font-variation-settings: "wdth" var(--wdth), "wght" 600;
    }
    /* Resources dropdown */
    .nav-dropdown { position: relative; }
    .nav-dropdown-trigger {
      display: flex; align-items: center; gap: 2px;
      background: none; border: none; cursor: pointer;
      font-family: inherit;
    }
    .nav-dropdown-menu {
      display: none;
      position: absolute; top: calc(100% + 8px); left: 50%;
      transform: translateX(-50%);
      background: #fff; border: 1px solid rgba(0,0,0,0.08);
      border-radius: 14px; padding: 8px;
      min-width: 180px; box-shadow: 0 8px 32px rgba(0,0,0,0.12);
      z-index: 200;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }
    .nav-dropdown-section {
      font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
      text-transform: uppercase; color: #FF4500;
      padding: 4px 10px 6px;
    }
    .nav-dropdown-item {
      display: flex; align-items: center; gap: 8px;
      font-size: 14px; color: #191923; text-decoration: none;
      padding: 8px 10px; border-radius: 8px;
      font-variation-settings: "wdth" var(--wdth), "wght" 500;
      transition: background 0.15s;
    }
    .nav-dropdown-item:hover { background: rgba(0,0,0,0.04); color: #5500DD; }
    .nav-right { display: flex; align-items: center; gap: 8px; }
    .nav-email {
      display: flex; align-items: center; gap: 6px;
      font-size: 18px;
      font-variation-settings: "wdth" var(--wdth), "wght" 500;
    }
    .hamburger {
      display: none;
      width: 40px; height: 40px;
      background: rgba(0,0,0,0.06); border: none; border-radius: 8px;
      flex-direction: column; justify-content: center; align-items: center; gap: 5px;
      cursor: pointer; transition: background 0.2s;
    }
    .hamburger:hover { background: rgba(0,0,0,0.1); }
    .hamburger span {
      display: block; width: 18px; height: 2px;
      background: #191923; border-radius: 2px; transition: all 0.25s;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }
    @media (max-width: 1199px) {
      .nav-links, .nav-right { display: none; }
      .hamburger { display: flex; }
    }
    /* Mobile drawer */
    .mobile-menu {
      display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      z-index: 99; padding-top: 80px;
      background: rgba(255,255,255,0.99);
      flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu-link {
      font-size: 28px; font-variation-settings: "wdth" 125, "wght" 800;
      color: #0a0a0a; text-decoration: none; padding: 10px 24px;
      border-radius: 12px; transition: background 0.15s, color 0.15s;
      letter-spacing: -0.02em;
    }
    .mobile-menu-link:hover { background: rgba(0,0,0,0.05); }
    .mobile-menu-cta {
      margin-top: 24px; display: inline-block;
      background: #5500DD; color: white; font-size: 16px;
      font-variation-settings: "wdth" 125, "wght" 700;
      padding: 14px 32px; border-radius: 100px; text-decoration: none;
    }
    @media (max-width: 809px) {
      .nav-inner { padding-top: 24px; padding-bottom: 24px; }
    }

    /* =============================================
       HERO
       ============================================= */
    .hero {
      position: relative;
      background: var(--gray-50);
      border-bottom-left-radius: 64px;
      border-bottom-right-radius: 64px;
      overflow: visible;
      margin-bottom: 20px;
    }
    .hero-bg {
      position: absolute; inset: 0;
      background-image: radial-gradient(circle, rgba(0,0,0,0.09) 1px, transparent 1px);
      background-size: 20px 20px;
      border-bottom-left-radius: 64px;
      border-bottom-right-radius: 64px;
      overflow: hidden;
    }
    .hero-bg::before {
      content: '';
      position: absolute;
      top: 10%; left: 50%;
      transform: translateX(-50%);
      width: 700px; height: 400px;
      background: radial-gradient(ellipse at center, rgba(85,0,221,0.10) 0%, rgba(238,0,51,0.06) 50%, transparent 75%);
      pointer-events: none;
    }
    .hero-content {
      position: relative; z-index: 1;
      padding: 100px 0 0;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .hero-center {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 16px;
      padding-bottom: 36px;
    }
    .hero-headline {
      font-size: clamp(40px, 5.8vw, 92px);
      line-height: 1.08;
      letter-spacing: -0.03em;
      color: var(--navy);
    }
    .hero-headline-bold {
      display: block;
      font-family: "Satoshi", system-ui, sans-serif;
      font-weight: 900;
      letter-spacing: -0.04em;
    }
    .hero-headline-italic {
      display: block;
      font-family: "Satoshi", system-ui, sans-serif;
      font-style: normal;
      font-weight: 900;
      font-size: 1em;
      color: var(--navy);
    }
    /* Full-width creative marquee strip */
    .hero-marquee-wrap {
      width: 100%;
      overflow: hidden;
      padding: 10px 0 40px;
      position: relative;
      mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    }
    /* No edge fades */
    .hero-marquee-track {
      display: flex;
      width: max-content;
      gap: 10px;
      animation: hero-scroll 45s linear infinite;
    }
    @keyframes hero-scroll {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }
    .hero-marquee-track--reverse {
      animation: hero-scroll 130s linear infinite;
    }
    /* Pause on hover */
    .hero-marquee-wrap:hover .hero-marquee-track {
      animation-play-state: paused;
    }
    .hero-marquee-card {
      flex-shrink: 0;
      width: 320px;
      aspect-ratio: 4/5;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(0,0,0,0.12);
      position: relative;
    }
    .hero-marquee-card img {
      width: 100%; height: 100%; object-fit: cover; display: block;
    }
    .hero-marquee-card--contain {
      background: #fff;
    }
    .hero-marquee-card--contain img {
      object-fit: contain;
    }
    .hero-marquee-card .fb-badge {
      position: absolute; top: 6px; left: 6px;
      background: rgba(255,255,255,0.92);
      border-radius: 4px;
      font-size: 9px; font-weight: 800;
      padding: 2px 6px;
      color: #1877F2;
    }
    /* ROAS bar between headline and marquee */
    .hero-roas-bar {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 8px 20px;
      background: white;
      border-radius: 100px;
      box-shadow: 0 2px 16px rgba(0,0,0,0.07);
      border: 1px solid rgba(0,0,0,0.06);
    }
    .hero-grid {
      display: flex;
      align-items: stretch;
      gap: 24px;
    }
    .hero-left {
      flex: 1.43 0 0;
      display: flex;
      flex-direction: column;
      gap: 24px;
      min-width: 0;
      justify-content: center;
    }
    .hero-right {
      flex: 1.43 0 0;
      position: relative;
      min-width: 0;
      display: flex;
      align-items: stretch;
    }
    .hero-collage {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 10px;
      height: 420px;
      width: 100%;
      position: relative;
    }
    .hero-collage-main {
      grid-row: 1 / -1;
      border-radius: 16px;
      overflow: hidden;
    }
    .hero-collage-main img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
    .hero-collage-sub {
      border-radius: 16px;
      overflow: hidden;
    }
    .hero-collage-sub img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }

    /* Bloom chart floating widget */
    .bloom-overlay {
      position: absolute;
      bottom: -90px;
      left: 50%;
      transform: translateX(-50%) translateY(40px);
      width: 420px;
      height: 310px;
      border-radius: 18px;
      background: rgba(255, 253, 248, 0.90);
      /* backdrop-filter removed for performance */
      box-shadow: 0 8px 32px rgba(0,0,0,0.08);
      border: 1px solid rgba(0,0,0,0.05);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 12px;
      z-index: 5;
      opacity: 0;
    }
    @media (max-width: 809px) {
      .bloom-overlay { display: none !important; }
    }

    .hero-ad-label {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--gray-400);
      margin-top: 4px;
      padding-left: 2px;
    }
    .hero-shape {
      position: absolute;
      top: 194px; left: -34px;
      width: 16%; height: 11%;
    }
    @media (max-width: 1199px) {
      .hero-grid { flex-direction: column; gap: 70px; }
      .hero-left { align-items: center; text-align: center; }
      .hero-left .title-row { justify-content: center; }
      .hero-left .btn-row { justify-content: center; }
      .hero-right { width: 100%; max-width: 700px; align-self: center; }
      .hero-img-wrap { width: 100%; }
    }
    @media (max-width: 809px) {
      .hero { border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; }
      .hero-bg { border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; }
      .hero-content { padding: 100px 0 80px; }
      .hero-left { gap: 16px; }
      .hero-hand { bottom: -41px; left: 63px; }
    }

    /* =============================================
       LOGO STRIP
       ============================================= */
    .logo-strip {
      background: var(--dark);
      padding: 40px 0;
      overflow: hidden;
    }
    .logo-track {
      display: flex;
      width: max-content;
      animation: scroll-logos 30s linear infinite -10s;
    }
    @keyframes scroll-logos {
      from { transform: translateX(0); }
      to { transform: translateX(var(--shift, -12.5%)); }
    }
    .logo-set {
      display: flex;
      align-items: center;
      gap: 24px;
      padding-right: 24px;
    }
    .logo-img { height: 18px; width: auto; opacity: 0.5; filter: brightness(0) invert(1); }
    .logo-svg { height: 18px; width: auto; opacity: 0.5; flex-shrink: 0; fill: white; }
    .logo-label { font-size: 14px; font-weight: 700; opacity: 0.55; white-space: nowrap; color: var(--white); letter-spacing: 0.02em; }
    .logo-dot { flex-shrink: 0; width: 28px; height: 28px; }
    @media (max-width: 809px) {
      .logo-strip { padding: 24px 0; }
      .logo-set { gap: 16px; padding-right: 16px; }
      .logo-img { height: 30px; }
      .logo-dot { width: 16px; height: 16px; }
    }

    /* =============================================
       SECTIONS (rounded light containers)
       ============================================= */
    .section-bg {
      background: var(--dark);
    }
    .section-rounded {
      background: var(--gray-50);
      border-radius: 64px;
      /* No overflow hidden — let testimonials scroll freely */
    }
    /* Alternating section backgrounds for visual rhythm */
    .section-white {
      background: #fff;
      position: relative;
    }
    .section-white::before,
    .section-white::after {
      content: '';
      position: absolute;
      left: 10%; right: 10%;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
    }
    .section-white::before { top: 0; }
    .section-white::after { bottom: 0; }
    @media (max-width: 1199px) { .section-rounded { border-radius: 54px; } }
    @media (max-width: 809px) { .section-rounded { border-radius: 40px; } }

    .section-inner {
      padding: 60px 0;
    }
    .section-inner:first-child { padding-top: 80px; }
    .section-inner:last-child { padding-bottom: 80px; }
    @media (max-width: 1199px) {
      .section-inner { padding: 40px 0; }
      .section-inner:first-child { padding-top: 60px; }
      .section-inner:last-child { padding-bottom: 60px; }
    }
    @media (max-width: 809px) {
      .section-inner { padding: 30px 0; }
      .section-inner:first-child { padding-top: 40px; }
      .section-inner:last-child { padding-bottom: 40px; }
    }

    .section-dark {
      background: var(--dark);
      padding: 80px 0;
    }
    @media (max-width: 1199px) { .section-dark { padding: 60px 0; } }
    @media (max-width: 809px) { .section-dark { padding: 40px 0; } }

    .section-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      margin-bottom: 48px;
      text-align: center;
    }
    .section-header .body { max-width: 596px; }

    /* =============================================
       SERVICE CARDS (3-col grid)
       ============================================= */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    @media (max-width: 1199px) { .grid-3 { gap: 8px; } }
    @media (max-width: 809px) { .grid-3 { grid-template-columns: 1fr; } }

    .service-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 10px;
      padding-top: 0;
      transition: transform 0.3s ease;
    }
    .service-card:hover { transform: translateY(-6px); }
    /* Staggered offsets scoped to services section only */
    #services .service-card { padding-top: 64px; }
    #services .service-card:nth-child(2) { padding-top: 32px; }
    #services .service-card:nth-child(3) { padding-top: 0; }
    #services .service-card:nth-child(4) { padding-top: 64px; }
    #services .service-card:nth-child(5) { padding-top: 32px; }
    #services .service-card:nth-child(6) { padding-top: 0; }
    .service-icon { width: 90px; height: 80px; object-fit: contain; }

    @media (max-width: 809px) {
      .service-card, #services .service-card, #services .service-card:nth-child(n) { padding-top: 0; }
      #services .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
      }
      #services .container > div[style*="grid-template-columns"] > div {
        border-right: none !important;
      }
    }

    /* =============================================
       EXTENSION (2-col layout with stats)
       ============================================= */
    .ext-grid {
      display: flex;
      gap: 80px;
      align-items: flex-start;
    }
    .ext-left {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .ext-right {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .stats-row { display: flex; gap: 40px; margin-top: 16px; }
    .stat-label {
      font-size: 18px;
      font-variation-settings: "wdth" var(--wdth), "wght" 500;
      color: var(--gray-400);
    }
    .ext-img { width: 100%; max-width: 582px; margin-top: 24px; }
    @media (max-width: 1199px) {
      .ext-grid { flex-direction: column; gap: 40px; }
      .ext-left { align-items: center; text-align: center; }
      .ext-left .title-row { justify-content: center; }
      .ext-left .btn-row { justify-content: center; }
      .stats-row { justify-content: center; }
    }

    /* =============================================
       PROJECTS (grid gallery)
       ============================================= */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat(2, 251px);
      grid-auto-rows: minmax(251px, auto);
      gap: 16px;
    }
    .project-card {
      border-radius: 24px;
      overflow: hidden;
      position: relative;
      display: flex;
    }
    .project-large { grid-column: span 2; grid-row: span 2; flex-direction: column; }
    .project-wide { grid-column: span 2; align-items: center; }
    .project-small {
      align-items: center; justify-content: center;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='126' height='126'%3E%3Cpath d='M126 0v21.584L21.584 126H0v-17.585L108.415 0H126Zm0 108.414V126h-17.586L126 108.414Zm0-84v39.171L63.585 126H24.414L126 24.414Zm0 42v39.17L105.584 126h-39.17L126 66.414ZM105.586 0 0 105.586V66.415L66.415 0h39.171Zm-42 0L0 63.586V24.415L24.415 0h39.171Zm-42 0L0 21.586V0h21.586Z' fill='rgba(136,136,136,0.2)' fill-rule='evenodd'/%3E%3C/svg%3E");
      background-size: 64px;
    }
    .project-top { padding: 45px 32px 0; display: flex; align-items: center; gap: 8px; z-index: 2; }
    .project-icon { width: 48px; height: 48px; }
    .project-thumb { position: absolute; bottom: 0; right: 0; width: 77%; object-fit: contain; z-index: 1; }
    .project-thumb-sq { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
    .project-info-row { position: absolute; top: 0; left: 0; padding: 42px; display: flex; align-items: center; gap: 8px; z-index: 2; }
    .project-name { font-size: 24px; font-variation-settings: "wdth" var(--wdth), "wght" 600; }
    .project-thumb-half { position: absolute; bottom: 0; right: 0; width: 50%; height: 100%; object-fit: cover; }

    @media (max-width: 1199px) {
      .projects-grid { grid-template-rows: repeat(2, 190px); grid-auto-rows: 190px; }
    }
    @media (max-width: 809px) {
      .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-auto-rows: auto;
      }
      .project-card { border-radius: 16px; min-height: 180px; }
      .project-thumb-sq { border-radius: 16px; }
    }

    /* =============================================
       PROCESS (left/right layout with step cards)
       ============================================= */
    .process-grid {
      display: flex;
      gap: 24px;
    }
    .process-left {
      flex: 0 0 446px;
      display: flex;
      flex-direction: column;
      gap: 24px;
      padding-right: 24px;
    }
    .process-right {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .step-card {
      position: relative;
      padding-left: 24px;
    }
    .step-num {
      position: absolute; top: 0; left: 0;
      width: 48px; height: 48px;
      background: var(--dark); color: var(--white);
      border-radius: 9999px;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px;
      font-variation-settings: "wdth" var(--wdth), "wght" 600;
      z-index: 2;
    }
    .step-body {
      border: 2px solid var(--dark);
      border-radius: 24px;
      background: var(--gray-50);
      padding: 48px 38px 48px 53px;
      display: flex; gap: 12px; align-items: flex-start;
    }
    .step-icon { width: 90px; height: 80px; object-fit: contain; flex-shrink: 0; }
    .step-content { display: flex; flex-direction: column; gap: 8px; }

    @media (max-width: 1199px) {
      .process-grid { flex-direction: column; }
      .process-left { flex: none; align-items: center; text-align: center; padding-right: 0; }
      .process-left .title-row { justify-content: center; }
    }
    @media (max-width: 809px) {
      .step-body { padding: 32px 24px; flex-direction: column; }
      .step-num { width: 40px; height: 40px; font-size: 16px; }
      .step-card { border-radius: 16px; }
    }

    /* =============================================
       TESTIMONIALS (horizontal scroll)
       ============================================= */
    .testimonials-scroll {
      overflow: hidden;
      width: 100vw;
      position: relative;
      left: 50%;
      transform: translateX(-50%);
      cursor: grab;
    }
    .testimonials-scroll:active { cursor: grabbing; }
    /* Preserve the horizontal centering transform when visible — data-anim:visible sets transform:none which would remove translateX(-50%) */
    .testimonials-scroll[data-anim].visible { transform: translateX(-50%); }
    .testimonials-scroll.is-dragging .testimonials-track { animation-play-state: paused; }
    .testimonials-track {
      display: flex;
      gap: 24px;
      width: max-content;
      padding-left: max(24px, calc((100vw - 1200px) / 2));
      animation: testi-scroll 40s linear infinite;
    }
    @keyframes testi-scroll {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }
    .testimonial-card {
      width: 602px; flex-shrink: 0;
      border: 2px solid var(--dark);
      border-radius: 24px;
      background: var(--gray-50);
      padding: 46px;
      display: flex; flex-direction: column;
      justify-content: space-between;
      gap: 24px;
    }
    .testimonial-top { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
    .testimonial-icon { width: 41px; height: 41px; }
    .testimonial-author { display: flex; align-items: center; gap: 10px; justify-content: center; padding-top: 24px; }
    .avatar { width: 64px; height: 64px; border-radius: 9999px; }
    .author-name { font-variation-settings: "wdth" var(--wdth), "wght" 600; }
    .author-loc { font-variation-settings: "wdth" var(--wdth), "wght" 500; color: var(--gray-400); }

    @media (max-width: 1199px) { .testimonial-card { width: 502px; padding: 40px 32px; } }
    @media (max-width: 809px) { .testimonial-card { width: 320px; padding: 32px 24px; border-radius: 16px; } }
    .testimonial-card .stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; }

    /* =============================================
       FUN — hover lifts, icon bounce, collage float
       ============================================= */
    .service-card {
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      cursor: default;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 40px rgba(0,0,0,0.10);
    }
    .service-card:hover .service-icon {
      animation: icon-bounce 0.5s ease;
    }
    @keyframes icon-bounce {
      0%   { transform: translateY(0) scale(1); }
      30%  { transform: translateY(-10px) scale(1.1); }
      60%  { transform: translateY(-4px) scale(1.05); }
      100% { transform: translateY(0) scale(1); }
    }

    /* collage-float animation removed for performance */
    @keyframes pulse-glow {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%      { opacity: 0.5; transform: scale(1.3); }
    }

    /* Result cards hover with color glow */
    .result-card, section a[href="#work"] > div {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .result-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 40px rgba(85,0,221,0.15), 0 4px 12px rgba(0,0,0,0.12);
    }

    /* Gallery items — hover scale + caption slide */
    #work-gallery [style*="position:relative"] {
      cursor: pointer;
    }
    #work-gallery [style*="position:relative"] img,
    #work-gallery [style*="position:relative"] video {
      transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }
    #work-gallery [style*="position:relative"]:hover img,
    #work-gallery [style*="position:relative"]:hover video {
      transform: scale(1.05);
    }
    #work-gallery [style*="position:relative"] > div:last-child {
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    #work-gallery [style*="position:relative"]:hover > div:last-child {
      opacity: 1;
      transform: translateY(0);
    }

    /* Tool pills stagger animation */
    .tool-pill {
      opacity: 0;
      transform: translateY(10px);
      animation: pill-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    @keyframes pill-in {
      to { opacity: 1; transform: translateY(0); }
    }

    /* Testimonial cards pause on hover or touch */
    .testimonials-track:hover,
    .testimonials-scroll.is-touching .testimonials-track { animation-play-state: paused; }
    .testimonials-scroll { cursor: grab; }
    .testimonials-scroll.is-dragging,
    .testimonials-scroll.is-touching { cursor: grabbing; }

    /* Badge hover */
    .badge:hover {
      filter: brightness(1.1);
    }

    /* ── Logo "Noise" glitch easter egg ───────────────────────────── */
    @keyframes noise-glitch {
      0%   { transform: none; filter: none; }
      8%   { transform: translate(-3px, 1px) skewX(-4deg); filter: hue-rotate(80deg) brightness(1.3); opacity: 0.75; }
      12%  { transform: translate(3px, -1px) skewX(2deg); }
      16%  { transform: none; filter: none; opacity: 1; }
      48%  { transform: none; }
      52%  { transform: translate(2px, -2px); filter: hue-rotate(200deg) brightness(1.2); opacity: 0.8; }
      56%  { transform: translate(-2px, 1px); }
      60%  { transform: none; filter: none; opacity: 1; }
      100% { transform: none; filter: none; }
    }
    .nav-logo:hover .logo-noise {
      animation: noise-glitch 0.65s ease-in-out;
      cursor: pointer;
    }

    /* ── Marquee slow-on-hover (instead of hard stop) ─────────────── */
    .hero-marquee-wrap:hover .hero-marquee-track {
      animation-duration: 180s;
    }

    /* ── Floating platform badges in hero ─────────────────────────── */
    .hero-float-badges {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
    }
    .hero-float-badge {
      position: absolute;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(255,255,255,0.72);
      border: 1px solid rgba(0,0,0,0.08);
      border-radius: 100px;
      padding: 5px 11px 5px 7px;
      font-size: 11px;
      font-weight: 700;
      color: rgba(0,0,0,0.55);
      backdrop-filter: blur(6px);
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      animation: badge-float var(--dur, 5s) ease-in-out var(--delay, 0s) infinite alternate;
      white-space: nowrap;
    }
    .hero-float-badge img { width: 14px; height: 14px; border-radius: 3px; }
    @keyframes badge-float {
      from { transform: translateY(0px); }
      to   { transform: translateY(-10px); }
    }
    @media (max-width: 809px) { .hero-float-badges { display: none; } }

    /* ── Case study stat overlay on hover ─────────────────────────── */
    .case-img-wrap { position: relative; height: 300px; overflow: hidden; background: #f5f5f5; }
    .case-img-wrap img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform 0.4s ease; }
    .case-card-link:hover .case-img-wrap img { transform: scale(1.03); }
    .case-stat-overlay {
      position: absolute;
      inset: 0;
      background: rgba(5,0,20,0.78);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      opacity: 0;
      transition: opacity 0.22s ease;
    }
    .case-card-link:hover .case-stat-overlay { opacity: 1; }
    .case-stat-number {
      font-family: var(--font);
      font-size: 52px;
      font-variation-settings: 'wdth' 125, 'wght' 900;
      color: #fff;
      line-height: 1;
      letter-spacing: -0.04em;
    }
    .case-stat-label {
      font-size: 12px;
      font-weight: 700;
      color: rgba(255,255,255,0.55);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .case-stat-sub {
      font-size: 13px;
      color: rgba(255,255,255,0.4);
      margin-top: 2px;
    }

    /* =============================================
       FAQ ACCORDION
       ============================================= */
    .faq-item details { border: none; }
    .faq-item details summary {
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 24px 0;
      gap: 16px;
    }
    .faq-item details summary::-webkit-details-marker { display: none; }
    .faq-item details summary::marker { display: none; }
    .faq-toggle {
      width: 32px; height: 32px; flex-shrink: 0;
      border: 2px solid var(--dark);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; font-weight: 300; line-height: 1;
      transition: transform 0.25s ease, background 0.25s ease;
    }
    .faq-item details[open] .faq-toggle {
      background: var(--dark);
      color: var(--white);
      transform: rotate(45deg);
    }
    .faq-body {
      padding-bottom: 24px;
      animation: faq-open 0.2s ease;
    }
    @keyframes faq-open {
      from { opacity: 0; transform: translateY(-6px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* --- COLOR ACCENTS --- */

    /* 1. Service title colored dots */
    #services .container > div[style*="grid-template-columns"] > div h3::before {
      content: '';
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      margin-right: 8px;
      vertical-align: middle;
      background: var(--blue);
    }
    #services .container > div[style*="grid-template-columns"] > div:nth-child(3n+2) h3::before { background: var(--orange); }
    #services .container > div[style*="grid-template-columns"] > div:nth-child(3n) h3::before { background: var(--yellow); }

    /* 3. FAQ toggle colored purple */
    .faq-toggle {
      color: var(--blue) !important;
      border-color: var(--blue) !important;
    }
    .faq-item details[open] .faq-toggle {
      background: var(--blue) !important;
      border-color: var(--blue) !important;
      color: var(--white) !important;
    }

    /* 5. Team photo gradient overlay */
    .team-photo-wrap {
      position: relative;
    }
    .team-photo-wrap::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 80px;
      background: linear-gradient(transparent 0%, white 100%);
      pointer-events: none;
    }

    /* 7. FAQ items colored left border */
    .faq-item:nth-child(odd) {
      border-left: 3px solid var(--blue) !important;
    }
    .faq-item:nth-child(even) {
      border-left: 3px solid var(--orange) !important;
    }

    /* =============================================
       CTA
       ============================================= */
    .cta {
      position: relative;
      overflow: hidden;
    }
    .cta-content {
      position: relative; z-index: 1;
      max-width: 680px;
      margin: 0 auto;
      display: flex; flex-direction: column; align-items: center; gap: 16px;
      text-align: center;
      padding: 48px 0;
    }
    .cta-frame {
      position: absolute;
      inset: -20px -40px;
      border: 3px solid var(--blue);
      border-radius: 11px;
      pointer-events: none;
    }
    .cta-dot {
      position: absolute;
      width: 28px; height: 28px;
      background: var(--blue);
      border-radius: 6px;
    }
    .cta-hand {
      position: relative;
      width: 375px;
      z-index: 2;
      margin-top: -60px;
    }
    /* Decorative elements */
    .cta-sparkle {
      position: absolute;
      z-index: 2;
      pointer-events: none;
    }
    .cta-sparkle-lines {
      top: -40px; left: 32px;
      width: 99px; height: 99px;
    }
    .cta-cursor {
      top: -18px; right: 32px;
      width: 40px; height: 40px;
    }
    .cta-x {
      top: -10px; right: -20px;
      font-size: 32px; color: var(--white); font-weight: 300;
      opacity: 0.6;
    }
    .cta-circle {
      bottom: 40px; left: -30px;
      width: 26px; height: 26px;
      background: var(--white);
      border-radius: 50%;
      opacity: 0.3;
    }
    @media (max-width: 809px) {
      .cta-hand { width: 200px; margin-top: -40px; }
      .cta-frame { inset: -16px -20px; }
      .cta-dot { width: 20px; height: 20px; }
      .cta-sparkle-lines { width: 64px; height: 64px; left: -7px; }
      .cta-cursor { width: 32px; height: 32px; right: 0; }
    }

    /* =============================================
       FOOTER
       ============================================= */
    .footer {
      background: var(--dark);
      padding: 80px 0 48px;
    }
    .footer-top {
      display: flex; flex-direction: column; align-items: center; gap: 16px;
      padding-bottom: 80px;
      text-align: center;
    }
    .footer-bottom {
      display: flex; justify-content: space-between; align-items: center;
      padding-top: 48px;
    }
    .footer-copy {
      font-size: 16px;
      font-variation-settings: "wdth" var(--wdth), "wght" 500;
      color: var(--white);
    }
    @media (max-width: 809px) {
      .footer { padding: 54px 0 40px; }
      .footer-bottom { flex-direction: column; gap: 12px; }
    }

    /* =============================================
       UTILITIES
       ============================================= */
    /* =============================================
       SCROLL ANIMATIONS — Framer-style
       ============================================= */
    [data-anim] {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }
    [data-anim="up"] {
      opacity: 0;
      transform: translateY(30px);
    }
    [data-anim="down"] {
      opacity: 0;
      transform: translateY(-30px);
    }
    [data-anim="left"] {
      opacity: 0;
      transform: translateX(-40px);
    }
    [data-anim="right"] {
      opacity: 0;
      transform: translateX(40px);
    }
    [data-anim="scale"] {
      opacity: 0;
      transform: scale(0.9);
    }
    [data-anim="blur"] {
      opacity: 0;
      filter: blur(8px);
      transform: none;
    }
    [data-anim="tilt"] {
      opacity: 0;
      transform: rotate(-5deg) scale(0.85);
      transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    [data-anim="slide-left"] {
      opacity: 0;
      transform: translateX(-30px);
    }
    [data-anim="slide-right"] {
      opacity: 0;
      transform: translateX(30px);
    }
    [data-anim].visible {
      opacity: 1;
      transform: none;
      filter: none;
    }
    [data-anim="tilt"].visible {
      opacity: 1;
      transform: rotate(-5deg) scale(1);
    }
    /* Step cards preserve their rotate when animated */
    .step-card[data-anim].visible {
      opacity: 1;
      transform: var(--step-rotate, none);
    }
    /* Stagger delays */
    [data-delay="1"] { transition-delay: 0.08s; }
    [data-delay="2"] { transition-delay: 0.16s; }
    [data-delay="3"] { transition-delay: 0.24s; }
    [data-delay="4"] { transition-delay: 0.32s; }
    [data-delay="5"] { transition-delay: 0.40s; }
    [data-delay="6"] { transition-delay: 0.48s; }

    /* Hero word reveal */
    .hero-word {
      display: inline-block;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .hero-word.visible {
      opacity: 1;
      transform: none;
    }

    /* Magnetic button base */
    .btn {
    }

    /* Gallery stagger children */
    [data-stagger] > * {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    [data-stagger].stagger-visible > * {
      opacity: 1;
      transform: none;
    }
    /* Re-hide gallery captions after stagger reveals the parent items */
    #work-gallery [data-stagger].stagger-visible > * > div:last-child {
      opacity: 0;
      transform: translateY(8px);
    }
    #work-gallery [data-stagger].stagger-visible > *:hover > div:last-child {
      opacity: 1;
      transform: translateY(0);
    }

    /* Parallax elements should not jitter */
    .hero-collage-main,
    .hero-collage-sub,
    .hero-collage > div[style*="position:absolute"] {
      /* will-change removed */
    }

    /* =============================================
       SCROLL-LINKED PARALLAX — depth layers
       ============================================= */
    [data-parallax] {
      /* will-change removed */
    }

    /* Section scale-in reveal */
    .section-rounded[data-scroll-scale] {
      transform: scale(0.92);
      overflow: hidden;
      transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .section-rounded[data-scroll-scale].scale-visible {
      transform: scale(1);
    }

    .white { color: var(--white) !important; }
    .text-center { text-align: center; }
    .flex-center { display: flex; flex-direction: column; align-items: center; }
    .mt-24 { margin-top: 24px; }
    .mt-32 { margin-top: 32px; }
    .mb-32 { margin-bottom: 32px; }
    .mb-48 { margin-bottom: 48px; }
    .gap-16 { gap: 16px; }
    .gap-24 { gap: 24px; }

    /* =============================================
       MOBILE OVERHAUL — main landing page
       ============================================= */
    @media (max-width: 809px) {
      /* Nav */
      .nav-links, .nav-email { display: none !important; }
      .hamburger { display: flex !important; }
      .nav-right { display: flex !important; }
      .nav-inner { padding: 12px 0 !important; }
      .nav-logo { font-size: 18px !important; white-space: nowrap; }
      .nav-logo img { height: 32px !important; }
      .nav-right .btn .btn-inner { padding: 10px 14px !important; font-size: 12px !important; white-space: nowrap; }
      .nav-right a { font-size: 12px !important; padding: 8px 14px !important; white-space: nowrap; }
      .nav.scrolled { left: 12px; right: 12px; border-radius: 14px; top: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

      /* Results section */
      .case-grid { grid-template-columns: 1fr !important; }
      .stats-row { flex-direction: column !important; max-width: 100% !important; border-radius: 14px !important; }
      .stat-cell--bordered { border-right: none !important; border-bottom: 1.5px solid #e8e8e8 !important; }

      /* Hero */
      .hero-content { padding: 80px 0 24px !important; }
      .hero-grid { flex-direction: column !important; gap: 24px !important; }
      .hero-left { padding-top: 0 !important; align-items: center !important; text-align: center; gap: 16px !important; }
      .hero-left .h1 { font-size: 28px !important; line-height: 1.2 !important; }
      .hero-left .title-row { justify-content: center !important; }
      .hero-left .badge { font-size: 24px !important; padding: 5px 14px !important; }
      .hero-left .body { font-size: 14px !important; }
      .hero-left .btn-row { justify-content: center !important; }
      .hero-left > div[style*="flex-wrap"] { justify-content: center !important; }
      .hero-right { display: block !important; width: 100% !important; max-width: 100%; margin: 0 auto; padding: 0 8px; }
      .hero-collage { height: auto !important; animation: none !important; grid-template-columns: 1fr 1fr !important; grid-template-rows: auto !important; gap: 8px !important; }
      .hero-collage-main { grid-row: auto !important; grid-column: span 2 !important; max-height: 180px; border-radius: 16px; overflow: hidden; }
      .hero-collage-sub { display: block !important; max-height: 120px; border-radius: 12px; overflow: hidden; }
      .bloom-overlay { display: none !important; }

      /* General sections */
      .container { padding: 0 16px !important; }
      .section-inner { padding: 40px 0 !important; }
      .section-inner:first-child { padding-top: 48px !important; }
      .section-inner:last-child { padding-bottom: 48px !important; }
      .section-dark { padding: 36px 0 !important; }
      .section-rounded { border-radius: 32px !important; }
      /* Disable scale-in on mobile — prevents edge clipping at narrow widths */
      .section-rounded[data-scroll-scale] { transform: none !important; overflow: visible !important; }
      .section-rounded[data-scroll-scale].scale-visible { transform: none !important; }

      /* Section headers */
      .section-header { flex-direction: column !important; align-items: center !important; text-align: center; gap: 16px !important; }
      .section-header .title-col { max-width: 100% !important; padding: 0 !important; align-items: center !important; }
      .section-header .title-row { justify-content: center !important; flex-wrap: wrap; }

      /* Grids */
      .grid-3 { grid-template-columns: 1fr !important; gap: 16px !important; }
      .grid-2 { grid-template-columns: 1fr !important; gap: 16px !important; }

      /* Team section */
      div[style*="grid-template-columns:1fr 1fr"][style*="max-width:800px"] { grid-template-columns: 1fr !important; max-width: 400px !important; }

      /* Extension section */
      .ext-grid { flex-direction: column !important; gap: 24px !important; }
      .ext-left { max-width: 100% !important; padding: 0 !important; align-items: center !important; text-align: center; }
      .ext-right { max-width: 100% !important; padding: 0 !important; }
      .ext-img-wrap { width: 100% !important; max-width: 400px; margin: 0 auto; }
      .stats-row { justify-content: center !important; flex-wrap: wrap; gap: 32px !important; }

      /* Projects grid */
      .projects-grid { grid-template-columns: 1fr !important; grid-template-rows: auto !important; gap: 16px !important; }
      .projects-grid > * { grid-column: span 1 !important; grid-row: span 1 !important; }
      .projects-grid .project-card > div[style*="justify-content:space-between"] { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
      .projects-grid .project-card > div[style*="justify-content:space-between"] > div[style*="flex-direction:column"][style*="text-align:right"] { text-align: left !important; }
      .projects-grid .project-card > div[style*="justify-content:space-between"] > div[style*="gap:40px"] { gap: 24px !important; }
      .projects-grid .project-card > div[style*="justify-content:space-between"] > p.body { max-width: 100% !important; }

      /* Process cards */
      .process-grid { flex-direction: column !important; gap: 24px !important; }
      .process-card { transform: none !important; }
      /* Process timeline — stack on mobile */
      #process div[style*="grid-template-columns:1fr 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 32px !important; }
      #process .process-line-bg, #process .process-line-fill { display: none !important; }

      /* Services grid — force 1 column */
      #services div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
      #services div[style*="grid-template-columns:1fr 1fr"] > div[style*="border-right"] { border-right: none !important; }

      /* Testimonials */
      .testimonial-card { width: 260px !important; padding: 20px !important; }

      /* Pricing grid */
      .pricing-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
      .pricing-card { max-width: 400px; margin: 0 auto; }

      /* CTA */
      .cta-content { padding: 0 16px !important; }
      .cta .h2 { font-size: 28px !important; }
      .cta .badge { font-size: 28px !important; padding: 6px 14px !important; }
      .cta-frame { inset: -24px -8px -20px !important; }
      .cta-hand { width: 120px !important; }

      /* Footer */
      .footer-grid { flex-direction: column !important; gap: 32px !important; }
      .footer-cols { flex-direction: column !important; gap: 32px !important; }
      .footer-col { max-width: 100% !important; }
      .footer-bottom-inner { flex-direction: column !important; gap: 16px !important; text-align: center; }
      .footer-newsletter { max-width: 100% !important; padding: 0 !important; }
      .footer-cols-row { gap: 32px !important; }

      /* Badge sizing */
      .badge { padding: 6px 14px !important; border-radius: 10px !important; }

      /* Buttons */
      .btn-inner { padding: 13px 18px !important; font-size: 14px !important; }
      .btn-row { gap: 12px !important; justify-content: center; }
      .arrow-circle { width: 24px !important; height: 24px !important; }

      /* FAQ */
      .faq-item { padding: 0 16px !important; }
      .faq-item details summary { padding: 18px 0 !important; gap: 12px !important; }
      .faq-item details summary :first-child { flex: 1; min-width: 0; font-size: 16px !important; line-height: 1.4; }
      .faq-toggle { width: 28px !important; height: 28px !important; flex-shrink: 0 !important; font-size: 16px !important; }

      /* Pain section — fix crushing padding on mobile */
      #pain { padding: 60px 20px 64px !important; }
      #pain .pain-body { padding: 28px 24px !important; }
      #pain h2 { margin-bottom: 32px !important; }

      /* Book / Calendly section */
      #book { padding: 40px 16px !important; flex-direction: column !important; border-radius: 16px !important; }
      #book > div:first-child { padding: 36px 24px 24px !important; }
      #book > div:last-child { padding: 16px !important; }
      .calendly-inline-widget { height: 700px !important; min-height: 600px !important; }

      /* Logo strip */
      .logo-strip { padding: 14px 0 !important; }

      /* Social proof pills — stack vertically and shrink on mobile */
      section[style*="padding:0 0 32px"] { padding: 0 0 20px !important; }
      section[style*="padding:0 0 32px"] .container { flex-direction: column !important; gap: 8px !important; align-items: center !important; }
      section[style*="padding:0 0 32px"] span { font-size: 12px !important; padding: 8px 16px !important; }

      /* AI badge — reposition above collage on mobile */
      .hero-collage > div[style*="position:absolute; top:-12px"] {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        grid-column: span 2 !important;
        text-align: center;
        margin-bottom: -4px;
      }

      /* Testimonials — add padding so cards don't clip at edges */
      .testimonials-scroll { padding: 0 8px !important; }

      /* Footer cols — wrap into 2x2 grid on mobile */
      .footer-cols-row { gap: 32px 40px !important; }

      /* Results section — stack to 1 col on mobile */
      #work div[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }

      /* Section 2 (wf-section) — stack columns vertically on mobile */
      .wf-section div[style*="grid-template-columns:1fr 1fr"] { display: flex !important; flex-direction: column !important; }
      /* Remove left border on right column when stacked */
      .wf-section div[style*="grid-template-columns:1fr 1fr"] > div:last-child { border-left: none !important; border-top: 1px solid rgba(0,0,0,0.07) !important; }
      /* Shrink circles to fit mobile */
      #bw-left-circle, #bw-right-circle { width: 160px !important; height: 160px !important; }
      #bw-left-circle svg, #bw-right-circle svg { width: 160px !important; height: 160px !important; }
      #bw-left-circle svg circle { cx: 80; cy: 80; r: 75; }
      #bw-right-circle svg circle { cx: 80; cy: 80; r: 75; }
      /* Contain circles in their wrapper */
      .wf-section div[style*="width:220px"] { width: 160px !important; }
      /* Reduce section padding on mobile */
      .wf-section { padding-left: 16px !important; padding-right: 16px !important; }
      /* Tighten card padding on mobile */
      .wf-section div[style*="padding:32px 28px 40px"] { padding: 24px 16px 28px !important; }
      /* Reduce gap between role cards on mobile */
      .wf-section div[style*="display:flex; gap:24px; justify-content:center"] { gap: 12px !important; }
      /* Org chart role name font size */
      .wf-section div[style*="gap:24px"] span[style*="font-size:15px"] { font-size: 13px !important; }
      /* Role pill font size */
      .wf-section span.wf-pill[style*="font-size:11px"] { font-size: 10px !important; padding: 3px 8px !important; }
      /* Heading sizes */
      .wf-section span[style*="font-size:19px"] { font-size: 16px !important; }

      /* ── Linea service cards — stack on mobile ── */
      .linea-card { grid-template-columns: 1fr !important; }
      .linea-panel-left {
        -webkit-clip-path: none !important;
        clip-path: none !important;
        min-height: auto !important;
        padding: 32px 24px !important;
      }
      .linea-panel-right { opacity: 1 !important; transform: none !important; padding: 28px 24px !important; }
      .linea-pill { opacity: 1 !important; transform: none !important; }
      .linea-card div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }

      /* ── Tools grid — 4 cols on mobile ── */
      div[style*="grid-template-columns:repeat(8,1fr)"] { grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; }
      div[style*="grid-template-columns:repeat(8,1fr)"] img { width: 48px !important; height: 48px !important; }
      div[style*="grid-template-columns:repeat(8,1fr)"] span { font-size: 11px !important; }

      /* ── Case study grid — 1 col on mobile ── */
      #work div[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }

      /* ── Numbers stat row — stack on mobile ── */
      div[style*="border-radius:16px; overflow:hidden; max-width:660px"] { flex-direction: column !important; }
      div[style*="border-radius:16px; overflow:hidden; max-width:660px"] > div[style*="border-right"] { border-right: none !important; border-bottom: 1.5px solid #e8e8e8 !important; }

      /* ── Card 2 logos — smaller on mobile ── */
      .linea-panel-left div[style*="width:92px"] { width: 64px !important; height: 64px !important; border-radius: 14px !important; }
      .linea-panel-left div[style*="width:92px"] img { width: 32px !important; height: 32px !important; }
    }

    /* Tablet tweaks */
    @media (min-width: 810px) and (max-width: 1199px) {
      .hero-grid { gap: 32px !important; }
      .hero-collage { height: 360px !important; }
      .ext-grid { flex-direction: column !important; align-items: center !important; }
      .process-grid { gap: 16px !important; }
    }

    /* ═══════════════════════════════════════════
       INTERACTIVE UPGRADES
       ═══════════════════════════════════════════ */

    /* ── Custom cursor ────────────────────────── */
    .cursor-dot {
      width: 8px; height: 8px;
      background: var(--blue);
      border-radius: 50%;
      position: fixed; top: -20px; left: -20px;
      pointer-events: none; z-index: 9999;
      transform: translate(-50%, -50%);
      transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.3s;
      opacity: 0;
    }
    .cursor-dot.active { opacity: 1; }
    .cursor-dot.hovering {
      width: 40px; height: 40px;
      background: rgba(124, 58, 237, 0.15);
      border: 2px solid rgba(124, 58, 237, 0.3);
    }
    @media (max-width: 809px) { .cursor-dot { display: none; } }
    @media (hover: none) { .cursor-dot { display: none; } }

    /* ── Magnetic button ──────────────────────── */
    .btn-magnetic {
      transition: transform 0.15s ease;
    }

    /* ── Gallery hover effects ────────────────── */
    .gallery-item {
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }
    .gallery-item video { transition: opacity 0.3s; }
    .gallery-item .gallery-stat {
      transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
    }
    .gallery-item:hover .gallery-stat {
      transform: translateY(0) !important;
      opacity: 1 !important;
    }
    .gallery-item:hover img,
    .gallery-item:hover video {
      transform: scale(1.03);
      transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* ── Text reveal animation ────────────────── */
    .text-reveal .word {
      display: inline-block;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.4s, transform 0.4s;
      transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    }
    .text-reveal.visible .word {
      opacity: 1;
      transform: translateY(0);
    }

    /* ── Film grain overlay ───────────────────── */
    .grain::after {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      pointer-events: none;
      opacity: 0.06;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
      z-index: 1;
    }
    .grain { position: relative; }
    .grain > * { position: relative; z-index: 2; }

    /* ── Scrollytelling section ────────────────── */
    .scrollytell {
      position: relative;
    }
    .st-viewport {
      position: sticky;
      top: 0;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .st-spacer {
      height: 80vh;
    }
    .st-stack {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 32px;
      max-width: 800px;
      padding: 0 24px;
    }
    @media (max-width: 809px) {
      .st-stack { gap: 20px; }
    }
    .st-text {
      font-size: clamp(22px, 4vw, 38px);
      font-variation-settings: "wdth" var(--wdth), "wght" 500;
      line-height: 1.3;
      text-align: center;
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                  transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .st-text.visible {
      opacity: 1;
      transform: translateY(0);
    }
    /* Line 1-2: problem (gray, red highlights) */
    .st-text.problem {
      color: var(--gray-400);
      font-variation-settings: "wdth" var(--wdth), "wght" 400;
    }
    .st-text.problem em {
      font-style: normal;
      color: #ef4444;
      font-variation-settings: "wdth" var(--wdth), "wght" 700;
    }
    /* Line 3: solution (bold, purple accent) */
    .st-text.solution {
      color: var(--navy);
      font-variation-settings: "wdth" var(--wdth), "wght" 700;
    }
    .st-text.solution strong {
      color: var(--blue);
    }
    /* Line 4: punch (large, purple) */
    .st-text.punch {
      font-size: clamp(28px, 5vw, 52px);
      font-variation-settings: "wdth" var(--wdth), "wght" 800;
      color: var(--blue);
    }
    /* Divider line between problem and solution */
    .st-divider {
      width: 60px;
      height: 2px;
      background: var(--gray-200);
      opacity: 0;
      transform: scaleX(0);
      transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .st-divider.visible {
      opacity: 1;
      transform: scaleX(1);
    }

    /* ── Horizontal scroll gallery ───────────── */
    .hscroll-section {
      position: relative;
    }
    .hscroll-track {
      display: flex;
      gap: 20px;
      padding: 0 24px;
      /* will-change removed */
    }
    .hscroll-item {
      flex-shrink: 0;
      width: 340px;
      border-radius: 16px;
      overflow: hidden;
      position: relative;
      cursor: pointer;
      transition: transform 0.3s;
    }
    .hscroll-item:hover { transform: scale(1.02); }
    .hscroll-item img, .hscroll-item video {
      width: 100%;
      height: 240px;
      object-fit: cover;
      display: block;
    }
    .hscroll-caption {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 12px 16px;
      background: linear-gradient(transparent, rgba(0,0,0,0.8));
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
    }
    .hscroll-caption .hc-label {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      opacity: 0.7;
    }
    .hscroll-caption .hc-stat {
      font-size: 14px;
      font-weight: 700;
      color: #facc15;
    }
    @media (max-width: 700px) {
      .hscroll-item { width: 280px; }
      .hscroll-item img, .hscroll-item video { height: 200px; }
      .st-progress { display: none; }
    }

    /* ── (3D tilt, scroll snap, GSAP stacking removed) ── */

  

      @keyframes wf-fade-up { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
      @keyframes wf-pop { 0% { opacity:0; transform:translateY(8px); } 100% { opacity:1; transform:translateY(0); } }
      @media (max-width: 809px) {
        #bw-left-circle, #bw-right-circle { width:170px !important; height:170px !important; }
        #bw-left-circle svg, #bw-right-circle svg { width:170px !important; height:170px !important; }
        .wf-circle-wrap { width:170px !important; }
        #bw-left-circle span[style*="font-size:30px"], #bw-right-circle span[style*="font-size:30px"] { font-size:22px !important; }
        #bw-pile { min-height:60px !important; }
      }
      /* Start hidden — animate only when section scrolls into view */
      .wf-text, .wf-person, .wf-pill, .wf-box { opacity:0; }
      .wf-ready .wf-text   { animation: wf-fade-up 0.8s ease both; }
      .wf-ready .wf-person { animation: wf-fade-up 0.8s ease both; }
      .wf-ready .wf-pill   { animation: wf-pop 0.7s ease both; }
      .wf-ready .wf-box    { animation: wf-pop 0.8s ease both; }
    

      @keyframes bw-shake {
        0%,100% { transform:translateX(0) rotate(0deg); }
        20% { transform:translateX(-2px) rotate(-0.6deg); }
        40% { transform:translateX(2px) rotate(0.6deg); }
        60% { transform:translateX(-1px) rotate(-0.3deg); }
        80% { transform:translateX(1px) rotate(0.3deg); }
      }
      @keyframes bw-right-in {
        from { opacity:0; transform:translateX(-10px); }
        to   { opacity:1; transform:translateX(0); }
      }
      @keyframes bw-pulse-red {
        0%,100% { box-shadow:0 0 0 0 rgba(220,38,38,0); }
        50%      { box-shadow:0 0 0 8px rgba(220,38,38,0.18); }
      }
      .bw-shaking { animation: bw-shake 0.45s ease-in-out; }
      /* bw-pulse-red animation removed for performance */
    

.pain-grad-text {
  background: linear-gradient(90deg, #ee0033, #5500dd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
    

      .linea-panel-left {
        -webkit-clip-path: inset(0 100% 0 0);
        clip-path: inset(0 100% 0 0);
        -webkit-transition: -webkit-clip-path 0.48s cubic-bezier(0.65,0,0.35,1), clip-path 0.48s cubic-bezier(0.65,0,0.35,1);
        transition: -webkit-clip-path 0.48s cubic-bezier(0.65,0,0.35,1), clip-path 0.48s cubic-bezier(0.65,0,0.35,1);
      }
      .linea-panel-right { opacity: 0; transform: translateX(22px); transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1) 0.18s, transform 0.5s cubic-bezier(0.16,1,0.3,1) 0.18s; }
      .linea-pill { opacity: 0; transform: translateY(5px); transition: opacity 0.3s ease, transform 0.3s ease; }
      .linea-card-visible .linea-panel-left { -webkit-clip-path: inset(0 0% 0 0); clip-path: inset(0 0% 0 0); }
      .linea-card-visible .linea-panel-right { opacity: 1; transform: translateX(0); }
      .linea-card-visible .linea-pill { opacity: 1; transform: translateY(0); }
    

    .gal-grid { display:grid; gap:16px; margin-bottom:16px; }
    .gal-4 { grid-template-columns:repeat(4,1fr); }
    .gal-3 { grid-template-columns:repeat(3,1fr); }
    @media (max-width:809px) { .gal-4,.gal-3 { grid-template-columns:repeat(2,1fr) !important; } }

    /* Lightbox */
    .lb-trigger { cursor:zoom-in; display:block; width:100%; height:100%; }
    #lb-overlay {
      display:none; position:fixed; inset:0; z-index:9999;
      background:rgba(0,0,0,0.88); align-items:center; justify-content:center;
      padding:24px;
    }
    #lb-overlay.active { display:flex; }
    #lb-inner {
      position:relative; max-width:min(90vw,780px); max-height:90vh;
      display:flex; align-items:center; justify-content:center;
    }
    #lb-inner img, #lb-inner video {
      max-width:100%; max-height:90vh; border-radius:16px;
      object-fit:contain; box-shadow:0 24px 80px rgba(0,0,0,0.6);
    }
    #lb-close {
      position:fixed; top:20px; right:24px; width:40px; height:40px;
      background:rgba(255,255,255,0.15); border:none; border-radius:50%;
      color:#fff; font-size:20px; cursor:pointer; display:flex;
      align-items:center; justify-content:center; line-height:1;
      transition:background 0.2s;
    }
    #lb-close:hover { background:rgba(255,255,255,0.28); }
    

      .team-card { display:grid; border:1.5px solid #e8e8e8; border-radius:20px; overflow:hidden; position:relative; }
      .team-card-img { position:relative; min-height:460px; overflow:hidden; }
      .team-card-img img { width:100%; height:100%; object-fit:cover; object-position:center top; display:block; }
      .team-card-body { padding:52px 52px; display:flex; flex-direction:column; justify-content:center; background:#fff; }
      .team-pill { display:inline-flex; align-items:center; gap:8px; border:1.5px solid #e8e8e8; border-radius:12px; padding:9px 14px; font-size:13px; font-weight:600; color:#333; }
      .team-li-hint { position:absolute; top:16px; right:16px; display:inline-flex; align-items:center; gap:6px; background:#fff; border:1.5px solid #e8e8e8; border-radius:10px; padding:7px 12px; font-size:12px; font-weight:700; color:#555; opacity:0; transform:translateY(-4px); transition:opacity 0.25s, transform 0.25s; pointer-events:none; z-index:2; }
      .team-card:hover .team-li-hint { opacity:1; transform:translateY(0); }
      .reddit-pill { transition:background 0.2s, border-color 0.2s, color 0.2s !important; }
      .reddit-pill:hover { background:#FF4500 !important; border-color:#FF4500 !important; color:#fff !important; }
      .reddit-pill:hover .rp-check { display:none; }
      .reddit-pill:hover .rp-reddit { display:inline-block !important; }
      @media (max-width:860px) {
        .team-card { grid-template-columns:1fr !important; }
        .team-card-img { min-height:320px; }
        .team-card-body { padding:32px 28px; }
      }
    

        @media (max-width: 809px) {
          #work-gallery [style*="grid-template-columns:repeat(4"] {
            grid-template-columns: repeat(2, 1fr) !important;
          }
          #work-gallery [style*="grid-template-columns:repeat(3"] {
            grid-template-columns: repeat(2, 1fr) !important;
          }
          #work-gallery [style*="grid-column:span 2"] {
            grid-column: span 1 !important;
          }
          #work-gallery [style*="grid-template-rows:200px 200px"] {
            grid-template-rows: 150px 150px 150px !important;
          }
        }
      

.cg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
@media (max-width: 809px) {
  .cg-grid { grid-template-columns: 1fr; }
  #cat-gallery { padding: 60px 0 72px; }
  #cat-gallery > div { padding: 0 20px; }
}

.cg-item {
  position: relative;
}

.cg-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: visible;
  cursor: pointer;
}

.cg-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease;
  position: relative;
  z-index: 1;
}
.cg-item:hover .cg-hero {
  transform: scale(1.02);
  filter: brightness(0.88);
}

/* Pop images */
.cg-pop {
  position: absolute;
  width: 44%;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  /* start behind center of card */
  top: 20%; left: 28%;
  transform: scale(0.75) rotate(0deg);
  transition: opacity 0.45s cubic-bezier(0.16,1,0.3,1),
              transform 0.45s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.cg-pop img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Stagger delays */
.cg-pop-1 { transition-delay: 0ms; }
.cg-pop-2 { transition-delay: 55ms; }
.cg-pop-3 { transition-delay: 110ms; }

/* Hover: fan out to 3 positions */
.cg-item:hover .cg-pop-1 {
  opacity: 1;
  transform: translate(-62%, -8%) rotate(-9deg) scale(1);
  z-index: 2;
}
.cg-item:hover .cg-pop-2 {
  opacity: 1;
  transform: translate(52%, -14%) rotate(7deg) scale(0.92);
  z-index: 2;
}
.cg-item:hover .cg-pop-3 {
  opacity: 1;
  transform: translate(46%, 18%) rotate(-5deg) scale(0.88);
  z-index: 2;
}

/* Label row */
.cg-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 4px 0;
}
.cg-name {
  font-family: var(--font);
  font-size: 16px;
  font-variation-settings: 'wdth' 125, 'wght' 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.cg-tags {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 809px) {
  .cg-label { padding: 14px 0 0; }
  .cg-name { font-size: 15px; }
  .cg-pop { display: none; } /* disable hover effect on mobile */
}


.sec-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.sec-reveal.sec-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero marquee slider images ──────────────────────────────── */
.hero-marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: hero-slide 40s linear infinite;
}
.hero-marquee-track--reverse {
  animation-direction: reverse;
}
.hero-marquee-wrap:hover .hero-marquee-track {
  animation-play-state: paused;
}
@keyframes hero-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-marquee-img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  display: block;
}
.hero-marquee-img--sq {
  height: 180px;
}

/* ── Mobile performance: defer off-screen rendering ─────────── */
@media (max-width: 768px) {
  .section-inner,
  #work-gallery,
  #services,
  #results,
  #testimonials,
  #process,
  #book {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
  }
}

/* ── Accessibility: focus-visible ───────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Accessibility: reduced motion ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
