/* lane overrides only */
body.lane-cinematics {
  padding-bottom: 36px;
}

/* =========================
   CINEMATICS: BACKGROUND VIDEO + SCROLL BLUR
   Local only
   ========================= */

:root{
  --cin-blur: 0px;
  --cin-dim: 0; /* 0 → 1 range */
}

/* establish safe stacking context */
body.lane-cinematics{
  position: relative;
  isolation: isolate;
}

/* background layer */
.cin-bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #000;

  filter: blur(var(--cin-blur)) brightness(calc(1 - var(--cin-dim)));
  will-change: filter;
}

/* video fill */
.cin-bg-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  display: block;
}

/* content starts after hero viewport */
.cin-main{
  position: relative;
  z-index: 1;
  margin-top: 100vh;
}

/* nav always above (DO NOT make it relative, it breaks the fixed global nav) */
body.lane-cinematics .nav{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1001;
}

/* =========================
   CIN VISUAL ENGINE SECTION
   ========================= */

.cin-visual-engine{
  padding: 64px 0;
}

.cin-ve-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

/* Left */
.cin-ve-kicker{
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .72;
}

.cin-ve-title{
  margin-top: 14px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
}

.cin-ve-lead{
  margin-top: 16px;
  max-width: 56ch;
  opacity: .82;
}

.cin-ve-cta{
  margin-top: 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.cin-ve-note{
  font-size: 12px;
  opacity: .72;
}

/* Right frame card */
.cin-ve-frame{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;

  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at top, rgba(255,255,255,.08), rgba(0,0,0,.55) 55%),
    rgba(10,12,18,.40);

  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}

.cin-ve-frame::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(10,17,33,.06), rgba(1,1,4,.78));
}

.cin-ve-frame-label{
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;

  font-size: 11px;
  letter-spacing: .20em;
  text-transform: uppercase;
  opacity: .72;
}

.cin-ve-frame-center{
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 22px;
  text-align: center;
}

.cin-ve-frame-text{
  font-size: 24px;
  font-weight: 600;
  opacity: .42;
}

.cin-ve-frame-tag{
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;

  font-size: 11px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232,198,139,.55);
  background: rgba(5,5,12,.82);
  color: var(--accent, #E8C68B);
  text-transform: uppercase;
  letter-spacing: .16em;
}

/* Responsive */
@media (max-width: 880px){
  .cin-ve-grid{
    grid-template-columns: minmax(0, 1fr);
  }
  .cin-ve-frame{
    min-height: 240px;
  }
}

/* =========================
   CIN HERO: two-column layout + right frame card
   Local only
   ========================= */

body.lane-cinematics .cin-stage{
  position: relative;
}

body.lane-cinematics .cin-wrap.cin-hero{
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 20px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

/* left side should not stretch weird */
body.lane-cinematics .cin-hero-left{
  min-width: 0;
}

/* right card */
body.lane-cinematics .cin-frame{
  position: relative;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at top, rgba(255,255,255,.08), rgba(0,0,0,.55) 55%),
    rgba(10,12,18,.40);

  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}

/* force a visible card height even if video fails */
body.lane-cinematics .cin-frame-video{
  width: 100%;
  aspect-ratio: 16 / 10;
  background: rgba(0,0,0,.35);
  position: relative;
  z-index: 0;
}

/* make the video actually fill the card */
body.lane-cinematics .cin-frame-video video{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1;
  filter: saturate(1.04) contrast(1.02) brightness(1);
}

/* overlay tint like the inspo */
body.lane-cinematics .cin-frame::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(10,17,33,.03), rgba(1,1,4,.32));
}

/* keep your labels above the video */
body.lane-cinematics .cin-frame-top{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

body.lane-cinematics .cin-frame-label{
  position: absolute;
  left: 18px;
  top: 18px;
  font-size: 11px;
  letter-spacing: .20em;
  text-transform: uppercase;
  opacity: .72;
}

body.lane-cinematics .cin-frame-chip{
  position: absolute;
  left: 18px;
  bottom: 18px;
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232,198,139,.55);
  background: rgba(5,5,12,.82);
  color: var(--accent, #E8C68B);
  text-transform: uppercase;
  letter-spacing: .16em;
}

/* responsive */
@media (max-width: 880px){
  body.lane-cinematics .cin-wrap.cin-hero{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CIN HERO: Scroll cue (auto cycles until user scrolls)
   ========================================================= */

body.lane-cinematics .cin-scrollcue{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 1100;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: rgba(245,245,247,0.90);
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;

  opacity: 0;
  pointer-events: none;
  cursor: default;

  transition: opacity 260ms ease, transform 260ms ease;
}

body.lane-cinematics .cin-scrollcue.is-on{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  cursor: pointer;
}

body.lane-cinematics .cin-scrollcue .cin-scrollcue-ico{
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;

  border-radius: 999px;
  border: 1px solid rgba(140,180,210,0.28);
  color: rgba(165,200,225,0.75);

  animation: cinScrollBreathe 1.4s ease-in-out infinite;
}

body.lane-cinematics .cin-scrollcue .cin-scrollcue-ico svg{
  width: 12px;
  height: 12px;
  display: block;
  opacity: 0.95;
}

@keyframes cinScrollBreathe{
  0%, 100%{ transform: translateY(0); opacity: .9; }
  50%{ transform: translateY(4px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce){
  body.lane-cinematics .cin-scrollcue .cin-scrollcue-ico{
    animation: none;
  }
}

@media (hover:hover){
  body.lane-cinematics .cin-scrollcue:hover{
    transform: translateX(-50%) translateY(-2px);
  }
}

/* =========================================================
   CINEMATICS — Output Section (JSON-driven cards)
   Scoped to body.lane-cinematics
   ========================================================= */

body.lane-cinematics .cin-output {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 6vw, 88px) 0;
}

body.lane-cinematics .cin-output-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

body.lane-cinematics .cin-output-head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

body.lane-cinematics .cin-output-head h2 {
  line-height: 1.08;
  letter-spacing: 0.3px;
}

body.lane-cinematics .cin-output-sub {
  max-width: 72ch;
  opacity: 0.86;
}

body.lane-cinematics .cin-output-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.lane-cinematics .cin-output-card {
  position: relative;
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: rgba(8, 10, 16, 0.52);
  border: 1px solid rgba(232, 198, 139, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
  overflow: hidden;
}

body.lane-cinematics .cin-output-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(
      800px 240px at 12% 0%,
      rgba(232, 198, 139, 0.14),
      transparent 55%
    );
  opacity: 0.9;
  pointer-events: none;
}

body.lane-cinematics .cin-output-card h3 {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

body.lane-cinematics .cin-output-card p {
  margin: 0;
  line-height: 1.45;
  opacity: 0.86;
}

/* Output cards: no hover motion */
body.lane-cinematics .cin-output-card:hover {
  transform: none;
  border-color: rgba(232, 198, 139, 0.12);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (max-width: 980px) {
  body.lane-cinematics .cin-output-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.lane-cinematics .cin-output-inner {
    width: min(1120px, calc(100% - 28px));
  }

  body.lane-cinematics .cin-output-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.lane-cinematics .cin-output-card {
    border-radius: 16px;
  }
}

/* =========================================================
   CINEMATICS — Applications Section (JSON-driven rows)
   ========================================================= */

body.lane-cinematics .cin-apps{
  position: relative;
  z-index: 2;
  padding: clamp(44px, 5.5vw, 84px) 0;
}

body.lane-cinematics .cin-apps-inner{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

body.lane-cinematics .cin-apps-head{
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

body.lane-cinematics .cin-apps-sub{
  max-width: 78ch;
  opacity: 0.86;
}

body.lane-cinematics .cin-apps-list{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 18px 0 0;
}

/* Row */
body.lane-cinematics .cin-app{
  position: relative;
  border-radius: 18px;
  padding: 14px 18px;
  background: rgba(6, 8, 14, 0.42);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.34);
  overflow: hidden;
}

body.lane-cinematics .cin-app::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(900px 240px at 18% 0%, rgba(232, 198, 139, 0.10), transparent 55%);
  pointer-events:none;
  opacity: 0.9;
}

body.lane-cinematics .cin-app-top{
  display: grid;
  gap: 6px;
}

body.lane-cinematics .cin-app-title{
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

body.lane-cinematics .cin-app-body{
  line-height: 1.4;
  max-width: 72ch;
}

@media (min-width: 900px){
  body.lane-cinematics .cin-app-body{
    max-width: none;
  }
}

/* removed hover animation from these */

@media (max-width: 980px){
  body.lane-cinematics .cin-apps-list{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px){
  body.lane-cinematics .cin-apps-inner{
    width: min(1120px, calc(100% - 28px));
  }

  body.lane-cinematics .cin-app{
    border-radius: 16px;
    padding: 14px 16px;
  }
}

/* =========================================================
   CINEMATICS — Process Section (JSON-driven steps)
   ========================================================= */

body.lane-cinematics .cin-process{
  position: relative;
  z-index: 2;
  padding: clamp(44px, 5.5vw, 84px) 0;
}

body.lane-cinematics .cin-process-inner{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

body.lane-cinematics .cin-process-head{
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

body.lane-cinematics .cin-process-sub{
  max-width: 78ch;
  opacity: 0.86;
}

body.lane-cinematics .cin-process-steps{
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 18px auto 0;
  padding: 0;
  width: min(880px, 100%);
}

body.lane-cinematics .cin-step{
  position: relative;
  border-radius: 18px;
  padding: 14px 18px;
  background: rgba(6, 8, 14, 0.42);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.34);
  overflow: hidden;

  display: grid;
  grid-template-columns: 1fr; /* clean, no number column */
  gap: 6px;
  align-items: start;
}

body.lane-cinematics .cin-step::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(900px 240px at 18% 0%, rgba(232, 198, 139, 0.10), transparent 55%);
  pointer-events:none;
  opacity: 0.9;
}

/* remove the number pill without touching HTML */
body.lane-cinematics .cin-step-num{
  display: none;
}

body.lane-cinematics .cin-step-main{
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
}

body.lane-cinematics .cin-step-title{
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

body.lane-cinematics .cin-step-body{
  margin: 0;
  line-height: 1.4;
  opacity: 0.86;
}

@media (max-width: 620px){
  body.lane-cinematics .cin-process-inner{
    width: min(1120px, calc(100% - 28px));
  }

  body.lane-cinematics .cin-step{
    border-radius: 16px;
    padding: 14px 16px;
  }
}

/* Cinematics: Studios callout integration line (centered under callout card) */
.cin-callout-integration{
  margin: 14px auto 0;
  width: min(980px, calc(100% - 40px));

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  text-align: center;
  color: rgba(245,245,247,0.82);
  font-size: 14px;
  line-height: 1.35;
}

.cin-callout-integration-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);

  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(245,245,247,0.9);
  white-space: nowrap;
}

.cin-callout-integration-text{
  max-width: 760px;
  color: rgba(245,245,247,0.78);
}

/* Mobile: stack cleanly */
@media (max-width: 700px){
  .cin-callout-integration{
    flex-direction: column;
    gap: 8px;
  }

  .cin-callout-integration-text{
    max-width: 100%;
  }
}

/* =========================================================
   CINEMATICS — Studios Callout
   ========================================================= */

body.lane-cinematics .cin-callout{
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(44px, 5.5vw, 84px);
}

@media (max-width: 620px){
  html body.lane-cinematics .cin-callout{
    padding-bottom: 12px; /* try 0px, 8px, 12px, 16px */
  }
}

body.lane-cinematics .cin-callout-inner{
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: rgba(8, 10, 16, 0.52);
  border: 1px solid rgba(232, 198, 139, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

body.lane-cinematics .cin-callout-inner::before{
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(
      900px 260px at 12% 0%,
      rgba(232, 198, 139, 0.14),
      transparent 55%
    );
  opacity: 0.9;
  pointer-events: none;
}

body.lane-cinematics .cin-callout-kicker{
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .72;
}

body.lane-cinematics .cin-callout-title{
  position: relative;
  z-index: 1;
  margin: 10px 0 8px 0;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: 0.2px;
}

body.lane-cinematics .cin-callout-sub{
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1.45;
  opacity: 0.86;
  max-width: 72ch;
}

body.lane-cinematics .cin-callout-actions{
  position: relative;
  z-index: 1;
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 620px){
  body.lane-cinematics .cin-callout-inner{
    width: min(880px, calc(100% - 28px));
    border-radius: 16px;
    padding: 16px 16px 14px;
  }
}



/* =========================================================
   CINEMATICS — Reel Module (Dexxtra-level)
   ========================================================= */

body.lane-cinematics .cin-reel{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

body.lane-cinematics .cin-reel-frame{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(232, 198, 139, 0.14);
  background: rgba(8, 10, 16, 0.52);
  box-shadow: 0 30px 90px rgba(0,0,0,.55);

  /* subtle scale-down without breaking layout */
  max-width: 1040px;
  margin: 0 auto;
}

body.lane-cinematics .cin-reel-frame::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(1000px 360px at 12% 0%, rgba(232, 198, 139, 0.16), transparent 60%);
  pointer-events:none;
  opacity:.9;
  z-index: 2;
}

body.lane-cinematics .cin-reel-frame::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(circle at center, rgba(10,17,33,.03), rgba(1,1,4,.26));
  z-index: 2;
  opacity: .55;
}

body.lane-cinematics .cin-reel-video{
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  background: rgba(0,0,0,.35);
  filter: saturate(1.04) contrast(1.02) brightness(1);
}

body.lane-cinematics .cin-reel-top{
  position: absolute;
  left: 18px;
  top: 16px;
  right: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

body.lane-cinematics .cin-reel-label{
  font-size: 11px;
  letter-spacing: .20em;
  text-transform: uppercase;
  opacity: .78;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.lane-cinematics .cin-reel-chip{
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232,198,139,.55);
  background: rgba(5,5,12,.72);
  color: var(--accent, #E8C68B);
  text-transform: uppercase;
  letter-spacing: .16em;
  white-space: nowrap;
}

body.lane-cinematics .cin-reel-sound{
  position: absolute;
  left: 76px;
  bottom: 18px;
  z-index: 4;
  display: inline-flex;
  gap: 10px;
  align-items: center;

  padding: 10px 16px;
  border-radius: 999px;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.14),
    rgba(255,255,255,.04)
  );

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,.22);
  color: rgba(245,245,247,.92);

  cursor: pointer;

  box-shadow:
    0 12px 32px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.22);

  transition:
    transform 220ms ease,
    opacity 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

body.lane-cinematics .cin-reel-sound:hover{
  transform: translateY(-2px);
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.20),
    rgba(255,255,255,.06)
  );
  border-color: rgba(255,255,255,.35);
}

/* Icon: supports "muted vs audio" swap animation */
body.lane-cinematics .cin-reel-sound-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
  will-change: opacity, transform, filter;
}

body.lane-cinematics .cin-reel-sound-ico.is-muted{
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

body.lane-cinematics .cin-reel-sound-ico.is-on{
  opacity: 1;
  transform: scale(.9);
  filter: blur(0px);
}

body.lane-cinematics .cin-reel-frame.is-audio .cin-reel-sound-ico.is-muted{
  opacity: 0;
  transform: scale(.9);
  filter: blur(2px);
}

body.lane-cinematics .cin-reel-frame.is-audio .cin-reel-sound-ico.is-on{
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

body.lane-cinematics .cin-reel-pause{
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: auto;
  z-index: 4;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.14),
    rgba(255,255,255,.04)
  );

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,.18);
  color: rgba(245,245,247,.92);
  cursor: pointer;

  display: grid;
  place-items: center;

  box-shadow:
    0 12px 32px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.20);

  transition:
    transform 220ms ease,
    opacity 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

body.lane-cinematics .cin-reel-pause:hover{
  transform: translateY(-2px);
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.20),
    rgba(255,255,255,.06)
  );
  border-color: rgba(255,255,255,.32);
}

body.lane-cinematics .cin-reel-fullscreen{
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.14),
    rgba(255,255,255,.04)
  );

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,.18);
  color: rgba(245,245,247,.92);
  cursor: pointer;

  display: grid;
  place-items: center;

  box-shadow:
    0 12px 32px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.20);

  transition:
    transform 220ms ease,
    opacity 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

body.lane-cinematics .cin-reel-fullscreen:hover{
  transform: translateY(-2px);
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.20),
    rgba(255,255,255,.06)
  );
  border-color: rgba(255,255,255,.32);
}

body.lane-cinematics .cin-reel-pause span,
body.lane-cinematics .cin-reel-fullscreen span{
  display: inline-block;
  transform: translateY(-.5px);
}

body.lane-cinematics .cin-reel-bar{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 4px;
  z-index: 5;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.14),
    rgba(255,255,255,.04)
  );

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  cursor: pointer;
  pointer-events: auto;
  touch-action: none;

  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    height 160ms ease,
    background 160ms ease;
}

body.lane-cinematics .cin-reel-frame:hover .cin-reel-bar,
body.lane-cinematics .cin-reel-bar:hover,
body.lane-cinematics .cin-reel-bar:active,
body.lane-cinematics .cin-reel-frame.is-scrubbing .cin-reel-bar,
body.lane-cinematics .cin-reel-frame.is-portal:hover .cin-reel-bar{
  opacity: 1;
  transform: translateY(0);
}

body.lane-cinematics .cin-reel-bar:hover{
  height: 6px;
  background: rgba(255,255,255,.14);
}

body.lane-cinematics .cin-reel-bar-fill{
  height: 100%;
  width: 0%;

  background: linear-gradient(
    to right,
    rgba(255,255,255,.85),
    rgba(255,255,255,.65)
  );

  box-shadow:
    0 0 0 1px rgba(255,255,255,.25),
    0 0 12px rgba(255,255,255,.35);
}

@media (hover:hover){
  body.lane-cinematics .cin-reel-frame:hover .cin-reel-bar{
    height: 7px;
    background: rgba(255,255,255,.14);
  }
}

/* State when audio is enabled */
body.lane-cinematics .cin-reel-frame.is-audio .cin-reel-sound{
  opacity: 0;
  pointer-events: none;
}

/* Netflix-style: fullscreen portal visuals */
body.lane-cinematics .cin-fs-portal{
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: rgba(0,0,0,.92);
  opacity: 0;
  transition: opacity 240ms ease;
}

body.lane-cinematics .cin-fs-portal.is-on{
  pointer-events: auto;
  opacity: 1;
}

body.lane-cinematics .cin-reel-frame.is-portal{
  position: fixed;
  inset: 0;
  z-index: 9999;

  max-width: none;
  margin: 0;
  background: #000;

  transform-origin: 0 0;

  transform: translate3d(var(--fx, 0px), var(--fy, 0px), 0)
             scale(var(--fsx, 1), var(--fsy, 1));

  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);

  transition:
    transform 720ms cubic-bezier(.22,.61,.36,1),
    border-radius 720ms cubic-bezier(.22,.61,.36,1),
    box-shadow 720ms cubic-bezier(.22,.61,.36,1);

  will-change: transform;
}

/* glide to full takeover */
body.lane-cinematics .cin-reel-frame.is-portal.is-portal-live{
  transform: translate3d(0px, 0px, 0) scale(1, 1);
  border-radius: 0;
  box-shadow: none;
}

/* make the video actually fill the portal frame (scaled by the frame transform) */
body.lane-cinematics .cin-reel-frame.is-portal .cin-reel-video{
  height: 100%;
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: #000;
}

/* Responsive */
@media (max-width: 620px){
  body.lane-cinematics .cin-reel{
    width: min(1120px, calc(100% - 28px));
  }

  body.lane-cinematics .cin-reel-top{
    left: 14px;
    top: 12px;
    right: 14px;
  }

  body.lane-cinematics .cin-reel-pause{
    left: 14px;
    bottom: 14px;
    right: auto;
  }

  body.lane-cinematics .cin-reel-sound{
    left: 66px;
    bottom: 14px;
  }

  body.lane-cinematics .cin-reel-fullscreen{
    right: 14px;
    bottom: 14px;
  }
}

/* Cinematics: Studios integration line spacing + centering (DESKTOP ONLY) */
@media (min-width: 900px){
  body.lane-cinematics .cin-callout-integration{
    /* Visual pull-up to visually bind Studios callout with Cinematics system */
    margin: -35px auto 0;
    padding-bottom: 120px; /* breathing room before the reel */
    max-width: 980px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;

    text-align: center;
  }
}

/* Keep the chip tight */
body.lane-cinematics .cin-callout-integration-chip{
  flex: 0 0 auto;
}

/* Prevent the text from stretching weirdly */
body.lane-cinematics .cin-callout-integration-text{
  flex: 0 1 680px;
  max-width: 680px;
}

/* Remove this if you keep spacing in integration (recommended) */
/* body.lane-cinematics #reel{ margin-top: 24px; } */

/* Keep only ONE cin-lock block */
html.cin-lock,
html.cin-lock body{
  height: 100%;
  overflow: hidden;
}





/* =========================================================
   CINEMATICS — Desktop: lower the reel slightly
   ========================================================= */
@media (min-width: 900px){
  body.lane-cinematics #reel{
    margin-top:70px; /* tweak: 12px, 18px, 24px, 32px */
  }
}

/* =========================================================
   CINEMATICS — Reel -> Capabilities spacing (desktop)
   ========================================================= */
@media (min-width: 900px){
  /* tighten the end of the reel */
  body.lane-cinematics #reel{
    margin-bottom: 18px;
  }
}

/* tighten the next section after the reel */
@media (min-width: 900px){
  body.lane-cinematics #reel + .cin-section{
    padding-top: 180px;
  }
}

/* =========================================================
   CINEMATICS — Capabilities (JSON driven)
   ========================================================= */

body.lane-cinematics #cinCapabilitiesGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 6 cards = clean 3x2 */
  gap: 16px;
}

body.lane-cinematics #cinCapabilitiesGrid .cin-card{
  position: relative;
  border-radius: 18px;
  padding: 18px 18px 16px;

  background: rgba(8, 10, 16, 0.52);
  border: 1px solid rgba(232, 198, 139, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body.lane-cinematics #cinCapabilitiesGrid .cin-card::before{
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(800px 240px at 12% 0%, rgba(232, 198, 139, 0.12), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

body.lane-cinematics #cinCapabilitiesGrid .cin-card h3{
  position: relative;
  z-index: 1;
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

body.lane-cinematics #cinCapabilitiesGrid .cin-card p{
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1.45;
  opacity: 0.86;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media (max-width: 980px){
  body.lane-cinematics #cinCapabilitiesGrid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px){
  body.lane-cinematics #cinCapabilitiesGrid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.lane-cinematics #cinCapabilitiesGrid .cin-card{
    border-radius: 16px;
    padding: 16px 16px 14px;
  }
}

/* =========================================================
   CINEMATICS — Capabilities spacing (match Output rhythm)
   Targets REAL HTML: #capabilities, .cin-head, .cin-body
   ========================================================= */

body.lane-cinematics #capabilities .cin-head{
  margin-bottom: 14px; /* tighten header → grid */
}

body.lane-cinematics #capabilities .cin-body{
  padding-top: 0; /* remove extra body gap if cin-section system adds it */
}

/* match Output inner width behavior */
body.lane-cinematics #capabilities .cin-head,
body.lane-cinematics #capabilities .cin-body{
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

/* Pull Capabilities closer to the Reel above it */
body.lane-cinematics #capabilities{
  padding-top: clamp(14px, 2vw, 32px);
}

/* =========================================================
   CINEMATICS — Contact CTA polish (Glass, no HTML changes)
   ========================================================= */

body.lane-cinematics #contact.cin-section{
  width: min(960px, calc(100% - 40px));
  margin: clamp(88px, 8vw, 148px) auto 0;
}

body.lane-cinematics #contact .cin-head{
  margin-bottom: 14px;
}

body.lane-cinematics #contact .cin-head h2{
  margin: 0 0 8px;
}

body.lane-cinematics #contact .cin-head p{
  margin: 0;
  opacity: .82;
}

body.lane-cinematics #contact .cin-body{
  border-radius: 22px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.12);
  background: rgba(6, 10, 14, .48);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  position: relative;

  padding-top: 8px;
}

body.lane-cinematics #contact .cin-body::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(980px 360px at 16% 0%, rgba(255,255,255,.12), transparent 62%),
    radial-gradient(860px 420px at 86% 10%, rgba(145, 196, 255, .18), transparent 58%),
    radial-gradient(900px 340px at 48% 120%, rgba(80, 160, 220, .12), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,0));
  pointer-events:none;
  z-index: 0;
  opacity: .98;
}

body.lane-cinematics #contact .cin-body::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 55% 40%, rgba(0,0,0,0), rgba(0,0,0,.66)),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.36));
  z-index: 0;
  opacity: .86;
}

body.lane-cinematics #contact .cin-ctaRow{
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1.25fr auto;
  gap: 22px;
  align-items: center;

  padding: 26px 28px 38px;
}

/* Ensure this wins over any stray duplicates elsewhere */
body.lane-cinematics #contact .cin-body > .cin-ctaRow{
  padding: 26px 28px 38px;
}

body.lane-cinematics #contact .cin-ctaRow strong{
  display: block;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 8px;
  color: rgba(245,245,247,.96);
  text-shadow: 0 12px 40px rgba(0,0,0,.45);
}

body.lane-cinematics #contact .cin-ctaRow small{
  display: block;
  opacity: .84;
  max-width: 68ch;
  line-height: 1.5;
  color: rgba(245,245,247,.78);
}

body.lane-cinematics #contact .cin-ctaRow > div:first-child{
  display: grid;
  gap: 10px;
}

body.lane-cinematics #contact .cin-ctaBtns{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

@media (min-width: 901px){
  body.lane-cinematics #contact .cin-ctaBtns{
    flex-wrap: nowrap;           /* key fix, keeps Email + Back to top side by side */
    white-space: nowrap;         /* extra safety */
    transform: translate( -25px, 10px ); /* ← LEFT + DOWN */
  }
}

/* Glass buttons (Cinematics tinted, removes gold) */
body.lane-cinematics #contact .btn,
body.lane-cinematics #contact .btn.btn-gold{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(245,245,247,.92);
  text-decoration: none;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, opacity 220ms ease;
}

@media (hover: hover) and (pointer: fine){
  body.lane-cinematics #contact .btn:hover,
  body.lane-cinematics #contact .btn.btn-gold:hover{
    transform: translateY(-2px);
    border-color: rgba(145,196,255,.30);
    background: rgba(145,196,255,.08);
  }
}

body.lane-cinematics #contact .btn:active,
body.lane-cinematics #contact .btn.btn-gold:active{
  transform: translateY(0);
  border-color: rgba(145,196,255,.30);
  background: rgba(145,196,255,.08);
}


@media (max-width: 760px){
  body.lane-cinematics #contact .cin-ctaRow{
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  body.lane-cinematics #contact .cin-ctaBtns{
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 620px){
  body.lane-cinematics #contact.cin-section{
    width: min(1120px, calc(100% - 28px));
  }

  body.lane-cinematics #contact .cin-ctaRow{
    padding: 36px 28px 38px;
  }

  body.lane-cinematics #contact .cin-body > .cin-ctaRow{
    padding: 36px 28px 38px;
  }
}

/* =========================================================
   CINEMATICS — Capabilities (match Output spacing exactly)
   ========================================================= */

body.lane-cinematics #cinCapabilities{
  position: relative;
  z-index: 2;
  padding: clamp(48px, 6vw, 88px) 0;
}

body.lane-cinematics #cinCapabilitiesInner{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Capabilities header spacing */
body.lane-cinematics #cinCapabilitiesHead{
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

/* Optional: subhead parity */
body.lane-cinematics #cinCapabilitiesSub{
  max-width: 72ch;
  opacity: 0.86;
}

/* =========================
   CIN CONTACT CTA META
   ========================= */

body.lane-cinematics .cin-ctaMeta{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

@media (min-width: 901px){
  body.lane-cinematics #contact .cin-ctaMeta{
    flex-wrap: nowrap;
  }
}

body.lane-cinematics .cin-ctaMeta{
  transform: translateY(18px);
}



body.lane-cinematics .cin-ctaMetaItem{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 999px;

  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 12px 34px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.08);

  transform: translateZ(0);
}

body.lane-cinematics .cin-ctaMetaK{
  font-size: 10px;
  letter-spacing: .20em;
  text-transform: uppercase;
  opacity: .65;
  white-space: nowrap;
}

body.lane-cinematics .cin-ctaMetaV{
  font-size: 13px;
  opacity: .92;
  white-space: nowrap;
}

body.lane-cinematics .cin-ctaMetaItem::before{
  content:"";
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.12);
  opacity: .75;
}

body.lane-cinematics .cin-ctaMetaItem .cin-ctaMetaK{
  margin-right: 2px;
}

body.lane-cinematics .cin-ctaMetaItem::before{
  order: 2;
}

body.lane-cinematics .cin-ctaMetaV{
  order: 3;
}

body.lane-cinematics .cin-ctaMetaK{
  order: 1;
}


/* Keep the meta cluster from competing with buttons on small widths */
@media (max-width: 820px){
  body.lane-cinematics .cin-ctaMeta{
    gap: 8px;
  }
  body.lane-cinematics .cin-ctaMetaItem{
    padding: 9px 11px;
  }
}

body.lane-cinematics .cin-ctaAssurance{
  margin-top: 14px;
  font-weight: 500;
  letter-spacing: .06em;
}

/* =========================
   CIN CONTACT CTA META — Visual only (no help logic)
   ========================= */

body.lane-cinematics .cin-ctaMetaItem{
  cursor: default;
  transform: none;
  transition: border-color 220ms ease, background 220ms ease, opacity 220ms ease;
}

body.lane-cinematics .cin-ctaMetaItem:hover{
  transform: none;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}

/* stronger glass edge + subtle sheen */
body.lane-cinematics .cin-ctaMetaItem{
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  box-shadow:
    0 12px 34px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.25);
}

body.lane-cinematics .cin-ctaMetaItem::after{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:
    radial-gradient(220px 80px at 18% 0%, rgba(175,199,227,.18), transparent 60%),
    radial-gradient(220px 80px at 82% 0%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,0));
  opacity: .9;
}

/* Contact row: prevent right column from getting pushed off */
#contact .cin-ctaRow{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto; /* left can shrink, right stays sized */
  align-items: start;
  gap: 18px;
}

/* Buttons: allow wrapping instead of pushing offscreen */
#contact .cin-ctaBtns{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-width: 0; /* critical in grid/flex contexts */
}

/* Make sure anchors don’t try to stretch weirdly */
#contact .cin-ctaBtns > a{
  flex: 0 0 auto;
  white-space: nowrap;
}
/* =========================================================
   CINEMATICS — Desktop card glow (cosmetic only)
   ========================================================= */
@media (hover:hover) and (pointer:fine){

  body.lane-cinematics .cin-card,
  body.lane-cinematics .cin-output-card,
  body.lane-cinematics .cin-app,
  body.lane-cinematics .cin-step{
    position: relative;
    overflow: hidden;
  }

  body.lane-cinematics .cin-card::after,
  body.lane-cinematics .cin-output-card::after,
  body.lane-cinematics .cin-app::after,
  body.lane-cinematics .cin-step::after{
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;

    background:
      radial-gradient(
        420px 160px at 50% 0%,
        rgba(140,190,255,0.22),
        transparent 60%
      );

    opacity: 0;
    transition: opacity 420ms ease;
  }
}

@media (hover:hover) and (pointer:fine){

  body.lane-cinematics .cin-card:hover::after,
  body.lane-cinematics .cin-output-card:hover::after,
  body.lane-cinematics .cin-app:hover::after,
  body.lane-cinematics .cin-step:hover::after{
    opacity: 1;
  }
}

@media (hover:hover) and (pointer:fine){

  body.lane-cinematics .cin-card,
  body.lane-cinematics .cin-output-card,
  body.lane-cinematics .cin-app,
  body.lane-cinematics .cin-step{
    transition:
      box-shadow 320ms ease,
      border-color 320ms ease;
  }

  body.lane-cinematics .cin-card:hover,
  body.lane-cinematics .cin-output-card:hover,
  body.lane-cinematics .cin-app:hover,
  body.lane-cinematics .cin-step:hover{
    border-color: rgba(140,190,255,0.32);

    box-shadow:
      0 18px 48px rgba(0,0,0,0.45),
      0 0 0 1px rgba(140,190,255,0.14);
  }
}

/* =========================================================
   CINEMATICS — Fade in + Stagger (JS-triggered)
   ========================================================= */

body.lane-cinematics .cin-anim{
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
  transition:
    opacity 700ms cubic-bezier(.22,.61,.36,1),
    transform 700ms cubic-bezier(.22,.61,.36,1),
    filter 700ms cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--cin-delay, 0ms);
  will-change: opacity, transform, filter;
}

body.lane-cinematics .cin-anim.is-in{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

/* Optional: slightly softer motion for the contact card */
body.lane-cinematics #contact .cin-anim{
  transform: translateY(10px);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  body.lane-cinematics .cin-anim{
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* =========================================================
   CINEMATICS — Mobile: tighten callout -> reel handoff only
   Desktop untouched
   ========================================================= */
@media (max-width: 620px){

  /* Reduce the callout's built-in bottom padding */
  body.lane-cinematics .cin-callout{
    padding-bottom: 8px;
  }

  /* Integration line should not add extra breathing room */
  body.lane-cinematics .cin-callout-integration{
    margin-top: 10px;
    padding-bottom: 0;
  }

  /* Remove any section padding that might be coming from the cin-section system */
  body.lane-cinematics #reel.cin-section{
    padding-top: 0;
  }

  /* If you still want it tighter, this is the clean knob */
  body.lane-cinematics #reel{
    margin-top: -428px;
  }
}

/* =========================================================
   CINEMATICS — Mobile: hide reel controls (touch to reveal)
   Desktop untouched
   ========================================================= */
@media (max-width: 620px){

  /* Hide all overlay controls by default */
  body.lane-cinematics .cin-reel-sound,
  body.lane-cinematics .cin-reel-pause,
  body.lane-cinematics .cin-reel-fullscreen,
  body.lane-cinematics .cin-reel-bar{
    opacity: 0;
    pointer-events: none;
  }

  /* Reveal controls when user touches the reel */
  body.lane-cinematics .cin-reel-frame:active .cin-reel-sound,
  body.lane-cinematics .cin-reel-frame:active .cin-reel-pause,
  body.lane-cinematics .cin-reel-frame:active .cin-reel-fullscreen,
  body.lane-cinematics .cin-reel-frame:active .cin-reel-bar{
    opacity: 1;
    pointer-events: auto;
  }

  /* Only keep scrub bar visible during scrubbing */
  body.lane-cinematics .cin-reel-frame.is-scrubbing .cin-reel-bar{
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 900px){
  body.lane-cinematics .cin-reel-sound,
  body.lane-cinematics .cin-reel-pause,
  body.lane-cinematics .cin-reel-fullscreen{
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      background 220ms ease,
      border-color 220ms ease;
  }

  body.lane-cinematics .cin-reel-frame:hover .cin-reel-sound,
  body.lane-cinematics .cin-reel-frame:hover .cin-reel-pause,
  body.lane-cinematics .cin-reel-frame:hover .cin-reel-fullscreen,
  body.lane-cinematics .cin-reel-frame.is-ui-on .cin-reel-pause,
  body.lane-cinematics .cin-reel-frame.is-ui-on .cin-reel-fullscreen{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 620px){
  body.lane-cinematics #contact .cin-ctaBtns .btn{
    transform: translateY(22px);
  }
}

@media (max-width: 620px){
  body.lane-cinematics{
    padding-bottom: 80px;
  }
}

/* =========================================================
   CINEMATICS — Mobile reel controls visibility state
   ========================================================= */
@media (max-width: 900px){

  body.lane-cinematics .cin-reel-sound,
  body.lane-cinematics .cin-reel-pause,
  body.lane-cinematics .cin-reel-fullscreen,
  body.lane-cinematics .cin-reel-bar{
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  body.lane-cinematics .cin-reel-frame.is-ui-on .cin-reel-sound,
  body.lane-cinematics .cin-reel-frame.is-ui-on .cin-reel-pause,
  body.lane-cinematics .cin-reel-frame.is-ui-on .cin-reel-fullscreen,
  body.lane-cinematics .cin-reel-frame.is-ui-on .cin-reel-bar{
    opacity: 1;
    pointer-events: auto;
  }
}

/* =========================================================
   CINEMATICS — Fold open: tighten callout -> reel (SAFE)
   Targets Galaxy Fold open band only
   ========================================================= */
@media (min-width: 680px) and (max-width: 710px) and (pointer: coarse){

  /* Reduce the callout's built-in bottom padding */
  body.lane-cinematics .cin-callout{
    padding-bottom: 8px;
  }

  /* Integration line should not add extra breathing room */
  body.lane-cinematics .cin-callout-integration{
    margin-top: 10px;
    padding-bottom: 0;
  }

  /* Only remove top padding on the reel section in this band */
  body.lane-cinematics #reel.cin-section{
    padding-top: 0;
  }

  /* Fold knob: use a sane value, not a nuke */
  body.lane-cinematics #reel{
    margin-top: clamp(-500px, -52vh, -260px);
  }
}

/* =========================================================
   CINEMATICS — iPad Air / Mini (portrait)
   Tighten callout -> reel without fold hacks
   ========================================================= */
@media (min-width: 744px) and (max-width: 900px){

  /* Reduce vertical fluff in callout */
  body.lane-cinematics .cin-callout{
    padding-bottom: 14px; /* desktop is usually ~24–32 */
  }

  body.lane-cinematics .cin-callout-integration{
    margin-top: 12px;
    padding-bottom: 0;
  }

  /* Restore healthy section rhythm */
  body.lane-cinematics #reel.cin-section{
    padding-top: 250px;
  }

  /* iPad NEVER uses negative margin nukes */
  body.lane-cinematics #reel{
    margin-top: 0;
  }
}

/* =========================================================
   CINEMATICS — Galaxy Fold open tuning
   Target: ~690px width presets
   ========================================================= */
@media (min-width: 660px) and (max-width: 740px){

  /* 1) Add a little more breathing room under the last card
     so the menu sits cleanly below it */
  body.lane-cinematics{
    padding-bottom: 56px; /* adjust: 44px to 72px */
  }

  /* 2) Contact card internal padding tune (only this width)
     This changes layout comfort without changing button size */
  body.lane-cinematics #contact .cin-ctaRow{
    padding-bottom: 44px; /* adjust: 38px to 52px */
  }

  /* 3) Move ONLY the two buttons down a bit
     Does not change the padding of the section itself */
  body.lane-cinematics #contact .cin-ctaBtns{
    margin-top: 18px; /* adjust: 10px to 18px */
  }
}

/* Fold open: stack pills like mobile, NOT full width */
@media (min-width: 660px) and (max-width: 740px){

  body.lane-cinematics #contact .cin-ctaMeta{
    flex-direction: column;
    align-items: flex-start; /* left aligned */
    gap: 10px;
  }

  body.lane-cinematics #contact .cin-ctaMetaItem{
    width: auto;              /* <-- key fix */
    max-width: 100%;
    justify-content: flex-start;
  }
}

@media (min-width: 660px) and (max-width: 900px){

  body.lane-cinematics #contact .cin-ctaRow{
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  /* Left: stacked pills */
  body.lane-cinematics #contact .cin-ctaMeta{
    align-items: flex-start;
  }

  /* Right: action buttons */
  body.lane-cinematics #contact .cin-ctaBtns{
    align-items: flex-end;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 0;
  }
}

@media (min-width: 660px) and (max-width: 740px) and (pointer: coarse){

  /* Taste adjust: drop the Email + Back to top cluster (FOLD OPEN ONLY) */
  body.lane-cinematics #contact .cin-ctaBtns{
    padding-top: 165px; /* tweak */
  }
}

/* =========================================================
   CINEMATICS — Galaxy Fold landscape (open): drop buttons only
   Target ~690px tall landscape view
   ========================================================= */
@media (min-height: 660px) and (max-height: 740px) and (orientation: landscape) and (pointer: coarse){
  body.lane-cinematics #contact .cin-ctaBtns{
    transform: translateY(80px); /* tweak 16–32px */
  }
}

/* =========================================================
   CINEMATICS — Mobile landscape safety net
   Only triggers when height is short
   ========================================================= */
@media (max-height: 520px) and (orientation: landscape){

  /* Give the card less vertical weight */
  body.lane-cinematics #contact.cin-section{
    margin-top: 44px;
  }

  body.lane-cinematics #contact .cin-ctaRow{
    padding: 18px 18px 22px;
    gap: 14px;
    align-items: center; /* <-- change start -> center */
  }

  /* Keep the right buttons from getting clipped */
  body.lane-cinematics #contact .cin-ctaBtns{
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 10px;
    transform: translateY(18px); /* <-- add this */
  }

  /* Let the bottom meta pills wrap cleanly if needed */
  body.lane-cinematics #contact .cin-ctaMeta{
    flex-wrap: wrap;
    gap: 8px;
    transform: translateY(10px);
  }

  /* Slightly tighten pill padding so they fit */
  body.lane-cinematics #contact .cin-ctaMetaItem{
    padding: 9px 10px;
  }

  /* Optional: if your nav or menu eats height, reduce body padding */
  body.lane-cinematics{
    padding-bottom: 40px;
  }
}

/* =========================================================
   CINEMATICS — Phones (portrait): lift Email + Back to top slightly
   Excludes iPads by stopping before 744px
   ========================================================= */
@media (max-width: 743px) and (orientation: portrait) and (pointer: coarse){

  html body.lane-cinematics #contact .cin-ctaBtns{
    transform: translateY(-2px);
  }
}

/* =========================================================
   CINEMATICS — iPad Mini + Air ONLY
   Fix right-side buttons clipping / shift left
   DOES NOT AFFECT PHONES
   ========================================================= */
@media
  (min-width: 768px) and (max-width: 1180px) and
  (min-height: 768px) and (max-height: 1180px) and
  (pointer: coarse) and (hover: none){

  body.lane-cinematics #contact .cin-ctaBtns{
    margin-right: 18px;       /* ← move LEFT safely */
    transform: none;          /* neutralize earlier bumps */
  }
}


/* =========================================================
   CINEMATICS — Surface Pro 7 (portrait) safety
   Fix: right-side Email + Back to top pills clipping
   ========================================================= */
@media (min-width: 900px) and (max-width: 1024px) and (pointer: coarse) and (hover: none){

  /* Stack the CTA row like mobile so nothing gets squeezed */
  body.lane-cinematics #contact .cin-ctaRow{
    grid-template-columns: 1fr;
    align-items: start;
  }

  /* Kill the desktop bump and let the buttons breathe */
  body.lane-cinematics #contact .cin-ctaBtns{
    justify-content: flex-start;
    transform: none;
    margin-top: 14px;
    margin-right: 0;
    white-space: normal;
    flex-wrap: wrap;
  }
}



/* =========================================================
   CINEMATICS — Desktop: nudge intake pills left (Contact CTA)
   ========================================================= */
@media (min-width: 901px){
  html body.lane-cinematics #contact .cin-ctaMeta{
    margin-left: -14px;
  }
}