/* ===========================================================
   OMG PRODUCTIONS — brand tokens (v2: dark / cinematic / high-contrast)
   Black #1D1D1E · Cream #EDE6D5 · Red #DD312C · Blue #2460DE
   Display: Barlow Condensed (bold italic) — stands in for the
   brand's custom condensed-italic wordmark face.
   Body: Barlow — stands in for Acumin Variable Concept.
=========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;0,900;1,700;1,800;1,900&family=Barlow:ital,wght@0,400;0,500;1,400;1,500&family=Changa:wght@600;700;800&display=swap');

:root {
  --bg: #0A0A0B;         /* base page background — near black */
  --bg-panel: #151516;   /* raised panel / card background */
  --bg-panel-2: #1D1D1E; /* brand black, used for slightly lighter panels */
  --line: #2c2c2d;       /* hairline borders on dark */
  --ink: #EDE6D5;        /* primary text on dark — brand cream/beige */
  --muted: #8f8b7f;      /* secondary text on dark */
  --cream: #EDE6D5;
  --red: #DD312C;
  --blue: #2460DE;
  --white: #FFFFFF;
  --black: #0A0A0B;

  --display: 'Barlow Condensed', sans-serif;
  --display-ar: 'Changa', sans-serif;
  --body: 'Barlow', sans-serif;

  --nav-h: 80px;
  --container: 1280px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Signature element: the filmstrip strip ---------- */
.pennant { --fw: 130px; position: relative; display: inline-block; }
.pennant::after {
  content: ''; position: absolute; left: 0; bottom: -16px; width: var(--fw); height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14'%3E%3Cmask id='m'%3E%3Crect width='22' height='14' fill='white'/%3E%3Crect x='5' y='2' width='10' height='10' rx='3' fill='black'/%3E%3C/mask%3E%3Crect width='22' height='14' fill='%23DD312C' mask='url(%23m)'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 22px 14px;
}
.pennant-divider {
  height: 18px; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='18'%3E%3Cmask id='m2'%3E%3Crect width='22' height='18' fill='white'/%3E%3Crect x='5' y='3' width='10' height='12' rx='3' fill='black'/%3E%3C/mask%3E%3Crect width='22' height='18' fill='%23DD312C' mask='url(%23m2)'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 22px 18px;
}

.eyebrow {
  font-family: var(--display); font-style: italic; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; font-size: 13px; color: var(--red);
}

h1, h2, h3, h4 {
  font-family: var(--display); font-style: italic; font-weight: 900;
  line-height: .88; margin: 0; text-transform: uppercase; letter-spacing: -.01em;
  color: var(--cream);
  overflow-wrap: break-word; word-break: break-word;
}

h1 { font-size: clamp(56px, 9.5vw, 148px); }
h2 { font-size: clamp(40px, 6vw, 84px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); }

@media (max-width: 480px) {
  h1 { font-size: clamp(30px, 10.5vw, 56px); }
  h2 { font-size: clamp(24px, 8.5vw, 40px); }
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em; font-size: 15px;
  padding: 15px 32px; border: 2px solid var(--white); border-radius: 2px;
  background: transparent; color: var(--cream); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }
.btn.solid { background: var(--red); border-color: var(--red); color: var(--cream); }
.btn.solid:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn.on-dark { border-color: var(--ink); color: var(--ink); }
.btn.on-dark:hover { background: var(--ink); color: var(--black); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  background: rgba(10,10,11,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 100; display: flex; align-items: center;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav .logo img { height: 60px; width: auto; }
.nav-links { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--display); font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; font-size: 15px;
  color: var(--ink); position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--red); transition: width .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 6px 0; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { max-height: 400px; }
  .nav-links a { display: block; padding: 18px 32px; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; padding-top: var(--nav-h); background: var(--black); color: var(--ink);
  display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero-grain {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 25%, rgba(221,49,44,.28), transparent 55%),
              radial-gradient(circle at 15% 85%, rgba(36,96,222,.14), transparent 50%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero h1 { color: var(--cream); text-shadow: 0 4px 60px rgba(0,0,0,.6); }
.hero h1 em { color: var(--red); font-style: italic; }
.hero-cta { margin-top: 40px; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-reel-count {
  position: absolute; right: 32px; bottom: 44px; z-index: 2;
  text-align: right; color: var(--muted); font-size: 13px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .12em;
}
.hero-reel-count strong { display: block; font-size: 56px; color: var(--cream); font-style: italic; text-shadow: 0 0 40px rgba(221,49,44,.5); }

@media (max-width: 860px) {
  .hero-reel-count {
    position: static; margin-top: 28px; text-align: left;
  }
  .hero-reel-count strong { font-size: 40px; }
}

.hero-quiet { align-items: flex-end; padding-bottom: 100px; }
.hero-photo { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-photo video { width: 100%; height: 100%; object-fit: cover; }
.hero-photo iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw; /* 16:9 */
  min-height: 100%; min-width: 177.78vh; /* 16:9 */
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
}
.hero-photo .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #1a1a1b, #000);
  color: #55524a; font-family: var(--display); font-style: italic; font-size: 15px;
  text-transform: uppercase; letter-spacing: .06em; text-align: center; padding: 0 40px;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.7) 100%);
}
.hero-quiet .wrap { padding-top: 0; padding-bottom: 0; }
.hero-quiet .hero-cta { margin-top: 26px; }

.founder-note {
  margin: 34px 0; padding: 26px 30px; border-left: 4px solid var(--red);
  background: var(--bg-panel);
}
.founder-note p { font-size: 18px; font-style: italic; color: var(--ink); }
.founder-name {
  display: block; margin-top: 12px; font-family: var(--display); font-style: italic;
  font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 13px; color: var(--red);
}
.founder-note-photo { display: flex; gap: 22px; align-items: center; padding: 22px; }
.founder-note-photo img { width: 100px; height: 120px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
@media (max-width: 560px) { .founder-note-photo { flex-direction: column; align-items: flex-start; } .founder-note-photo img { width: 90px; height: 108px; } }

/* ---------- Section shell ---------- */
section { padding: 130px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 60px; flex-wrap: wrap; }
.section-head p { max-width: 420px; color: var(--muted); }

.section-dark { background: var(--bg-panel-2); }

/* ---------- Vision & Mission ---------- */
.vision-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.vision-mission p { font-size: 19px; color: var(--ink); max-width: 480px; }
@media (max-width: 800px) { .vision-mission { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Highlights ---------- */
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.highlight-card {
  background: var(--bg-panel); border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: 2px; padding: 30px 26px;
}
.hl-num {
  display: block; font-family: var(--display); font-style: italic; font-weight: 900;
  font-size: 34px; color: var(--red); text-transform: uppercase; margin-bottom: 10px;
}
.highlight-card p { color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .highlights-grid { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 2px; padding: 28px 26px; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.service-card:hover { border-color: var(--red); transform: translateY(-4px); }
.service-card h4 { font-family: var(--display); font-style: italic; font-size: 21px; text-transform: uppercase; color: var(--cream); margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.about-copy { font-size: 19px; color: var(--ink); }
.about-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; margin-top: 48px; max-width: 420px; }
.stat strong { display: block; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 48px; color: var(--red); text-shadow: 0 0 30px rgba(221,49,44,.35); }
.stat span { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Featured reel ---------- */
.reel-frame {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: #000; border-radius: 4px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; color: var(--muted);
  background: repeating-linear-gradient(135deg, #101010, #101010 14px, #161616 14px, #161616 28px);
}
.play-dot {
  width: 82px; height: 82px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 0; position: relative; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(221,49,44,.5); transition: box-shadow .3s var(--ease), transform .2s var(--ease);
}
.play-dot:hover { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(221,49,44,.12); }
.play-dot::after {
  content: ''; width: 0; height: 0; border-style: solid;
  border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.reel-caption { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; flex-wrap: wrap; gap: 12px; }
.reel-caption h3 { color: var(--cream); }
.reel-nav { display: flex; gap: 10px; }
.reel-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer; font-family: var(--display);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.reel-nav button:hover { border-color: var(--red); color: var(--red); }

/* ---------- Category strip ---------- */
.cat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: 4px;
  padding: 30px 22px; text-align: left; transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.cat-card:hover { transform: translateY(-8px); border-color: var(--red); background: #1a1414; }
.cat-card .count { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 40px; color: var(--red); }
.cat-card h4 { font-size: 17px; margin-top: 8px; color: var(--cream); }

@media (max-width: 900px) { .cat-strip { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .cat-strip { grid-template-columns: 1fr; } }

/* ---------- Team (kept for future use) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { position: relative; aspect-ratio: 3/4; border-radius: 4px; overflow: hidden; background: var(--bg-panel); }
.team-card .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-style: italic; font-size: 15px; color: var(--muted);
  background: linear-gradient(160deg, #1d1d1e, #0e0e0e);
}
.team-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; background: linear-gradient(0deg, rgba(0,0,0,.9), transparent); color: var(--cream); }
.team-info strong { display: block; font-family: var(--display); font-style: italic; font-size: 18px; text-transform: uppercase; }
.team-info span { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2,1fr); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: var(--cream); padding: 100px 0; text-align: center; }
.cta-band h2 { color: var(--cream); }
.cta-band p { max-width: 520px; margin: 22px auto 36px; color: #ffe0de; font-size: 18px; }
.cta-band .btn { border-color: var(--cream); color: var(--cream); }
.cta-band .btn:hover { background: var(--white); color: var(--red); }

/* ---------- Footer ---------- */
footer { background: var(--black); color: var(--muted); padding: 70px 0 32px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-top img { height: 64px; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--display); font-style: italic; text-transform: uppercase; color: var(--ink); font-size: 14px; margin: 0 0 16px; letter-spacing: .06em; }
.footer-col a, .footer-col span { display: block; font-size: 14px; margin-bottom: 9px; color: var(--muted); }
.footer-col a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 28px; font-size: 12.5px; flex-wrap: wrap; gap: 10px; }

/* ---------- Work page ---------- */
.page-hero { padding: calc(var(--nav-h) + 80px) 0 70px; background: var(--black); color: var(--ink); }
.page-hero p { max-width: 560px; color: var(--muted); margin-top: 20px; font-size: 18px; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; padding: 44px 0 0; }
.filter-btn {
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: 14px; letter-spacing: .04em; padding: 11px 24px; border-radius: 2px;
  border: 2px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: all .2s var(--ease);
}
.filter-btn.active, .filter-btn:hover { background: var(--red); border-color: var(--red); color: var(--cream); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 55px 0 110px; }
.work-card {
  display: block; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.work-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,.5); border-color: var(--red); }
.work-thumb { aspect-ratio: 16/9; background: #050505; position: relative; display: flex; align-items: center; justify-content: center; }
.work-thumb .play-dot { width: 56px; height: 56px; }
.work-thumb .play-dot::after { border-width: 10px 0 10px 16px; }
.work-tag {
  position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff;
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 11px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 2px; letter-spacing: .05em;
}
.work-body { padding: 20px 22px 24px; }
.work-body h4 { font-family: var(--display); font-style: italic; font-size: 20px; text-transform: uppercase; margin: 0 0 4px; color: var(--cream); }
.work-body span { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.work-body h4.ar-title {
  font-family: var(--display-ar); font-style: normal; font-weight: 700; text-transform: none;
  text-align: right; letter-spacing: 0; font-size: 21px; line-height: 1.4;
}

.coming-soon-badge {
  background: var(--red); color: var(--cream);
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 15px; text-transform: uppercase;
  padding: 12px 28px; border-radius: 30px; letter-spacing: .04em;
}

@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Clients page ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 55px 0 110px; }
.client-card {
  aspect-ratio: 3/2; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-panel);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-style: italic; font-size: 16px; color: var(--muted);
  text-transform: uppercase; transition: border-color .2s var(--ease);
}
.client-card:hover { border-color: var(--red); }
@media (max-width: 900px) { .clients-grid { grid-template-columns: repeat(2,1fr); } }

.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 60px; }
.logo-card {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: 4px;
  aspect-ratio: 3/2; display: flex; align-items: center; justify-content: center;
  padding: 24px; transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.logo-card:hover { border-color: var(--red); transform: translateY(-4px); }
.logo-card img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-card.text-only {
  font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase;
  font-size: 15px; letter-spacing: .03em; color: var(--muted); text-align: center;
}
.logo-card.logo-card-photo {
  background: var(--white); padding: 16px;
  border-top: 3px solid var(--red); border-left-color: var(--line); border-right-color: var(--line); border-bottom-color: var(--line);
}
.logo-card.logo-card-photo:hover { border-top-color: var(--red); box-shadow: 0 10px 28px rgba(221,49,44,.18); }
.logo-card.logo-card-photo img { border-radius: 2px; }
.logo-card.logo-card-photo.text-only { color: var(--bg-panel-2); }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (max-width: 600px) { .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .logo-card { padding: 16px; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 74px; padding: 55px 0 120px; }
.contact-info h3 { margin-bottom: 8px; color: var(--cream); }
.contact-info .block { margin-bottom: 36px; }
.contact-info a.link { color: var(--red); }
.field { margin-bottom: 22px; }
.field label {
  display: block; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 9px; color: var(--muted);
}
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--bg-panel); border-radius: 2px;
  padding: 14px 16px; font-family: var(--body); font-size: 15px; color: var(--ink); resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #55524a; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 2px; border-color: var(--red); }
.form-status { margin-top: 16px; font-size: 14px; min-height: 20px; }
.form-status.success { color: #7FBF7F; }
.form-status.error { color: var(--red); }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red); outline-offset: 3px;
}
