
:root{
  --bg:#07080b; --fg:#f3f5ff; --muted: rgba(243,245,255,.72);
  --stroke: rgba(255,255,255,.12); --stroke2: rgba(255,255,255,.08);
  --shadow: 0 18px 50px rgba(0,0,0,.55); --shadow2: 0 10px 28px rgba(0,0,0,.45);
  --radius: 22px; --radius2: 16px; --a1:#b9fff2; --a2:#9aa9ff; --a3:#ffd7a8;
  --max:1120px; --footerH: 110px; --ease:cubic-bezier(.2,.9,.2,1);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1200px 800px at 50% -10%, rgba(154,169,255,.16), transparent 70%),
    radial-gradient(900px 650px at 18% 20%, rgba(185,255,242,.10), transparent 70%),
    radial-gradient(900px 650px at 85% 25%, rgba(255,215,168,.08), transparent 72%),
    linear-gradient(180deg, #07080b 0%, #07080b 40%, #07080b 100%);
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-color: #07080b;
  color:var(--fg);
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity:.35;
}
a{color:inherit; text-decoration:none}
.container{width:min(var(--max), 100%); margin:0 auto; padding: 26px 18px calc(var(--footerH) + 48px);}
.card{
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
header{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding: 10px 6px 24px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  letter-spacing:.12em; text-transform:uppercase;
  font-weight:700; font-size:12px; color:var(--muted);
}
.brandLogo{
  width:28px;height:28px;border-radius:10px;
  object-fit:contain;
  background: rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
nav{display:flex; gap:12px; align-items:center; flex-wrap:wrap; justify-content:flex-end;}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:999px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--stroke2);
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  color: rgba(243,245,255,.82);
  font-size:13px;
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}
.pill:hover{ transform: translateY(-1px); border-color: rgba(185,255,242,.25); }

h1{margin:14px 0 10px; font-size: clamp(34px, 4.2vw, 60px); line-height:1.03; letter-spacing:-0.02em;}
h2{margin:0 0 12px; font-size: 26px; letter-spacing:-.01em;}
p{color: rgba(243,245,255,.76); line-height:1.6;}

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 16px; border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(12,14,20,.35);
  box-shadow: var(--shadow2);
  transition: transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
  font-weight:650; letter-spacing:.01em;
  color: rgba(243,245,255,.92);
}
.btn:hover{ transform: translateY(-2px); border-color: rgba(185,255,242,.35); background: rgba(12,14,20,.55);}
.btn.primary{ background: linear-gradient(135deg, rgba(185,255,242,.22), rgba(154,169,255,.22)); border-color: rgba(185,255,242,.35);}

.hero{display:grid; grid-template-columns: 1.15fr .85fr; gap:24px; align-items:start;}
@media (max-width: 940px){ .hero{grid-template-columns:1fr;} }

.heroMain{padding: 26px 26px 22px;}
.kicker{display:flex; align-items:center; gap:10px; color: rgba(243,245,255,.72); font-size:12px; letter-spacing:.14em; text-transform:uppercase;}
.kicker .spark{width:18px;height:18px;border-radius:6px; background: linear-gradient(135deg, rgba(185,255,242,.85), rgba(154,169,255,.85)); filter: drop-shadow(0 10px 18px rgba(154,169,255,.18));}
.sub{margin:0 0 18px; max-width:62ch;}

.heroSide{padding:18px;}
.sideTitle{margin:6px 8px 14px; color: rgba(243,245,255,.78); font-weight:750; letter-spacing:.02em;}
.grid{display:grid; grid-template-columns:1fr; gap:12px;}
.svc{padding:14px; border-radius: var(--radius2); border:1px solid rgba(255,255,255,.10); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));}
.svc h3{margin:0 0 6px; font-size:15px;}
.svc p{margin:0; color: rgba(243,245,255,.72); font-size:13px; line-height:1.5;}

.section{margin-top:18px; padding:22px;}
.split{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
@media (max-width: 940px){ .split{grid-template-columns:1fr;} }
.mini{padding:16px; border-radius: var(--radius2); border:1px solid rgba(255,255,255,.10); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));}
.mini h4{margin:0 0 6px; font-size:14px;}
.mini p{margin:0; color: rgba(243,245,255,.70); font-size:13px;}

footer{
  position:fixed; left:0; right:0; bottom:0;
  height: var(--footerH); z-index:50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7,8,11,.30);
  border-top: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 -18px 50px rgba(0,0,0,.35);
}
footer::before{content:""; position:absolute; left:0; right:0; top:-80px; height:80px; background: linear-gradient(180deg, rgba(7,8,11,0), rgba(7,8,11,.65));}
.footInner{
  height:100%;
  margin:0 auto;
  width:min(var(--max), 100%);
  padding: 14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
@media (max-width: 940px){
  :root{ --footerH: 140px; }
  .footInner{ flex-direction:column; justify-content:center; }
}
.contact{display:flex; flex-direction:column; gap:4px; min-width:240px;}
.contact strong{font-size:12px; letter-spacing:.14em; text-transform:uppercase; color: rgba(243,245,255,.60);}
.contact a, .contact span{color: rgba(243,245,255,.86); font-weight:650; font-size:14px;}
.contact .small{color: rgba(243,245,255,.66); font-weight:520; font-size:12px;}

.socialRow{display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end;}
.iconBtn{
  width:40px;height:40px; border-radius:14px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(12,14,20,.30);
  transition: transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.iconBtn:hover{ transform: translateY(-2px); border-color: rgba(185,255,242,.32); background: rgba(12,14,20,.55);}
.iconBtn svg{ width:18px; height:18px; opacity:.9; }

.input, textarea{
  width:100%;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(12,14,20,.30);
  color: rgba(243,245,255,.92);
  outline:none;
}
label{font-size:12px; color: rgba(243,245,255,.68); letter-spacing:.08em; text-transform:uppercase;}
.formRow{display:grid; grid-template-columns: 1fr 1fr; gap:14px;}
@media (max-width: 940px){ .formRow{grid-template-columns:1fr;} }
.notice{padding:12px 14px; border-radius:14px; border:1px solid rgba(185,255,242,.25); background: rgba(185,255,242,.10); color: rgba(243,245,255,.90);}

.table{width:100%; border-collapse:collapse;}
.table th,.table td{padding:10px 8px; border-bottom:1px solid rgba(255,255,255,.10); text-align:left; font-size:14px;}
.badge{display:inline-block; padding:4px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.14); background: rgba(12,14,20,.25); font-size:12px; color: rgba(243,245,255,.80);}

/* Slider */
.slider{position:relative; margin-top: 10px;}
.slide{display:none; padding: 18px 16px; border-radius: var(--radius2); border:1px solid rgba(255,255,255,.10); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));}
.slide.isActive{display:block; animation: fadeIn .35s ease-out;}
@keyframes fadeIn{from{opacity:.0; transform: translateY(6px);}to{opacity:1; transform:none;}}
.slide h2{margin:0 0 8px; font-size: 28px;}
.slide p{margin:0 0 12px; color: rgba(243,245,255,.74);}
.dots{display:flex; gap:8px; margin-top: 12px;}
.dot{width:12px; height:12px; border-radius:50%; border:1px solid rgba(255,255,255,.16); background: rgba(12,14,20,.22); cursor:pointer;}
.dot.isActive{background: rgba(185,255,242,.25); border-color: rgba(185,255,242,.40);}




/* Homepage slider sizing */
.sliderHero{
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0;
  min-height: 520px;
}
@media (max-width: 940px){
  .sliderHero{ min-height: 560px; }
}
.heroSlide{
  display:none;
  align-items:stretch;
  gap: 18px;
  padding: 26px;
  min-height: 520px;
}
.heroSlide.isActive{ display:grid; grid-template-columns: 1.05fr .95fr; }
@media (max-width: 940px){
  .heroSlide.isActive{ grid-template-columns: 1fr; }
}
.heroCopy{ align-self:center; padding: 8px 8px 18px; }
.heroCopy h1{ margin: 14px 0 10px; }
.heroImg{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  min-height: 320px;
}
.heroImg img{
  width:100%;
  height:100%;
  min-height: 320px;
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.05);
}
.heroDots{position:absolute; right:26px; bottom:22px; left:auto;}



    footer::before{content:""; position:absolute; left:0; right:0; top:-80px; height:80px; background: linear-gradient(180deg, rgba(7,8,11,0), rgba(7,8,11,.65));}
}


/* Mobile nav */
.navToggle{
  display:none;
  width:56px; height:56px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.28);
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
  cursor:pointer;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.navToggle span{
  display:block;
  width:30px; height:6px;
  background: rgba(243,245,255,.95);
  border-radius:999px;
  opacity:.95;
}

.mobileNav{
  position:fixed;
  inset:0;
  z-index:80;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display:none;
  align-items:flex-start;
  justify-content:center;
  padding: 16px;
}
.mobileNavInner{
  width:min(560px, 100%);
  margin-top: 8px;
  padding: 16px;
}
.mobileNavTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brandMini{
  display:flex;
  align-items:center;
  gap:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
  font-size:12px;
  color: rgba(243,245,255,.70);
}
.navClose{
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(12,14,20,.30);
  color: rgba(243,245,255,.88);
  font-size:18px;
  cursor:pointer;
}
.mobileNavLinks{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top: 14px;
}
@media (max-width: 860px){
  header nav{ display:none; }
  .navToggle{ display:inline-flex; flex-direction:column; justify-content:center; gap:5px; align-items:center; align-items:center; justify-content:center; }
}

.mobileNav[hidden]{ display:none !important; }

@media (max-width: 860px){
  .mobileNav{ display:flex; }
}

.container{ padding-bottom:130px; }

/* Mobile nav hard rules */
.navToggle{ display:none !important; }
header nav{ margin-left:auto; }
@media (max-width: 860px){
  .navToggle{ display:flex !important; }
}


/* --- Mobile UX fixes (footer + input zoom + horizontal scroll) --- */
html, body { overflow-x: hidden; }
@media (max-width: 940px){
  /* Make footer non-sticky on mobile so it doesn't block taps */
  footer{ position: relative !important; left:auto; right:auto; bottom:auto; height:auto !important; }
  /* Remove extra bottom padding used for fixed footer */
  .container{ padding: 26px 18px 48px !important; }
  /* Prevent iOS zoom-on-focus and sideways scroll */
  .input, textarea, select, input{ font-size:16px !important; }
}


/* --- Robust hamburger (3 bars) --- */
/* Some templates render only one span; build bars with ::before/::after + first span */
.navToggle{
  position:relative !important;
  overflow:hidden;
}
.navToggle::before,
.navToggle::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:30px;
  height:6px;
  border-radius:999px;
  background: rgba(243,245,255,.95);
}
.navToggle::before{ top:18px; }
.navToggle::after{ bottom:18px; }

.navToggle span{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  transform:translate(-50%,-50%) !important;
  width:30px !important;
  height:6px !important;
  border-radius:999px !important;
  background: rgba(243,245,255,.95) !important;
  opacity:.95 !important;
}

/* hide any extra spans (if present) so we always get exactly 3 bars */
.navToggle span:nth-child(n+2){ display:none !important; }


/* --- Force hamburger button to be circular (some rules override it) --- */
.navToggle{
  width:56px !important;
  height:56px !important;
  border-radius:999px !important;
  background: rgba(0,0,0,.28) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.45) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}


/* --- Hamburger: only show on mobile, thinner bars, proper spacing --- */
.navToggle{ display:none !important; } /* default: hide on desktop */

@media (max-width: 860px){
  .navToggle{
    display:flex !important;
    width:56px !important;
    height:56px !important;
    border-radius:999px !important;
    background: rgba(0,0,0,.28) !important;
    border:1px solid rgba(255,255,255,.10) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.45) !important;
    position:relative !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden;
  }

  /* 3 bars (thin) */
  .navToggle::before,
  .navToggle::after{
    content:"";
    position:absolute;
    left:50%;
    width:28px;
    height:4px;
    border-radius:999px;
    background: rgba(243,245,255,.95);
    transform:translateX(-50%);
  }
  .navToggle::before{ top:18px; }
  .navToggle::after{ bottom:18px; }

  .navToggle span{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:28px !important;
    height:4px !important;
    border-radius:999px !important;
    background: rgba(243,245,255,.95) !important;
    transform:translate(-50%,-50%) !important;
    opacity:.95 !important;
    display:block !important;
  }
  .navToggle span:nth-child(n+2){ display:none !important; }
}

/* =============================
   Home Video block (layout + play overlay)
   ============================= */

.homeVideoWrap{ margin-top: 14px; }

.homeVideoWrap .projectCard{
  display: block;
  text-decoration: none;
  color: inherit;
}

.homeVideoWrap .projectThumb{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius2);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  height: 420px;
}

.homeVideoWrap .projectThumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit: cover;
}

/* Big centered play button overlay */
.homeVideoWrap .projectThumb.isPlay::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 55%);
  pointer-events:none;
}

.homeVideoWrap .playPill{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%,-50%);
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  padding:0;
  pointer-events:none; /* click passes through to the link */
}

.homeVideoWrap .playPill .tri{
  width:0;
  height:0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid rgba(255,255,255,.92);
  margin-left: 4px;
}

/* Space between thumbnail and meta */
.homeVideoWrap .projectBody{
  padding-top: 14px;
}

/* If the first row of badges is inline-styled, give it breathing room */
.homeVideoWrap .projectBody > div:first-child{
  margin-bottom: 10px !important;
}

@media (max-width: 940px){
  .homeVideoWrap .projectThumb{ height: 320px; }
  .homeVideoWrap .playPill{ width: 70px; height: 70px; }
}
@media (max-width: 560px){
  .homeVideoWrap .projectThumb{ height: 240px; }
  .homeVideoWrap .playPill{ width: 62px; height: 62px; }
}

/* ==================================================
   Brands We Work With — scoped styles (doesn't touch
   any other sections like the Video card)
   ================================================== */

.clientsShowcase{
  padding: 46px 0 18px;
  margin-bottom: 28px;
  text-align: center;
}

/* Just in case the subtitle still exists somewhere */
.clientsShowcase .subTitle{ display:none; }

.clientsShowcase .clientsRail{
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 10px 0 14px;
  background: transparent;
  border: 0;
  box-shadow: none;

  /* Fade the ends to transparent (no need to know page bg color) */
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%);
  mask-image: linear-gradient(90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%);
}

.clientsShowcase .clientsTrack{
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  will-change: transform;
}

/* Slower marquee (increase duration to slow down further) */
.clientsShowcase .clientsRail.isMarquee .clientsTrack{
  animation: brandsMarquee 60s linear infinite;
}

/* Pause on hover */
.clientsShowcase .clientsRail:hover .clientsTrack{
  animation-play-state: paused;
}

@keyframes brandsMarquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* Keep the nice rounded rectangles around each brand */
.clientsShowcase .clientChip{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 190px;
  height: 78px;
  padding: 12px 16px;

  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.25);

  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}

.clientsShowcase .clientChip:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
}

.clientsShowcase .clientChip img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 680px){
  .clientsShowcase .clientChip{ width: 150px; height: 64px; }
  .clientsShowcase .clientsRail.isMarquee .clientsTrack{ animation-duration: 72s; }
  .clientsShowcase .clientsRail{
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  }
}
