/* ============================================================
   DEVISUALS — GLOBAL STYLES (REVAMP)
   Dark cinematic theme · Bricolage Grotesque (display) + Manrope (body)
   Readability pass: higher muted-text contrast, thicker captions,
   stronger overlays behind white text on media.
   ============================================================ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Manrope:wght@200..800&display=swap');

/* Reset + design tokens */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:       #000000;
  --bg-2:     #0A0A0A;
  --bg-3:     #121212;
  --bg-4:     #181818;
  --ink:      #FFFFFF;
  --ink-soft: #D6D6D9;   /* was B5B5B8 — bumped for readability */
  --ink-mute: #8A8A8E;   /* was 6E6E72 — bumped for readability */
  --red:      #EE2428;
  --red-hi:   #FF3B3F;   /* brighter red for hover/emphasis */
  --red-deep: #C71D21;
  --line:     #262626;   /* was 1F1F1F — slightly lighter for edge visibility */
  --line-2:   #333333;
  --wa:       #25D366;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* Section rhythm */
.section { padding: 120px 48px; }
.container { max-width: 1320px; margin: 0 auto; }

/* Section tag (kicker) — bumped weight + contrast */
.section-tag {
  font-size: 11.5px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.section-tag::before { content:""; width: 24px; height: 1px; background: var(--red); }

/* Display headings — Bricolage Grotesque */
h1, h2, h3, h4 { font-family: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif; font-weight: 500; letter-spacing: -0.5px; }
em { font-style: italic; color: var(--red); font-weight: 500; }
strong { color: var(--ink); font-weight: 600; }

/* Body copy defaults — READABILITY PASS: slightly larger + higher contrast */
p { font-size: 17px; color: var(--ink-soft); line-height: 1.75; }
.lede { font-size: 19px; color: var(--ink-soft); line-height: 1.7; max-width: 720px; }

/* Small labels — bumped weight so they don't disappear */
.caption {
  font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
}

/* Text on media (video/image overlays) — drop shadow for legibility */
.text-on-media {
  text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.6);
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: linear-gradient(180deg, rgba(0,0,0,0.88), rgba(0,0,0,0));
  transition: background 0.3s, backdrop-filter 0.3s;
}
.nav.nav-scrolled {
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-logo img { height: 24px; width: auto; display: block; }
.nav-links {
  display: flex; gap: 34px;
  font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
}
.nav-links a { color: var(--ink-soft); transition: color 0.2s; position: relative; padding: 6px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: -6px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--red);
  transform: translateX(-50%);
}
.nav-cta {
  background: var(--red); color: #fff;
  font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
  padding: 12px 24px; border-radius: 30px;
  border: 1px solid var(--red);
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(238,36,40,0.35);
}
.nav-cta:hover { background: var(--red-hi); border-color: var(--red-hi); }

/* Hamburger + mobile drawer */
.nav-toggle {
  display: none; background: transparent; border: 0;
  width: 40px; height: 40px; cursor: pointer; padding: 0;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  z-index: 51;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff;
  border-radius: 1px; transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { padding: 16px 22px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; top: 0; right: -100%; left: auto;
    width: min(400px, 100vw); height: 100vh;
    background: rgba(0,0,0,0.98); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 30px; font-size: 18px;
    padding: 60px 30px;
    border-left: 1px solid var(--line);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 49;
  }
  .nav-links.is-open { right: 0; }
  body.menu-open { overflow: hidden; }
}

/* ============ BUTTONS ============ */
.btn-red, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px; border-radius: 40px;
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700;
  transition: all 0.2s; cursor: pointer;
  border: 1px solid transparent;
}
.btn-red { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 6px 24px rgba(238,36,40,0.4); }
.btn-red:hover { background: var(--red-hi); border-color: var(--red-hi); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-outline:hover { background: #fff; color: #000; border-color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.14); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--red); border-color: var(--red); }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg); padding: 100px 48px 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  max-width: 1320px; margin: 0 auto 70px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 60px;
}
.footer-brand .footer-logo { display: block; margin-bottom: 24px; }
.footer-brand .footer-logo img { height: 28px; width: auto; }
.footer-brand p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.75; max-width: 320px; }
.footer-col h5 {
  font-size: 11.5px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 700; margin-bottom: 24px;
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; }
.footer-col a { font-size: 14.5px; color: var(--ink-soft); transition: color 0.2s; }
.footer-col a:hover { color: var(--red-hi); }
.contact-line { font-size: 14.5px; color: var(--ink); margin-bottom: 12px; }
.contact-line small {
  display: block; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 4px; font-weight: 600;
}
.contact-line a { color: var(--ink); transition: color 0.2s; }
.contact-line a:hover { color: var(--red-hi); }
.footer-bottom {
  max-width: 1320px; margin: 0 auto;
  border-top: 1px solid var(--line); padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--ink-mute);
}
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); transition: all 0.2s;
}
.footer-bottom .socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-bottom .socials svg { width: 14px; height: 14px; fill: currentColor; }

@media (max-width: 900px) {
  .section { padding: 80px 22px; }
  .footer { padding: 80px 22px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 18px; text-align: center; }
}

/* ============ SCROLL ANIMATIONS ============ */
.anim-fade-up, .anim-fade-left, .anim-fade-right, .anim-zoom-in {
  opacity: 0; will-change: opacity, transform;
  transition: opacity 0.9s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}
.anim-fade-up { transform: translateY(36px); }
.anim-fade-left { transform: translateX(-50px); }
.anim-fade-right { transform: translateX(50px); }
.anim-zoom-in { transform: scale(0.94); }
.is-visible { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .anim-fade-up, .anim-fade-left, .anim-fade-right, .anim-zoom-in {
    opacity: 1; transform: none; transition: none;
  }
}

/* ============ SHOWREEL MODAL ============ */
.showreel-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.98);
  backdrop-filter: blur(14px); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.showreel-modal.is-open { opacity: 1; visibility: visible; }
.showreel-modal .sr-frame {
  position: relative; width: min(92vw, 1400px); aspect-ratio: 16/9;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.showreel-modal.is-open .sr-frame { transform: scale(1); }
.showreel-modal .sr-frame iframe,
.showreel-modal .sr-frame video {
  width: 100%; height: 100%; border: 0; border-radius: 10px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
}
.showreel-modal .sr-close {
  position: fixed; top: 24px; right: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 28px; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(10px);
  transition: all 0.2s ease; z-index: 1001;
}
.showreel-modal .sr-close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }
body.showreel-open { overflow: hidden; }
body.showreel-open .nav { display: none; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.98); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-img-wrap {
  position: relative; max-width: 92vw; max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.96); transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.lightbox.is-open .lightbox-img-wrap { transform: scale(1); }
.lightbox-img {
  max-width: 100%; max-height: 88vh; object-fit: contain;
  border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: fixed; top: 24px; right: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 24px; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(10px);
  transition: all 0.2s ease; z-index: 1001;
}
.lightbox-close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(10px);
  transition: all 0.2s ease; z-index: 1001;
}
.lightbox-nav:hover { background: var(--red); border-color: var(--red); }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-nav svg { width: 20px; height: 20px; fill: currentColor; }
.lightbox-counter {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.6); font-weight: 600;
  background: rgba(0,0,0,0.5); padding: 10px 20px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08); z-index: 1001;
}
body.lightbox-open { overflow: hidden; }
body.lightbox-open .nav { display: none; }
[data-lightbox] img { cursor: zoom-in; }

@media (max-width: 700px) {
  .lightbox-close { top: 16px; right: 16px; width: 44px; height: 44px; }
  .lightbox-nav { width: 46px; height: 46px; }
  .lightbox-nav.prev { left: 12px; }
  .lightbox-nav.next { right: 12px; }
}

/* ============ HERO VIDEO BACKGROUND (shared) ============ */
.hero-video {
  position: absolute; top: 50%; left: 50%;
  width: max(100%, 177.78vh); height: max(56.25%, 100vh);
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none; z-index: 0;
  object-fit: cover;
}
.hero-bg.has-video { background: #000 !important; overflow: hidden; }
.hero-bg.has-video::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.65) 45%,
    rgba(0,0,0,0.90) 100%);
  pointer-events: none; z-index: 1;
}

/* ===== Display tuning for Bricolage Grotesque =====
   Sans-serif italic is subtle; boost the em with weight + slight color shift */
h1, h2 { font-weight: 500; letter-spacing: -1.5px; }
h3 { font-weight: 500; letter-spacing: -0.5px; }
h4 { font-weight: 500; letter-spacing: -0.3px; }
em { font-style: italic; color: var(--red); font-weight: 500; }
h1 em, h2 em { font-weight: 400; }
