:root{
  --bg:#0b0f19;
  --text:#e6e8ee;
  --muted:#aab0c0;
  --card:#121729;
  --border:#262b3f;
  --purple:#7c3aed;
  --blue:#3b82f6;
  --cyan:#06b6d4;
  --r-lg:20px;
  --r-sm:14px;
  --shadow-sm:0 6px 18px rgba(0,0,0,.25);
  --shadow-md:0 18px 60px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{height:100%}

/* Base + zero-seam background */
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background: linear-gradient(180deg, #0b0f19 0%, #0f1424 60%, #0b0f19 100%);
}
.page-auras{
  position: fixed; inset: -60vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120vmax 120vmax at -25% -35%, rgba(124,58,237,0.10), transparent 60%),
    radial-gradient(120vmax 120vmax at 125% -25%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(140vmax 140vmax at -35% 135%, rgba(59,130,246,0.08), transparent 60%);
  background-repeat: no-repeat;
  filter: blur(2px);
}

/* Layout */
.container{width:100%; overflow-x:hidden;}
.row{max-width:1180px; margin:0 auto; padding:0 24px}
section{padding:96px 0; background:transparent}
.center{text-align:center}

/* Hero */
.hero{position:relative; height:92vh; display:grid; place-items:center; text-align:center; overflow:visible;}
.hero .hero-video{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.12}
.hero h1{font-size:clamp(32px,5vw,56px); line-height:1.08; margin:0; font-weight:900; letter-spacing:-.5px}
.hero .grad{background-image:linear-gradient(92deg,var(--purple),var(--blue)); -webkit-background-clip:text; background-clip:text; color:transparent}
.hero p{max-width:820px; margin:16px auto 0; color:var(--muted); font-size:18px}
.hero-ctas{margin-top:28px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap}

/* Type helpers */
.h2{font-size:28px; font-weight:800; margin:0 0 28px}
.h2.tight{margin-bottom:14px}
.h3{margin:0; font-size:18px}
.lead{font-size:18px}
.bold{font-weight:700}
.about-copy{max-width:860px; margin:0 auto}
.about-cards{margin-top:28px}

/* Buttons */
.btn{display:inline-block; padding:14px 24px; font-weight:700; border-radius:var(--r-lg); border:1px solid transparent; cursor:pointer; box-shadow:var(--shadow-sm); transition:transform .18s ease, box-shadow .18s ease; text-decoration:none}
.btn.primary{background:linear-gradient(135deg,var(--purple),var(--blue)); color:#fff}
.btn.primary:hover{transform:translateY(-2px) scale(1.01); box-shadow:0 14px 36px rgba(124,58,237,.35)}
.btn.ghost{background:var(--card); color:var(--text); border:1px solid var(--border)}
.btn.ghost:hover{transform:translateY(-2px) scale(1.01); box-shadow:0 14px 36px rgba(59,130,246,.28)}

/* Cards & grids */
.grid{display:grid; gap:18px}
.g-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.card{border-radius:var(--r-lg); background:var(--card); border:1px solid var(--border); box-shadow:0 10px 40px rgba(124,58,237,.18); overflow:hidden}
.card.pad{padding:24px}
.muted{color:var(--muted)}

/* Services: 3/2 layout on desktop */
.services-grid{display:grid; gap:18px; grid-template-columns:1fr;}
@media (min-width:700px){ .services-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (min-width:1024px){
  .services-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); justify-items:center; }
  .services-grid > .card{ width:100%; max-width:340px; }
}

/* Reveal animation */
[data-animate]{opacity:0; transform:translateY(26px) scale(.98); transition:opacity .6s ease, transform .6s ease}
[data-animate].show{opacity:1; transform:translateY(0) scale(1)}

/* Portfolio thumbnails — minimal YouTube style */
.tile{ position:relative; border-radius:16px; overflow:hidden; background:#0a0d16; box-shadow:0 10px 30px rgba(0,0,0,.25); transition:transform .25s ease, box-shadow .25s ease, filter .25s ease }
.tile img{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block }
.tile::after{ content:""; position:absolute; inset:auto 0 0 0; height:44%; background:linear-gradient(180deg,rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 70%); transition:opacity .25s ease }
.tile footer{ position:absolute; left:16px; bottom:14px; display:flex; flex-direction:column; align-items:flex-start; gap:6px; background:transparent; color:#fff; text-align:left; text-shadow:0 2px 8px rgba(0,0,0,.6); pointer-events:none }
.tile footer span:first-child{ font-size:18px; font-weight:800; line-height:1.1; letter-spacing:.2px }
.tile footer span:last-child{ font-size:12px; font-weight:600; opacity:.9; background:rgba(255,255,255,.12); padding:4px 8px; border-radius:999px; transition:background .2s ease, transform .2s ease, opacity .2s ease }
.tile:hover{ transform:translateY(-4px); box-shadow:0 16px 40px rgba(124,58,237,.25); filter:saturate(1.05) }
.tile:hover::after{ opacity:.95 }
.tile:hover footer span:last-child{ background:rgba(255,255,255,.2) }

/* CTA */
.cta-wrap{background:linear-gradient(135deg, rgba(124,58,237,0.12), rgba(59,130,246,0.12)); border:1px solid var(--border); border-radius:var(--r-lg); box-shadow:var(--shadow-md); padding:28px}
.cta-actions{margin-top:16px}

/* Footer */
footer.site{padding:36px 24px; border-top:1px solid var(--border); text-align:center; color:var(--muted)}

/* ===== Modal Video ===== */
.modal-open{ overflow:hidden; }

.modal{
  position: fixed; inset: 0;
  display: none; place-items: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
}
.modal.open{ display: grid; }

.modal__backdrop{ position:absolute; inset:0; }

.modal__dialog{
  position: relative;
  width: min(92vw, 1080px);
  border-radius: 16px;
  background: #0b0f19;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  overflow: hidden;
}

/* 16:9 responsive video frame */
.video-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-wrap iframe{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Close button */
.modal__close{
  position: absolute; top: 8px; right: 8px;
  appearance: none; border: 0; outline: 0;
  background: rgba(255,255,255,.1);
  color: #fff; font-size: 16px; line-height: 1;
  padding: 8px 10px; border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.modal__close:hover{ background: rgba(255,255,255,.2); transform: scale(1.06); }
/* --- Floating blobs: fixed so they never create hard section lines --- */
.blobs{ position:fixed; inset:0; pointer-events:none; z-index:-1; }

.blob{
  position:fixed;
  width:46vmax; height:46vmax;
  border-radius:50%;
  filter: blur(42px);
  opacity:.75;
  mix-blend-mode: screen;
  animation: floaty 16s ease-in-out infinite;
}
@keyframes floaty{
  0%{ transform:translateY(0) }
  50%{ transform:translateY(-10px) }
  100%{ transform:translateY(0) }
}

/* placements + hues */
.blob.b1{
  top:-22vmax; left:-10vmax;
  background: radial-gradient(circle at 30% 30%, rgba(124,58,237,.35), transparent 60%);
}
.blob.b2{
  top:-18vmax; right:-12vmax;
  background: radial-gradient(circle at 60% 40%, rgba(59,130,246,.30), transparent 60%);
  animation-duration: 18s;
}
.blob.b3{
  bottom:-26vmax; left:-16vmax;
  background: radial-gradient(circle at 40% 60%, rgba(37,99,235,.22), transparent 60%);
  animation-duration: 20s;
}
/* --- Project tiles: tidy spacing, contrast, and alignment --- */
.grid.g-2{ gap:24px; }                 /* a bit more breathing room */

.tile{
  border-radius:16px;
  overflow:hidden;
  background:#0a0d16;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.tile img{
  display:block;
  width:100%;
  aspect-ratio:16/9;                   /* consistent height */
  object-fit:cover;
}

/* shorter gradient so more of the image shows */
.tile::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:38%;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.58) 85%);
  pointer-events:none;
}

.tile footer{
  position:absolute; left:18px; bottom:16px;
  display:flex; flex-direction:column; gap:6px; align-items:flex-start;
  color:#fff; text-shadow:0 2px 8px rgba(0,0,0,.6);
  pointer-events:none;
}

.tile footer span:first-child{         /* Title */
  font-size:20px;
  font-weight:800;
  letter-spacing:.2px;
  line-height:1.15;
}

.tile footer span:last-child{          /* Play pill */
  font-size:12px; font-weight:700;
  background:rgba(255,255,255,.14);
  padding:4px 9px; border-radius:999px;
  opacity:.95; transform:translateZ(0);
  transition:background .2s ease, opacity .2s ease;
}

/* hover polish */
.tile:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 42px rgba(124,58,237,.25);
  filter:saturate(1.06);
}
.tile:hover footer span:last-child{ background:rgba(255,255,255,.22); }

/* focus accessibility (keyboard) */
.tile:focus-visible{
  outline:3px solid rgba(124,58,237,.6);
  outline-offset:2px;
  border-radius:16px;
}

.more-work {
	margin: 10%;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;         /* keeps text on top */
  opacity: 0.25;       /* optional: soften so text pops */
}
/* --- Hero background via <img> with safe z-index --- */
.hero {
  position: relative;
  overflow: hidden;
  height: 92vh;
  min-height: 70svh; /* iOS-friendly viewport unit */
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0 !important;       /* key: not negative */
  pointer-events: none;
  -webkit-transform: translateZ(0); /* iOS paint nudge */
  opacity: 0.35;                /* adjust to taste */
}

/* Keep hero content above the image */
.hero .row {
  position: relative;
  z-index: 1;
}

/* If you ever uncomment the video, keep it above the image */
.hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* same layer as image; only one should be present at a time */
  opacity: 0.25;
}

.blobs, .page-auras { z-index: -1; }  /* they stay behind the hero image */

/* --- HERO: force the JPG as background safely --- */
.hero{
  position: relative;
  overflow: hidden;
  height: 92vh;
  min-height: 70svh; /* mobile-friendly viewport */
  /* Order: gradient on top of image for readability */
  background:
    linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.38)),
    url("/images/r5p-hero.jpg") center / cover no-repeat !important;
}

/* Ensure hero content sits above background */
.hero .row{ position: relative; z-index: 1; }

/* If a video exists, keep it hidden while using the image */
.hero .hero-video{ display: none !important; }

/* Make sure ambient layers (blobs/auras) sit behind the hero */
.blobs, .page-auras{ z-index: -1 !important; pointer-events: none; }

/* Contact form */
.contact-form {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.hp { display:none !important; } /* honeypot */

.form-grid{
  display:grid;
  gap:14px;
  grid-template-columns: 1fr;
  margin-top: 12px;
}

@media (min-width:740px){
  .form-grid{ grid-template-columns: 1fr 1fr; }
  .form-grid .span-2{ grid-column: 1 / -1; }
}

.field label{
  display:block;
  font-size:13px;
  font-weight:700;
  color: var(--muted);
  margin-bottom:6px;
  letter-spacing:.2px;
}

.field input,
.field textarea,
.select-wrap{
  width:100%;
  border-radius: 12px;
  border:1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size:16px;
  padding: 12px 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.field textarea{
  resize: vertical;
  min-height: 140px;
}

/* Custom select */
.select-wrap{
  position:relative;
  padding:0;
}
.select-wrap select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  border:0;
  background:transparent;
  color:var(--text);
  font-size:16px;
  padding:12px 42px 12px 14px;
  width:100%;
  outline:none;
}
.select-wrap .chev{
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  pointer-events:none; color:var(--muted); font-size:14px;
}

/* Focus states */
.field input:focus,
.field textarea:focus,
.select-wrap:focus-within{
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,.25);
}

/* Impact button */
.btn-impact{
  display:inline-block;
  margin-top:18px;
  padding: 16px 28px;
  font-weight: 900;
  letter-spacing:.2px;
  border-radius: 999px;
  border: 0;
  color:#fff;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 16px 40px rgba(124,58,237,.35), inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  cursor: pointer;
}
.btn-impact:hover{ transform: translateY(-2px); filter:saturate(1.05); }
.btn-impact:active{ transform: translateY(0); box-shadow: 0 8px 24px rgba(124,58,237,.28); }

.form-note{ margin-top:10px; font-size:13px; }

/* Validation hint (optional) */
.field input:invalid:focus,
.field textarea:invalid:focus,
.select-wrap:has(select:invalid):focus-within{
  border-color:#ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.25);
}

/* Layout wrapper to echo the reference (white card on colored bg) */
.contact-wrap{ padding: 72px 0 96px; }
.contact-card{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  overflow:hidden;
}

/* Left illustration area */
.contact-illustration{
  background: linear-gradient(180deg, rgba(124,58,237,.10), rgba(59,130,246,.12));
  display:grid;
  place-items:center;
  padding: 40px;
}

/* Right form pane */
.contact-pane{
  padding: 40px 34px;
  background:#fff;
  color:#0b0f19;
}

/* Form base */
.contact-form{ max-width: 520px; }
.hp{ display:none !important; }
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Accessibly hide labels but keep them for screenreaders */
.vh{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* Fields */
.field{ position:relative; }
.field input,
.field textarea,
.select-wrap{
  width:100%;
  border:1px solid #e3e6ef;
  background:#f5f7fb;
  color:#0b0f19;
  font-size:16px;
  padding: 14px 14px 14px 44px; /* leave room for icon */
  border-radius: 14px;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea{ padding-left:14px; min-height:120px; resize:vertical; }

/* Select */
.select-wrap{ padding:0; background:#f5f7fb; }
.select-wrap select{
  width:100%; border:0; background:transparent; outline:none;
  padding:14px 44px 14px 14px; font-size:16px; color:#0b0f19;
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
}
.select-wrap .chev{ position:absolute; right:14px; top:50%; transform:translateY(-50%); color:#7b8198; }

/* Icons inside inputs (simple inline SVG data URIs) */
.field::before{
  content:""; position:absolute; left:14px; top:50%; transform:translateY(-50%);
  width:18px; height:18px; opacity:.55; pointer-events:none;
  background-size:18px 18px; background-repeat:no-repeat;
}
.icon-name::before    { background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%237b8198" viewBox="0 0 24 24"><path d="M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-4 0-8 2-8 5v1h16v-1c0-3-4-5-8-5Z"/></svg>'); }
.icon-company::before { background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%237b8198" viewBox="0 0 24 24"><path d="M3 21V5a2 2 0 0 1 2-2h7v6h7v12h-4v-5H7v5H3Zm4-7h6V5H5v9Z"/></svg>'); }
.icon-email::before   { background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%237b8198" viewBox="0 0 24 24"><path d="M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 4-8 5L4 8V6l8 5 8-5v2Z"/></svg>'); }
.icon-phone::before   { background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%237b8198" viewBox="0 0 24 24"><path d="M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11 11 0 0 0 3.5.56 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A16 16 0 0 1 3 8a1 1 0 0 1 1-1h3.43a1 1 0 0 1 1 1 11 11 0 0 0 .55 3.5 1 1 0 0 1-.25 1Z"/></svg>'); }
.icon-type::before    { background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%237b8198" viewBox="0 0 24 24"><path d="M4 4h16v2H4zm0 7h16v2H4zm0 7h16v2H4z"/></svg>'); }
.icon-message::before { display:none; } /* textarea has no left icon */

/* Focus */
.field input:focus, .field textarea:focus, .select-wrap:focus-within{
  background:#fff;
  border-color:#cdd3e6;
  box-shadow: 0 0 0 3px rgba(124,58,237,.18);
}

/* Send button */
.btn-impact.block{ width:100%; margin-top:18px; padding:16px 0; font-size:16px; }

/* Responsive: stack card on mobile */
@media (max-width: 900px){
  .contact-card{ grid-template-columns: 1fr; }
  .contact-illustration{ padding:24px; }
  .contact-pane{ padding:28px 22px; }
  .form-grid{ grid-template-columns:1fr; }
  .btn-impact.block{ width:100%; }
}

/* ===== BRANDS (Flat, no glow) ===== */
.brands{
  padding:72px 0;
  background:linear-gradient(135deg, rgba(18,22,36,1) 0%, rgba(28,32,48,1) 100%);
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}

/* one tidy row on desktop; shrinks columns responsively */
.brand-row{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
  gap:40px;
  align-items:center;
  justify-items:center;
  list-style:none;
  margin:0;
  padding:0;
}

/* logos start muted; no glow on hover */
.brand-row img{
  max-width:160px;
  height:auto;
  opacity:.82;
  filter:grayscale(1) brightness(.9) contrast(1.05);
  transition:filter .28s ease, opacity .28s ease, transform .28s ease;
}
.brand-row img:hover{
  filter:none;
  opacity:1;
  transform:translateY(-3px);
}

/* responsive tweaks */
@media (max-width:900px){
  .brand-row{ gap:28px; }
  .brand-row img{ max-width:120px; }
}
@media (max-width:600px){
  .brand-row{ gap:20px; }
  .brand-row img{ max-width:100px; }
}
/* ===== Featured Productions — Final, Clean Styles ===== */

/* Small copy under heading */
.section-lead{
  margin:-10px 0 24px;
  opacity:.85;
}

/* Base carousel (mobile / tablet) */
.video-carousel{ position:relative; }
.reel{ position:relative; } /* wrapper that holds arrows on desktop */

.carousel{
  position:relative;
  display:grid;                 /* arrows are absolutely positioned */
  grid-template-columns: 1fr;
}
.carousel-track{
  overflow:hidden;
  scroll-behavior:smooth;
  display:flex;
  gap:24px;
  padding:0;
  background:transparent;
}

/* Slides: big, swipeable cards on small screens */
.slide{
  flex:0 0 90%;
  max-width:720px;
}
@media (min-width:700px){
  .slide{ flex-basis:62%; }
}

/* Keep using your tile visuals */
.tile.panel{ cursor:pointer; }
.panel-text{ margin-top:10px; text-align:left; }
.panel-title{ margin:0 0 4px; font-size:18px; font-weight:800; color:var(--text); }
.panel-subtitle{ margin:0; font-size:14px; color:var(--muted); }

/* Arrows (base) */
.carousel-btn{
  appearance:none; border:0;
  width:38px; height:38px; border-radius:999px;
  display:grid; place-items:center; cursor:pointer;
  background:rgba(255,255,255,.10); color:#fff;
  box-shadow:var(--shadow-sm);
  transition:transform .18s ease, background .18s ease;
}
.carousel-btn:hover{ background:rgba(255,255,255,.16); transform:translateY(-1px); }
.carousel-btn:disabled{ opacity:.35; cursor:default; transform:none; }

/* Dots */
.carousel-dots{
  display:flex; justify-content:center; gap:10px; margin-top:14px;
}
.carousel-dots button{
  width:9px; height:9px; border-radius:50%; border:0;
  background:rgba(255,255,255,.32);
  transition:opacity .18s ease, transform .18s ease;
}
.carousel-dots button[aria-current="true"]{
  background:#fff; transform:none;
}

/* ===== Desktop Hero (>=1024px): one cinematic card ===== */
@media (min-width:1024px){

  /* Glassy band behind the card */
  .video-carousel .reel{
    max-width:1180px;
    margin:16px auto 10px;
    padding:22px 64px;                 /* room for arrows */
    border-radius:18px;
    background:rgba(16,20,34,.55);
    border:1px solid rgba(255,255,255,.06);
    box-shadow:0 18px 48px rgba(0,0,0,.35);
    backdrop-filter:blur(4px);
  }

  /* One slide fills the wrapper */
  .video-carousel .carousel-track{
    gap:26px;
    padding:0 !important;
    background:transparent !important;
  }
  .video-carousel .slide{
    flex:0 0 100% !important;
    max-width:100% !important;
  }

  /* Card polish */
  .video-carousel .tile{
    border-radius:20px;
    overflow:hidden;
    background:#0a0d16;
    box-shadow:0 12px 36px rgba(0,0,0,.35);
  }
  .video-carousel .tile img{
    display:block; width:100%;
    aspect-ratio:16/9; object-fit:cover;
  }

  /* Hide caption text on the hero card (image-only) */
  .video-carousel .tile footer,
  .video-carousel .panel-text{ display:none !important; }

  /* Minimal white arrows over band edges */
  .video-carousel .carousel-btn{
    position:absolute; z-index:3;
    top:50%; transform:translateY(-50%);
    width:42px; height:42px; border-radius:999px;
    background:rgba(255,255,255,.82); color:#111; border:0;
    box-shadow:0 6px 18px rgba(0,0,0,.2);
  }
  .video-carousel .carousel-btn.prev{ left:16px; }
  .video-carousel .carousel-btn.next{ right:16px; }
  .video-carousel .carousel-btn:hover{ transform:translateY(-50%) scale(1.04); }

  /* Understated dots */
  .video-carousel .carousel-dots{ margin-top:12px; }
}

/* Featured Productions: contrasting section band */
.video-carousel{
  position: relative;
  padding: 96px 0; /* keep your section rhythm */
  background:
    radial-gradient(1200px 400px at 50% -120px, rgba(124,58,237,.10), transparent 60%),
    linear-gradient(180deg, #0e1426 0%, #121a2e 100%);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}



/* ==== Patch: model Featured after Portfolio & fix mobile arrows ==== */
.tile{ display:block; } /* anchors behave like cards */
.video-carousel .reel{ position:relative; }
.video-carousel .carousel-btn{ position:absolute; z-index:3; top:50%; transform:translateY(-50%); width:40px; height:40px; border-radius:999px; background:rgba(255,255,255,.9); color:#111; border:0; box-shadow:0 6px 18px rgba(0,0,0,.25); }
.video-carousel .carousel-btn.prev{ left:8px; }
.video-carousel .carousel-btn.next{ right:8px; }
@media (min-width:1024px){ .video-carousel .carousel-btn{ width:42px; height:42px; } }
.video-carousel .carousel-track{ padding:0 8px; }



/* === Brand Row: force vertical stack on mobile === */
@media (max-width: 768px) {
  .brand-row{
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  .brand-row > li{
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .brand-row img{
    max-width: 120px;
    height: auto;
    opacity: .92;
  }
}
