/* JT unified responsive header — 2026-09-21
   One visual system on desktop and mobile. Mobile no longer uses the separate
   legacy header/hero. It uses the same approved desktop header artwork and the
   same real MORE navigation. Internal pages use the same compact studio bar. */

@media (max-width:900px){
  /* Retire the alternate mobile-only header/hero without deleting its markup. */
  .jt-mobile-original{display:none!important}

  /* HOME: show the exact approved desktop artwork, proportionally scaled. */
  body:not(.jt-internal-page) .jt-exact-header{
    display:block!important;
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:2048/682!important;
    overflow:visible!important;
    background:#000!important;
    border-bottom:2px solid #d8a72f!important;
    isolation:isolate!important;
  }
  body:not(.jt-internal-page) .jt-exact-header-art{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center top!important;
    background:#000!important;
  }
  /* Hide only the old baked navigation in the approved artwork, matching desktop. */
  body:not(.jt-internal-page) .jt-exact-header:before{
    content:""!important;
    position:absolute!important;
    left:23.4%!important;
    right:0!important;
    top:0!important;
    height:9.4%!important;
    z-index:2!important;
    background:linear-gradient(180deg,#020202 0%,#050505 100%)!important;
    border-bottom:1px solid rgba(226,173,55,.24)!important;
    pointer-events:none!important;
  }
  body:not(.jt-internal-page) .jt-exact-hotspots{
    position:absolute!important;
    inset:0!important;
    z-index:6!important;
    pointer-events:none!important;
  }
  body:not(.jt-internal-page) .jt-exact-hotspots .hs-view,
  body:not(.jt-internal-page) .jt-exact-hotspots .hs-book{
    display:block!important;
    pointer-events:auto!important;
  }
  body:not(.jt-internal-page) .jt-exact-hotspots .hs-more{
    display:flex!important;
    pointer-events:auto!important;
    left:auto!important;
    right:8px!important;
    top:6px!important;
    width:76px!important;
    height:28px!important;
    border:1px solid #c8952e!important;
    border-radius:999px!important;
    background:linear-gradient(180deg,#101010,#050505)!important;
    color:#fff!important;
    font:900 9px/1 Arial,Helvetica,sans-serif!important;
    letter-spacing:.08em!important;
    box-shadow:0 4px 14px rgba(0,0,0,.55)!important;
  }

  /* INTERNAL PAGES: use the same compact desktop brand bar on mobile. */
  body.jt-internal-page .jt-exact-header{
    display:block!important;
    position:relative!important;
    width:100%!important;
    height:64px!important;
    min-height:64px!important;
    aspect-ratio:auto!important;
    overflow:visible!important;
    background:#030303!important;
    border-bottom:1px solid #c8952e!important;
    z-index:100!important;
  }
  body.jt-internal-page .jt-exact-header:before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    z-index:2!important;
    background:linear-gradient(180deg,#020202,#060606)!important;
    border-bottom:0!important;
    pointer-events:none!important;
  }
  body.jt-internal-page .jt-exact-header-art{display:none!important}
  body.jt-internal-page .jt-internal-brand{
    display:flex!important;
    position:absolute!important;
    left:12px!important;
    top:7px!important;
    z-index:25!important;
    height:50px!important;
    align-items:center!important;
    gap:8px!important;
    color:#fff!important;
    font:900 10px/1 Arial,Helvetica,sans-serif!important;
    text-transform:uppercase!important;
    letter-spacing:.07em!important;
    text-decoration:none!important;
  }
  body.jt-internal-page .jt-internal-brand img{
    width:48px!important;
    height:48px!important;
    object-fit:contain!important;
  }
  body.jt-internal-page .jt-internal-brand span{color:#f4c55d!important}
  body.jt-internal-page .jt-exact-hotspots{
    position:absolute!important;
    inset:0!important;
    z-index:20!important;
    pointer-events:none!important;
  }
  body.jt-internal-page .jt-exact-hotspots .hs-view,
  body.jt-internal-page .jt-exact-hotspots .hs-book{display:none!important}
  body.jt-internal-page .jt-exact-hotspots .hs-more{
    display:flex!important;
    pointer-events:auto!important;
    left:auto!important;
    right:14px!important;
    top:13px!important;
    width:118px!important;
    height:38px!important;
    border:1px solid #c8952e!important;
    border-radius:999px!important;
    background:linear-gradient(180deg,#101010,#050505)!important;
    color:#fff!important;
    font:900 10px/1 Arial,Helvetica,sans-serif!important;
    letter-spacing:.08em!important;
  }

  /* Same MORE drawer on every device. */
  .jt-exact-header .jt-more-drawer{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    top:58px!important;
    width:auto!important;
    max-width:none!important;
    max-height:calc(100vh - 72px)!important;
    overflow-y:auto!important;
    padding:14px!important;
    z-index:9999!important;
    border:1px solid #b98928!important;
    border-radius:12px!important;
    background:linear-gradient(145deg,rgba(2,5,8,.995),rgba(8,20,28,.995))!important;
    box-shadow:0 18px 45px rgba(0,0,0,.78)!important;
  }
  .jt-exact-header .jt-more-drawer[hidden]{display:none!important}
  .jt-exact-header .jt-more-drawer:not([hidden]){display:block!important}
  .jt-exact-header .jt-more-drawer:before{display:none!important}
  .jt-more-top strong{font-size:16px!important}
  .jt-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 18px!important}
  .jt-more-group h3{font-size:10px!important}
  .jt-more-group a{font-size:10px!important;padding:6px 0!important;line-height:1.25!important}
  .jt-more-socials a,.jt-more-owner a{font-size:9px!important}

  /* Keep fair content responsive, but not visually redesigned. */
  .jt-fair{border-top:0!important}
}

@media (max-width:520px){
  body:not(.jt-internal-page) .jt-exact-hotspots .hs-more{
    right:6px!important;top:5px!important;width:66px!important;height:25px!important;font-size:8px!important
  }
  body.jt-internal-page .jt-internal-brand span{display:none!important}
  body.jt-internal-page .jt-exact-hotspots .hs-more{right:12px!important;width:104px!important}
  .jt-exact-header .jt-more-drawer{left:8px!important;right:8px!important;top:56px!important;padding:13px!important}
  .jt-more-grid{grid-template-columns:1fr!important;gap:13px!important}
  .jt-more-owner{align-items:flex-start!important;flex-direction:column!important}
}
