/* ============================================================
   ELITE CAPTURE FILMS — DESIGN SYSTEM
   Palette pulled from brand logo: signal red, near-black, warm cream
   Type: Bebas Neue (display, flyer/poster energy) + Inter (body)
   ============================================================ */

:root{
  --red: #D20C0D;
  --red-dark: #A50909;
  --red-glow: rgba(210,12,13,0.35);
  --black: #0A0A0A;
  --ink: #171512;
  --cream: #FAF7F2;
  --cream-deep: #F0E6D6;
  --paper: #FFFDF9;
  --grey-600: #6b665f;
  --grey-400: #a39d92;
  --line: rgba(10,10,10,0.1);
  --line-on-dark: rgba(255,255,255,0.14);

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);

  --container: 1240px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
    scroll-behavior:auto !important;
  }
}

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ list-style:none; margin:0; padding:0; }

::selection{ background:var(--red); color:#fff; }

/* ---------- Custom scrollbar ---------- */
html{
  scrollbar-width:thin;
  scrollbar-color:var(--red) var(--cream);
}
::-webkit-scrollbar{ width:11px; height:11px; }
::-webkit-scrollbar-track{ background:var(--cream); }
::-webkit-scrollbar-thumb{
  background:var(--red);
  border-radius:100px;
  border:2.5px solid var(--cream);
}
::-webkit-scrollbar-thumb:hover{ background:var(--red-dark); }

/* ---------- Custom cursor ---------- */
@media (hover:hover) and (pointer:fine){
  body{ cursor:none; }
  .cursor-dot, .cursor-ring{
    position:fixed;
    top:0; left:0;
    pointer-events:none;
    z-index:9999;
    border-radius:50%;
    transform:translate(-50%,-50%);
    will-change:transform;
  }
  .cursor-dot{
    width:7px; height:7px;
    background:var(--red);
    transition:opacity .2s;
  }
  .cursor-ring{
    width:34px; height:34px;
    border:1.5px solid var(--red);
    opacity:0.55;
    transition:width .25s var(--ease-out), height .25s var(--ease-out), opacity .25s, border-color .25s, background .25s;
  }
  .cursor-ring.hovering{
    width:56px; height:56px;
    opacity:0.9;
    background:rgba(210,12,13,0.08);
  }
  .cursor-ring.pressing{ width:26px; height:26px; }
}
@media (hover:none), (pointer:coarse){
  .cursor-dot, .cursor-ring{ display:none; }
}

:focus-visible{
  outline:3px solid var(--red);
  outline-offset:3px;
  border-radius:2px;
}

.wrap{
  max-width:var(--container);
  margin:0 auto;
  padding:0 32px;
}
@media (max-width:640px){
  .wrap{ padding:0 20px; }
}

/* ---------- Typography ---------- */
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:400;
  letter-spacing:0.01em;
  line-height:0.94;
  margin:0;
}
.h1{ font-size:clamp(3.2rem, 8vw, 7.2rem); }
.h2{ font-size:clamp(2.4rem, 5.4vw, 4.4rem); }
.h3{ font-size:clamp(1.6rem, 3vw, 2.2rem); }

p{ margin:0; }
.lede{
  font-size:clamp(1.05rem, 1.6vw, 1.3rem);
  line-height:1.55;
  color:var(--grey-600);
  max-width:52ch;
}

.kicker{
  font-family:var(--font-body);
  font-weight:600;
  font-size:0.8rem;
  letter-spacing:0.14em;
  color:var(--red);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.kicker::before{
  content:'';
  width:22px;
  height:2px;
  background:var(--red);
  display:inline-block;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:15px 30px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:0.95rem;
  border-radius:100px;
  border:2px solid transparent;
  position:relative;
  overflow:hidden;
  transition:transform .45s var(--ease-spring), box-shadow .35s var(--ease-out);
}
.btn-primary{
  background:var(--red);
  color:#fff;
  box-shadow:0 8px 24px -8px var(--red-glow);
}
.btn-primary:hover{
  transform:translateY(-3px) scale(1.02);
  box-shadow:0 14px 32px -10px var(--red-glow);
}
.btn-primary:active{ transform:translateY(-1px) scale(0.99); }

.btn-ghost{
  background:transparent;
  border-color:currentColor;
}
.btn-ghost:hover{
  background:var(--ink);
  color:var(--cream);
  transform:translateY(-3px);
}
.btn-ghost.on-dark{ color:#fff; }
.btn-ghost.on-dark:hover{ background:#fff; color:var(--black); }

.btn svg{ width:16px; height:16px; transition:transform .4s var(--ease-out); }
.btn:hover svg{ transform:translateX(4px); }

/* ---------- Section rhythm ---------- */
section{ position:relative; }
.section-pad{ padding:120px 0; }
@media (max-width:900px){ .section-pad{ padding:80px 0; } }

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
  margin-bottom:64px;
}
@media (max-width:760px){
  .section-head{ flex-direction:column; align-items:flex-start; gap:20px; }
}

/* ---------- Sprocket / filmstrip motif ---------- */
.sprocket-rule{
  display:flex;
  align-items:center;
  gap:14px;
  height:18px;
  overflow:hidden;
}
.sprocket-rule span{
  width:9px;
  height:9px;
  border-radius:2px;
  background:var(--ink);
  opacity:0.15;
  flex:none;
}
.sprocket-rule.on-dark span{ background:#fff; opacity:0.22; }

/* ---------- Nav ---------- */
.site-nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:100;
  padding:22px 0;
  color:#fff;
  transition:padding .4s var(--ease-out), background .4s var(--ease-out), box-shadow .4s var(--ease-out), color .4s var(--ease-out);
}
.site-nav.scrolled{
  padding:14px 0;
  background:rgba(250,247,242,0.86);
  backdrop-filter:blur(14px) saturate(1.4);
  box-shadow:0 1px 0 var(--line);
  color:var(--ink);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.nav-logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-size:1.5rem;
  letter-spacing:0.02em;
}
.nav-logo img{ height:36px; width:auto; transition:transform .5s var(--ease-spring); }
.nav-logo:hover img{ transform:rotate(-8deg) scale(1.08); }

.nav-links{
  display:flex;
  align-items:center;
  gap:8px;
}
.nav-links a{
  padding:10px 16px;
  font-size:0.92rem;
  font-weight:500;
  border-radius:100px;
  position:relative;
  transition:color .3s;
}
.nav-links a::after{
  content:'';
  position:absolute;
  left:16px; right:16px; bottom:6px;
  height:2px;
  background:var(--red);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .35s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after{ transform:scaleX(1); }
.nav-links a.active{ color:var(--red); }

.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-burger{
  display:none;
  width:44px; height:44px;
  border-radius:50%;
  border:1.5px solid currentColor;
  opacity:0.9;
  background:none;
  color:inherit;
  align-items:center;
  justify-content:center;
}
@media (max-width:860px){
  .nav-links{ display:none; }
  .nav-burger{ display:flex; }
}

/* mobile menu */
.mobile-menu{
  position:fixed;
  inset:0;
  z-index:200;
  background:var(--black);
  color:#fff;
  display:flex;
  flex-direction:column;
  padding:28px 28px 40px;
  transform:translateY(-100%);
  transition:transform .55s var(--ease-in-out);
}
.mobile-menu.open{ transform:translateY(0); }
.mobile-menu-top{ display:flex; justify-content:space-between; align-items:center; }
.mobile-menu-close{
  width:44px; height:44px; border-radius:50%;
  border:1.5px solid rgba(255,255,255,0.25);
  background:none; color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.mobile-links{ margin-top:48px; display:flex; flex-direction:column; gap:4px; }
.mobile-links a{
  font-family:var(--font-display);
  font-size:2.6rem;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,0.1);
  display:flex; justify-content:space-between; align-items:center;
}
.mobile-menu-foot{ margin-top:auto; display:flex; flex-direction:column; gap:14px; }

/* ---------- Footer ---------- */
.site-footer{
  background:var(--black);
  color:var(--cream);
  padding:90px 0 34px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:56px;
  border-bottom:1px solid var(--line-on-dark);
}
@media (max-width:800px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:520px){
  .footer-grid{ grid-template-columns:1fr; }
}
.footer-logo{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-size:1.6rem; margin-bottom:16px; }
.footer-logo img{ height:38px; }
.footer-col h4{
  font-family:var(--font-body);
  font-size:0.78rem;
  letter-spacing:0.12em;
  font-weight:600;
  color:var(--red);
  margin-bottom:18px;
}
.footer-col a, .footer-col p{
  display:block;
  color:rgba(250,247,242,0.72);
  font-size:0.94rem;
  padding:6px 0;
  transition:color .25s, transform .25s;
}
.footer-col a:hover{ color:#fff; transform:translateX(4px); }
.footer-bottom{
  padding-top:28px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  font-size:0.82rem;
  color:rgba(250,247,242,0.45);
}
.social-row{ display:flex; gap:10px; margin-top:18px; }
.social-row a{
  width:40px; height:40px;
  border-radius:50%;
  border:1px solid var(--line-on-dark);
  display:flex; align-items:center; justify-content:center;
  transition:background .3s, transform .3s var(--ease-spring), border-color .3s;
}
.social-row a:hover{ background:var(--red); border-color:var(--red); transform:translateY(-4px) rotate(-6deg); }
.social-row svg{ width:17px; height:17px; }

/* ---------- Reveal-on-scroll base ---------- */
[data-reveal]{ opacity:0; will-change:transform, opacity; }
[data-reveal].is-visible{ opacity:1; }
/* safety net: if JS never runs, content must still be visible */
.no-js [data-reveal]{ opacity:1 !important; transform:none !important; clip-path:none !important; filter:none !important; }

/* ---------- Misc shared components ---------- */
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  border-radius:100px;
  border:1px solid var(--line);
  font-size:0.82rem;
  font-weight:500;
}
.pill .dot{ width:7px; height:7px; border-radius:50%; background:var(--red); }

.divider-diag{
  height:70px;
  background:var(--cream);
  clip-path:polygon(0 100%, 100% 0, 100% 100%);
}

.marquee{
  overflow:hidden;
  border-top:1px solid var(--line-on-dark);
  border-bottom:1px solid var(--line-on-dark);
  background:var(--black);
  padding:22px 0;
}
.marquee-track{
  display:flex;
  width:max-content;
  animation:marquee 32s linear infinite;
  gap:0;
}
.marquee-track span{
  font-family:var(--font-display);
  font-size:1.9rem;
  color:rgba(250,247,242,0.9);
  padding:0 28px;
  display:flex;
  align-items:center;
  gap:28px;
  letter-spacing:0.02em;
  white-space:nowrap;
}
.marquee-track span i{
  width:8px;height:8px;border-radius:50%;background:var(--red); font-style:normal; display:inline-block;
}
@keyframes marquee{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

.back-to-top{
  position:fixed;
  right:24px; bottom:24px;
  width:52px; height:52px;
  border-radius:50%;
  background:var(--ink);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  z-index:60;
  opacity:0; visibility:hidden; transform:translateY(12px) scale(0.8);
  transition:opacity .35s, transform .45s var(--ease-spring), visibility .35s;
  box-shadow:0 10px 24px -8px rgba(0,0,0,0.35);
}
.back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0) scale(1); }
.back-to-top:hover{ background:var(--red); transform:translateY(-4px) scale(1.05); }
.back-to-top svg{ width:20px; height:20px; }

.page-hero-simple{
  min-height:100svh;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:96px 0 60px;
  background:var(--black);
  color:#fff;
  position:relative;
  overflow:hidden;
}
