
:root{
    --bg:#0b1220; --bg-soft:#0f1628; --card:#111a2e; --text:#e6ecf3; --muted:#a8b3c7; --brand:#4ee3b8; --brand-2:#51d0e2; --line:rgba(255,255,255,.08); --shadow:0 10px 30px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:linear-gradient(180deg,var(--bg) 0%, #0b1220 60%, #0e1424 100%);color:var(--text);font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Inter,Ubuntu,Arial,sans-serif}
a{color:inherit;text-decoration:none}
.container{max-width:1150px;margin:0 auto;padding:0 20px}
.nav{position:sticky;top:0;z-index:50;background:rgba(11,18,32,.6);backdrop-filter:saturate(160%) blur(12px);border-bottom:1px solid var(--line)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.logo{display:flex;align-items:center;gap:10px;font-weight:700}
.logo-badge{width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,var(--brand),var(--brand-2));display:grid;place-items:center;box-shadow:inset 0 0 22px rgba(0,0,0,.25)}
.logo-spark{width:16px;height:16px;background:radial-gradient(circle,#001 0 45%,transparent 46% 100%);position:relative}
.logo-spark:after{content:"";position:absolute;inset:3px;border-radius:50%;background:conic-gradient(from 0deg, #fff 0 20%, transparent 20% 100%);opacity:.9}
.nav-links{display:none;gap:22px;font-size:14px;color:var(--muted)}
.nav-cta{display:flex;gap:10px}
.btn{appearance:none;border:1px solid var(--line);background:#e9fef7;color:#0a0e12;padding:10px 14px;border-radius:12px;font-weight:600;cursor:pointer;box-shadow:var(--shadow)}
.btn.secondary{background:transparent;color:var(--text)}
.btn:hover{transform:translateY(-1px)}

@media(min-width:860px){.nav-links{display:flex}}

/* HERO */
.hero{position:relative;overflow:hidden}
.blob1,.blob2{position:absolute;filter:blur(80px);opacity:.25;pointer-events:none}
.blob1{width:560px;height:560px;background:radial-gradient(closest-side,var(--brand),transparent);top:-120px;left:50%;transform:translateX(-50%)}
.blob2{width:420px;height:420px;background:radial-gradient(closest-side,var(--brand-2),transparent);bottom:-140px;right:-60px}
.hero-grid{display:grid;gap:36px;padding:72px 0}
@media(min-width:920px){.hero-grid{grid-template-columns:1.1fr .9fr;align-items:center;padding:96px 0}}
.eyebrow{display:inline-flex;gap:8px;align-items:center;padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.04);color:var(--muted);font-size:12px}
h1{font-size:40px;line-height:1.1;margin:14px 0}
@media(min-width:920px){h1{font-size:62px}}
h1 .grad{background:linear-gradient(90deg,var(--brand),var(--brand-2));-webkit-background-clip:text;background-clip:text;color:transparent}
.lead{color:var(--muted);max-width:600px}
.pill-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.pill{border:1px solid var(--line);padding:8px 10px;border-radius:12px;color:#cfe6dd;background:rgba(255,255,255,.03);font-size:13px;display:flex;gap:8px;align-items:center}
/* .playground{background:linear-gradient(180deg,var(--card),#0d162a);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)} */
.aspect{aspect-ratio:16/9;border-radius:14px;border:1px dashed var(--line);display:grid;place-items:center;margin:18px;background:rgba(255,255,255,.03)}

/* SECTIONS */
section{padding:70px 0;border-top:1px solid var(--line)}
h2{font-size:28px;margin:0}
.grid-4{display:grid;gap:16px}
@media(min-width:800px){.grid-4{grid-template-columns:repeat(4,1fr)}}
.card{background:linear-gradient(180deg,var(--card),#0e182d);border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow)}
.card .title{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#96f0d6;display:flex;align-items:center;gap:10px}
.card p{color:var(--text);opacity:.9;margin:10px 0 0;font-size:14px}

.two-col{display:grid;gap:26px}
@media(min-width:980px){.two-col{grid-template-columns:1.1fr .9fr}}
.peek{padding:18px;border:1px solid var(--line);border-radius:16px}
.peek-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.peek-block{background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:12px;padding:12px}
.peek-sub{color:var(--muted);font-size:12px;margin:6px 0 0}

/* TABS */
.tabs{margin-top:22px}
.tab-buttons{display:flex;flex-wrap:wrap;gap:8px}
.tab-buttons button{background:transparent;border:1px solid var(--line);color:var(--text);padding:8px 12px;border-radius:10px;cursor:pointer}
.tab-buttons button[aria-selected="true"]{background:#142033}
.tab-panel{display:none;margin-top:16px}
.tab-panel.active{display:block}
.bullets{list-style:none;padding:0;margin:0}
.bullets li{display:flex;gap:10px;align-items:flex-start;margin:10px 0;color:var(--text);opacity:.9}
.check{width:18px;height:18px;border-radius:50%;border:2px solid #6ef1cc;display:inline-block;margin-top:2px}

/* CTA band */
.cta{background:linear-gradient(90deg,rgba(78,227,184,.12),rgba(81,208,226,.12));border:1px solid var(--line);border-radius:16px;padding:22px}
.cta-row{display:flex;flex-direction:column;gap:14px}
@media(min-width:860px){.cta-row{flex-direction:row;align-items:center;justify-content:space-between}}

/* Forms */
.form{display:grid;gap:10px}
.input,.textarea{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:#0e172b;color:var(--text)}
.textarea{min-height:120px}

/* Footer */
footer{border-top:1px solid var(--line);padding:40px 0;color:var(--muted)}
.ft-grid{display:grid;gap:24px}
@media(min-width:860px){.ft-grid{grid-template-columns:1.2fr .8fr .9fr}}
.badge{display:inline-block;border:1px solid var(--line);border-radius:10px;padding:4px 8px;font-size:12px;color:var(--muted)}

/* HERO VIDEO */

/* Make the media feel “primary” on desktop, full-width on mobile */
.hero-media { 
  width: 100%;
  max-width: 860px;              /* dial this up/down */
  margin: 24px auto 0;
}
.hero-video {
  width: 100%;
  /* aspect-ratio: 16 / 9;           */
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  background:#0b1220;
}
@media (min-width: 1024px) {
  .hero-media { margin-top: 8px; }
}

/* PILLARS */

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 20px;
}
.pillar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 20px;
}
.pillar h3 {
  font-size: 20px;              /* bigger titles */
  line-height: 1.2;
  margin: 0 0 8px;
}
.pillar p {
  font-size: 16px;              /* larger body */
  color: var(--muted);
  margin: 0;
}
@media (min-width: 860px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .pillar h3 { font-size: 22px; }
  .pillar p { font-size: 17px; }
}

  /* SPEED */

  .speed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}
.gauge-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 16px;
  display: flex; justify-content: center; align-items: center;
}
.speed-gauge { width: 100%; max-width: 420px; }
.speed-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.speed-stats li {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px 14px;
}
.speed-stats strong { display: block; font-size: 16px; }
.speed-stats span   { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  .speed-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .speed-stats strong { font-size: 17px; }
  .speed-stats span { font-size: 15px; }
}

/* USE CASES */

.cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 16px;
}
.case {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 18px;
}
.case h3 { margin: 0 0 8px; font-size: 18px; }
.case p  { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 900px) {
  .cases { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
  .case h3 { font-size: 19px; }
  .case p  { font-size: 16px; }
}







/* NEW FEATURES */

/* FULL-HEIGHT SECTIONS */
.vh-section {
  min-height: 100svh; /* mobile-safe viewport height */
  display: flex;
  align-items: center;
}

/* HERO wide layout */
.hero-grid--wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.hero-copy .hero-ctas { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-footnote { color: var(--muted); font-size: 12px; margin-top: 10px; }

.hero-media { width: 100%; }
.hero-video {
  width: 100%;
  /* aspect-ratio: 16 / 9; */
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  background: #0b1220;
}

/* Right-bleed on large screens */
.hero--bleed .container { overflow: visible; }
.hero-media--bleed { position: relative; }
@media (min-width: 1024px) {
  .hero-grid--wide { grid-template-columns: 0.95fr 1.25fr; align-items: center; }
  .hero-media--bleed { margin-right: -6vw; }     /* pushes video past container */
  .hero-video { border-radius: 4px; }
}

/* PILLARS 2×2 with icons and bigger text */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 20px;
}
.pillar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 14px;
  align-items: start;
}
.pillar-icon {
  width: 28px; height: 28px;
  color: #86efac; /* subtle brand highlight */
  opacity: 0.9;
}
.pillar h3 { font-size: 22px; line-height: 1.2; margin: 0; }
.pillar p  { font-size: 17px; color: var(--muted); margin: 0; grid-column: 1 / -1; }
@media (min-width: 860px) {
  .pillars { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
  .pillar h3 { font-size: 24px; }
  .pillar p  { font-size: 18px; }
}

/* SPEED section layout */
.speed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}
.gauge-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 16px;
  display: flex; justify-content: center; align-items: center;
}
.speed-gauge { width: 100%; max-width: 520px; }
.speed-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.speed-stats li {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px 14px;
}
.speed-stats strong { display: block; font-size: 16px; }
.speed-stats span   { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  .speed-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .speed-stats strong { font-size: 17px; }
  .speed-stats span { font-size: 15px; }
}

/* USE-CASES CAROUSEL (scaffold) */
.carousel { position: relative; margin-top: 16px; }
.carousel-viewport {
  overflow: hidden;
  border-radius: 16px;
}
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 90%;
  gap: 16px;
  padding: 4px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 900px) {
  .carousel-track { grid-auto-columns: calc(50% - 12px); }
}
.slide {
  scroll-snap-align: start;
}
.media-placeholder {
  height: 240px;
  border-radius: 12px;
  background: radial-gradient(120% 100% at 0% 0%, rgba(111,255,233,0.12), rgba(96,165,250,0.08) 70%, transparent 100%),
              rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  display: grid; place-items: center;
  color: #a8b3c7; font-weight: 600; letter-spacing: 0.4px;
  margin-bottom: 10px;
}
.case {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 16px;
}
.case h3 { margin: 0 0 6px; font-size: 18px; }
.case p  { margin: 0; color: var(--muted); font-size: 15px; }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #dfe7f7;
  display: grid; place-items: center;
  cursor: pointer;
}
.carousel-btn:hover { background: rgba(255,255,255,0.12); }
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }

.carousel-dots { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.24);
}
.carousel-dots button[aria-current="true"] { background: #8ef0d9; }





/* WHY NOW */

/* ==== FULL-PAGE SNAP SCROLL ==== */
.snap-root {
  scroll-snap-type: y proximity; /* feels natural */
}
.snap-page {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
@media (prefers-reduced-motion: reduce) {
  .snap-root { scroll-snap-type: none; }
}

/* ==== HERO wide bleed (bigger video) ==== */
.hero-grid--wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.hero-copy .hero-ctas { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-footnote { color: var(--muted); font-size: 12px; margin-top: 10px; }
.hero-media { width: 100%; }
.hero-video {
  width: 100%;
  /* aspect-ratio: 16 / 9; */
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  background: #0b1220;
}
.hero--bleed .container { overflow: visible; }
.hero-media--bleed { position: relative; }
@media (min-width: 1024px) {
  .hero-grid--wide { grid-template-columns: 0.9fr 1.4fr; align-items: center; }
  .hero-media--bleed { margin-right: -8vw; } /* push past container */
  .hero-video { border-radius: 4px; }
}

/* ==== PILLARS roomy + bigger type + subtle icon motion ==== */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 20px;
}
.pillars--roomy { gap: 22px; }
.pillar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  align-items: start;
}
.pillar h3 { font-size: 24px; line-height: 1.2; margin: 0; }
.pillar p  { font-size: 18px; color: var(--muted); margin: 0; grid-column: 1 / -1; }
.pillar-icon { width: 30px; height: 30px; color: #86efac; opacity: .95; }
@media (min-width: 860px) {
  .pillars { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pillar { padding: 26px; }
  .pillar h3 { font-size: 26px; }
  .pillar p  { font-size: 18px; }
}
/* gentle float */
@keyframes floatY { 0%{ transform: translateY(0)} 50%{ transform: translateY(-4px)} 100%{ transform: translateY(0)} }
[data-animate-icon] { animation: floatY 5s ease-in-out infinite; }
[data-animate-icon]:nth-child(2) { animation-delay: .6s; }
[data-animate-icon]:nth-child(3) { animation-delay: 1.2s; }
@media (prefers-reduced-motion: reduce) { [data-animate-icon]{ animation: none; } }

/* ==== LIMITATIONS (speech bubbles) ==== */
.limits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}
@media (min-width: 900px) {
  .limits-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
.bubble {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px 18px 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.bubble:after {
  content:"";
  position:absolute; left:26px; bottom:-10px;
  width:18px; height:18px;
  background: inherit;
  border-left: inherit; border-bottom: inherit;
  transform: rotate(45deg);
}
.bubble-text {
  color:#cfd8e3; font-size:16px; line-height:1.45;
  font-style: italic;
}
.bubble-tag {
  position:absolute; right:14px; top:14px;
  font-size:12px; color:#ffb4b4;
  font-weight:700; letter-spacing:.2px;
}

/* ==== USE CASES carousel (kept) ==== */
.carousel { position: relative; margin-top: 16px; }
.carousel-viewport { overflow: hidden; border-radius: 16px; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 90%;
  gap: 16px; padding: 4px; scroll-snap-type: x mandatory;
  overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
@media (min-width: 900px) { .carousel-track { grid-auto-columns: calc(50% - 12px); } }
.slide { scroll-snap-align: start; }
.media-placeholder { height: 240px; border-radius: 12px; background:
  radial-gradient(120% 100% at 0% 0%, rgba(111,255,233,.12), rgba(96,165,250,.08) 70%, transparent),
  rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06); display:grid; place-items:center; color:#a8b3c7;
  font-weight:600; letter-spacing:.4px; margin-bottom:10px; }
.case { background: rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); border-radius:16px; padding:16px; }
.case h3 { margin:0 0 6px; font-size:18px; }
.case p { margin:0; color:var(--muted); font-size:15px; }
.carousel-btn { position:absolute; top:50%; transform:translateY(-50%); width:36px; height:36px; border-radius:999px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16); color:#dfe7f7; display:grid; place-items:center; cursor:pointer; }
.carousel-btn:hover { background:rgba(255,255,255,.12); }
.carousel-btn.prev { left:-8px; } .carousel-btn.next { right:-8px; }
.carousel-dots { display:flex; gap:6px; justify-content:center; margin-top:10px; }
.carousel-dots button { width:8px; height:8px; border-radius:999px; border:0; cursor:pointer; background:rgba(255,255,255,.24); }
.carousel-dots button[aria-current="true"] { background:#8ef0d9; }



/* HERO: wider, right-bleed video */
.hero-grid--wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.hero-media { width: 100%; }
.hero-video {
  width: 100%;
  /* aspect-ratio: 16 / 9; */
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  background: #0b1220;
}
.hero--bleed .container { overflow: visible; }
.hero-media--bleed { position: relative; }
@media (min-width: 1024px) {
  .hero-grid--wide { grid-template-columns: 0.9fr 1.4fr; align-items: center; }
  .hero-media--bleed { margin-right: -8vw; } /* push past container */
  .hero-video { border-radius: 6px; }
}

/* PILLARS: 2×2, bigger type, more air, subtle icon float */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 20px;
}
.pillars--roomy { gap: 24px; }
.pillar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: start;
}
.pillar h3 { font-size: 24px; line-height: 1.2; margin: 0; }
.pillar p  { font-size: 18px; color: var(--muted); margin: 0; grid-column: 1 / -1; }
.pillar-icon { width: 30px; height: 30px; color: #86efac; opacity: .95; }
@media (min-width: 860px) {
  .pillars { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pillar h3 { font-size: 26px; }
}
/* gentle float, respects reduced motion */
@keyframes floatY { 0%,100%{ transform: translateY(0)} 50%{ transform: translateY(-4px)} }
[data-animate-icon] { animation: floatY 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { [data-animate-icon]{ animation: none; } }









/* === Binabik additions (hero PiP + dual-color heading) === */
:root {
  --bg: #0a0b0f;
  --fg: #ffffff;
  --fg-muted: rgba(255,255,255,.72);
  --stroke: rgba(255,255,255,.12);
  --accent1: #39d0ff;
  --accent2: #3a66ff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-strong: 0 20px 50px rgba(0,0,0,.45);
  --shadow-soft: 0 10px 30px rgba(0,0,0,.35);
}

/* Container that wraps the first hero video */
.bk-hero-stage { position: relative; margin: 0 auto; max-width: 1200px; padding-bottom: 56px; }
.bk-video { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-strong); border: 1px solid var(--stroke); }
.bk-video--main { aspect-ratio: 16/9; }
.bk-video--pip { aspect-ratio: 16/10; width: min(56vw, 520px); position: absolute; right: clamp(8px, 2.5vw, 24px); bottom: -12%; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); transform-origin: bottom right; transition: width .28s ease, transform .28s ease, bottom .28s ease; }
.bk-video--pip.is-expanded { width: min(78vw, 860px); bottom: -8%; z-index: 3; }

.bk-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

.bk-chrome { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: end; padding: 10px 12px; gap: 8px; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.35), transparent 40%); }
.bk-chrome--pip { inset: 0; justify-content: flex-end; align-items: flex-start; background: none; }

.bk-controls { display: flex; gap: 8px; pointer-events: auto; }
.bk-btn { font: inherit; font-size: 12px; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(255,255,255,.08); color: var(--fg); backdrop-filter: blur(6px); }
.bk-btn:hover { background: rgba(255,255,255,.14); }
.bk-btn:focus { outline: 2px solid var(--accent1); outline-offset: 2px; }

.bk-hint { color: rgba(255,255,255,.65); font-size: 11px; margin-left: 8px; }

/* Dual color heading */
.dual { line-height: 1.12; text-wrap: balance; }
.dual__accent { background: linear-gradient(90deg, var(--accent1), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 640px) {
  .bk-video--pip { width: 72vw; bottom: -14%; }
}









/* === Binabik hero PiP + mobile gutters === */
:root {
  --bk-gutter-sm: 16px;
  --bk-gutter-md: 24px;
  --bk-stroke: rgba(255,255,255,.12);
}

.bk-hero-wrap {
  /* Ensures the first section has the same side padding as the rest */
  padding-left: var(--bk-gutter-sm);
  padding-right: var(--bk-gutter-sm);
}
@media (min-width: 768px) {
  .bk-hero-wrap {
    padding-left: var(--bk-gutter-md);
    padding-right: var(--bk-gutter-md);
  }
}

.bk-hero-stage {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 56px; /* space for PiP overlap */
}

.bk-video {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--bk-stroke);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.bk-video--main { aspect-ratio: 16/9; }
.bk-video--pip {
  aspect-ratio: 16/10;
  position: absolute;
  right: clamp(8px, 2.5vw, 24px);
  bottom: -12%;
  width: min(56vw, 520px);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transform-origin: bottom right;
  transition: width .28s ease, transform .28s ease, bottom .28s ease;
}
.bk-video--pip.is-expanded {
  width: min(78vw, 860px);
  bottom: -8%;
  z-index: 3;
}

.bk-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

.bk-chrome {
  position: absolute; inset: auto 0 0 0;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 8px; padding: 10px 12px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 40%);
}
.bk-chrome--pip { inset: 0; justify-content: flex-end; align-items: flex-start; background: none; }

.bk-controls { display: flex; gap: 8px; pointer-events: auto; }
.bk-btn {
  font-size: 12px; padding: 8px 10px; border-radius: 999px;
  border: 1px solid var(--bk-stroke);
  background: rgba(255,255,255,.08); color: #fff; backdrop-filter: blur(6px);
}
.bk-btn:hover { background: rgba(255,255,255,.14); }
.bk-btn:focus { outline: 2px solid #39d0ff; outline-offset: 2px; }
.bk-hint { color: rgba(255,255,255,.65); font-size: 11px; margin-left: 8px; }

/* Dual-color accent */
.dual__accent {
  background: linear-gradient(90deg, #39d0ff, #3a66ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Small screens: keep PiP readable */
@media (max-width: 640px) {
  .bk-video--pip { width: 72vw; bottom: -14%; }
}






/* two-video overlap */
.video-stack {
  position: relative;
  width: 100%;
  /* add extra space below so the front video can hang over */
  padding-bottom: 64px;
}

.video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}

.video--main {
  /* aspect-ratio: 16/9; */
}

/* FRONT robot video: offset + partial overlap like your red box */
.video--robot {
  position: absolute;
  /* tune these to taste */
  --robot-width: min(30vw, 360px);
  --offset-x: clamp(12px, 24vw, 620px);
  --offset-y: clamp(140px, 8vw, 240px);

  width: var(--robot-width);
  bottom: calc(-1 * var(--offset-y));
  right: var(--offset-x);
  aspect-ratio: 16/10;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
}

@media (max-width: 900px) {
  .video-stack { padding-bottom: 48px; }
  .video--robot {
    --robot-width: 72vw;
    --offset-x: clamp(8px, 4vw, 60px);
    --offset-y: clamp(18px, 5vw, 80px);
  }
}


/* Mobile: stack videos vertically (no overlap) */
@media (max-width: 640px) {
  .video-stack {
    position: static;          /* stop acting as an overlap stage */
    padding-bottom: 0;         /* remove extra room for overlap */
    display: flex;
    flex-direction: column;    /* main first, robot second */
    gap: 12px;                 /* spacing between videos */
  }

  .video--robot {
    position: static;          /* remove absolute positioning */
    width: 100%;
    aspect-ratio: 16/9;        /* match main ratio or whatever you prefer */
    box-shadow: 0 12px 28px rgba(0,0,0,.35);
    right: auto; bottom: auto; /* clear offsets */
  }

  .video--main {
    /* aspect-ratio: 16/9; */
  }
}

@media (max-width: 640px) {
  .video-stack.robot-first-mobile { flex-direction: column-reverse; }
}



