:root {
  --bg: #0b0b12;
  --card: #131323;
  --text: #f5f6fb;
  --muted: #b4b7c9;
  --line: rgba(255, 255, 255, 0.1);
  --line-hover: rgba(255, 255, 255, 0.22);
  --gradient: linear-gradient(135deg, #ff7a18, #ff0066 45%, #9c1aff 85%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 122, 24, 0.18), rgba(156, 26, 255, 0.18));
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-lift: 0 28px 80px rgba(255, 0, 102, 0.18);
  --radius: 18px;
  --max: 1200px;
  --brand-logo-width-top: 188px;
  --brand-logo-width-footer: 188px;
  --brand-logo-width-mobile: 132px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #000;
  color: var(--text);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

::selection { background: rgba(255, 0, 102, 0.4); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gradient);
  color: #0b0b12;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  font-weight: 700;
  z-index: 100;
}

.skip-link:focus { left: 0; outline: 2px solid #fff; outline-offset: 2px; }

/* ============================== Navigation ============================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  /* Enough opacity so the nav has a clear bottom edge, not a bleed */
  background: rgba(8, 8, 14, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 220ms var(--ease-out), border-color 220ms var(--ease-out),
              box-shadow 220ms var(--ease-out), padding 220ms var(--ease-out);
}

.nav.scrolled {
  background: rgba(8, 8, 14, 0.85);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  flex-shrink: 0;
  transition: transform 220ms var(--ease-out);
}

.logo:hover { transform: scale(1.03); }

.logo img {
  /* Height-based sizing keeps the square logo compact in the nav on all screen sizes */
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
}

.footer__brand img {
  width: var(--brand-logo-width-mobile);
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
}

.nav__links {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav__links.open {
  position: absolute;
  top: calc(100% + 8px);
  right: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 16px;
  border-radius: 14px;
  background: rgba(11, 11, 18, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: menuIn 220ms var(--ease-out);
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav__links a {
  color: var(--muted);
  font-weight: 500;
  padding: 8px 0;
  transition: color 160ms var(--ease-out);
}

.nav__links a:hover,
.nav__links a:focus-visible { color: var(--text); }

.nav__links .pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gradient);
  color: #0b0b12;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 22px rgba(255, 0, 102, 0.25);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}

.nav__links .pill:hover,
.nav__links .pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(255, 0, 102, 0.38);
  color: #0b0b12;
}

.nav__menu {
  background: none;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 12px;
  display: grid;
  gap: 4px;
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), background 160ms var(--ease-out);
}

.nav__menu:hover { border-color: var(--line-hover); background: rgba(255, 255, 255, 0.04); }

.nav__menu span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.nav__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================== Focus styles ============================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #ff7a18;
  outline-offset: 2px;
}

/* ============================== Buttons ============================== */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out),
              background 180ms var(--ease-out), color 180ms var(--ease-out),
              border-color 180ms var(--ease-out);
}

.btn-primary {
  background: var(--gradient);
  color: #0b0b12;
  box-shadow: 0 10px 30px rgba(255, 0, 102, 0.35);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(255, 0, 102, 0.45);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

/* ============================== Hero ============================== */

.hero-netflix {
  position: relative;
  min-height: 88vh;
  /* Push content below fixed nav. Nav ≈ 92px mobile (64px logo + 28px padding) */
  padding: 120px 20px 80px;
  width: 100%;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  filter: brightness(1.05) contrast(1.05) saturate(1.1);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Top-to-bottom gradient: dark band under nav so h1 never clashes with it */
  /* Left-to-right gradient: dark on the content side */
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.30) 22%,
      rgba(0, 0, 0, 0.00) 42%
    ),
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.55) 40%,
      rgba(0, 0, 0, 0.22) 70%,
      rgba(0, 0, 0, 0.08) 100%
    );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  width: 100%;
  color: #fff;
}

@media (min-width: 768px) {
  .hero-content { margin-left: 4vw; }
}

@media (min-width: 1280px) {
  .hero-content { margin-left: 8vw; }
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  opacity: 0.85;
  margin-bottom: 14px;
  display: block;
}

.hero-content h1 {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.hero-content p {
  font-size: clamp(15px, 2.2vw, 18px);
  color: #cfcfcf;
  max-width: 520px;
  margin: 0;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 18px;
  display: flex;
  gap: 8px 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.hero-meta span { position: relative; padding-left: 14px; }

.hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  transform: translateY(-50%);
}

/* ============================== Sections ============================== */

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  margin: 0;
}

.section {
  padding: 72px 20px;
  max-width: var(--max);
  margin: 0 auto;
  scroll-margin-top: 90px;
}

.section--accent {
  background: radial-gradient(circle at 15% 20%, rgba(255, 122, 24, 0.12), transparent 30%),
              radial-gradient(circle at 85% 10%, rgba(156, 26, 255, 0.14), transparent 32%),
              #0f0f1b;
  border-radius: 28px;
  margin-top: 32px;
  box-shadow: var(--shadow);
}

.section__header { display: grid; gap: 10px; max-width: 720px; margin-bottom: 36px; }

.section__header h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.grid { display: grid; gap: 16px; }

.cards { grid-template-columns: 1fr; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out),
              box-shadow 280ms var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
  pointer-events: none;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: var(--line-hover);
  box-shadow: var(--shadow-lift);
}

.card:hover::before,
.card:focus-within::before { opacity: 1; }

.card h3,
.card p { position: relative; z-index: 1; }

.card h3 { margin: 0 0 8px; font-size: 18px; }

.card p { margin: 0; color: var(--muted); }

/* ============================== Why / Pillars ============================== */

.pillars { display: grid; gap: 14px; grid-template-columns: 1fr; }

.pillar {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(19, 19, 35, 0.9);
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out);
}

.pillar:hover {
  transform: translateY(-3px);
  border-color: var(--line-hover);
}

.pillar h3 { margin: 0 0 6px; font-size: 17px; }

.pillar p { margin: 0; color: var(--muted); }

/* ============================== Team ============================== */

.team { display: grid; gap: 16px; grid-template-columns: 1fr; }

.team__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out),
              box-shadow 280ms var(--ease-out);
}

.team__card:hover {
  transform: translateY(-3px);
  border-color: var(--line-hover);
  box-shadow: var(--shadow-lift);
}

.avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  padding: 3px;
  background: var(--gradient);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 12px 26px rgba(0, 0, 0, 0.35);
}

.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.team__card h3 { margin: 0 0 4px; font-size: 17px; }

.team__card p { margin: 0 0 6px; color: var(--muted); }

.team__card small { color: var(--muted); font-size: 13px; }

/* ============================== Portfolio ============================== */

.portfolio__sub {
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
  margin: 12px 0 0;
}

/* ---- Filter chips ---- */
.portfolio__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 34px;
}

.wchip {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font: 600 0.82rem/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
    background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.wchip:hover { color: var(--text); border-color: var(--line-hover); transform: translateY(-1px); }
.wchip:focus-visible { outline: 2px solid rgba(255, 0, 102, 0.6); outline-offset: 2px; }

.wchip--active {
  color: #fff;
  border-color: transparent;
  background: var(--gradient);
  box-shadow: 0 8px 24px rgba(255, 0, 102, 0.24);
}

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

@media (min-width: 620px)  { .work-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 900px)  { .work-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (min-width: 1200px) { .work-grid { grid-template-columns: repeat(5, 1fr); gap: 22px; } }

.work-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  perspective: 1100px;
  cursor: pointer;
  opacity: 0;
  -webkit-tap-highlight-color: transparent;
}

.work-card[hidden] { display: none; }

/* staggered, blurred entrance */
.work-grid.visible .work-card { animation: workIn 0.75s var(--ease-out) both; }
.work-grid.visible .work-card:nth-child(1)  { animation-delay: 0.02s; }
.work-grid.visible .work-card:nth-child(2)  { animation-delay: 0.07s; }
.work-grid.visible .work-card:nth-child(3)  { animation-delay: 0.12s; }
.work-grid.visible .work-card:nth-child(4)  { animation-delay: 0.17s; }
.work-grid.visible .work-card:nth-child(5)  { animation-delay: 0.22s; }
.work-grid.visible .work-card:nth-child(6)  { animation-delay: 0.27s; }
.work-grid.visible .work-card:nth-child(7)  { animation-delay: 0.30s; }
.work-grid.visible .work-card:nth-child(8)  { animation-delay: 0.33s; }
.work-grid.visible .work-card:nth-child(n+9){ animation-delay: 0.36s; }

@keyframes workIn {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

.work-card__inner {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a12;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out),
    border-color 0.5s var(--ease-out);
  will-change: transform;
}

.work-card:hover .work-card__inner,
.work-card:focus-visible .work-card__inner {
  border-color: var(--line-hover);
  box-shadow: 0 34px 74px rgba(255, 0, 102, 0.22), 0 12px 34px rgba(0, 0, 0, 0.55);
}

.work-card:focus-visible { outline: none; }
.work-card:focus-visible .work-card__inner { outline: 2px solid rgba(255, 0, 102, 0.7); outline-offset: 3px; }

.work-card__poster,
.work-card__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-card__poster { z-index: 1; transition: transform 0.8s var(--ease-out); }
.work-card:hover .work-card__poster { transform: scale(1.06); }

.work-card__preview { z-index: 2; opacity: 0; transition: opacity 0.6s var(--ease-out); }
.work-card.is-previewing .work-card__preview { opacity: 1; }

.work-card__scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(6, 5, 14, 0.92) 0%, rgba(6, 5, 14, 0.35) 44%, rgba(6, 5, 14, 0) 70%);
}

/* film grain */
.work-card__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* top sheen on hover */
.work-card__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(130% 80% at 50% -12%, rgba(255, 255, 255, 0.2), transparent 55%);
  transition: opacity 0.5s var(--ease-out);
}
.work-card:hover .work-card__inner::before { opacity: 1; }

.work-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 8, 20, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* tiny format glyph — vertical / horizontal / square */
.work-card__fmt {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 6;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: 4px;
  opacity: 0.75;
}
.work-card__fmt[data-fmt="horizontal"] { width: 26px; height: 16px; margin-top: 3px; }
.work-card__fmt[data-fmt="vertical"]   { width: 13px; height: 22px; }
.work-card__fmt[data-fmt="square"]     { width: 19px; height: 19px; }

.work-card__play {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), background 0.2s, border-color 0.2s;
}
.work-card__play svg { width: 24px; height: 24px; margin-left: 3px; }
.work-card:hover .work-card__play,
.work-card:focus-within .work-card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-card__play:hover { background: var(--gradient); border-color: transparent; }

.work-card__meta {
  position: absolute;
  z-index: 6;
  left: 14px;
  right: 14px;
  bottom: 13px;
  pointer-events: none;
}
.work-card__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.work-card__desc {
  margin: 0;
  font-size: 0.74rem;
  color: rgba(235, 235, 245, 0.82);
  line-height: 1.4;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s var(--ease-out), margin 0.4s var(--ease-out);
}
.work-card:hover .work-card__desc,
.work-card:focus-within .work-card__desc { max-height: 64px; opacity: 1; margin-top: 5px; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 10, 0.72);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.lightbox__stage {
  position: relative;
  z-index: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.5s var(--ease-out);
}
.lightbox.is-open .lightbox__stage { transform: none; }

.lightbox__video {
  display: block;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
  max-width: min(92vw, 1180px);
  max-height: 80vh;
}
.lightbox[data-orientation="vertical"] .lightbox__video { max-width: min(45vh, 92vw); }
.lightbox[data-orientation="square"]   .lightbox__video { max-width: min(80vh, 92vw); }

.lightbox__caption {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  flex-wrap: wrap;
  justify-content: center;
}
.lightbox__tag {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gradient);
}
.lightbox__title { font-size: 0.95rem; color: rgba(255, 255, 255, 0.86); }

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.3s var(--ease-out);
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.2); transform: rotate(90deg); }

.lightbox__nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__nav:active { transform: translateY(-50%) scale(0.92); }
@media (max-width: 680px) { .lightbox__nav { width: 42px; height: 42px; } .lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; } }

@media (prefers-reduced-motion: reduce) {
  .work-grid.visible .work-card { animation: none; opacity: 1; }
  .work-card__inner,
  .work-card__poster { transition: box-shadow 0.3s, border-color 0.3s; transform: none !important; }
  .work-card__preview { display: none; }
  .lightbox__stage, .lightbox__close, .lightbox__nav { transition: opacity 0.2s; }
}

/* ============================== Testimonials ============================== */

.quotes { display: grid; gap: 16px; grid-template-columns: 1fr; }

blockquote {
  margin: 0;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(19, 19, 35, 0.9);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  left: 14px;
  font-size: 64px;
  line-height: 1;
  font-family: Georgia, serif;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.7;
}

blockquote:hover { transform: translateY(-3px); border-color: var(--line-hover); }

blockquote p { margin: 0 0 12px; font-size: 16px; line-height: 1.55; }

blockquote cite {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  display: block;
  font-weight: 600;
}

/* ============================== Contact / Form ============================== */

.contact { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }

.contact__info ul { list-style: none; padding: 0; margin: 12px 0 0; }

.contact__info li { margin-bottom: 4px; }

.contact__links { display: flex; flex-direction: column; gap: 4px; }

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  padding: 9px 0;
  transition: color 160ms var(--ease-out);
  font-size: 0.95rem;
}

.contact__link:hover { color: var(--text); }

.contact__link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
}

.contact__link:hover svg { opacity: 1; }

.contact__location {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  padding: 9px 0;
  font-size: 0.9rem;
}

.contact__location svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.5;
}

.form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.form__row { display: grid; gap: 6px; }

.form__status {
  margin: 2px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  color: var(--muted);
}

.form__status.is-error { color: #ff8f8f; }

.form__status.is-success { color: #84f2b4; }

.budget-toggle { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}

.toggle input { accent-color: #ff7a18; }

.budget__custom-inline { margin-top: 4px; }

label { font-weight: 600; }

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 160ms var(--ease-out), background 160ms var(--ease-out);
}

input:hover, select:hover, textarea:hover { border-color: var(--line-hover); }

input:focus, select:focus, textarea:focus {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 122, 24, 0.6);
}

select:disabled,
input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

textarea { resize: vertical; min-height: 100px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out),
              background 180ms var(--ease-out), color 180ms var(--ease-out),
              border-color 180ms var(--ease-out);
}

.btn--primary {
  background: var(--gradient);
  color: #0b0b12;
  box-shadow: 0 10px 30px rgba(255, 0, 102, 0.35);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(255, 0, 102, 0.45);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover { border-color: rgba(255, 0, 102, 0.6); color: #fff; }

/* ============================== Footer ============================== */

.footer {
  padding: 40px 20px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 14px;
  text-align: center;
  justify-items: center;
  margin-top: 40px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  color: var(--text);
}

.footer__meta {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.footer__meta strong { color: var(--text); font-weight: 600; }

.footer__meta a {
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.footer__meta a:hover { color: #fff; border-bottom-color: var(--line-hover); }

.footer__tagline {
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--text);
}

.footer__contact,
.footer__social {
  margin: 4px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  font-size: 14px;
}

.footer__sep {
  color: var(--muted);
  opacity: 0.5;
}

.footer__divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 16px auto;
  width: 40%;
  opacity: 0.55;
}

.footer__copy {
  margin: 8px 0 0;
  font-size: 12px;
  opacity: 0.6;
}

/* ============================== Animations ============================== */

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ============================== Responsive — mobile-first scale up ============================== */

@media (min-width: 560px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .portfolio { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .hero-netflix { padding: 120px 32px 100px; }
  .avatar { width: 96px; height: 96px; }
}

@media (min-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav__links {
    display: flex;
    position: static;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    flex-direction: row;
    animation: none;
  }
  .nav__menu { display: none; }
  /* Footer brand can use width-based; nav logo uses height-based to stay compact */
  .footer__brand img { width: var(--brand-logo-width-top); height: auto; }
  .logo img { height: 72px; width: auto; }
  .section { padding: 96px 24px; }
  .section--accent { margin-top: 48px; }
  .section__header { margin-bottom: 40px; }
  .contact { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-netflix { padding: 140px 6vw 120px; min-height: 92vh; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .section { padding-inline: 32px; padding-block: 120px; }
  .nav { padding: 18px 32px; }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .portfolio { grid-template-columns: repeat(3, 1fr); }
}

/* ============================== Trusted-by marquee ============================== */

.trusted-by {
  padding: 28px 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trusted-by__label {
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__set {
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 0 36px;
  flex-shrink: 0;
}

/* All logos: show original colors, bright, with individual glow */
.marquee__set img {
  opacity: 0.9;
  flex-shrink: 0;
  transition: opacity 200ms, filter 200ms, transform 200ms;
}

.marquee__set img:hover {
  opacity: 1;
  transform: scale(1.06);
}

/* Per-brand glow & treatment.
   Use src*= so the same rules apply to the aria-hidden duplicate (which has alt="")  */

/* BYD — red brand color */
.marquee__set img[src*="BYD"] {
  filter: drop-shadow(0 0 12px rgba(214, 12, 23, 0.65)) brightness(1.05);
}

/* Hostinger — white logo, purple glow */
.marquee__set img[src*="hostinger"] {
  filter: drop-shadow(0 0 16px rgba(103, 76, 196, 0.9)) brightness(1.2);
}

/* IQ Option — orange/amber glow on the icon */
.marquee__set img[src*="iq-option"] {
  filter: drop-shadow(0 0 14px rgba(255, 138, 24, 0.75)) brightness(1.08);
}

/* Tigre — warm gold glow */
.marquee__set img[src*="tigre"] {
  filter: drop-shadow(0 0 14px rgba(255, 190, 40, 0.7)) brightness(1.05) saturate(1.2);
}

/* Yamaha — black SVG: invert to white, add subtle glow */
.marquee__set img[src*="yamaha"] {
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.45));
}

/* Hover states preserve individual glows with extra brightness */
.marquee__set img[src*="BYD"]:hover       { filter: drop-shadow(0 0 18px rgba(214, 12, 23, 0.9)) brightness(1.15); }
.marquee__set img[src*="hostinger"]:hover { filter: drop-shadow(0 0 22px rgba(103, 76, 196, 1)) brightness(1.3); }
.marquee__set img[src*="iq-option"]:hover { filter: drop-shadow(0 0 20px rgba(255, 138, 24, 1)) brightness(1.18); }
.marquee__set img[src*="tigre"]:hover     { filter: drop-shadow(0 0 20px rgba(255, 190, 40, 1)) brightness(1.12) saturate(1.35); }
.marquee__set img[src*="yamaha"]:hover    { filter: brightness(0) invert(1) drop-shadow(0 0 16px rgba(255, 255, 255, 0.65)); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================== Testimonials cinema ============================== */

.testi-cinema {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.testi-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.testi-glow--1 {
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255, 0, 102, 0.14) 0%, transparent 65%);
  top: -120px;
  left: -150px;
  filter: blur(60px);
}

.testi-glow--2 {
  width: 600px;
  height: 450px;
  background: radial-gradient(ellipse, rgba(156, 26, 255, 0.14) 0%, transparent 65%);
  bottom: -80px;
  right: -100px;
  filter: blur(60px);
}

.testi-header {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
  margin-bottom: 36px;
}

.testi-header h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.8rem);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.15;
}

.testi-header > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 auto 24px;
  max-width: 480px;
}

.testi-flags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.testi-flags img {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  opacity: 0.8;
  display: inline-block;
}

.testi-countries {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testi-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.chip {
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 180ms, color 180ms, background 180ms;
  line-height: 1;
}

.chip:hover {
  border-color: var(--line-hover);
  color: var(--text);
}

.chip--active {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
}

/* Stage + scroll track */
.testi-stage { position: relative; z-index: 1; }

.testi-overflow { overflow: hidden; }

.testi-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 20px 24px;
  animation: testi-scroll 55s linear infinite;
}

.testi-overflow:hover .testi-track { animation-play-state: paused; }

/* Filtered state — swap to a static grid */
.testi-cinema.is-filtered .testi-track {
  animation: none;
  width: auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.testi-cinema.is-filtered .testi-overflow { overflow: visible; }

.testi-cinema.is-filtered .testi-fade { display: none; }

/* Cards */
.testi-card {
  flex-shrink: 0;
  width: 285px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 220ms var(--ease-out), transform 220ms var(--ease-out),
              box-shadow 220ms var(--ease-out);
}

.testi-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.testi-stars {
  color: #fbbf24;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.testi-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(245, 246, 251, 0.82);
  margin: 0;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.testi-avatar {
  --av-color: #9c1aff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--av-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  flex-shrink: 0;
}

.testi-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
  min-width: 0;
}

.testi-info strong {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testi-country {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
}

.testi-country img {
  border-radius: 1px;
  flex-shrink: 0;
}

.testi-badge {
  font-size: 0.68rem;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}

/* Edge fade masks */
.testi-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.testi-fade--left {
  left: 0;
  background: linear-gradient(to right, #0b0b12 0%, transparent 100%);
}

.testi-fade--right {
  right: 0;
  background: linear-gradient(to left, #0b0b12 0%, transparent 100%);
}

@keyframes testi-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (min-width: 768px) {
  .testi-card { width: 320px; }
  .testi-fade { width: 120px; }
}

/* ============================== World Map ============================== */
.section--map { overflow: hidden; }

.map-subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 8px;
}

.map-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

/* Legend */
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
}

.map-key {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1.5px solid currentColor;
  opacity: 0.85;
}
.map-key[data-region="americas"] { color: #FF6B2B; border-color: #FF6B2B33; background: #FF6B2B18; }
.map-key[data-region="europe"]   { color: #9B59FF; border-color: #9B59FF33; background: #9B59FF18; }
.map-key[data-region="asia"]     { color: #3B82F6; border-color: #3B82F633; background: #3B82F618; }
.map-key[data-region="mideast"]  { color: #F59E0B; border-color: #F59E0B33; background: #F59E0B18; }
.map-key[data-region="africa"]   { color: #10B981; border-color: #10B98133; background: #10B98118; }

/* Map stage */
.map-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0A0A0F;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
}

.map-container {
  width: 100%;
  aspect-ratio: 960 / 460;
  display: block;
  line-height: 0;
}

/* Inline SVG embedded in HTML */
.map-container svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Country hover states */
.map-container .country {
  cursor: default;
  transition: fill-opacity 200ms ease;
}

.map-container .country.served {
  cursor: crosshair;
}

.map-container .country.served:hover {
  fill-opacity: 1 !important;
  animation: none !important;
}

/* Tooltip */
.map-tooltip {
  position: absolute;
  pointer-events: none;
  padding: 6px 14px;
  background: rgba(10, 10, 15, 0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.map-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Map note */
.map-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* Map entry animation */
@keyframes map-fade-in {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.map-container.loaded svg {
  animation: map-fade-in 0.7s var(--ease-out) both;
}

/* Pulse on served countries after load */
@keyframes country-pulse {
  0%, 100% { fill-opacity: 0.75; }
  50%       { fill-opacity: 1; }
}

.map-container.loaded .country.served {
  animation: country-pulse 3s ease-in-out 0.8s 2;
}

/* ============================== Reduced motion ============================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate] { opacity: 1; transform: none; }

  .hero-video { display: none; }
  .hero-netflix { background: #0b0b12 url("../img/hero-poster.jpg") center/cover; }
}
