/* V12.2.16 NAVIGATION PREVIEW — NOT APPROVED FOR PRODUCTION.
   Visual change limited to navigation. Mobile navigation is portaled
   directly into <body> by /site.js to avoid backdrop-filter containing blocks. */

/* Preserve the existing live desktop segmented navigation at 1361px and above.
   Use compact, centred segments only in the 1200–1360px MacBook transition zone. */
@media (min-width:1200px) and (max-width:1360px) {
  .page-home .site-header .nav,
  .locked-page .site-header .nav {
    display:flex;
    position:static;
    inset:auto;
    width:auto;
    height:auto;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    overflow:visible;
    flex:1 1 auto;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    gap:0;
    margin:0 0 0 clamp(14px,2vw,32px);
    padding:0;
    background:transparent;
    border:0;
    font-size:clamp(10px,.82vw,14px);
    transform:none;
  }
  .page-home .site-header .nav a,
  .locked-page .site-header .nav a {
    padding:11px clamp(6px,.93vw,15px);
    font-size:inherit;
    border-left:1px solid rgba(248,250,251,.44);
    line-height:1.2;
    text-align:center;
  }
  .page-home .site-header .nav a:first-child,
  .locked-page .site-header .nav a:first-child {border-left:0}
  .page-home .site-header .nav a:last-child,
  .locked-page .site-header .nav a:last-child {padding-right:0}
  /* Keep the approved lime active underline beneath its centred desktop segment. */
  .page-home .site-header .nav a.active::after,
  .locked-page .site-header .nav a.active::after {
    height:5px;
    bottom:-10px;
    left:clamp(6px,.93vw,15px);
    right:clamp(6px,.93vw,15px);
  }
  .page-home .site-header .mobile-toggle,
  .locked-page .site-header .mobile-toggle {display:none}
  .page-home .site-header .header-inner,
  .locked-page .site-header .header-inner {gap:12px;min-height:94px}
  .page-home .site-header .brand,
  .locked-page .site-header .brand {gap:clamp(9px,1.15vw,19px)}
}

/* Full-screen cinematic menu is shared by all six pages. */
@media (max-width:1199px) {
  .page-home .site-header .mobile-toggle,
  .locked-page .site-header .mobile-toggle {display:block;cursor:pointer}
  .page-home .site-header .nav,
  .locked-page .site-header .nav {display:none}
  body > nav.cinematic-nav {
    position:fixed !important;
    inset:0 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:stretch !important;
    width:100vw !important;
    height:100vh !important;
    height:100dvh !important;
    margin:0 !important;
    padding:clamp(96px,15dvh,150px) clamp(26px,6vw,60px) 76px !important;
    z-index:2147482000 !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    overscroll-behavior:contain;
    background:radial-gradient(ellipse 75% 30% at 85% 88%,rgba(34,77,87,.24),transparent 78%),
      linear-gradient(125deg,#0A1829 0%,#071522 62%,#081C2A 100%) !important;
    border:0 !important;
    box-shadow:none !important;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translate3d(0,-14px,0);
    transition:opacity .34s ease,transform .4s cubic-bezier(.2,.8,.2,1),visibility .34s;
    -webkit-overflow-scrolling:touch;
  }
  body > nav.cinematic-nav.open {
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translate3d(0,0,0);
  }
  body > .cinematic-nav::before {
    content:'SHIVANG MISHRA TENNIS';
    position:absolute;
    top:clamp(28px,5dvh,48px);
    left:clamp(26px,6vw,60px);
    color:#D5F56A;
    letter-spacing:.13em;
    font-family:Montserrat,Arial,sans-serif;
    font-size:clamp(10px,2.9vw,12px);
    font-weight:650;
  }
  body > .cinematic-nav::after {
    content:'EXPLORE. DEVELOP. COMPETE.';
    position:absolute;
    bottom:max(28px,env(safe-area-inset-bottom));
    left:clamp(26px,6vw,60px);
    color:#D5F56A;
    font-family:Montserrat,Arial,sans-serif;
    font-size:10px;
    letter-spacing:.22em;
    opacity:.9;
  }
  body > .cinematic-nav .cinematic-close {
    display:flex;
    align-items:center;
    justify-content:center;
    position:absolute;
    top:clamp(14px,3dvh,34px);
    right:clamp(18px,5vw,48px);
    width:48px;
    height:48px;
    padding:0;
    background:transparent;
    border:1px solid rgba(213,245,106,.32);
    border-radius:50%;
    color:#D5F56A;
    font:300 34px/1 Arial,sans-serif;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  body > .cinematic-nav .cinematic-close:hover,
  body > .cinematic-nav .cinematic-close:focus-visible {background:rgba(213,245,106,.12);outline-color:#D5F56A}
  body > .cinematic-nav a {
    width:min(100%,520px);
    display:block;
    flex:0 0 auto;
    padding:clamp(11px,2.2dvh,18px) 0 !important;
    margin:0 !important;
    border:0 !important;
    border-bottom:1px solid rgba(193,215,220,.16) !important;
    color:#F6FAFC !important;
    background:none !important;
    font-family:Oswald,Impact,'Arial Narrow',sans-serif !important;
    font-size:clamp(24px,6.5vw,34px) !important;
    font-weight:500 !important;
    line-height:1.15 !important;
    letter-spacing:.055em !important;
    text-transform:uppercase;
    white-space:normal !important;
    text-decoration:none !important;
    opacity:0;
    transform:translate3d(0,14px,0);
    transition:color .2s,opacity .42s,transform .42s;
  }
  body > .cinematic-nav.open a {opacity:1;transform:translate3d(0,0,0)}
  body > .cinematic-nav.open a:nth-of-type(1){transition-delay:.05s}
  body > .cinematic-nav.open a:nth-of-type(2){transition-delay:.085s}
  body > .cinematic-nav.open a:nth-of-type(3){transition-delay:.12s}
  body > .cinematic-nav.open a:nth-of-type(4){transition-delay:.155s}
  body > .cinematic-nav.open a:nth-of-type(5){transition-delay:.19s}
  body > .cinematic-nav.open a:nth-of-type(6){transition-delay:.225s}
  body > .cinematic-nav a.active,
  body > .cinematic-nav a[aria-current="page"],
  body > .cinematic-nav a:hover,
  body > .cinematic-nav a:focus-visible {color:#D5F56A !important}
  body > .cinematic-nav a.active::after,
  body > .cinematic-nav a[aria-current="page"]::after {display:none !important}
  body.navigation-open {overflow:hidden !important}
  @media (max-height:690px) {
    body > nav.cinematic-nav {justify-content:flex-start !important;padding-top:88px !important;padding-bottom:78px !important}
    body > .cinematic-nav a {padding:10px 0 !important;font-size:clamp(22px,5.7vw,28px) !important}
  }
  @media (prefers-reduced-motion:reduce) {
    body > nav.cinematic-nav,body > nav.cinematic-nav a {transition:none !important;transform:none !important}
  }
}
