  :root { font-family: "Inter", ui-sans-serif, system-ui, sans-serif; }
  html { scroll-behavior: smooth; }
  body { background: #f4f4f5; color: #111113; overflow-x: hidden; }

  /* account for the fixed header when jumping to a section */
  section[id] { scroll-margin-top: 0; }
  #faq, #contact { scroll-margin-top: 84px; }
  header nav ul a.is-active { color: #111113; }
  header.vb-site-header > div a[href^="tel:"]:hover,
  header.vb-site-header > div a[href^="tel:"]:focus {
    color: #c8272d !important;
  }
  header nav ul a.is-active::after { width: 100%; }
  #toTop { transition: opacity .3s, transform .3s; }

  .perspective { perspective: 1400px; }
  .preserve-3d { transform-style: preserve-3d; }

  /* marquee */
  @keyframes marquee { to { transform: translateX(-50%); } }
  .marquee { animation: marquee 30s linear infinite; }

  /* blob */
  @keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -25px); }
  }
  .float { animation: float 9s ease-in-out infinite; }

  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-thumb { background: #111113; border-radius: 8px; }
  ::selection { background: #c8272d; color: #ffffff; }

  /* Scroll reveal helpers (replace framer whileInView) */
  [data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  }
  [data-reveal].in { opacity: 1; transform: none; }

  [data-reveal-x="left"] { opacity: 0; transform: translateX(-40px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
  [data-reveal-x="right"] { opacity: 0; transform: translateX(40px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
  [data-reveal-x].in { opacity: 1; transform: none; }

  [data-reveal-scale] { opacity: 0; transform: scale(.7); transition: opacity .6s cubic-bezier(.34,1.56,.64,1), transform .6s cubic-bezier(.34,1.56,.64,1); }
  [data-reveal-scale].in { opacity: 1; transform: scale(1); }

  /* Tilt card inner depth */
  .tilt { transform-style: preserve-3d; transition: transform .15s ease-out; }
  .tilt .depth-50 { transform: translateZ(50px); }
  .tilt .depth-30 { transform: translateZ(30px); }

  /* FAQ accordion */
  .faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
  .faq-body > div { overflow: hidden; }
  .faq-item.open .faq-body { grid-template-rows: 1fr; }
  .faq-item.open .faq-plus { transform: rotate(45deg); }
  .faq-plus { transition: transform .3s ease; }

  .input { width: 100%; border-radius: 1rem; border: 1px solid rgba(17,17,19,.14); background: #f4f4f5; padding: .9rem 1.1rem; outline: none; transition: .2s; font-size: .95rem; color:#111113; }
  .input:focus { border-color: #c8272d; box-shadow: 0 0 0 3px rgba(200,39,45,.2); }

  .will { will-change: transform, opacity; }
  .input { -webkit-appearance: none; appearance: none; min-height: 3.1rem; }
  textarea.input { min-height: 0; }
  @media (max-width: 767px) { .input { font-size: 16px; } }


  /* ===== mobile / tablet polish ===== */
  /* stable viewport height (large viewport) so mobile browser toolbars don't make pinned scenes jump */
  :root { --app-h: 100vh; }
  @supports (height: 100lvh) { :root { --app-h: 100lvh; } }
  [data-hero]>div,[data-about]>div,[data-services]>div,[data-cine]>div { height: 100vh; height: var(--app-h); }
  @media (max-width: 1023px) {
    [data-hero] { height: calc(var(--app-h) * 3) !important; }
    [data-about] { height: calc(var(--app-h) * 4) !important; }
    [data-services] { height: calc(var(--app-h) * 4.5) !important; }
    [data-cine] { height: calc(var(--app-h) * 4.5) !important; }
  }
  html, body { max-width: 100%; }
  body { overflow-x: clip; }
  main, footer { overflow-x: clip; } /* clip (not hidden) keeps position:sticky scenes working */
  #vhProbe { position: fixed; left: -9999px; top: 0; width: 1px; height: 100vh; height: var(--app-h); visibility: hidden; pointer-events: none; }
  html { -webkit-text-size-adjust: 100%; }
  #mobileMenu { max-height: calc(var(--app-h) - 6.5rem); overflow-y: auto; }
  #partners { padding-top: 0; }
  @media (max-width: 1023px) {
    [data-hero-text] ~ img { aspect-ratio: auto; height: clamp(110px, calc(var(--app-h) * .22), 280px); }
    [data-hero-bg] > .relative.z-10 { align-content: center; row-gap: 1rem; }
    [data-hero-hint] { display: none; }
  }
  @media (max-width: 1023px) and (max-height: 720px) { [data-hero-text] .mt-10 { display: none; } }
  @media (max-width: 1023px) { [data-about-head] { top: 8rem; } }
  @media (max-width: 639px) {
    html .py-28 { padding-top: 4.5rem; padding-bottom: 4.5rem; }
    html .py-24 { padding-top: 4rem; padding-bottom: 4rem; }
    html .py-20 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    html .p-10 { padding: 1.5rem; }
    #quoteForm { padding: 1.5rem; }
    [data-hero-text] h1 { font-size: 2.15rem; }
    [data-hero-text] > div:first-child { margin-bottom: 1rem; font-size: 10px; }
    [data-hero-text] p.mt-6 { margin-top: 1rem; font-size: 1rem; }
    [data-hero-text] .mt-9 { margin-top: 1.25rem; gap: .65rem; }
    [data-hero-text] .mt-9 a { padding: .8rem 1.25rem; font-size: .875rem; }
    [data-hero-text] a.mt-6 { margin-top: 1rem; font-size: .9rem; }
    [data-hero-text] .mt-10 { margin-top: 1.25rem; gap: .75rem; }
    [data-hero-text] .mt-10 .text-3xl { font-size: 1.15rem; }
    [data-hero-text] .mt-10 .text-xs { font-size: 9px; }
    [data-hero-tag] h2 { font-size: 2.4rem; }
    [data-about-head] { top: 8rem; }
    [data-about-head] h2 { font-size: 1.9rem; }
    [data-about-t1] h3 { font-size: 2rem; }
    [data-about-t1] p { font-size: 1rem; margin-top: 1rem; }
    [data-about-t2] > div { gap: .75rem; }
    [data-about-t2] > div > div { padding: 1.1rem; }
    [data-about-t2] .text-3xl { font-size: 1.5rem; }
    [data-cine-title] h2 { font-size: 2.6rem; }
    [data-beat-text] { padding-bottom: 3rem; }
    [data-beat-text] svg { width: 2.75rem; height: 2.75rem; }
    [data-beat-text] h3 { font-size: 1.9rem; }
    [data-beat-text] p { font-size: 1rem; margin-top: .75rem; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .float, .marquee { animation: none !important; }
  }


  /* ===== Elementor-safe header fix: header only ===== */
  header.vb-site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    z-index: 9999 !important;
    overflow: visible !important;
  }
  body.admin-bar header.vb-site-header {
    top: 32px !important;
  }
  header.vb-site-header > div,
  header.vb-site-header nav {
    width: 100% !important;
    height: auto !important;
  }
  header.vb-site-header nav > div {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    min-height: 112px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  header.vb-site-header nav > div > a:first-child {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 280px !important;
    min-width: 0 !important;
  }
  header.vb-site-header nav > div > a:first-child img {
    display: block !important;
    width: auto !important;
    height: 130px !important;
    max-width: 280px !important;
    max-height: 130px !important;
    object-fit: contain !important;
  }
  header.vb-site-header nav > div > ul {
    flex: 1 1 auto !important;
    justify-content: center !important;
    min-width: 0 !important;
    gap: 18px !important;
  }
  header.vb-site-header nav > div > div {
    flex: 0 0 auto !important;
  }
  header.vb-site-header #mobileMenu {
    max-height: calc(100vh - 170px) !important;
    overflow-y: auto !important;
  }
  @media (max-width: 1023px) {
    header.vb-site-header nav > div {
      min-height: 88px !important;
      gap: 12px !important;
      padding-left: 18px !important;
      padding-right: 18px !important;
    }
    header.vb-site-header nav > div > a:first-child {
      max-width: 210px !important;
    }
    header.vb-site-header nav > div > a:first-child img {
      height: 76px !important;
      max-height: 76px !important;
      max-width: 210px !important;
    }
  }
  @media (max-width: 639px) {
    body.admin-bar header.vb-site-header { top: 46px !important; }
    header.vb-site-header nav > div {
      min-height: 76px !important;
      padding-left: 14px !important;
      padding-right: 14px !important;
    }
    header.vb-site-header nav > div > a:first-child {
      max-width: 175px !important;
    }
    header.vb-site-header nav > div > a:first-child img {
      height: 62px !important;
      max-height: 62px !important;
      max-width: 175px !important;
    }
  }



  /* ===== Varsity Boys refinements requested for Elementor ===== */
  header.vb-site-header nav > div > a:first-child {
    width: 100px !important;
    max-width: 90px !important;
    height: 86px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  header.vb-site-header nav > div > a:first-child img {
    display: block !important;
    width: 100px !important;
    height: 86px !important;
    max-width: 120px !important;
    max-height: 86px !important;
    object-fit: contain !important;
    object-position: left center !important;
    border-radius: 12px !important;
  }
  header.vb-site-header nav > div {
    min-height: 96px !important;
  }
  header.vb-site-header nav > div > a:first-child {
    height: 76px !important;
  }
  header.vb-site-header nav > div > a:first-child img {
    height: 76px !important;
    max-height: 76px !important;
  }
  @media (max-width: 639px) {
    header.vb-site-header nav > div > a:first-child {
      width: 160px !important;
      max-width: 160px !important;
      height: 69px !important;
    }
    header.vb-site-header nav > div > a:first-child img {
      width: 160px !important;
      max-width: 160px !important;
      height: 69px !important;
      max-height: 69px !important;
    }
  }

  /* Smaller footer brand mark */
  footer > div.relative.mx-auto img[alt="Varsity Boys Moving &amp; Hauling Junk"] {
    width: auto !important;
    height: 54px !important;
    max-height: 54px !important;
    object-fit: contain !important;
    border-radius: 9px !important;
  }

  /* Consistent rounded quote form controls */
  #quoteForm input,
  #quoteForm select,
  #quoteForm textarea {
    width: 100% !important;
    border-radius: 16px !important;
    border: 1px solid rgba(17,17,19,.18) !important;
    overflow: hidden !important;
  }
  #quoteForm input:focus,
  #quoteForm select:focus,
  #quoteForm textarea:focus {
    border-color: #c8272d !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(200,39,45,.12) !important;
  }

  /* Clear, even FAQ borders */
  .faq-item {
    border: 1px solid rgba(200,39,45,.28) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }
  .faq-item + .faq-item {
    margin-top: 14px !important;
  }
  .faq-item .faq-toggle {
    border-radius: 15px !important;
  }
  .faq-item.open {
    border-color: rgba(200,39,45,.55) !important;
  }

  /* Prevent hero content from sitting underneath the fixed header */
  [data-hero-bg] > .relative.z-10 {
    padding-top: 132px !important;
  }
  [data-hero-text] h1 {
    font-size: clamp(2.1rem, 4.1vw, 3.8rem) !important;
    line-height: 1.04 !important;
  }
  [data-hero-tag] h2 {
    font-size: clamp(2rem, 4.2vw, 4.2rem) !important;
    line-height: 1.05 !important;
  }
  @media (max-width: 639px) {
    [data-hero-bg] > .relative.z-10 {
      padding-top: 112px !important;
    }
    [data-hero-text] h1 {
      font-size: clamp(2rem, 8vw, 2.6rem) !important;
    }
  }


  /* FAQ interaction colors: use black instead of pink */
  #faqList .faq-toggle {
    background-color: #ffffff !important;
    color: #111113 !important;
    transition: background-color .25s ease, color .25s ease;
  }
  #faqList .faq-toggle:hover,
  #faqList .faq-item.open .faq-toggle {
    background-color: #111113 !important;
    color: #ffffff !important;
  }
  #faqList .faq-toggle:hover .faq-plus,
  #faqList .faq-item.open .faq-toggle .faq-plus {
    background-color: #c8272d !important;
    color: #ffffff !important;
  }


  /* ===== Header navigation submenu / dropdown (matches header.html) ===== */
  header.vb-site-header .vb-nav-dropdown { position: relative; }

  header.vb-site-header .vb-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -18px;
    margin-top: 14px;            /* a little gap below the nav item */
    min-width: 245px;
    padding: 10px 0;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 19, .08);
    border-radius: 12px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .12);
    z-index: 100000;
    list-style: none;
  }
  /* invisible bridge so the top gap doesn't break the hover */
  header.vb-site-header .vb-dropdown-menu:before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
  }
  header.vb-site-header .vb-nav-dropdown:hover > .vb-dropdown-menu,
  header.vb-site-header .vb-nav-dropdown:focus-within > .vb-dropdown-menu {
    display: block;
  }
  header.vb-site-header .vb-dropdown-menu a {
    display: block !important;
    padding: 10px 18px !important;
    white-space: nowrap;
    color: #232327 !important;
  }
  header.vb-site-header .vb-dropdown-menu a:after { display: none !important; } /* no underline bar inside dropdown */
  header.vb-site-header .vb-dropdown-menu a:hover {
    background: #f4f4f5;
    color: #c8272d !important;
  }

  /* mobile (always-open) submenu */
  header.vb-site-header .vb-mobile-submenu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0 0 16px;
    margin: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
  }
  header.vb-site-header .vb-mobile-submenu a { display: block; }

  @media (max-width: 1023px) {
    header.vb-site-header .vb-dropdown-menu { display: none !important; }
  }

