/* static/css/marketing_promo.css */

.mfx-page {
  --mfx-shell: min(1320px, calc(100% - 40px));
  --mfx-line: rgba(255, 255, 255, 0.13);
  --mfx-soft: rgba(255, 255, 255, 0.06);
  --mfx-strong: rgba(255, 255, 255, 0.1);
  --mfx-shadow: 0 20px 80px rgba(0, 0, 0, 0.34);
  position: relative;
  overflow-x: clip;
}

.mfx-shell {
  width: var(--mfx-shell);
  margin: 0 auto;
}

.mfx-hero {
  position: relative;
  min-height: 100svh;
  padding: 40px 0 50px;
  overflow: clip;
}

.mfx-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mfx-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mfx-hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(6, 9, 16, 0.26) 0%,
      rgba(6, 9, 16, 0.58) 44%,
      rgba(6, 9, 16, 0.88) 100%
    ),
    linear-gradient(
      90deg,
      rgba(6, 9, 16, 0.76) 0%,
      rgba(6, 9, 16, 0.42) 48%,
      rgba(6, 9, 16, 0.68) 100%
    );
}

.mfx-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mfx-hero .mfx-bg {
  z-index: 2;
}

.mfx-bg--mesh {
  opacity: 0.30;
  background:
    radial-gradient(700px 320px at 10% 28%, rgba(255, 255, 255, 0.07), transparent 60%),
    radial-gradient(760px 420px at 90% 16%, rgba(255, 255, 255, 0.05), transparent 60%);
}

.mfx-bg--glow {
  opacity: 0.42;
  background:
    radial-gradient(480px 260px at 28% 30%, color-mix(in srgb, var(--brand1) 30%, transparent), transparent 65%),
    radial-gradient(460px 260px at 74% 20%, color-mix(in srgb, var(--brand2) 24%, transparent), transparent 60%),
    radial-gradient(400px 240px at 72% 74%, color-mix(in srgb, var(--brand3) 16%, transparent), transparent 64%);
  filter: blur(22px);
}

.mfx-bg--noise {
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
}

.mfx-hero-title-wrap,
.mfx-hero-inner {
  position: relative;
  z-index: 3;
}

.mfx-hero-title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  padding-bottom: 28px;
}

.mfx-hero-title-line {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto .5em;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1;
  letter-spacing: 0.36em;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.76);
  text-transform: uppercase;
}

.mfx-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.mfx-copy,
.mfx-side-card,
.mfx-still-card,
.mfx-feature-card,
.mfx-work-card,
.mfx-cta-card,
.mfx-image-card,
.mfx-client-rail {
  border: 1px solid var(--mfx-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--mfx-shadow);
  backdrop-filter: blur(14px);
}

.mfx-copy {
  border-radius: 34px;
  padding: 28px;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mfx-copy-top {
  display: block;
  margin-bottom: 10px;
}

.mfx-copy-kicker {
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 1000;
  color: rgba(255, 255, 255, 0.985);
  text-wrap: balance;
}

.mfx-copy-divider {
  width: 100%;
  height: 1px;
  margin: 0 0 18px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.24),
    rgba(255, 255, 255, 0.06)
  );
}

.mfx-subtitle {
  max-width: 52rem;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px;
}

.mfx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}

.mfx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--mfx-line);
  font-weight: 900;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, filter 0.18s ease;
}

.mfx-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
}

.mfx-btn--primary {
  border-color: color-mix(in srgb, var(--brand1) 55%, var(--mfx-line));
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand1) 96%, #fff 0%),
    color-mix(in srgb, var(--brand2) 56%, #fff 0%)
  );
}

.mfx-btn--secondary {
  background: color-mix(in srgb, var(--brand2) 18%, transparent);
}

.mfx-btn--ghost {
  background: rgba(255, 255, 255, 0.03);
}

.mfx-client-rail {
  margin-top: 18px;
  border-radius: 24px;
  padding: 16px 18px;
}

.mfx-client-rail-label {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.mfx-client-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.mfx-client-logo {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.035);
}

.mfx-client-logo img {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.mfx-hero-side {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mfx-side-card {
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mfx-side-kicker,
.mfx-still-kicker,
.mfx-section-subhead {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.68);
}

.mfx-side-card-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  text-transform: none;
}

.mfx-side-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.mfx-section {
  position: relative;
  padding: 56px 0;
}

.mfx-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
}

.mfx-section-head {
  max-width: 780px;
  margin-bottom: 20px;
}

.mfx-word-head {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(64px, 12vw, 104px);
  line-height: 0.84;
  letter-spacing: -0.04em;
  font-weight: 1000;
  color: rgba(255, 255, 255, 0.96);
  text-transform: none;
}

.mfx-section-subhead {
  margin-bottom: 10px;
  line-height: 1.4;
}

.mfx-section-head p,
.mfx-feature-card p,
.mfx-work-card p,
.mfx-cta-card p,
.mfx-image-card p,
.mfx-still-card p {
  color: var(--muted);
  line-height: 1.65;
}

.mfx-stills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mfx-still-card {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mfx-still-media {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.mfx-still-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mfx-still-card:hover .mfx-still-media img,
.mfx-image-card:hover img {
  transform: scale(1.03);
}

.mfx-still-body {
  padding: 18px;
}

.mfx-still-body h3 {
  margin: 8px 0 8px;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.mfx-image-card {
  border-radius: 28px;
  padding: 22px;
  overflow: hidden;
}

.mfx-image-card-figure {
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
}

.mfx-image-card-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mfx-image-card-body {
  padding: 16px 4px 2px;
}

.mfx-image-card-body h3 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.mfx-work-grid,
.mfx-feature-grid {
  display: grid;
  gap: 16px;
}

.mfx-work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mfx-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mfx-work-card,
.mfx-feature-card {
  border-radius: 24px;
  padding: 18px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.mfx-work-card:hover,
.mfx-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.05));
}

.mfx-work-card--featured {
  grid-column: span 2;
  background:
    radial-gradient(700px 240px at 18% 18%, color-mix(in srgb, var(--brand1) 18%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
}

.mfx-work-card h3,
.mfx-feature-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.mfx-work-when {
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 14px;
}

.mfx-work-tags,
.mfx-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 0;
}

.mfx-work-tags--list span {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  position: relative;
  padding-right: 14px;
}

.mfx-work-tags--list span:not(:last-child)::after {
  content: "•";
  position: absolute;
  right: 3px;
  top: 0;
  color: rgba(255,255,255,0.38);
}

.mfx-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mfx-cta-band {
  padding-bottom: 70px;
}

.mfx-cta-card {
  border-radius: 28px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(700px 240px at 16% 20%, color-mix(in srgb, var(--brand1) 22%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .mfx-hero-inner,
  .mfx-grid-two,
  .mfx-work-grid,
  .mfx-feature-grid,
  .mfx-cta-card,
  .mfx-stills-grid,
  .mfx-client-logos {
    grid-template-columns: 1fr;
  }

  .mfx-hero {
    min-height: auto;
    padding-top: 96px;
  }

  .mfx-hero-side {
    grid-template-rows: none;
  }

  .mfx-work-card--featured {
    grid-column: auto;
  }

  .mfx-client-logo {
    min-height: 62px;
  }
}

@media (max-width: 720px) {
  .mfx-page {
    --mfx-shell: min(100% - 24px, 1320px);
  }

  .mfx-hero {
    min-height: auto;
    padding: 24px 0 24px;
  }

  .mfx-copy,
  .mfx-side-card,
  .mfx-still-card,
  .mfx-feature-card,
  .mfx-work-card,
  .mfx-cta-card,
  .mfx-image-card,
  .mfx-client-rail {
    border-radius: 22px;
    padding: 18px;
  }

  .mfx-copy-kicker {
    font-size: clamp(36px, 12vw, 58px);
  }

  .mfx-word-head {
    font-size: clamp(40px, 18vw, 76px);
    line-height: 0.88;
  }

  .mfx-section-subhead,
  .mfx-side-kicker,
  .mfx-still-kicker,
  .mfx-client-rail-label {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .mfx-still-body,
  .mfx-image-card-body {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .mfx-image-card-figure,
  .mfx-still-media {
    aspect-ratio: 4 / 3;
  }

  .mfx-cta-card .mfx-actions {
    margin-top: 0;
  }

  .mfx-client-logo img {
    max-height: 34px;
  }
}