:root{
  --bg:#000000;
  --fg:#ffffff;
  --muted:#c9c9c9;
  --yellow:#ffc400;
  --card:#0e0e0e;
  --border:#1a1a1a;
  --maxw:1200px;
}

html, body {
  overflow-x: hidden;
}

/* RESET */
*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--fg);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  scroll-behavior:smooth;
}
.container{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 20px;
}

/* ✅ HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 110px;
}
.site-header .nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:108px;
}
.brand-link{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--fg);
}

.brand-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255,196,0,.25));
}


/* Desktop Menu */
.menu{
  display:flex;
  align-items:center;
}
.menu a{
  color:#fff;
  text-decoration:none;
  margin-left:20px;
  opacity:.9;
  font-weight:500;
}
.menu a:hover{
  color:var(--yellow);
  opacity:1;
}

/* ✅ HAMBURGER */
.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  background:transparent;
  border:1px solid var(--border);
  padding:8px 10px;
  border-radius:8px;
  cursor:pointer;
}
.hamburger span{
  display:block;
  width:24px;
  height:2px;
  background:#fff;
}

/* ✅ MOBILE MENU — UNIVERSAL FIX */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.96);
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  z-index: 999999 !important;
  height: 100vh;
  width: 100%;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: none;
}

.mobile-menu.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;

  /* 🔥 THE REAL FIX */
  pointer-events: auto !important;
  touch-action: auto !important;

  /* EXTRA FIX FOR iPhone */
  -webkit-overflow-scrolling: touch;
}


.mobile-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.m-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  padding: 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  -webkit-tap-highlight-color: transparent; /* iOS tap flicker fix */
}

.m-btn {
  display: inline-block;
  padding: 16px;
  text-align: center;
}


/* ✅ HERO */
.hero{
  position:relative;
  padding:140px 0 160px;
  border-bottom:1px solid var(--border);
  /* overflow:hidden;  ❌ REMOVED — root cause of mobile overlay bug */
}
.hero-inner{max-width:900px}

.eyebrow{
  color:var(--yellow);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin:0 0 8px;
}
.hero h1{
  font-size:50px;
  line-height:1.06;
  margin:0 0 12px;
}
.subline{
  font-size:18px;
  color:var(--muted);
  max-width:720px;
}
.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:20px;
}
.hero-glow{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:-250px;
  width:140%;
  height:55vh;
  background:radial-gradient(50% 50% at 50% 0%,rgba(255,196,0,.3),transparent 60%);
  pointer-events:none;
  overflow:hidden;
}

/* ✅ SECTIONS */
.section{
  padding:80px 0;
  border-bottom:1px solid var(--border);
  scroll-margin-top:120px !important;
}
.two-col{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:30px;
}
.grid{display:grid;gap:18px}
.grid.cards-3{grid-template-columns:repeat(3,1fr)}
.grid.two{grid-template-columns:repeat(2,1fr)}

.card{
  background:var(--card);
  border:1px solid var(--border);
  padding:20px;
  border-radius:12px;
}
.card.highlight{border-color:var(--yellow)}

h2{font-size:38px;margin:0 0 18px}
h3{margin:0 0 12px}
p{color:#e6e6e6;line-height:1.65}
.muted{color:var(--muted)}
.small{font-size:.88rem}

.ticks{list-style:none;margin:14px 0 0;padding:0}
.ticks li{
  margin:8px 0;
  padding-left:26px;
  position:relative;
}
.ticks li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--yellow);
}

.keyinfo{list-style:none;margin:0;padding:0}
.keyinfo li{margin:8px 0}

.cols.two{columns:2}
.cols li{margin:6px 0;break-inside:avoid}

/* ✅ BUTTONS */
.btn{
  display:inline-block;
  background:var(--yellow);
  color:#000;
  font-weight:700;
  padding:12px 18px;
  border-radius:8px;
  text-decoration:none;
  border:none;
}
.btn:hover{background:#ffd84e}
.btn-sm{padding:8px 12px;font-size:.9rem}
.btn-outline{
  background:transparent;
  border:1px solid var(--yellow);
  color:var(--fg);
}
.btn-clear{
  background:transparent;
  color:var(--fg);
  text-decoration:underline;
}

/* ✅ TEAM SLIDER */
.team-roles{margin-bottom:20px}
.team-slider{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  border:1px solid var(--border);
  margin-top:10px;
}
.team-slider .track{
  display:flex;
  transition:transform .45s ease;
}
.team-slider .slide{min-width:100%;background:#080808}
.team-slider img{
  width:100%;
  display:block;
  object-fit:cover;
}
.slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.6);
  color:#fff;
  padding:9px 12px;
  border-radius:8px;
  border:none;
  cursor:pointer;
}
.slider-btn.prev{left:10px}
.slider-btn.next{right:10px}
.slider-btn:hover{background:rgba(0,0,0,.8)}

.dots{
  position:absolute;
  bottom:12px;
  left:0;
  right:0;
  display:flex;
  justify-content:center;
  gap:8px;
}
.dots button{
  width:9px;
  height:9px;
  border-radius:50%;
  border:1px solid #fff;
  background:transparent;
  opacity:.6;
}
.dots button.active{
  background:var(--yellow);
  border-color:var(--yellow);
  opacity:1;
}

/* ✅ GALLERY */
.masonry{
  column-count:3;
  column-gap:16px;
}
.masonry-item{
  break-inside:avoid;
  margin:0 0 16px;
  border-radius:12px;
  overflow:hidden;
  background:#0a0a0a;
  border:1px solid var(--border);
  transition:transform .2s ease;
}
.masonry-item:hover{transform:translateY(-3px)}
.masonry-item img,
.masonry-item video{
  width:100%;
  display:block;
}

.gallery-actions{
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:20px;
}

/* ✅ LIGHTBOX */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:2000;
}
.lightbox.show{display:flex}
.lightbox img{
  max-width:92vw;
  max-height:88vh;
  border-radius:12px;
}
.lightbox-close{
  position:absolute;
  top:18px;
  right:18px;
  font-size:34px;
  color:#fff;
  background:none;
  border:none;
  cursor:pointer;
}

/* ✅ FOOTER */
.site-footer{padding:30px 0}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  color:#999;
  font-size:.95rem;
}
.credit a{
  color:#fff;
  text-decoration:none;
  border-bottom:1px dashed rgba(255,196,0,.6);
}
.credit a:hover{
  color:var(--yellow);
  border-bottom-color:var(--yellow);
}

/* ✅ RESPONSIVE FIX */
@media(max-width:1024px){
  .only-desktop{display:none !important}
  .hamburger.only-mobile{display:flex !important}
}

@media(max-width:900px){
  .two-col{grid-template-columns:1fr}
  .grid.cards-3{grid-template-columns:1fr 1fr}
  .grid.two{grid-template-columns:1fr}
  .masonry{column-count:2}
  .hero{padding:120px 0 140px}
  .hero h1{font-size:40px}
}

@media(max-width:560px){
  .grid.cards-3{grid-template-columns:1fr}
  .masonry{column-count:1}
  .footer-inner{text-align:center;justify-content:center}
}

/* ============================================
   ✅ MOBILE MENU CLOSE BUTTON (FINAL FIX)
============================================ */
.close-menu-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 999999999;
  background: rgba(255,255,255,0.15);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-tap-highlight-color: transparent;
  line-height: 0;
}

.close-menu-btn:active {
  transform: scale(0.93);
}

@media (max-width: 600px) {
  .brand-logo {
    width: 90px;
    height: 90px;
  }
}

.god-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 20px;
  letter-spacing: 1px;
  padding-top: 10px;
}

/* ============================================
   SAFE WIDTH FIX — NO SIDE SCROLL
============================================ */
.masonry,
.grid,
.section,
.container {
  overflow-x: hidden;
}
