:root {
  --bg: #07090d;
  --bg-raised: #0d1117;
  --panel: #10151d;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eaeef4;
  --muted: #939db0;
  --accent: #3be9ff;
  --accent-dim: rgba(59, 233, 255, 0.14);
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Manrope", "Segoe UI", sans-serif;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: var(--accent);
  color: #05171b;
}

/* ---------- type ---------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 14px;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.section-heading {
  font-size: clamp(44px, 6vw, 72px);
  margin: 14px 0 0;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 30px;
  transform: skewX(-12deg);
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn > span {
  display: inline-block;
  transform: skewX(12deg);
}

.btn:hover {
  background: var(--accent);
  color: #05171b;
  box-shadow: 0 0 34px rgba(59, 233, 255, 0.35);
}

.btn.solid {
  background: var(--accent);
  color: #05171b;
}

.btn.solid:hover {
  box-shadow: 0 0 44px rgba(59, 233, 255, 0.5);
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 9, 13, 0.62);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img {
  height: 26px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.current {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.current::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 22px;
  font-size: 11px;
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.nav-burger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.nav-burger span:nth-child(1) { top: 13px; }
.nav-burger span:nth-child(2) { top: 19px; }
.nav-burger span:nth-child(3) { top: 25px; }

body.menu-open .nav-burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px;
    background: rgba(7, 9, 13, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  body.menu-open .nav-links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-link { font-size: 15px; padding: 10px 0; }
  .nav-cta { margin-top: 10px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media,
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.55) 0%, rgba(7, 9, 13, 0.25) 40%, var(--bg) 98%),
    radial-gradient(90% 60% at 20% 90%, rgba(59, 233, 255, 0.16), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 110px;
  width: 100%;
}

.hero-title {
  font-size: clamp(64px, 10vw, 148px);
}

.hero-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(234, 238, 244, 0.75);
}

.hero-sub {
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: 0.08em;
  max-width: 560px;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-eq {
  position: absolute;
  right: 24px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
  opacity: 0.9;
}

.hero-eq i {
  width: 3px;
  background: var(--accent);
  animation: eq 1.1s ease-in-out infinite;
}

.hero-eq i:nth-child(1) { animation-delay: 0s;    height: 40%; }
.hero-eq i:nth-child(2) { animation-delay: 0.15s; height: 90%; }
.hero-eq i:nth-child(3) { animation-delay: 0.3s;  height: 60%; }
.hero-eq i:nth-child(4) { animation-delay: 0.45s; height: 100%; }
.hero-eq i:nth-child(5) { animation-delay: 0.6s;  height: 50%; }
.hero-eq i:nth-child(6) { animation-delay: 0.75s; height: 80%; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-eq i { animation: none; }
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding: 190px 0 70px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 80% 0%, rgba(59, 233, 255, 0.09), transparent 65%);
}

.page-hero .container {
  position: relative;
}

/* ---------- sections ---------- */

.section {
  padding: 110px 0;
}

.section.tight {
  padding: 70px 0;
}

.section-head {
  margin-bottom: 54px;
}

/* ---------- client logos ---------- */

.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.logo-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 28px;
  min-height: 120px;
  transition: background 0.3s ease;
}

.logo-cell:hover {
  background: var(--accent-dim);
}

.logo-cell img {
  max-height: 40px;
  width: auto;
  max-width: 78%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.62;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.logo-cell:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1.2);
}

@media (max-width: 860px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- featured (AC Mirage) ---------- */

.feature {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-media {
  position: absolute;
  inset: 0;
}

.feature-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 9, 13, 0.92) 15%, rgba(7, 9, 13, 0.45) 60%, rgba(7, 9, 13, 0.2));
}

.feature .container {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 140px;
}

.feature-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 18px;
}

.feature h2 {
  font-size: clamp(52px, 7vw, 96px);
}

.feature-actions {
  margin-top: 34px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- work grid ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.work-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  cursor: pointer;
  aspect-ratio: 16 / 9;
  padding: 0;
  text-align: left;
  color: var(--text);
  font-family: var(--body);
  display: block;
  width: 100%;
}

.work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.6s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(7, 9, 13, 0.9));
}

.work-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.15);
}

.work-card-info {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  z-index: 2;
}

.work-card-assoc {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.work-card-title {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.work-card-play {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 9, 13, 0.4);
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.work-card-play svg {
  width: 14px;
  height: 14px;
  fill: var(--text);
  margin-left: 2px;
}

.work-card:hover .work-card-play {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

.work-card:hover .work-card-play svg {
  fill: #05171b;
}

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

/* ---------- awards ---------- */

.awards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.award {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 34px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.award:hover {
  border-color: rgba(59, 233, 255, 0.45);
  transform: translateY(-4px);
}

.award img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  flex: none;
}

.award p {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.6;
}

.award p strong {
  color: var(--accent);
  display: block;
  font-size: 15px;
}

/* ---------- testimonial ---------- */

.quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-family: var(--display);
  font-size: 110px;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.85;
}

.quote blockquote {
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
  margin-top: 26px;
}

.quote figcaption {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.quote figcaption img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* ---------- video cards (commercials) ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.video-card {
  background: var(--panel);
  border: 1px solid var(--line);
}

.video-card .frame {
  position: relative;
  padding-top: 56.25%;
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card figcaption {
  padding: 18px 22px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-card figcaption span {
  display: block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-top: 2px;
}

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

/* ---------- poster grid (films & tv) ---------- */

.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.poster {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  aspect-ratio: 2 / 3;
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.poster:hover img {
  transform: scale(1.06);
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 65%, rgba(7, 9, 13, 0.75));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.poster:hover::after {
  opacity: 1;
}

@media (max-width: 960px) {
  .poster-grid { grid-template-columns: repeat(3, 1fr); }
}

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

/* ---------- contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 70px;
  align-items: start;
}

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

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  padding: 16px 18px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  border-radius: 0;
}

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

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 233, 255, 0.14);
}

.form-status {
  display: none;
  margin-top: 24px;
  padding: 18px 22px;
  font-weight: 600;
  border: 1px solid;
}

.form-status.ok {
  border-color: rgba(59, 233, 255, 0.5);
  background: var(--accent-dim);
  color: var(--text);
}

.form-status.err {
  border-color: rgba(255, 92, 92, 0.55);
  background: rgba(255, 92, 92, 0.1);
  color: #ffd7d7;
}

.form-status.visible {
  display: block;
}

.contact-aside {
  border-left: 1px solid var(--line);
  padding-left: 48px;
}

@media (max-width: 860px) {
  .contact-aside { border-left: none; padding-left: 0; }
}

.contact-item {
  margin-bottom: 40px;
}

.contact-item h3 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-item a {
  font-family: var(--display);
  font-size: 27px;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}

.contact-item a:hover {
  color: var(--accent);
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(4, 6, 9, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow-y: auto;
  padding: 90px 24px 60px;
}

.lightbox.open {
  display: block;
}

.lightbox-inner {
  max-width: 920px;
  margin: 0 auto;
}

.lightbox-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.lightbox-title {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lightbox-assoc {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 101;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.6);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-videos {
  display: grid;
  gap: 26px;
}

.lightbox-videos .frame {
  position: relative;
  padding-top: 56.25%;
  background: var(--panel);
  border: 1px solid var(--line);
}

.lightbox-videos iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.lightbox-open {
  overflow: hidden;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 85% 100%, rgba(59, 233, 255, 0.07), transparent 60%);
  pointer-events: none;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}

.footer-title {
  font-size: clamp(36px, 5vw, 58px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.footer-link {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  position: relative;
}

.footer-bottom img {
  height: 22px;
  width: auto;
}

.footer-copy {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}
