/* ═══════════════════════════════════════════════════════════════
   📱 SAVAGE MEME MEDIA — MOBILE FIX V3
   <link rel="stylesheet" href="css/mobile-fix.css">
═══════════════════════════════════════════════════════════════ */

/* ── HIDE CURSOR ── */
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring, #cursor, #cursorRing {
    display: none !important; opacity: 0 !important;
    visibility: hidden !important; pointer-events: none !important;
  }
  body, * { cursor: auto !important; }
}
@media (max-width: 1024px) {
  .cursor, .cursor-ring { display: none !important; }
  body, * { cursor: auto !important; }
}

/* ═══ HAMBURGER MENU ═══ */
.hamburger-btn { display: none; }

@media (max-width: 1000px) {

  .hamburger-btn {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: none;
    border: 1.5px solid rgba(26,18,8,0.15);
    border-radius: 8px;
    cursor: pointer;
    z-index: 999999;
    position: relative;
    padding: 0;
    transition: all 0.3s;
  }
  .hamburger-btn span {
    display: block; width: 18px; height: 2px;
    background: var(--ink); border-radius: 2px;
    transition: all 0.3s;
  }
  .hamburger-btn.active { border-color: var(--orange); }
  .hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger-btn.active span:nth-child(2) { opacity: 0; }
  .hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* ── FULLSCREEN MENU OVERLAY — SOLID BACKGROUND ── */
  .nav-links {
    display: none !important;
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    background: #FDF8F0 !important;
    z-index: 99999 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 32px !important;
    padding: 80px 40px 40px !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
  }
  .nav-links.mobile-open {
    display: flex !important;
  }
  .nav-links a {
    font-size: 20px !important;
    letter-spacing: 4px !important;
    color: #1A1208 !important;
    text-decoration: none !important;
  }
  .nav-links a:hover { color: #FF5C00 !important; }

  /* "Let's Go" button — hide in nav bar */
  .nav-cta { display: none !important; }
  /* "Let's Go" button — SHOW inside mobile menu */
  .nav-cta.in-mobile-menu {
    display: inline-flex !important;
    margin-top: 16px !important;
    background: #1A1208 !important;
    color: #FDF8F0 !important;
    padding: 14px 32px !important;
    border-radius: 100px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    letter-spacing: 1.5px !important;
    text-decoration: none !important;
    border: 2px solid #1A1208 !important;
  }
  .nav-cta.in-mobile-menu:hover {
    background: #FF5C00 !important;
    border-color: #FF5C00 !important;
  }

  /* ── NAV BAR ── */
  nav { padding: 10px 16px !important; }
  nav.scrolled { padding: 8px 16px !important; }
  .nav-owl { width: 32px !important; height: 32px !important; }
  .nav-logo-text { font-size: 20px !important; line-height: 1 !important; }
  .nav-logo-media {
    font-size: 9px !important; margin-bottom: 4px !important;
    display: inline-block !important; vertical-align: bottom !important;
  }

  /* ═══ HERO — FIX ROTATOR (keep overflow hidden!) ═══ */
  .hero {
    min-height: auto !important;
    padding: 100px 20px 44px !important;
  }
  .hero-badge { font-size: 8px !important; padding: 6px 14px !important; margin-bottom: 18px !important; }
  .hero h1 { font-size: clamp(38px, 11vw, 64px) !important; letter-spacing: -1px !important; }

  /* DO NOT change overflow on rotator — keep it hidden so only 1 line shows */
  .rotator-outer { overflow: hidden !important; }

  .hero-sub { font-size: 14px !important; margin: 14px auto 0 !important; line-height: 1.6 !important; }
  .hero-actions { margin-top: 22px !important; gap: 10px !important; }
  .btn-primary, .btn-secondary { padding: 14px 26px !important; font-size: 12px !important; }
  .logo-video-wrap { margin-top: 18px !important; }
  .logo-play-btn { width: 44px !important; height: 44px !important; }
  .logo-play-text { font-size: 10px !important; }
  .hero-stats { margin-top: 30px !important; gap: 20px !important; }
  .stat-num { font-size: 34px !important; }
  .stat-label { font-size: 9px !important; }
  .floater { font-size: 18px !important; opacity: 0.2 !important; }
  .hero .floater:nth-of-type(n+5) { display: none !important; }

  /* ═══ MARQUEE ═══ */
  .marquee-wrap { padding: 8px 0 !important; }
  .marquee-item { font-size: 14px !important; padding: 0 14px !important; }

  /* ═══ BREAKS ═══ */
  .break-down, .break-up { height: 40px !important; }
  .break-soft-down, .break-soft-to-cream { height: 24px !important; }

  /* ═══ ABOUT — 2x2 grid ═══ */
  .about { padding: 44px 20px !important; gap: 24px !important; }
  .about-text h2 { font-size: clamp(34px, 8vw, 52px) !important; margin-bottom: 14px !important; }
  .about-text p { font-size: 14px !important; margin-bottom: 8px !important; }
  .about-visual {
    height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .about-card {
    position: relative !important;
    top: auto !important; left: auto !important;
    right: auto !important; bottom: auto !important;
    width: 100% !important;
    transform: none !important;
    padding: 16px !important; border-radius: 14px !important;
  }
  .about-card:hover { transform: translateY(-3px) !important; }
  .about-card .card-emoji { font-size: 22px !important; margin-bottom: 4px !important; }
  .about-card .card-title { font-size: 17px !important; }
  .about-card .card-desc { font-size: 10px !important; }

  /* ═══ SERVICES — 2 per row ═══ */
  .services { padding: 44px 16px !important; }
  .svc-heading { font-size: clamp(36px, 8vw, 56px) !important; margin-bottom: 8px !important; }
  .svc-subhead { font-size: 13px !important; margin-bottom: 24px !important; }
  .svc-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .svc-tile {
    min-height: auto !important; padding: 14px 12px !important;
    gap: 8px !important; border-radius: 12px !important;
  }
  .tile-icon { width: 34px !important; height: 34px !important; font-size: 15px !important; border-radius: 8px !important; }
  .tile-name { font-size: 12px !important; line-height: 1.1 !important; }
  .tile-arrow { width: 18px !important; height: 18px !important; font-size: 8px !important; bottom: 8px !important; right: 8px !important; }
  .svc-panel.open { grid-template-columns: 1fr !important; }
  .panel-content { padding: 20px 14px !important; }
  .panel-visual { min-height: 150px !important; padding: 20px 14px !important; }
  .panel-big-emoji { font-size: 50px !important; }
  .panel-title { font-size: clamp(26px, 5vw, 36px) !important; }
  .panel-desc { font-size: 12px !important; }
  .panel-bullets li { font-size: 11px !important; }
  .pstat-num { font-size: 24px !important; }

  /* ═══ PARTNERS ═══ */
  .buddies { padding: 44px 20px !important; }
  .buddies-top { gap: 24px !important; margin-bottom: 28px !important; }
  .buddies-text h2 { font-size: clamp(34px, 8vw, 52px) !important; margin-bottom: 8px !important; }
  .buddies-text p { font-size: 14px !important; }
  .playground-wrap { height: 220px !important; border-radius: 14px !important; }
  .playground-hint { font-size: 11px !important; }
  .insta-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .insta-card { padding: 12px 8px !important; border-radius: 10px !important; }
  .insta-avatar { width: 40px !important; height: 40px !important; margin-bottom: 6px !important; }
  .insta-handle { font-size: 13px !important; }
  .insta-followers { font-size: 10px !important; }
  .insta-niche { font-size: 8px !important; }
  .and-many-more { margin-top: 20px !important; }
  .amm-text { font-size: clamp(18px, 5vw, 28px) !important; }

  /* ═══ MEME REEL — SLOWER scroll (80s instead of 45s) ═══ */
  .meme-reel { padding: 44px 0 !important; }
  .meme-reel-inner { padding: 0 20px !important; }
  .meme-reel-inner h2 { font-size: clamp(32px, 7vw, 48px) !important; margin-bottom: 4px !important; }
  .meme-reel-inner .sub { font-size: 13px !important; margin-bottom: 18px !important; }
  .meme-hint { font-size: 10px !important; margin-bottom: 8px !important; }
  .meme-card { flex: 0 0 150px !important; }
  .meme-img-wrap { height: 100px !important; }
  .meme-name { font-size: 15px !important; }
  .meme-year { font-size: 8px !important; }
  .meme-ticker-track { animation-duration: 90s !important; }

  /* ═══ PROCESS — 2x2 ═══ */
  .process { padding: 44px 20px !important; }
  .process h2 { font-size: clamp(32px, 7vw, 48px) !important; margin-bottom: 24px !important; }
  .process-steps { grid-template-columns: 1fr 1fr !important; gap: 0 !important; }
  .process-steps::before { display: none !important; }
  .step { padding: 12px 10px !important; }
  .step-num { width: 46px !important; height: 46px !important; font-size: 18px !important; margin-bottom: 8px !important; }
  .step-emoji { font-size: 18px !important; margin-bottom: 4px !important; }
  .step h3 { font-size: 16px !important; margin-bottom: 3px !important; }
  .step p { font-size: 11px !important; line-height: 1.5 !important; }

  /* ═══ CLIENTS TICKER — FASTER (was too slow) ═══ */
  .clients-strip { padding: 8px 0 !important; }
  .clients-item { font-size: 12px !important; padding: 0 16px !important; }
  .clients-track { animation-duration: 18s !important; }

  /* ═══ FUN FACTS ═══ */
  .fun-facts { padding: 44px 20px !important; }
  .fun-facts h2 { font-size: clamp(32px, 7vw, 52px) !important; margin-bottom: 8px !important; }
  .fun-facts-sub { font-size: 13px !important; margin: 0 auto 24px !important; }
  .facts-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  .fact-card { padding: 16px 8px !important; border-radius: 12px !important; }
  .fact-emoji { font-size: 22px !important; margin-bottom: 6px !important; }
  .fact-num { font-size: clamp(22px, 4vw, 34px) !important; }
  .fact-label { font-size: 7px !important; letter-spacing: 1px !important; }

  /* ═══ CASE STUDIES — HORIZONTAL SCROLL ═══ */
  .work { padding: 44px 20px !important; position: relative !important; }
  .work-header { margin-bottom: 20px !important; gap: 8px !important; }
  .work-header h2 { font-size: clamp(32px, 7vw, 48px) !important; }
  .work-sub { font-size: 12px !important; }

  .notebook-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 14px !important;
    padding-bottom: 16px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    position: relative !important;
  }
  .notebook-grid::-webkit-scrollbar {
    display: none !important;
  }

  /* Right edge fade — hints there's more content */
  .notebook-grid::after {
    content: '' !important;
    position: sticky !important;
    right: 0 !important;
    top: 0 !important;
    flex-shrink: 0 !important;
    width: 40px !important;
    min-height: 100% !important;
    background: linear-gradient(90deg, transparent, #FDF8F0) !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }

  /* Scroll hint arrow + text below cards */
  .work::after {
    content: '← swipe for more →' !important;
    display: block !important;
    text-align: center !important;
    font-family: 'Caveat', cursive !important;
    font-size: 14px !important;
    color: #FF5C00 !important;
    margin-top: 4px !important;
    animation: scrollHintPulse 2s ease-in-out infinite !important;
    letter-spacing: 1px !important;
  }

  @keyframes scrollHintPulse {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
  }

  /* Dot indicators */
  .notebook-grid + .scroll-dots,
  .work .scroll-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-top: 8px !important;
  }

  .notebook-card {
    flex: 0 0 85vw !important;
    max-width: 85vw !important;
    scroll-snap-align: center !important;
  }
  .nb-cover-img { height: 180px !important; }
  .nb-content { padding: 10px 12px 10px 44px !important; }
  .nb-brand { font-size: 18px !important; }
  .nb-campaign { font-size: 11px !important; margin-bottom: 6px !important; }
  .nb-quick-stats { font-size: 11px !important; gap: 6px !important; margin-bottom: 4px !important; }
  .nb-section, .nb-timeline { padding: 0 12px 10px 44px !important; }
  .nb-section p, .nb-tl-content p { font-size: 12px !important; }
  .nb-results-grid { grid-template-columns: 1fr 1fr !important; gap: 6px !important; padding: 0 12px 10px 44px !important; }
  .nb-result-value { font-size: 15px !important; }
  .nb-doodle-note { margin: 0 12px 10px 44px !important; font-size: 11px !important; }

  /* ═══ CLIENTS FULL ═══ */
  .clients-full { padding: 44px 0 !important; }
  .clients-full h2 { font-size: clamp(32px, 7vw, 48px) !important; margin-bottom: 6px !important; }
  .clients-full p { font-size: 14px !important; margin-bottom: 24px !important; }

  /* ═══ CTA ═══ */
  .cta-section { padding: 44px 20px !important; }
  .cta-section h2 { font-size: clamp(36px, 9vw, 64px) !important; margin-bottom: 14px !important; }
  .cta-section p { font-size: 14px !important; margin: 0 auto 24px !important; }
  .cta-section .btn-primary { font-size: 13px !important; padding: 16px 28px !important; }

  /* ═══ FOOTER ═══ */
  footer { padding: 24px 16px !important; gap: 14px !important; }
  .footer-owl { width: 28px !important; height: 28px !important; }
  .footer-logo { font-size: 22px !important; }
  .footer-links { gap: 10px !important; }
  .footer-links a { font-size: 10px !important; }
  .footer-copy { font-size: 9px !important; }
  .footer-socials { gap: 8px !important; }
  .social-link { width: 32px !important; height: 32px !important; }
}

/* ═══ SMALL PHONE ═══ */
@media (max-width: 480px) {
  .hero { padding: 90px 14px 36px !important; }
  .hero h1 { font-size: clamp(32px, 11vw, 50px) !important; }
  .hero-bg-text { font-size: clamp(70px, 18vw, 140px) !important; }
  .hero-stats { gap: 14px !important; margin-top: 24px !important; }
  .stat-num { font-size: 28px !important; }
  .svc-grid { gap: 6px !important; }
  .svc-tile { padding: 12px 10px !important; }
  .tile-icon { width: 30px !important; height: 30px !important; font-size: 14px !important; }
  .tile-name { font-size: 11px !important; }
  .tile-arrow { display: none !important; }
  .facts-grid { grid-template-columns: 1fr 1fr !important; }
  .fact-card:last-child { grid-column: 1 / -1 !important; }
  .notebook-card { flex: 0 0 88vw !important; max-width: 88vw !important; }
}

/* ═══ VERY SMALL ═══ */
@media (max-width: 380px) {
  .hero { padding: 85px 12px 30px !important; }
  .hero h1 { font-size: 30px !important; }
  .btn-primary, .btn-secondary { padding: 12px 20px !important; font-size: 11px !important; }
  .stat-num { font-size: 24px !important; }
  .svc-heading { font-size: 30px !important; }
  .svc-grid { grid-template-columns: 1fr !important; }
  .svc-tile { flex-direction: row !important; align-items: center !important; }
  .tile-name { flex: 1 !important; font-size: 13px !important; }
  .tile-arrow { display: flex !important; position: static !important; }
  .notebook-card { flex: 0 0 92vw !important; max-width: 92vw !important; }
}

/* ═══ IMAGE LOADING ═══ */
.meme-img-wrap, .nb-cover-img {
  background: linear-gradient(110deg, #f0e8d8 8%, #f8f2e6 18%, #f0e8d8 33%) !important;
  background-size: 200% 100% !important;
  animation: shimmer 1.5s linear infinite !important;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.meme-img-wrap:has(img.loaded), .nb-cover-img:has(img.loaded) {
  animation: none !important; background: transparent !important;
}
img.loaded { opacity: 1 !important; }

/* ═══ GPU BOOST ═══ */
.marquee-track, .clients-track, .clients-row-track, .meme-ticker-track {
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
