/* ==========================================================================
   OUT OF THE BOX FILMS — design system
   Display: Lobster (marquee/wordmark use only) · Body: Roboto
   ========================================================================== */

:root{
  --ink:        #0b0b0c;   /* true cinema black, slightly warm */
  --panel:      #161513;   /* card / raised surface */
  --panel-2:    #1e1c19;   /* deeper card variant */
  --line:       #2c2823;   /* hairline dividers */
  --gold:       #f7a832;   /* brand primary */
  --gold-dim:   #c9861f;   /* hover / pressed */
  --gold-soft:  rgba(247,168,50,.14);
  --ivory:      #f5efe4;   /* primary text on dark */
  --muted:      #9a938a;   /* secondary text */
  --muted-2:    #6b6459;   /* tertiary / captions */

  --font-display: 'Lobster', cursive;
  --font-body: 'Roboto', -apple-system, Segoe UI, sans-serif;

  --container-max: 1280px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection{ background: var(--gold); color: #16130a; }

a{ color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover{ color: var(--ivory); }

.container-xl{ max-width: var(--container-max); margin-inline: auto; padding-inline: 24px; }

h1,h2,h3,h4,
.font-display{ font-family: var(--font-display); font-weight: 400; letter-spacing: .5px; }

/* subtle warm film-grain overlay, fixed, behind content */
.grain{
  position: fixed; inset: 0; pointer-events: none; z-index: 2; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------------------------------------------------------------------- */
/* Signature element: 35mm sprocket rail                                   */
/* ---------------------------------------------------------------------- */
.sprocket-rail{
  height: 22px;
  width: 100%;
  background:
    repeating-linear-gradient(90deg,
      var(--gold) 0 10px,
      transparent 10px 26px);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 26px);
  position: relative;
  opacity: .9;
}
.sprocket-rail::before{
  content:"";
  position:absolute; inset:0;
  background: repeating-linear-gradient(90deg,
      transparent 0 3px, var(--ink) 3px 7px, transparent 7px 10px, transparent 10px 26px);
}
.sprocket-strip{
  display:flex; align-items:center; gap:14px; padding:10px 0; background:var(--ink);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line); overflow:hidden
}
.sprocket-strip .hole{
  width:9px; height:13px; border-radius:3px; background:var(--gold); flex:0 0 auto; opacity:.85;
}

/* ---------------------------------------------------------------------- */
/* Eyebrow / slate label                                                   */
/* ---------------------------------------------------------------------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-body); font-weight:700; font-size:.72rem;
  letter-spacing:3px; text-transform:uppercase; color: var(--gold);
}
.eyebrow::before{
  content:""; width:22px; height:2px; background:var(--gold); display:inline-block;
}

/* ---------------------------------------------------------------------- */
/* Navbar                                                                   */
/* ---------------------------------------------------------------------- */
.navbar-ootb{
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(11,11,12,.92), rgba(11,11,12,0));
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.navbar-ootb.is-scrolled{
  background: rgba(11,11,12,.92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.navbar-ootb .wrap{ display:flex; align-items:center; justify-content:space-between; }
.brand{
  font-family: var(--font-display); font-size: 1.7rem; color: var(--ivory); line-height:1;
  display:flex; align-items:center; gap:12px;
}
.brand img{ height:44px; width:auto; display:block; }
.brand small{
  font-family: var(--font-body); font-size:.6rem; letter-spacing:3px; color:var(--gold);
  display:block; font-weight:700; margin-top:2px;
}
.footer .brand img{ height:52px; }
.nav-links{ display:flex; align-items:center; gap:38px; list-style:none; margin:0; padding:0; }
.nav-links a{
  font-size:.78rem; letter-spacing:2.5px; text-transform:uppercase; color:var(--ivory);
  font-weight:500; position:relative; padding-bottom:6px;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0; background:var(--gold);
  transition:width .3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after{ width:100%; }
.nav-links a.active{ color:var(--gold); }
.nav-cta{
  border:1px solid var(--gold); color:var(--gold) !important; padding:9px 20px; border-radius:2px;
  font-size:.72rem; letter-spacing:2px;
}
.nav-cta:hover{ background:var(--gold); color:var(--ink) !important; }
.nav-toggle{
  display:none; background:none; border:1px solid var(--line); width:44px; height:44px; border-radius:2px;
  color: var(--ivory); align-items:center; justify-content:center;
}

@media (max-width: 991.98px){
  .nav-links{
    position: fixed; inset:0 0 0 auto; width:min(78vw,340px); height:100vh;
    background: var(--panel); flex-direction:column; align-items:flex-start; justify-content:center;
    gap:26px; padding: 40px; transform: translateX(100%); transition: transform .4s ease;
    border-left:1px solid var(--line); z-index:1001;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-toggle{ display:inline-flex; }
  .nav-scrim{
    position:fixed; inset:0; background:rgba(0,0,0,.55); opacity:0; pointer-events:none; transition:opacity .3s ease; z-index:999;
  }
  .nav-scrim.open{ opacity:1; pointer-events:auto; }
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                  */
/* ---------------------------------------------------------------------- */
.btn-gold{
  background: var(--gold); color:#171208; border:1px solid var(--gold);
  padding: 14px 34px; font-size:.78rem; letter-spacing:2.5px; text-transform:uppercase; font-weight:700;
  border-radius:2px; display:inline-flex; align-items:center; gap:12px; transition:.25s ease;
}
.btn-gold:hover{ background:transparent; color:var(--gold); transform: translateY(-2px); }
.btn-outline-ootb{
  background:transparent; color:var(--ivory); border:1px solid rgba(245,239,228,.35);
  padding:14px 34px; font-size:.78rem; letter-spacing:2.5px; text-transform:uppercase; font-weight:700;
  border-radius:2px; display:inline-flex; align-items:center; gap:12px; transition:.25s ease;
}
.btn-outline-ootb:hover{ border-color:var(--gold); color:var(--gold); }

/* ---------------------------------------------------------------------- */
/* Section rhythm                                                          */
/* ---------------------------------------------------------------------- */
.section{ padding: 110px 0; position: relative; }
.section-tight{ padding: 70px 0; }
.section-title{ font-size: clamp(2.1rem, 4vw, 3.2rem); color:var(--ivory); margin: 14px 0 20px; }
.section-lede{ color:var(--muted); font-size:1.05rem; max-width: 620px; }
.bg-panel{ background: var(--panel); }
.divider{ height:1px; background:var(--line); width:100%; }

/* reveal-on-scroll */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------------------------------------------------------------------- */
/* Hero (home) — mosaic grid backdrop                                      */
/* ---------------------------------------------------------------------- */
.hero{
  position: relative; min-height: 100vh; display:flex; align-items:center; justify-content:center;
  overflow:hidden; background: var(--ink);
}
.hero-grid{
  position:absolute; inset:0; display:grid;
  grid-template-columns: repeat(10, 1fr); grid-auto-rows: 1fr; gap:3px; opacity:.55;
  animation: gridDrift 70s linear infinite;
}
.hero-grid img{ width:100%; height:100%; object-fit:cover; filter: grayscale(25%) brightness(.62) saturate(1.05); display:block; }
@media (max-width: 767.98px){
  .hero-grid{ grid-template-columns: repeat(5, 1fr); }
}
@keyframes gridDrift{ 0%{ transform: scale(1.08) translateY(0);} 100%{ transform: scale(1.08) translateY(-2%);} }
.hero-veil{
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse at center, rgba(11,11,12,.15) 0%, rgba(11,11,12,.88) 68%, var(--ink) 100%),
    linear-gradient(to bottom, rgba(11,11,12,.65) 0%, rgba(11,11,12,.15) 30%, rgba(11,11,12,.75) 100%);
}
.hero-content{ position:relative; z-index:3; text-align:center; padding: 0 20px; }
.hero-content .eyebrow{ justify-content:center; margin-bottom: 22px; }
.hero-wordmark{
  font-family: var(--font-display); color: var(--ivory);
  font-size: clamp(3rem, 9vw, 7.2rem); line-height: 1; margin: 0;
  text-shadow: 0 10px 60px rgba(0,0,0,.6);
}
.hero-wordmark span{ color: var(--gold); }
.hero-sub{
  max-width: 720px; margin: 26px auto 40px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.25rem);
}
.hero-actions{ display:flex; gap:18px; justify-content:center; flex-wrap:wrap; }
.hero-scroll{
  position:absolute; bottom: 34px; left:50%; transform:translateX(-50%); z-index:3;
  display:flex; flex-direction:column; align-items:center; gap:10px; color:var(--muted-2);
  font-size:.68rem; letter-spacing:3px; text-transform:uppercase;
}
.hero-scroll .line{ width:1px; height:40px; background:linear-gradient(var(--gold), transparent); animation:scrollLine 1.8s ease infinite; }
@keyframes scrollLine{ 0%{opacity:0; transform:scaleY(0); transform-origin:top;} 40%{opacity:1; transform:scaleY(1); transform-origin:top;} 100%{opacity:0; transform:scaleY(1); transform-origin:bottom;} }

/* ---------------------------------------------------------------------- */
/* Pillars / services — "reels"                                            */
/* ---------------------------------------------------------------------- */
.reel-card{
  border:1px solid var(--line); background: var(--panel); padding: 44px 34px; height:100%;
  position:relative; overflow:hidden; transition: border-color .3s ease, transform .3s ease;
}
.reel-card:hover{ border-color: var(--gold); transform: translateY(-6px); }
.reel-num{ font-family: var(--font-body); font-weight:700; color:var(--muted-2); font-size:.78rem; letter-spacing:2px; }
.reel-card h3{ font-family:var(--font-display); font-size:1.7rem; color:var(--ivory); margin: 16px 0 12px; }
.reel-card p{ color: var(--muted); font-size:.95rem; margin-bottom:0; }
.reel-ring{
  position:absolute; right:-30px; top:-30px; width:120px; height:120px; border-radius:50%;
  border: 10px solid rgba(247,168,50,.08);
}

/* ---------------------------------------------------------------------- */
/* Stats bar                                                                */
/* ---------------------------------------------------------------------- */
.stat{ text-align:center; padding: 10px 12px; }
.stat .num{ font-family: var(--font-display); font-size: clamp(2.2rem,4vw,3.4rem); color:var(--gold); line-height:1; }
.stat .label{ font-size:.72rem; letter-spacing:2.5px; text-transform:uppercase; color:var(--muted); margin-top:10px; }

/* ---------------------------------------------------------------------- */
/* Featured work strip                                                     */
/* ---------------------------------------------------------------------- */
.work-scroll{ display:flex; gap:22px; overflow-x:auto; padding: 10px 4px 30px; scroll-snap-type:x mandatory; }
.work-scroll::-webkit-scrollbar{ height:5px; }
.work-scroll::-webkit-scrollbar-thumb{ background:var(--gold); }
.work-scroll::-webkit-scrollbar-track{ background:var(--line); }
.work-card{
  position:relative; flex: 0 0 auto; width: 340px; aspect-ratio: 4/5; border-radius:2px; overflow:hidden;
  scroll-snap-align:start; border:1px solid var(--line);
}
.work-card img{ width:100%; height:100%; object-fit:cover; transition: transform .6s ease; filter: grayscale(20%) brightness(.75); }
.work-card:hover img{ transform: scale(1.08); filter: grayscale(0%) brightness(.9); }
.work-card .tag{ position:absolute; top:16px; left:16px; font-size:.65rem; letter-spacing:2px; text-transform:uppercase; color:var(--gold); background: rgba(11,11,12,.7); padding:6px 12px; border:1px solid var(--gold); }
.work-card .cap{
  position:absolute; left:0; right:0; bottom:0; padding: 24px 20px;
  background: linear-gradient(to top, rgba(11,11,12,.95), transparent);
}
.work-card .cap h4{ font-family:var(--font-display); color:var(--ivory); font-size:1.25rem; margin:0 0 4px; }
.work-card .cap span{ color:var(--muted); font-size:.8rem; }
.work-card .play{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .3s ease;
}
.work-card:hover .play{ opacity:1; }
.play-btn{
  width:58px; height:58px; border-radius:50%; border:1.5px solid var(--gold); color:var(--gold);
  display:flex; align-items:center; justify-content:center; background: rgba(11,11,12,.55);
}

/* ---------------------------------------------------------------------- */
/* Clients marquee                                                         */
/* ---------------------------------------------------------------------- */
.marquee{ overflow:hidden; position:relative; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.marquee-track{ display:flex; gap:70px; width:max-content; animation: marquee 32s linear infinite; padding: 30px 0; }
.marquee:hover .marquee-track{ animation-play-state: paused; }
.marquee-track span{ font-family: var(--font-body); font-weight:700; letter-spacing:2px; text-transform:uppercase; color: var(--muted-2); font-size:1rem; white-space:nowrap; }
@keyframes marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* ---------------------------------------------------------------------- */
/* CTA band                                                                 */
/* ---------------------------------------------------------------------- */
.cta-band{
  background: linear-gradient(120deg, var(--panel), var(--ink));
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding: 90px 0; text-align:center;
}
.cta-band h2{ font-size: clamp(1.9rem,4vw,3rem); }
.cta-band p{ color:var(--muted); max-width:560px; margin: 0 auto 34px; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */
.footer{ background: var(--ink); padding: 70px 0 26px; }
.footer .brand{ margin-bottom: 16px; }
.footer p{ color: var(--muted); font-size:.9rem; }
.footer h5{ font-size:.72rem; letter-spacing:2.5px; text-transform:uppercase; color:var(--gold); margin-bottom:20px; font-family:var(--font-body); font-weight:700; }
.footer ul{ list-style:none; padding:0; margin:0; }
.footer ul li{ margin-bottom:12px; }
.footer ul li a{ color:var(--muted); font-size:.92rem; }
.footer ul li a:hover{ color:var(--gold); }
.social-row{ display:flex; gap:12px; margin-top: 18px; }
.social-row a{
  width:38px; height:38px; border:1px solid var(--line); border-radius:50%; display:flex; align-items:center;
  justify-content:center; color:var(--ivory);
}
.social-row a:hover{ border-color:var(--gold); color:var(--gold); }
.footer-bottom{ border-top:1px solid var(--line); margin-top:50px; padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; color:var(--muted-2); font-size:.82rem; }

/* ---------------------------------------------------------------------- */
/* Page header (inner pages)                                                */
/* ---------------------------------------------------------------------- */
.page-header{
  padding: 190px 0 90px; position:relative; overflow:hidden;
  background: radial-gradient(ellipse at top, rgba(247,168,50,.08), transparent 60%), var(--ink);
  border-bottom: 1px solid var(--line);
}
.page-header .eyebrow{ margin-bottom:18px; }
.page-header h1{ font-size: clamp(2.4rem,5.5vw,4.4rem); color:var(--ivory); }
.crumb{ color:var(--muted); font-size:.85rem; }
.crumb .sep{ margin: 0 8px; color: var(--muted-2); }

/* ---------------------------------------------------------------------- */
/* Showreel page                                                            */
/* ---------------------------------------------------------------------- */
.reel-hero{
  position:relative; border-radius: 2px; overflow:hidden; border:1px solid var(--line); aspect-ratio: 16/8;
}
.reel-hero img{ width:100%; height:100%; object-fit:cover; filter:brightness(.6) grayscale(15%); }
.reel-hero .center-play{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:18px;
}
.center-play .circle{
  width:96px; height:96px; border-radius:50%; border:1.5px solid var(--gold); display:flex; align-items:center;
  justify-content:center; color:var(--gold); background:rgba(11,11,12,.5); transition:.25s ease;
}
.reel-hero:hover .circle{ background:var(--gold); color:#171208; transform:scale(1.06); }
.center-play span{ font-size:.75rem; letter-spacing:3px; text-transform:uppercase; color:var(--ivory); }

.filter-row{ display:flex; gap:12px; flex-wrap:wrap; }
.filter-btn{
  border:1px solid var(--line); background:transparent; color:var(--muted); padding: 10px 22px;
  font-size:.75rem; letter-spacing:2px; text-transform:uppercase; border-radius: 30px; transition:.2s ease;
}
.filter-btn:hover{ border-color:var(--gold); color:var(--ivory); }
.filter-btn.active{ background:var(--gold); border-color:var(--gold); color:#171208; }

.vid-card{ position:relative; overflow:hidden; border:1px solid var(--line); border-radius:2px; cursor:pointer; }
.vid-card .thumb{ position:relative; aspect-ratio:16/10; overflow:hidden; }
.vid-card .thumb img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; filter:brightness(.7); }
.vid-card:hover .thumb img{ transform:scale(1.07); filter:brightness(.85); }
.vid-card .thumb .play{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
}
.vid-card .thumb .play .play-btn{ width:52px; height:52px; }
.vid-card .body{ padding: 20px 22px; background:var(--panel); }
.vid-card .body .cat{ font-size:.66rem; letter-spacing:2px; text-transform:uppercase; color:var(--gold); }
.vid-card .body h4{ font-family:var(--font-display); font-size:1.25rem; margin:8px 0 0; color:var(--ivory); }

.modal-ootb .modal-content{ background: #000; border:1px solid var(--line); }
.modal-ootb .btn-close{ filter: invert(1); opacity:1; }
.ratio-video{ background:#000; }
.ratio-video video{ object-fit: contain; background:#000; }

/* ---------------------------------------------------------------------- */
/* About page                                                               */
/* ---------------------------------------------------------------------- */
.portrait-frame{ position:relative; border:1px solid var(--line); padding:14px; }
.portrait-frame img{ width:100%; display:block; filter: grayscale(30%); aspect-ratio: 4/5; object-fit:cover; }
.portrait-frame .corner{ position:absolute; width:26px; height:26px; border: 2px solid var(--gold); }
.portrait-frame .tl{ top:-1px; left:-1px; border-right:0; border-bottom:0; }
.portrait-frame .br{ bottom:-1px; right:-1px; border-left:0; border-top:0; }

.value-card{ padding: 34px 8px; border-top: 2px solid var(--gold); }
.value-card h4{ font-family: var(--font-display); font-size:1.5rem; margin: 14px 0 10px; }
.value-card p{ color:var(--muted); font-size:.92rem; }

.quote-block{
  border-left: 2px solid var(--gold); padding-left: 28px; font-family: var(--font-display);
  font-size: clamp(1.4rem,2.6vw,2rem); color: var(--ivory); line-height:1.5;
}

/* ---------------------------------------------------------------------- */
/* Contact page                                                             */
/* ---------------------------------------------------------------------- */
.info-card{
  display:flex; gap:18px; align-items:flex-start; padding: 26px; border:1px solid var(--line);
  background: var(--panel); margin-bottom: 18px;
}
.info-card .icon{
  width:48px; height:48px; border:1px solid var(--gold); color:var(--gold); border-radius:50%;
  display:flex; align-items:center; justify-content:center; flex:0 0 auto;
}
.info-card h5{ font-size:.78rem; letter-spacing:2px; text-transform:uppercase; color: var(--gold); margin-bottom:8px; font-weight:700;}
.info-card p{ margin:0; color:var(--ivory); font-size:.95rem; }

.form-ootb label{ font-size:.72rem; letter-spacing:2px; text-transform:uppercase; color:var(--muted); margin-bottom:8px; display:block; }
.form-ootb .form-control, .form-ootb .form-select{
  background: var(--panel); border:1px solid var(--line); color:var(--ivory); border-radius:2px;
  padding: 14px 16px; font-size:.95rem;
}
.form-ootb .form-control:focus, .form-ootb .form-select:focus{
  background: var(--panel); color:var(--ivory); border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft);
}
.form-ootb .form-control::placeholder{ color: var(--muted-2); }
.map-frame{ border:1px solid var(--line); filter: grayscale(1) invert(.92) contrast(.9); height: 260px; width:100%; }

/* ---------------------------------------------------------------------- */
/* Utilities                                                                */
/* ---------------------------------------------------------------------- */
.text-muted-ootb{ color: var(--muted) !important; }
.text-gold{ color: var(--gold) !important; }
@media (max-width: 767.98px){
  .section{ padding: 74px 0; }
  .work-card{ width: 260px; }
}
