:root{
  --lines_opacity: .20;
  --bg0:#070913;
  --bg1:#0b1030;
  --bg2:#0e1b3d;
  --text:#eaf0ff;
  --muted:#a7b3d6;
  --muted2:#7f8cb3;
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);
  --radius: 22px;
  --max: 1440px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 18% 20%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(900px 600px at 82% 10%, rgba(25,211,255,.18), transparent 60%),
    radial-gradient(900px 700px at 60% 85%, rgba(124,92,255,.14), transparent 60%),
    linear-gradient(180deg, #070913, #0b1030 35%, #0e1b3d);
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 22px}

/* subtle noise overlay */
.noise{
  position:fixed; inset:0; pointer-events:none; opacity:.08; mix-blend-mode:overlay;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/></filter><rect width="180" height="180" filter="url(%23n)" opacity="0.7"/></svg>');
  background-size:200px 200px;
}

/* header */
header{
  position:sticky; top:0; z-index:30;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(5,7,16,.70), rgba(5,7,16,.30));
  border-bottom:1px solid rgba(34,48,86,.35);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:14px}
.brand{display:flex; align-items:center; gap:12px; min-width: 154px}
.brand img{height:54px; width:auto; display:block}
.navlinks{display:flex; align-items:center; gap:10px}
.navlinks a{
  font-weight:900; font-size:14px; color:var(--muted);
  padding:10px 12px; border-radius:14px;
  border:1px solid transparent;
}
.navlinks a[aria-current="page"]{color:var(--text); background: rgba(34,48,86,.20); border-color: rgba(34,48,86,.35)}
.navlinks a:hover{color:var(--text); background: rgba(34,48,86,.18)}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(11,16,35,.65);
  color:var(--text);
  font-weight:900;
  box-shadow: var(--shadow2);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, filter .15s ease, color .15s ease;
  cursor:pointer;
}
.btn:hover{
  transform: translateY(-1px);
/*  background: rgba(14,27,61,.70);
  border-color: rgba(25,211,255,.35);
  box-shadow: 0 16px 40px rgba(0,0,0,.40);*/
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(25,211,255,1));
  border-color: rgba(255,255,255,.18);
}
.btn:active{transform: translateY(0)}

.btn-primary{
  color:#ffffff;
/*  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(25,211,255,1));
  border-color: rgba(255,255,255,.18);*/
  position:relative;

    background: rgba(14,27,61,.70);
  border-color: rgba(25,211,255,.35);
  box-shadow: 0 16px 40px rgba(0,0,0,.40);
}
.btn-primary::after{
  content:"";
  position:absolute; inset:-1px;
  border-radius:14px;
  pointer-events:none;
  mix-blend-mode: screen;
  background: linear-gradient(135deg, rgba(255,255,255,.38), rgba(255,255,255,0));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding:1px;
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:.55;
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(124,92,255,.22);
  filter:saturate(1.05);
}

/* Nav "Get in touch": normal = gradient w/ white text, hover = pure white w/ dark text */
.btn-contact{
  color:#ffffff;
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(25,211,255,1));
  border-color: rgba(255,255,255,.18);
}
.btn-contact:hover{
  background:#ffffff;
  color:#070913;
  border-color: rgba(255,255,255,.70);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.section{padding:64px 0}
.section-title{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:18px}
.section-title p{margin:0; color:var(--muted); max-width:78ch; line-height:1.6}

.display{
  margin:0;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height:1.06;
  letter-spacing:-.03em;
}
.display-sm{
  margin:0;
  font-size: clamp(20px, 3.1vw, 46px);
  line-height:1.08;
  letter-spacing:-.03em;
}

.card{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11,16,35,.72), rgba(11,16,35,.45));
  border: 1px solid rgba(34,48,86,.32);
  box-shadow: var(--shadow2);
  overflow:hidden;
  position:relative;
}
.card-inner{padding:22px}

.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:900; font-size:12px; letter-spacing:.22em;
  text-transform:uppercase;
  color: rgba(234,240,255,.82);
  margin-bottom:14px;
}
.dot{
  width:8px; height:8px; border-radius:999px;
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(25,211,255,1));
  box-shadow: 0 0 0 6px rgba(124,92,255,.15);
}

.hero{padding:42px 0 18px}
.hero-grid{display:grid; grid-template-columns: 1fr; gap:18px; align-items:stretch}
.panel{
  border-radius: var(--radius);
  padding:26px;
  background:
    radial-gradient(900px 380px at 25% 0%, rgba(124,92,255,.20), transparent 55%),
    radial-gradient(900px 380px at 90% 0%, rgba(25,211,255,.12), transparent 55%),
    linear-gradient(180deg, rgba(11,16,35,.78), rgba(11,16,35,.52));
  border: 1px solid rgba(34,48,86,.32);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
  min-height: 360px;
}
.panel:before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(500px 220px at 30% 20%, rgba(255,255,255,.10), transparent 60%);
  pointer-events:none;
}
.sub{margin:14px 0 18px; font-size:13px; line-height:1.6; color:var(--muted); max-width:58ch}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.stats{display:flex; gap:16px; flex-wrap:wrap; margin-top:22px; padding-top:18px; border-top:1px solid rgba(34,48,86,.45); color:var(--muted); font-size:13px}
.stat{display:flex; align-items:center; gap:10px}
.stat svg{opacity:.85}

.panel-careers{
  background:
    radial-gradient(900px 380px at 20% 0%, rgba(25,211,255,.16), transparent 55%),
    radial-gradient(900px 380px at 85% 0%, rgba(124,92,255,.16), transparent 55%),
    linear-gradient(180deg, rgba(11,16,35,.74), rgba(11,16,35,.50));
}

.grid-2{display:grid; grid-template-columns: 1fr 1fr; gap:18px; align-items:stretch}

.person{
  border-radius:22px;
  border: 1px solid rgba(34,48,86,.32);
  background: rgba(10,15,34,.55);
  padding:16px;
}
.person img{
  width:100%;
  /*height: 280px;*/
  object-fit:cover;
  border-radius:16px;
  border: 1px solid rgba(34,48,86,.32);
  background: rgba(0,0,0,.25);
}
.person strong{display:block; font-size:22px; margin-top:12px; letter-spacing:-.01em}
.person .role{color:var(--muted2); font-size:13px; margin-top:6px}
.person p{margin:12px 0 0; color:var(--muted); font-size:13px; line-height:1.65}

.parallax{
  background:
    radial-gradient(900px 380px at 15% 0%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(900px 380px at 85% 0%, rgba(25,211,255,.14), transparent 60%),
    linear-gradient(180deg, rgba(6,8,18,.10), rgba(6,8,18,.35));
  position:relative;
}
.parallax:before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(1000px 520px at 50% -10%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(900px 520px at 20% 90%, rgba(124,92,255,.08), transparent 60%),
    radial-gradient(900px 520px at 80% 90%, rgba(25,211,255,.06), transparent 60%);
  pointer-events:none;
}
.services-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
  margin-top:18px;
  position:relative
}
.service{
  border-radius:22px; padding:22px;
  background: rgba(11,16,35,.68);
  border: 1px solid rgba(34,48,86,.32);
  box-shadow: 0 12px 30px rgba(0,0,0,.30);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.service:hover{transform: translateY(-2px); border-color: rgba(25,211,255,.35); background: rgba(11,16,35,.78)}
.service .badge{display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:900; color: rgba(234,240,255,.85); letter-spacing:.08em; text-transform:uppercase; margin-bottom:12px}
.service h4{margin:0; font-size:26px; letter-spacing:-.02em}
.service p{margin:12px 0 18px; color:var(--muted); font-size:13px; line-height:1.65}
.service .btn{box-shadow:none}

.marquee{ background: rgba(5,7,16,.06); overflow:hidden; padding:22px 0}
.track{display:flex; gap:16px; width:max-content; animation: scroll 42s linear infinite}
@keyframes scroll{from{transform: translateX(0)} to{transform: translateX(-50%)}}
.logo{
 
  border-radius: 20px;
  border: 1px solid rgba(34,48,86,.22);
  background: rgba(11,16,35,.38);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px 18px;
}
.logo img{
  display:block;
 
  max-height: 96px;
  max-width: 310px;
  opacity: .98;
  filter: saturate(1.05);
}

.videowrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.videowrap iframe,
.videowrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}
.hero-grid .panel {
    min-height: 0;
}
.hero-grid .sub {
    max-width: 100%;
}

@media (max-width: 860px){
  .logo{min-width: 310px; height: 96px}
  .logo img{max-height: 92px; max-width: 290px}
}
@media (max-width: 560px){
  .logo{min-width: 180px; height: 70px; padding: 14px 16px}
  .logo img{max-height: 48px; max-width: 165px}
}

.modules{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px; margin-top:18px}
.module{
  border-radius:22px;
  background: rgba(11,16,35,.62);
  border: 1px solid rgba(34,48,86,.32);
  padding:22px;
  transition: transform .15s ease, border-color .15s ease;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height: 250px;
}
.module:hover{transform: translateY(-1px); border-color: rgba(124,92,255,.35)}
.module h5{margin:0; font-size:28px; letter-spacing:-.02em}
.module p{margin:0; color: var(--muted); font-size:13px; line-height:1.6}
.module .spacer{flex:1}
.module .btn{box-shadow:none}

.iconbox{
  width:40px; height:40px; border-radius: 14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(124,92,255,.20), rgba(25,211,255,.18));
  border:1px solid rgba(255,255,255,.12);
}

.ugc-grid{display:grid; grid-template-columns: repeat(4, 1fr); gap:14px; margin-top:18px}
.ugc{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border: 1px solid rgba(34,48,86,.32);
  background: rgba(10,15,34,.60);
  aspect-ratio: 9 / 16;
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.ugc:hover{transform: translateY(-2px); border-color: rgba(25,211,255,.35)}
.ugc .thumb{
  position:absolute; inset:0;
  background:
    radial-gradient(200px 220px at 30% 20%, rgba(124,92,255,.25), transparent 60%),
    radial-gradient(200px 220px at 80% 30%, rgba(25,211,255,.20), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.25));
}
.ugc .meta{
  position:absolute; left:12px; right:12px; bottom:12px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  font-size:12px; color: rgba(234,240,255,.86);
}
.ugc .tag{
  padding:7px 10px; border-radius:999px;
  background: rgba(5,7,16,.55);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(234,240,255,.88);
  font-weight:900;
}
.play{position:absolute; inset:0; display:grid; place-items:center}
.playbtn{
  width:56px; height:56px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(25,211,255,1));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
  display:grid; place-items:center;
  color:#071022;
  transition: transform .15s ease;
}

/* modal */
.modal{
  position:fixed; inset:0; z-index:60;
  background: rgba(0,0,0,.65);
  display:none;
  align-items:center; justify-content:center;
  padding: 18px;
}
.modal.open{display:flex}
.modal-card{
  width:min(980px, 100%);
  border-radius: 22px;
  background: rgba(11,16,35,.90);
  border: 1px solid rgba(34,48,86,.34);
  box-shadow: var(--shadow);
  overflow:hidden;
  display:grid;
  grid-template-columns: 1fr 1fr;
  position:relative;
}
.modal-media{background: rgba(0,0,0,.25); display:grid; place-items:center; padding: 18px; min-height: 420px}
.modal-media video{width:100%; max-height: 520px; border-radius:18px; border: 1px solid rgba(34,48,86,.32); background:#000}
.modal-body{padding: 20px}
.modal-body h4{margin:0; font-size:18px}
.modal-body p{margin:10px 0 18px; color: var(--muted); line-height:1.6}
.modal-close{
  position:absolute; top:14px; right:14px;
  width:44px; height:44px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(5,7,16,.55);
  color: var(--text);
  display:grid; place-items:center;
  cursor:pointer;
}

/* contact */
.cta{display:grid; grid-template-columns: 1.1fr .9fr; gap:14px; align-items:stretch}
.big{font-size:30px; letter-spacing:-.02em; margin:0}
.contact{display:grid; gap:10px; margin-top: 14px}
.field{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(34,48,86,.32);
  background: rgba(10,15,34,.55);
  color: rgba(234,240,255,.90);
  font-size: 13px;
}
.field code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  color: rgba(234,240,255,.88);
  background: rgba(5,7,16,.55);
  border: 1px solid rgba(255,255,255,.12);
  padding:6px 8px;
  border-radius: 12px;
}

footer{
  padding: 22px 0 44px;
  border-top: 1px solid rgba(34,48,86,.35);
  color: var(--muted);
}
.foot{
  display:flex; align-items:flex-start; justify-content:space-between; gap:18px; flex-wrap:wrap
}
.footer-left{font-size:12px; max-width:60ch; line-height:1.6}
.footer-left img{height:24px; width:auto; display:block; margin-bottom:8px}
.foot a{color: var(--muted); font-weight:900}
.foot a:hover{color: var(--text)}

/* responsive */
@media (max-width: 860px){
  .hero-grid{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .services-grid{grid-template-columns: 1fr}
  .modules{grid-template-columns: 1fr}
  .ugc-grid{grid-template-columns: 1fr 1fr}
  .cta{grid-template-columns: 1fr}
  .modal-card{grid-template-columns: 1fr}
  .panel{min-height: unset}
}
@media (max-width: 560px){
  .ugc-grid{grid-template-columns: 1fr}
}
@media (prefers-reduced-motion: reduce){
  .hero::before{animation:none}

  .track{animation:none}
  .btn,.service,.module,.ugc{transition:none}
}

.about-copy{font-size:14px; max-width:none !important}

.rotate-word{
  display:inline-block;
  transition: opacity .25s ease, transform .25s ease;
  will-change: opacity, transform;
}
.rotate-word.is-out{opacity:0; transform: translateY(6px)}

.btn-primary.is-hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(124,92,255,.22);
  filter: saturate(1.05);
}
.btn-primary.is-hover:hover{
  transform: translateY(-3px);
}

.service.is-hover{transform: translateY(-2px); border-color: rgba(25,211,255,.35); background: rgba(11,16,35,.78)}
.module.is-hover{transform: translateY(-1px); border-color: rgba(124,92,255,.35)}

.modules-lede{
  margin:0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 75ch;
}

/* Blend section transitions */
.section{position:relative}
.section::before{
  content:"";
  position:absolute;
  left:0; right:0; top:-34px; height:68px;
  background: linear-gradient(180deg, transparent, rgba(7,9,19,.24), transparent);
  pointer-events:none;
  opacity:.7;
}
.section::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-34px; height:68px;
  background: linear-gradient(180deg, transparent, rgba(7,9,19,.18), transparent);
  pointer-events:none;
  opacity:.55;
}


/* Subtle animated fine-line background (hero) */
.hero{position:relative}
.hero::before{
  content:"";
  position:absolute; inset:-60px 0 auto 0;
  height: 520px;
  pointer-events:none;
  mix-blend-mode: screen;
  background:
    linear-gradient(180deg, rgba(7,9,19,0), rgba(7,9,19,.0)),
    repeating-linear-gradient(0deg,
      rgba(234,240,255,.05) 0px,
      rgba(234,240,255,.05) 1px,
      rgba(234,240,255,0) 1px,
      rgba(234,240,255,0) 18px),
    repeating-linear-gradient(90deg,
      rgba(25,211,255,.05) 0px,
      rgba(25,211,255,.05) 1px,
      rgba(25,211,255,0) 1px,
      rgba(25,211,255,0) 90px);
  opacity: var(--lines_opacity);
  mask-image: radial-gradient(980px 520px at 50% 24%, rgba(0,0,0,1), rgba(0,0,0,.22), rgba(0,0,0,0));
  -webkit-mask-image: radial-gradient(980px 520px at 50% 24%, rgba(0,0,0,1), rgba(0,0,0,.22), rgba(0,0,0,0));
  animation: driftGrid 42s linear infinite;
}
@keyframes driftGrid{
  from{background-position: 0 0, 0 0, 0 0}
  to{background-position: 0 0, 0 240px, 220px 0}
}






@media(max-width: 860px) { 
  .ugc-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .ugc {
    flex: 0 0 40%;
    max-width: 40%;
    scroll-snap-align: start;
  }

  /* Optional: hide scrollbar */
  .ugc-grid::-webkit-scrollbar {
    display: none;
  }
  .ugc-grid {
    scrollbar-width: none;
  }
}



@media(max-width: 749px) {

  .brand { 
    min-width: 100px;
  }
  .brand img {
      height: 44px; 
  } 
  .section {
    padding: 20px 0;
  }
  .panel, .service, .module { 
    /*padding: 20px;*/ 
  }
  .hero {
    padding: 22px 0 18px;
  }
  .hero-grid, .grid-2, .modules { 
    /*gap: 12px; */
  }
  .display-sm { 
    letter-spacing: 0; 
  }
 .panel, .person, .service, .card-inner, .module {
    padding: 20px;
}
.field { 
    padding: 10px 10px; 
    font-size: 12px;
}
.videowrap iframe, .videowrap video, .person img { 
    border-radius: 12px; 
}
}

@media(max-width: 639px) {
  .navlinks a {
      padding: 10px 4px;
      font-size: 12px;
  }
  .btn.btn-contact {
    font-size: 12px;
  }
}

@media(max-width: 479px) {
   .ugc {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: start;
  }
  .brand { 
    min-width: 90px;
  }
  .brand img {
      height: 34px; 
  }
  .nav { 
    gap: 6px;
  }
  .navlinks { 
    gap: 4px;
}
}

@media(max-width: 380px) {
.btn.btn-contact {
    font-size: 12px;
    padding: 10px 12px;
}
}
/* Inline video tiles */
.ugc{cursor:default}
.ugc .thumb, .ugc .play, .ugc .meta{display:none !important}
.ugc video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#000;
}


/* =========================================================
   BACKGROUND VARIANT B — Global Wash Overlay (smoothest)
   Drop-in replacement for styles.css
   ========================================================= */
:root{
  --bg0:#04050f;
  --bg1:#070b22;
  --bg2:#09112a;
}

body{
  background:
    radial-gradient(1200px 700px at 18% 20%, rgba(124,92,255,.18), transparent 65%),
    radial-gradient(900px 600px at 82% 10%, rgba(25,211,255,.12), transparent 65%),
    radial-gradient(1000px 700px at 55% 90%, rgba(124,92,255,.10), transparent 70%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 40%, var(--bg2));
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:1;
  background:
    radial-gradient(1200px 900px at 50% 10%, rgba(0,0,0,.10), transparent 55%),
    radial-gradient(1200px 900px at 50% 95%, rgba(0,0,0,.22), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,0) 28%, rgba(0,0,0,0) 72%, rgba(0,0,0,.18));
  mix-blend-mode: multiply;
  opacity:.95;
}

/* keep your noise above the wash */
.noise{ z-index:2; }
header{ z-index:30; }

/* remove harsh separators */
.parallax, .marquee{ border: none !important; }
