/* ==========================================================
   WITSTUNERS MOBILE HEADER
   FINAL DARK INTELLIGENCE VERSION
========================================================== */

@media(max-width:1100px){

  /* ========================================================
     VARIABLES
  ======================================================== */

  #wts-header-v4{
    --wts-mobile-pink:#FF2768;
    --wts-mobile-white:#FFFFFF;
    --wts-mobile-soft:rgba(255,255,255,.70);
    --wts-mobile-muted:rgba(221,224,236,.55);
    --wts-mobile-line:rgba(255,255,255,.11);
    --wts-mobile-dark:#070914;
  }

  /* ========================================================
     PAGE SCROLL LOCK
  ======================================================== */

  html.wts-nav-locked,
  body.wts-nav-locked{
    overflow:hidden !important;
    overscroll-behavior:none;
  }

  /* Old backdrop is unnecessary because menu covers screen */

  .wts-mobile-backdrop,
  .wts-mobile-backdrop.is-visible{
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }

  /* ========================================================
     MOBILE HEADER BAR
  ======================================================== */

  #wts-header-v4{
    height:84px;

    background:rgba(250,250,252,.96);
    border-bottom:1px solid rgba(255,39,104,.18);

    backdrop-filter:blur(20px) saturate(135%);
    -webkit-backdrop-filter:blur(20px) saturate(135%);

    transition:
      background .32s ease,
      border-color .32s ease;
  }

  /* Darken header while navigation is open */

  #wts-header-v4:has(.wts-mobile-toggle.is-open){
    background:rgba(8,10,21,.94);
    border-bottom-color:rgba(255,255,255,.08);
  }

  #wts-header-v4 .wts-nav-wrap{
    position:relative;
    z-index:10003;

    width:100%;
    height:84px;

    padding:10px 22px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
  }

  #wts-header-v4 .wts-logo{
    position:relative;
    z-index:10004;

    display:flex;
    align-items:center;
    min-width:0;
  }

  #wts-header-v4 .wts-logo img{
    display:block;

    width:auto;
    height:60px;
    max-width:calc(100vw - 96px);

    transition:
      filter .3s ease,
      opacity .3s ease;
  }

  /* Turn the logo white when dark menu is open */

  #wts-header-v4:has(.wts-mobile-toggle.is-open)
  .wts-logo img{
    filter:brightness(0) invert(1);
  }

  /* Hide desktop navigation */

  #wts-header-v4 .wts-nav-links,
  #wts-header-v4 .wts-review-btn,
  #wts-header-v4 .wts-mega{
    display:none !important;
  }

  /* ========================================================
     CLEAN MOBILE HAMBURGER
  ======================================================== */

  #wts-header-v4 .wts-mobile-toggle{
    position:relative;
    z-index:10005;

    display:flex !important;
    flex-direction:column;
    align-items:flex-end;
    justify-content:center;

    width:44px;
    height:44px;
    flex:0 0 44px;

    padding:0;
    gap:6px;

    border:0;
    border-radius:0;

    background:transparent;
    box-shadow:none;

    cursor:pointer;

    transition:
      transform .28s cubic-bezier(.22,1,.36,1);
  }

  #wts-header-v4 .wts-mobile-toggle::before,
  #wts-header-v4 .wts-mobile-toggle::after{
    display:none;
  }

  #wts-header-v4 .wts-mobile-toggle i{
    display:block;

    height:2.5px;
    border-radius:999px;

    background:#111827;

    transform-origin:center;

    transition:
      width .3s cubic-bezier(.22,1,.36,1),
      opacity .22s ease,
      transform .38s cubic-bezier(.22,1,.36,1),
      background .28s ease;
  }

  #wts-header-v4 .wts-mobile-toggle i:nth-child(1){
    width:30px;
  }

  #wts-header-v4 .wts-mobile-toggle i:nth-child(2){
    width:23px;
  }

  #wts-header-v4 .wts-mobile-toggle i:nth-child(3){
    width:30px;
  }

  #wts-header-v4 .wts-mobile-toggle:hover{
    transform:translateX(-2px);
  }

  #wts-header-v4 .wts-mobile-toggle:hover i{
    background:var(--wts-mobile-pink);
  }

  #wts-header-v4 .wts-mobile-toggle:hover i:nth-child(2){
    width:30px;
  }

  /* Hamburger becomes simple white X */

  #wts-header-v4 .wts-mobile-toggle.is-open{
    position:fixed;

    top:20px;
    right:22px;

    width:44px;
    height:44px;

    background:transparent;
    box-shadow:none;
  }

  #wts-header-v4 .wts-mobile-toggle.is-open i{
    width:30px;
    background:#FFFFFF;
  }

  #wts-header-v4 .wts-mobile-toggle.is-open i:nth-child(1){
    transform:translateY(8.5px) rotate(45deg);
  }

  #wts-header-v4 .wts-mobile-toggle.is-open i:nth-child(2){
    opacity:0;
    transform:scaleX(0);
  }

  #wts-header-v4 .wts-mobile-toggle.is-open i:nth-child(3){
    transform:translateY(-8.5px) rotate(-45deg);
  }

  /* ========================================================
     FULL-SCREEN DARK NAVIGATION CANVAS
  ======================================================== */

  #wts-header-v4 .wts-mobile-panel{
    position:fixed;
    z-index:10000;

    inset:0;

    display:flex !important;
    flex-direction:column;

    width:100%;
    max-width:none;

    min-height:100vh;
    min-height:100dvh;

    padding:
      calc(112px + env(safe-area-inset-top))
      30px
      calc(34px + env(safe-area-inset-bottom));

    overflow-x:hidden;
    overflow-y:auto;

    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;

    color:#FFFFFF;

    background:
      radial-gradient(
        circle at 12% 18%,
        rgba(121,20,78,.34) 0%,
        rgba(121,20,78,.12) 28%,
        transparent 49%
      ),
      radial-gradient(
        circle at 88% 8%,
        rgba(255,39,104,.18) 0%,
        transparent 34%
      ),
      radial-gradient(
        circle at 75% 82%,
        rgba(79,56,150,.14) 0%,
        transparent 42%
      ),
      linear-gradient(
        145deg,
        #070914 0%,
        #09101F 48%,
        #180A1B 76%,
        #260D22 100%
      );

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transform:
      translateY(-12px)
      scale(1.012);

    filter:blur(8px);

    transition:
      opacity .32s ease,
      visibility .32s ease,
      transform .48s cubic-bezier(.22,1,.36,1),
      filter .34s ease;
  }

  #wts-header-v4 .wts-mobile-panel::after{
    content:"";

    position:fixed;
    z-index:-1;

    inset:0;

    pointer-events:none;

    opacity:.25;

    background-image:
      linear-gradient(
        rgba(255,255,255,.015) 1px,
        transparent 1px
      ),
      linear-gradient(
        90deg,
        rgba(255,255,255,.012) 1px,
        transparent 1px
      );

    background-size:72px 72px;

    -webkit-mask-image:
      linear-gradient(
        to bottom,
        rgba(0,0,0,.55),
        transparent 76%
      );

    mask-image:
      linear-gradient(
        to bottom,
        rgba(0,0,0,.55),
        transparent 76%
      );
  }

  #wts-header-v4 .wts-mobile-panel.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;

    transform:
      translateY(0)
      scale(1);

    filter:blur(0);
  }

  /* ========================================================
     NAVIGATION LABEL
  ======================================================== */

  #wts-header-v4 .wts-mobile-panel::before{
    content:"Navigation";

    display:block;
    flex:0 0 auto;

    margin:0 0 16px;

    color:var(--wts-mobile-pink);

    font-size:11px;
    line-height:1;
    font-weight:950;

    letter-spacing:.20em;
    text-transform:uppercase;

    opacity:0;
    transform:translateY(12px);

    transition:
      opacity .32s ease,
      transform .4s cubic-bezier(.22,1,.36,1);
  }

  #wts-header-v4 .wts-mobile-panel.is-open::before{
    opacity:1;
    transform:translateY(0);
    transition-delay:.05s;
  }

  /* ========================================================
     MAIN MOBILE MENU ITEMS
  ======================================================== */

  #wts-header-v4 .wts-mobile-acc{
    position:relative;

    width:100%;
    min-height:68px;

    padding:0;

    border:0;
    border-bottom:1px solid var(--wts-mobile-line);

    background:transparent;
    color:#FFFFFF;

    font-family:inherit;
    font-size:28px;
    line-height:1.05;
    font-weight:900;
    letter-spacing:-.04em;
    text-align:left;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    cursor:pointer;

    opacity:0;
    transform:translateY(14px);

    transition:
      color .24s ease,
      padding-left .25s ease,
      opacity .34s ease,
      transform .4s cubic-bezier(.22,1,.36,1);
  }

  #wts-header-v4 .wts-mobile-panel.is-open
  .wts-mobile-acc:nth-of-type(1){
    opacity:1;
    transform:translateY(0);
    transition-delay:.08s;
  }

  #wts-header-v4 .wts-mobile-panel.is-open
  .wts-mobile-acc:nth-of-type(2){
    opacity:1;
    transform:translateY(0);
    transition-delay:.11s;
  }

  #wts-header-v4 .wts-mobile-panel.is-open
  .wts-mobile-acc:nth-of-type(3){
    opacity:1;
    transform:translateY(0);
    transition-delay:.14s;
  }

  #wts-header-v4 .wts-mobile-panel.is-open
  .wts-mobile-acc:nth-of-type(4){
    opacity:1;
    transform:translateY(0);
    transition-delay:.17s;
  }

  #wts-header-v4 .wts-mobile-acc:hover,
  #wts-header-v4 .wts-mobile-acc:focus-visible,
  #wts-header-v4 .wts-mobile-acc.is-open{
    color:var(--wts-mobile-pink);
    padding-left:5px;
  }

  #wts-header-v4 .wts-mobile-acc:focus-visible{
    outline:0;
  }

  /* ========================================================
     PLUS / MINUS CONTROLS
  ======================================================== */

  #wts-header-v4 .wts-mobile-acc span{
    position:relative;

    width:30px;
    height:30px;
    flex:0 0 30px;

    color:transparent;
    font-size:0;

    transition:
      transform .3s cubic-bezier(.22,1,.36,1);
  }

  #wts-header-v4 .wts-mobile-acc span::before,
  #wts-header-v4 .wts-mobile-acc span::after{
    content:"";

    position:absolute;
    top:50%;
    left:50%;

    width:17px;
    height:2px;

    border-radius:999px;

    background:var(--wts-mobile-pink);

    transform:translate(-50%,-50%);

    transition:
      transform .3s cubic-bezier(.22,1,.36,1);
  }

  #wts-header-v4 .wts-mobile-acc span::after{
    transform:
      translate(-50%,-50%)
      rotate(90deg);
  }

  #wts-header-v4 .wts-mobile-acc.is-open span{
    transform:rotate(180deg);
  }

  #wts-header-v4 .wts-mobile-acc.is-open span::after{
    transform:
      translate(-50%,-50%)
      rotate(0deg);
  }

/* ========================================================
   MOBILE SUBMENUS — RELIABLE REVEAL
======================================================== */

#wts-header-v4 .wts-mobile-sub{
  display:none !important;

  width:100%;
  height:auto !important;
  max-height:none !important;

  margin:0;
  padding:0;

  overflow:visible !important;

  opacity:1 !important;
  visibility:visible !important;

  background:transparent;
  border:0;
}

#wts-header-v4 .wts-mobile-sub.is-open{
  display:block !important;

  height:auto !important;
  max-height:none !important;

  padding:7px 0 15px;

  overflow:visible !important;
  opacity:1 !important;
  visibility:visible !important;
}

#wts-header-v4 .wts-mobile-sub a{
  position:relative;

  display:flex !important;
  align-items:center;

  width:100%;
  min-height:43px;

  padding:10px 34px 10px 20px;

  border:0;
  border-bottom:1px solid rgba(255,255,255,.065);

  background:transparent;
  color:rgba(255,255,255,.72);

  text-decoration:none;

  font-size:14.5px;
  line-height:1.4;
  font-weight:650;

  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
}

#wts-header-v4 .wts-mobile-sub a::before{
  content:"";

  position:absolute;
  left:2px;

  width:6px;
  height:6px;

  border-radius:50%;
  background:#FF2768;

  box-shadow:0 0 0 5px rgba(255,39,104,.08);
}

#wts-header-v4 .wts-mobile-sub a::after{
  content:"→";

  position:absolute;
  right:3px;

  color:#FF2768;
  font-size:16px;
  font-weight:800;
  opacity:.7;
}
  /* ========================================================
     INTELLIGENCE BLOCK
  ======================================================== */

  #wts-header-v4 .wts-mobile-intelligence{
    margin-top:auto;
    padding-top:30px;

    opacity:0;
    transform:translateY(16px);

    transition:
      opacity .38s ease,
      transform .46s cubic-bezier(.22,1,.36,1);
  }

  #wts-header-v4 .wts-mobile-panel.is-open
  .wts-mobile-intelligence{
    opacity:1;
    transform:translateY(0);
    transition-delay:.21s;
  }

  #wts-header-v4 .wts-mobile-intelligence-label{
    margin-bottom:12px;

    color:var(--wts-mobile-pink);

    font-size:10px;
    line-height:1;
    font-weight:950;

    letter-spacing:.18em;
    text-transform:uppercase;
  }

  #wts-header-v4 .wts-mobile-intelligence h3{
    max-width:520px;

    margin:0;

    color:#FFFFFF;

    font-size:25px;
    line-height:1.13;
    font-weight:900;

    letter-spacing:-.04em;
  }

  #wts-header-v4 .wts-mobile-intelligence > p{
    max-width:560px;

    margin:13px 0 0;

    color:var(--wts-mobile-muted);

    font-size:14px;
    line-height:1.62;
    font-weight:500;
  }

  /* ========================================================
     STATS
  ======================================================== */

  #wts-header-v4 .wts-mobile-intelligence-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);

    gap:0;

    margin-top:22px;
    padding:20px 0;

    border-top:1px solid var(--wts-mobile-line);
    border-bottom:1px solid var(--wts-mobile-line);
  }

  #wts-header-v4 .wts-mobile-stat{
    min-width:0;

    padding:0 17px;

    border-right:1px solid var(--wts-mobile-line);
  }

  #wts-header-v4 .wts-mobile-stat:first-child{
    padding-left:0;
  }

  #wts-header-v4 .wts-mobile-stat:last-child{
    padding-right:0;
    border-right:0;
  }

  #wts-header-v4 .wts-mobile-stat strong{
    display:block;

    margin-bottom:6px;

    color:#FFFFFF;

    font-size:28px;
    line-height:1;
    font-weight:950;

    letter-spacing:-.05em;
  }

  #wts-header-v4 .wts-mobile-stat span{
    display:block;

    color:rgba(255,255,255,.45);

    font-size:9.5px;
    line-height:1.35;
    font-weight:800;

    letter-spacing:.08em;
    text-transform:uppercase;
  }

  /* ========================================================
     REVIEW CTA
  ======================================================== */

  #wts-header-v4 .mobile-review{
    position:relative;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;

    min-height:58px;

    margin:23px 0 0;
    padding:0 21px;

    border:1px solid rgba(255,255,255,.10);
    border-radius:14px;

    background:var(--wts-mobile-pink);
    color:#FFFFFF;

    text-decoration:none;

    font-size:13px;
    line-height:1.2;
    font-weight:900;

    letter-spacing:.07em;
    text-transform:uppercase;

    box-shadow:
      0 17px 42px rgba(255,39,104,.25);

    opacity:0;
    transform:translateY(14px);

    transition:
      background .25s ease,
      box-shadow .3s ease,
      opacity .34s ease,
      transform .4s cubic-bezier(.22,1,.36,1);
  }

  #wts-header-v4 .wts-mobile-panel.is-open
  .mobile-review{
    opacity:1;
    transform:translateY(0);
    transition-delay:.25s;
  }

  #wts-header-v4 .mobile-review::after{
    content:"→";

    color:#FFFFFF;

    font-size:19px;
    font-weight:900;

    transition:
      transform .24s cubic-bezier(.22,1,.36,1);
  }

  #wts-header-v4 .mobile-review:hover,
  #wts-header-v4 .mobile-review:focus-visible{
    background:#E91859;

    box-shadow:
      0 23px 52px rgba(255,39,104,.34);

    outline:0;
  }

  #wts-header-v4 .mobile-review:hover::after,
  #wts-header-v4 .mobile-review:focus-visible::after{
    transform:translateX(5px);
  }
}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media(max-width:560px){

  #wts-header-v4{
    height:76px;
  }

  #wts-header-v4 .wts-nav-wrap{
    height:76px;
    padding:8px 16px;
  }

  #wts-header-v4 .wts-logo img{
    height:53px;
    max-width:calc(100vw - 82px);
  }

  #wts-header-v4 .wts-mobile-toggle{
    width:40px;
    height:40px;
    flex-basis:40px;
  }

  #wts-header-v4 .wts-mobile-toggle.is-open{
    top:18px;
    right:16px;

    width:40px;
    height:40px;
  }

  #wts-header-v4 .wts-mobile-panel{
    padding:
      calc(96px + env(safe-area-inset-top))
      20px
      calc(24px + env(safe-area-inset-bottom));
  }

  #wts-header-v4 .wts-mobile-acc{
    min-height:62px;

    font-size:23px;
    letter-spacing:-.035em;
  }

  #wts-header-v4 .wts-mobile-sub.is-open{
    padding-bottom:12px;
  }

  #wts-header-v4 .wts-mobile-sub a{
    min-height:41px;

    padding:
      8px
      31px
      8px
      18px;

    font-size:13.5px;
  }

  #wts-header-v4 .wts-mobile-intelligence{
    padding-top:25px;
  }

  #wts-header-v4 .wts-mobile-intelligence h3{
    font-size:22px;
  }

  #wts-header-v4 .wts-mobile-intelligence > p{
    font-size:13.5px;
  }

  #wts-header-v4 .wts-mobile-intelligence-stats{
    margin-top:19px;
    padding:18px 0;
  }

  #wts-header-v4 .wts-mobile-stat{
    padding:0 12px;
  }

  #wts-header-v4 .wts-mobile-stat strong{
    font-size:25px;
  }

  #wts-header-v4 .mobile-review{
    min-height:54px;
    margin-top:20px;
  }
}

/* ==========================================================
   SHORT SCREENS / LANDSCAPE
========================================================== */

@media(max-width:1100px) and (max-height:720px){

  #wts-header-v4 .wts-mobile-panel{
    padding-top:
      calc(92px + env(safe-area-inset-top));
  }

  #wts-header-v4 .wts-mobile-acc{
    min-height:57px;
    font-size:22px;
  }

  #wts-header-v4 .wts-mobile-intelligence{
    margin-top:24px;
    padding-top:20px;
  }

  #wts-header-v4 .wts-mobile-intelligence > p{
    display:none;
  }

  #wts-header-v4 .wts-mobile-intelligence-stats{
    margin-top:17px;
    padding:15px 0;
  }

  #wts-header-v4 .mobile-review{
    min-height:52px;
    margin-top:18px;
  }
}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media(prefers-reduced-motion:reduce){

  #wts-header-v4 *,
  #wts-header-v4 *::before,
  #wts-header-v4 *::after{
    animation:none !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}