:root {
  --bg: #07060b;
  --surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  --surface-flat: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --text: #f4f2f8;
  --muted: #9b93ad;
  --accent: #8b5cf6;
  --accent-soft: #a78bfa;
  --accent-deep: #6d28d9;
  --accent-tint: rgba(139, 92, 246, 0.16);
  --accent-glow: rgba(124, 58, 237, 0.35);
  --radius: 18px;
  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* film grain over everything, purely decorative */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.container-wide {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

a { color: var(--accent-soft); }

/* ---------- topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px max(24px, calc((100% - 1200px) / 2 + 24px));
  background: rgba(7, 6, 11, 0.75);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  line-height: 1;
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 18px;
  background: var(--surface-flat);
  transition: background 0.15s;
}

.topbar-cta:hover { background: var(--surface-hover); }

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

.hero {
  position: relative;
  padding: 88px 24px 64px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: 780px;
  height: 720px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28), transparent 62%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4rem, 11vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.hero-sub {
  margin: 26px auto 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 12px 40px var(--accent-glow);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px var(--accent-glow); }

.btn-ghost { background: var(--surface-flat); }

.btn-ghost:hover { background: var(--surface-hover); }

.btn-big { padding: 16px 36px; font-size: 1.05rem; }

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

.section { padding: 76px 24px 0; }

.section h2 {
  margin: 0 0 34px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 30%, #b9a5ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
  padding-bottom: 26px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(124, 58, 237, 0.22);
}

.facade {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

/* absolute so portrait images can't stretch the box past 16:9 */
.facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play svg {
  width: 56px;
  height: 56px;
  padding: 15px;
  border-radius: 50%;
  background: rgba(7, 6, 11, 0.68);
  color: #fff;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.facade:hover .play svg {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08);
}

.embed { aspect-ratio: 16 / 9; background: #000; }

.embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 18px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.who { display: flex; flex-direction: column; min-width: 0; }

.channel { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.subs { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }

/* bookmark ribbon wrapping the best performer's thumbnail */
.bookmark {
  position: absolute;
  top: 0;
  right: 30px;
  z-index: 3;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.45));
}

.bookmark-body {
  display: block;
  width: 148px;
  padding: 13px 10px 24px;
  background: linear-gradient(165deg, var(--accent-deep), var(--accent));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 12px), 0 100%);
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.94rem;
  line-height: 1.18;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.work-offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 6px 24px 26px;
}

.work-offer p { margin: 0; color: var(--muted); max-width: 48ch; }

.card-title {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ---------- edited for: rotating client wall ---------- */

.marquee {
  overflow: hidden;
  padding-block: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee + .marquee { margin-top: 2px; }

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

.marquee:nth-of-type(2) .marquee-track { animation-direction: reverse; animation-duration: 70s; }

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

.marquee-group {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  padding-right: 64px;
}

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

.m-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 13px;
  width: 104px;
  flex: none;
}

.m-item .avatar,
.m-item .monogram {
  width: 78px;
  height: 78px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s, box-shadow 0.25s;
}

.m-item:hover .avatar,
.m-item:hover .monogram {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 40px rgba(124, 58, 237, 0.4);
}

.m-name {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
  transition: color 0.2s;
}

.m-item:hover .m-name { color: var(--text); }

.many-more {
  margin: 22px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

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

.cta {
  position: relative;
  text-align: center;
  padding: 88px 24px;
  margin-top: 48px;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  bottom: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 560px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.3), transparent 65%);
  pointer-events: none;
}

.cta h2 {
  margin: 0 0 30px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 30%, #b9a5ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.cta-sub { margin: 22px 0 0; color: var(--muted); }

.site-footer {
  padding: 30px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.site-footer p { margin: 0; }

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

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .wall-item { transition: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- small screens ---------- */

@media (max-width: 700px) {
  .hero { padding-top: 56px; }
  .section { padding-top: 56px; }
  .card-grid { grid-template-columns: 1fr; }
  .bookmark { right: 20px; }
  .bookmark-body { width: 128px; font-size: 0.84rem; }
  .marquee-group { gap: 44px; padding-right: 44px; }
  .m-item { width: 88px; }
  .m-item .avatar,
  .m-item .monogram { width: 62px; height: 62px; }
  .monogram { font-size: 1.3rem; }
}
