html.vfx {
  --vfx-accent: 244, 197, 104;
  --vfx-accent-2: 255, 225, 160;
  --vfx-deep: 26, 27, 22;
}
html.vfx.night-mode {
  --vfx-accent: 178, 198, 250;
  --vfx-accent-2: 222, 232, 255;
  --vfx-deep: 14, 20, 32;
}

.vfx-playhead {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none;
  background: rgba(var(--vfx-accent), .08);
}
.vfx-playhead__bar {
  height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--vfx-progress, 0));
  background: linear-gradient(90deg, rgba(var(--vfx-accent), .2), rgba(var(--vfx-accent), .95));
}
.vfx-playhead__dot {
  position: absolute; top: 50%; left: calc(var(--vfx-progress, 0) * 100%);
  width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: rgb(var(--vfx-accent-2)); box-shadow: 0 0 10px 2px rgba(var(--vfx-accent), .7);
  opacity: var(--vfx-dot, 0); transition: opacity .3s;
}

html.vfx .hero h1 .vfx-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
html.vfx .hero h1 .vfx-line__in { display: inline-block; transform: translateY(105%); animation: vfx-rise .95s cubic-bezier(.2, .7, .15, 1) forwards; }
html.vfx .hero h1 .vfx-line:nth-child(2) .vfx-line__in { animation-delay: .12s; }
html.vfx .hero h1 .vfx-line:nth-child(3) .vfx-line__in { animation-delay: .24s; }
@keyframes vfx-rise { to { transform: translateY(0); } }
html.vfx .hero h1 em {
  background: linear-gradient(100deg, #e4a94a 10%, #f4c568 35%, #fff0c4 50%, #f4c568 65%, #e4a94a 90%);
  background-size: 230% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: vfx-shimmer 7s ease-in-out 1.2s infinite;
}
html.vfx.night-mode .hero h1 em {
  background-image: linear-gradient(100deg, #8ea6e8 10%, #c3d2ff 35%, #ffffff 50%, #c3d2ff 65%, #8ea6e8 90%);
}
@keyframes vfx-shimmer { 0%, 55% { background-position: 100% 0; } 85%, 100% { background-position: 0 0; } }
html.vfx .hero-copy > p, html.vfx .hero-copy > .hero-feature, html.vfx .hero-copy > .eyebrow {
  animation: vfx-fade .9s ease both;
}
html.vfx .hero-copy > p { animation-delay: .45s; }
html.vfx .hero-copy > .hero-feature { animation-delay: .6s; }
@keyframes vfx-fade { from { opacity: 0; transform: translateY(10px); } }
html.vfx .hero-art { animation: vfx-kenburns 26s ease-in-out infinite alternate; transform-origin: 70% 40%; }
@keyframes vfx-kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }

.vfx-ribbon {
  position: relative; margin-top: 34px; overflow: hidden;
  border-block: 1px solid rgba(var(--vfx-accent), .14);
  background: linear-gradient(90deg, rgba(var(--vfx-accent), .03), rgba(var(--vfx-accent), .07), rgba(var(--vfx-accent), .03));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.vfx-ribbon + .catalog-section { padding-top: 46px; }
.vfx-ribbon__track { display: flex; width: max-content; animation: vfx-marquee var(--vfx-speed, 60s) linear infinite; }
.vfx-ribbon:hover .vfx-ribbon__track, .vfx-ribbon:focus-within .vfx-ribbon__track { animation-play-state: paused; }
.vfx-ribbon__group { display: flex; align-items: center; }
@keyframes vfx-marquee { to { transform: translateX(-50%); } }
.vfx-ribbon__label {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 26px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 2px; color: rgb(var(--vfx-accent)); white-space: nowrap;
}
.vfx-ribbon__item {
  display: inline-flex; align-items: center; gap: 11px; padding: 13px 22px;
  color: #d9d8cb; text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 600;
  transition: color .2s;
}
.vfx-ribbon__item:hover, .vfx-ribbon__item:focus-visible { color: rgb(var(--vfx-accent-2)); }
.vfx-ribbon__item img {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(var(--vfx-accent), .35); box-shadow: 0 0 0 3px rgba(var(--vfx-accent), .06);
}
.vfx-ribbon__item small { font-size: 10px; font-weight: 500; color: #8f9183; letter-spacing: .4px; }
.vfx-ribbon__sep { display: inline-flex; gap: 2px; align-items: center; height: 14px; opacity: .55; }
.vfx-ribbon__sep i { width: 2px; border-radius: 2px; background: rgb(var(--vfx-accent)); }
.vfx-ribbon__sep i:nth-child(1) { height: 5px; } .vfx-ribbon__sep i:nth-child(2) { height: 12px; }
.vfx-ribbon__sep i:nth-child(3) { height: 8px; } .vfx-ribbon__sep i:nth-child(4) { height: 4px; }

.vfx-stats { padding-block: 10px 34px; }
.vfx-stats__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.vfx-stat {
  position: relative; overflow: hidden; padding: 22px 22px 20px; border-radius: 20px;
  border: 1px solid rgba(var(--vfx-accent), .16);
  background: linear-gradient(160deg, rgba(var(--vfx-accent), .07), rgba(var(--vfx-deep), .35) 60%);
}
.vfx-stat strong {
  display: block; font-size: clamp(30px, 3.2vw, 44px); font-weight: 750; letter-spacing: -1.5px; line-height: 1;
  color: rgb(var(--vfx-accent-2)); font-variant-numeric: tabular-nums;
}
.vfx-stat span { display: block; margin-top: 8px; font-size: 12px; color: #a9ab9c; }
.vfx-stat__eq { position: absolute; right: 18px; top: 20px; display: flex; gap: 3px; align-items: flex-end; height: 22px; opacity: .55; }
.vfx-stat__eq i { width: 3px; border-radius: 3px; background: rgb(var(--vfx-accent)); height: 30%; animation: vfx-eq 1.1s ease-in-out infinite alternate; }
.vfx-stat__eq i:nth-child(2) { animation-delay: -.35s; } .vfx-stat__eq i:nth-child(3) { animation-delay: -.7s; } .vfx-stat__eq i:nth-child(4) { animation-delay: -.2s; }
.vfx-stat.is-live strong::after {
  content: ""; display: inline-block; width: 9px; height: 9px; margin: 0 0 6px 10px; vertical-align: middle;
  border-radius: 50%; background: #ff4d42; box-shadow: 0 0 10px #ff4d42; animation: vfx-blink 1.6s steps(1) infinite;
}
@keyframes vfx-eq { from { height: 20%; } to { height: 100%; } }
@keyframes vfx-blink { 50% { opacity: .2; box-shadow: none; } }

.vfx-sky {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.6s ease;
}
.vfx-sky.is-ready { opacity: 1; }
html.vfx body::before { transition: filter 1.2s ease; }

html.vfx .studio-badge.vfx-has-eq > svg { display: none; }
.vfx-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; width: 13px; }
.vfx-eq i { flex: 1; border-radius: 1px; background: currentColor; height: 35%; transition: height .3s; }
.vfx-eq i:nth-child(2) { height: 75%; } .vfx-eq i:nth-child(3) { height: 50%; } .vfx-eq i:nth-child(4) { height: 90%; }
.project-card:hover .vfx-eq i, .project-card:focus-visible .vfx-eq i { animation: vfx-eq .55s ease-in-out infinite alternate; }
.project-card:hover .vfx-eq i:nth-child(2) { animation-delay: -.2s; }
.project-card:hover .vfx-eq i:nth-child(3) { animation-delay: -.4s; }
.project-card:hover .vfx-eq i:nth-child(4) { animation-delay: -.1s; }
html.vfx .project-card { perspective: 900px; }
html.vfx .project-card .poster-wrap {
  transform: rotateX(var(--vfx-rx, 0deg)) rotateY(var(--vfx-ry, 0deg));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), border-color .35s ease, box-shadow .45s ease;
  will-change: transform;
}
html.vfx .project-card.vfx-tilting .poster-wrap { transition: transform .08s linear, border-color .35s ease, box-shadow .45s ease; }
.vfx-glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .35s;
  background: radial-gradient(circle at var(--vfx-gx, 50%) var(--vfx-gy, 50%), rgba(255, 255, 255, .2), transparent 48%);
  mix-blend-mode: soft-light;
}
.project-card.vfx-tilting .vfx-glare { opacity: 1; }

.vfx-ripple-layer { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.vfx-ripple {
  position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  border: 1.5px solid rgba(var(--vfx-accent), .75);
  animation: vfx-ripple .75s cubic-bezier(.2, .6, .3, 1) forwards;
}
.vfx-ripple:nth-child(2n) { animation-delay: .12s; opacity: 0; }
@keyframes vfx-ripple { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(5.5); opacity: 0; } }

.vfx-rings { position: absolute; left: 50%; top: 46%; width: 0; height: 0; z-index: -1; pointer-events: none; }
.vfx-rings i {
  position: absolute; left: -110px; top: -110px; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(var(--vfx-accent), .35);
  animation: vfx-ring 5.4s cubic-bezier(.2, .6, .35, 1) infinite; opacity: 0;
}
.vfx-rings i:nth-child(2) { animation-delay: 1.8s; } .vfx-rings i:nth-child(3) { animation-delay: 3.6s; }
@keyframes vfx-ring { 0% { transform: scale(.55); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

html.vfx .site-header nav a { position: relative; }
html.vfx .site-header nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgb(var(--vfx-accent)), transparent);
  transform: scaleX(0); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
html.vfx .site-header nav a:hover::after, html.vfx .site-header nav a.nav-active::after { transform: scaleX(1); }

@media (max-width: 960px) {
  .vfx-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .vfx-ribbon__item { padding: 11px 16px; font-size: 13px; }
  .vfx-stat { padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html.vfx .hero h1 .vfx-line__in { transform: none; animation: none; }
  html.vfx .hero h1 em, html.vfx .hero-art,
  html.vfx .hero-copy > *, .vfx-stat__eq i, .vfx-stat.is-live strong::after, .vfx-rings i,
  .project-card:hover .vfx-eq i { animation: none !important; }
  .vfx-ribbon__track { animation: none; flex-wrap: wrap; }
  .vfx-ribbon__group[aria-hidden="true"] { display: none; }
  .vfx-rings, .vfx-ripple-layer { display: none; }
}
