:root{
  --bg:#0b0b10;
  --card:#0f161f;
  --accent:#ff5e57;
  --muted:#9aa4b2;
  --glass: rgba(255,255,255,0.04);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:#e6eef6;min-height:100vh}

/* full-bleed hero at top (video background) */
.hero-outer{position:relative;width:100%;overflow:hidden;--hero-height:min(86vh,820px);height:var(--hero-height);display:block;margin-top:70px}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(0.38) saturate(0.92);z-index:0;pointer-events:none}
/* soft gradient overlay for text contrast */
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,8,12,0.25) 0%, rgba(6,8,12,0.55) 55%, rgba(6,8,12,0.85) 100%);z-index:1;pointer-events:none}

/* header sits over the hero, transparent with video showing through */
.site-header{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: calc(100% - 48px);
  padding: 10px 24px;
  background: linear-gradient(180deg, rgba(6,8,12,0.3) 0%, rgba(6,8,12,0.1) 100%);
  backdrop-filter: blur(8px);
  box-shadow: none;
  color: #ffffff;
  pointer-events: auto;
  margin: 0;
  height: 70px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.site-header nav{display:flex;gap:20px}

.site-header nav a{
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-weight: 600;
  opacity: .95;
}

/* central content constrained but visible above video */
.hero-inner{position:relative;z-index:2;max-width:1200px;margin:0 auto;padding:28px 24px;display:flex;align-items:center;justify-content:center;height:100%}

.hero-left{max-width:600px}

/* larger prominent logo that fits visually */
.logo{
  display:flex;
  align-items:center;
  gap:18px;
  flex: 0 0 auto; /* prevent flex shrinking */
}
.logo .mark{
  width:180px;
  height:180px;
  border-radius:18px;
  flex: 0 0 180px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:12px;
}
.logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}


.hero-left h1{font-size:clamp(28px,4.8vw,56px);margin:0 0 12px;line-height:1.02;color:#fff}
.hero-left p{color:rgba(230,238,246,0.9);margin:0 0 20px;max-width:56ch}
.cta{display:inline-flex;align-items:center;gap:10px;background:var(--accent);color:#111;padding:12px 18px;border-radius:12px;font-weight:700;text-decoration:none}

/* rest of page content is boxed */
.wrap{max-width:1100px;margin:28px auto;padding:24px;position:relative;z-index:3}

/* gallery / cards */
.games{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:16px;
  margin-top:24px;
}
.game{
  background:var(--glass);
  padding: 10px;
  padding-top:0px;
  border-radius:10px;
  backdrop-filter:blur(6px);
  transition:transform .18s ease,box-shadow .18s ease;
  overflow: hidden; /* ensure rounded corners hide image overflow */
  display: flex;
  flex-direction: column;
}

/* bigger game thumbnails, fill the container */
.game img{
  width:100%;
  height:220px;        
  object-fit:cover;    /* use cover to avoid stretching */
  display:block;
  border-radius:8px;
  padding: 20px 0 20px 0;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1);
  transform-origin: center center;
}

/* hover: scale image and slightly lift the card */
.game:hover img{
  transform: scale(1.06);
}
.game:hover{
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(2,6,23,0.45);
}
.meta{display:flex;justify-content:space-between;align-items:center;margin-top:8px;color:var(--muted);font-size:13px}

footer{margin-top:40px;color:var(--muted);text-align:center;padding:24px 0}

/* Sections typography */
h2{margin:0 0 12px;font-size:20px;color:#fff}
.section-sub{color:var(--muted);margin:0 0 18px}
.lead{color:rgba(230,238,246,0.9);max-width:64ch}

/* Projects logos */
.project-logos{display:flex;gap:16px;align-items:center}
.project-logo{display:flex;align-items:center;justify-content:center;padding:18px;height:96px;border-radius:10px}
.project-logo img{max-height:60px;max-width:300px;object-fit:contain}
.project-logo .sanghi{max-height:120px}

/* Services grid */
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:16px}
.service-card{display:flex;flex-direction:column;gap:10px;padding:12px; background-color: #11111138; border-radius: 20px;}
.service-card img{width:100%;height:100px;object-fit:contain;border-radius:8px}
.service-card h3{margin:0;font-size:16px;color:#fff}
.service-card p{margin:0;color:var(--muted);font-size:14px}

/* What we do section */    
.we-test-on img{max-height:80px;max-width:250px;object-fit:contain;padding: 10px;}

/* Team */
.team-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:16px}
.team-member{display:flex;gap:12px;align-items:flex-start;padding:12px}
.team-member img{width:120px;height:120px;object-fit:cover;border-radius:8px;flex:0 0 120px}
.member-info .member-name{font-weight:700;color:#fff}
.member-info .member-role{color:var(--muted);font-size:13px;margin-bottom:6px}
.member-bio{margin:0;color:var(--muted);font-size:14px}


/* Responsive */
@media(max-width:980px){
  .hero-outer{margin-top:70px}
  .hero-inner{padding:28px 24px}
  .site-header{width:calc(100% - 32px);padding:10px 16px}
  .logo .mark{width:140px;height:140px;flex: 0 0 140px}
  .hero-left h1{font-size:clamp(24px,6vw,40px)}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .project-logos{gap:12px}
  .team-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .hero-outer{margin-top:70px;--hero-height:auto;padding-bottom:28px}
  .site-header{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: linear-gradient(180deg, rgba(6,8,12,0.3) 0%, rgba(6,8,12,0.1) 100%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    height: 70px;
  }
  .site-header nav{
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: auto;
    justify-content: flex-end;
  }
  .site-header nav a{
    font-size: 14px;
  }
  .hero-inner{padding:28px 16px;flex-direction:column}
  .logo .mark{width:100px;height:100px;flex: 0 0 100px}
  .hero-left{text-align:center}
  .services-grid{grid-template-columns:1fr}
  .project-logos{flex-direction:column;align-items:stretch}
  .project-logo{height:auto;padding:14px}
}
@media(max-width:980px){
  .game img{height:200px;object-fit:fill; padding: 15px;}
}
@media(max-width:600px){
  .game img{height:170px;object-fit:fill;padding: 15px;}

}

/* Social media icons */
  .fa {
  padding: 10px;
  font-size: 30px;
  text-align: center;
  text-decoration: none;
  margin: 10px 2px;
  border-radius: 30%;
}

.fa:hover {opacity: 0.7;}
.fa-linkedin {
  background: #007bb5;
  color: white;
}