/*
  Shared JNC site chrome.
  Every JNC page should load this file after its page-specific styles so the
  header, mobile menu, and footer always render from one source of truth.
*/
:root{
  --jnc-chrome-max:1180px;
  --jnc-chrome-navy:#06084f;
  --jnc-chrome-ink:#080910;
  --jnc-chrome-yellow:#f4f100;
  --jnc-chrome-white:#f7f7fb;
  --jnc-chrome-display:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;
  --jnc-chrome-body:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body.menu-open{overflow:hidden}

.site-header{
  position:sticky;
  z-index:80;
  top:0;
  background:rgba(6,8,79,.88);
  border-bottom:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(18px);
  box-shadow:0 8px 35px rgba(0,0,0,.2);
}
.site-header .container.nav{
  width:min(calc(100% - 34px),var(--jnc-chrome-max));
  min-height:76px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
}
.site-header .brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
  margin:0;
  color:inherit;
  text-decoration:none;
}
.site-header .header-brand-logo,
footer .footer-brand .header-brand-logo{
  width:clamp(138px,13vw,178px);
  height:auto;
  max-height:58px;
  margin:0;
  object-fit:contain;
}
.site-header .nav-links{display:flex;align-items:center;gap:22px}
.site-header .nav-links a{
  position:relative;
  color:#fff;
  font:900 .72rem/1 var(--jnc-chrome-body);
  text-transform:uppercase;
  letter-spacing:.11em;
  opacity:.82;
  white-space:nowrap;
  text-decoration:none;
}
.site-header .nav-links a:hover,
.site-header .nav-links a.active{color:var(--jnc-chrome-yellow);opacity:1}
.site-header .nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:-10px;
  height:2px;
  background:var(--jnc-chrome-yellow);
  transition:right .2s ease;
}
.site-header .nav-links a:hover::after,
.site-header .nav-links a.active::after{right:0}
.site-header .nav-actions{display:flex;align-items:center;gap:10px}
.site-header .btn{
  min-height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid transparent;
  padding:13px 21px;
  border-radius:999px;
  font:950 .82rem/1 var(--jnc-chrome-body);
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease;
}
.site-header .btn:hover{transform:translateY(-2px)}
.site-header .btn-primary{
  color:#07070a;
  background:var(--jnc-chrome-yellow);
  box-shadow:0 10px 32px rgba(244,241,0,.18);
}
.site-header .btn-primary:hover{box-shadow:0 13px 42px rgba(244,241,0,.3)}
.site-header .live-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#ff3a4b;
  box-shadow:0 0 0 0 rgba(255,58,75,.65);
  animation:jnc-chrome-pulse 1.7s infinite;
}
@keyframes jnc-chrome-pulse{
  70%{box-shadow:0 0 0 10px rgba(255,58,75,0)}
  100%{box-shadow:0 0 0 0 rgba(255,58,75,0)}
}
.site-header .menu-btn{
  width:46px;
  height:46px;
  display:none;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.17);
  padding:0;
  background:rgba(255,255,255,.05);
  color:white;
  cursor:pointer;
}
.site-header .menu-btn span,
.site-header .menu-btn span::before,
.site-header .menu-btn span::after{
  display:block;
  width:20px;
  height:2px;
  background:currentColor;
  position:relative;
  transition:.2s;
}
.site-header .menu-btn span::before,
.site-header .menu-btn span::after{content:"";position:absolute;left:0}
.site-header .menu-btn span::before{top:-7px}
.site-header .menu-btn span::after{top:7px}
.menu-open .site-header .menu-btn span{background:transparent}
.menu-open .site-header .menu-btn span::before{top:0;transform:rotate(45deg)}
.menu-open .site-header .menu-btn span::after{top:0;transform:rotate(-45deg)}

body > .mobile-menu,
.site-shell > .mobile-menu{
  display:none;
  position:fixed;
  inset:76px 0 0;
  z-index:70;
  background:rgba(7,8,15,.98);
  padding:28px 20px 45px;
  overflow:auto;
}
body > .mobile-menu a,
.site-shell > .mobile-menu a{
  display:block;
  padding:18px 4px;
  border-bottom:1px solid rgba(255,255,255,.11);
  color:var(--jnc-chrome-white);
  font:900 2.2rem/1 var(--jnc-chrome-display);
  text-transform:uppercase;
  text-decoration:none;
}
body > .mobile-menu a:hover,
.site-shell > .mobile-menu a:hover,
body > .mobile-menu a.active,
.site-shell > .mobile-menu a.active{color:var(--jnc-chrome-yellow)}

footer#connect{
  padding:52px 0 30px;
  background:var(--jnc-chrome-navy);
  border-top:1px solid rgba(255,255,255,.13);
  color:var(--jnc-chrome-white);
  font-family:var(--jnc-chrome-body);
}
footer#connect > .container{
  width:min(calc(100% - 34px),var(--jnc-chrome-max));
  margin-inline:auto;
}
footer#connect .footer-grid{
  display:grid;
  grid-template-columns:1.4fr repeat(3,1fr);
  gap:42px;
}
footer#connect .footer-brand p{
  max-width:350px;
  margin-top:18px;
  color:#a9adbf;
  font-size:.86rem;
  line-height:1.65;
}
footer#connect .footer-col h3{
  margin:0 0 15px;
  color:var(--jnc-chrome-yellow);
  font:700 .7rem/1 var(--jnc-chrome-body);
  letter-spacing:.14em;
  text-transform:uppercase;
}
footer#connect .footer-col a{
  display:block;
  margin:10px 0;
  color:#c8cad7;
  font-size:.82rem;
  text-decoration:none;
}
footer#connect .footer-col a:hover{color:var(--jnc-chrome-yellow)}
footer#connect .social-row{display:flex;gap:9px;margin-top:18px}
footer#connect .social{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  margin:0;
  border:1px solid rgba(255,255,255,.17);
  border-radius:50%;
  color:white;
  font-size:.65rem;
  font-weight:900;
  text-decoration:none;
}
footer#connect .social:hover{
  border-color:var(--jnc-chrome-yellow);
  background:var(--jnc-chrome-yellow);
  color:var(--jnc-chrome-ink);
}
footer#connect .copyright{
  margin-top:42px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  color:#8d91a7;
  font-size:.72rem;
}

@media(max-width:1080px){
  .site-header .nav-links{display:none}
  .site-header .menu-btn{display:grid}
}
@media(max-width:820px){
  footer#connect .footer-grid{grid-template-columns:1.3fr 1fr}
}
@media(max-width:600px){
  .site-header .container.nav,
  footer#connect > .container{width:min(calc(100% - 26px),var(--jnc-chrome-max))}
  .site-header .container.nav{min-height:68px}
  body > .mobile-menu,
  .site-shell > .mobile-menu{inset:68px 0 0}
  .site-header .header-brand-logo,
  footer .footer-brand .header-brand-logo{width:142px;max-height:50px}
  .site-header .nav-actions .btn{display:none}
  footer#connect .footer-grid{grid-template-columns:1fr 1fr}
  footer#connect .footer-brand{grid-column:1/-1}
}
