.fps-slider {
  --fps-bg: #050607;
  --fps-bg-soft: #0c0e10;
  --fps-surface: rgba(255, 255, 255, 0.05);
  --fps-line: rgba(255, 255, 255, 0.1);
  --fps-text: #f5f1e8;
  --fps-muted: rgba(245, 241, 232, 0.68);
  --fps-accent: #d3af7f;
  --fps-accent-soft: rgba(211, 175, 127, 0.24);
  --fps-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
  position: relative;
  overflow: clip;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 0;
  background: transparent;
  color: var(--fps-text);
  isolation: isolate;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.fps-project-drawer {
  display: none !important;
}

.fps-slider,
.fps-slide,
.fps-slide__content,
.fps-glitch-card,
.fps-fragment__image-wrap {
  will-change: auto;
}

.fps-slider *,
.fps-slider *::before,
.fps-slider *::after {
  box-sizing: border-box;
}

.fps-slider__noise,
.fps-slider__flash,
.fps-slider__chrome,
.fps-slider__frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fps-slider__noise {
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.028) 0,
      rgba(255, 255, 255, 0.028) 1px,
      transparent 1px,
      transparent 4px
    );
  mix-blend-mode: screen;
  opacity: 0.12;
}

.fps-slider__frame {
  z-index: 0;
}

.fps-slider__corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(255, 255, 255, 0.58);
  border-style: solid;
}

.fps-slider__corner--tl {
  top: 14px;
  left: 14px;
  border-width: 1px 0 0 1px;
}

.fps-slider__corner--tr {
  top: 14px;
  right: 14px;
  border-width: 1px 1px 0 0;
}

.fps-slider__corner--bl {
  bottom: 14px;
  left: 14px;
  border-width: 0 0 1px 1px;
}

.fps-slider__corner--br {
  right: 14px;
  bottom: 14px;
  border-width: 0 1px 1px 0;
}

.fps-slider__flash {
  z-index: 4;
  opacity: 0;
  mix-blend-mode: screen;
}

.fps-slider.is-glitching .fps-slider__flash {
  animation: fps-flash 460ms steps(2, end);
}

.fps-slider__flash-band {
  position: absolute;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  opacity: 0;
}

.fps-slider__flash-band--a {
  top: 14%;
  height: 18%;
}

.fps-slider__flash-band--b {
  top: 44%;
  height: 12%;
}

.fps-slider__flash-band--c {
  top: 72%;
  height: 14%;
}

.fps-slider.is-glitching .fps-slider__flash-band--a {
  animation: fps-band-a 420ms steps(2, end);
}

.fps-slider.is-glitching .fps-slider__flash-band--b {
  animation: fps-band-b 420ms steps(2, end);
}

.fps-slider.is-glitching .fps-slider__flash-band--c {
  animation: fps-band-c 420ms steps(2, end);
}

.fps-slider__chrome {
  z-index: 0;
}

.fps-slider__chrome-line {
  position: absolute;
  background: var(--fps-line);
}

.fps-slider__chrome-line--x {
  top: clamp(96px, 14vw, 142px);
  left: 0;
  width: 100%;
  height: 1px;
}

.fps-slider__chrome-line--y {
  top: 0;
  right: min(44%, 420px);
  width: 1px;
  height: 100%;
}

.fps-slider__header,
.fps-slide,
.fps-slider__progress {
  position: relative;
  z-index: 1;
}

.fps-slider__header {
  position: absolute;
  inset: 24px 48px auto 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
}

.fps-slider__eyebrow-wrap {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.fps-slider__eyebrow,
.fps-slide__meta,
.fps-slide__slug,
.fps-slider__control span {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fps-slider__eyebrow {
  color: var(--fps-muted);
  font-size: 0.76rem;
}

.fps-slider__count {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
}

.fps-slider__current {
  color: var(--fps-accent);
}

.fps-slider__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fps-slider__control {
  border: 1px solid var(--fps-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fps-text);
  border-radius: 0;
  min-width: 68px;
  min-height: 36px;
  padding: 0 12px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.fps-slider__control:hover,
.fps-slider__control:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(211, 175, 127, 0.56);
  background: rgba(211, 175, 127, 0.08);
  outline: none;
}

.fps-slider__viewport {
  outline: none;
  touch-action: pan-y;
}

.fps-slider__track {
  position: relative;
  min-height: clamp(520px, 62vw, 660px);
}

.fps-slide {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
  position: absolute;
  inset: 0;
}

.fps-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.fps-slide.is-exiting {
  opacity: 0;
  transform: translate3d(0, -24px, 0);
}

.fps-slide__canvas {
  position: relative;
  min-height: clamp(500px, 54vw, 600px);
  padding: 38px 0 0;
}

.fps-slide__fragments {
  position: absolute;
  inset: 0 0 0 0;
  z-index: 1;
}

.fps-fragment {
  position: absolute;
  margin: 0;
}

.fps-fragment--a {
  top: 6%;
  left: 8%;
  width: 60%;
  height: 42%;
  z-index: 2;
}

.fps-fragment--b {
  left: 4.5%;
  top: 49%;
  width: 40%;
  height: 29%;
  z-index: 3;
}

.fps-fragment--c {
  top: 18%;
  right: 8%;
  width: 46%;
  height: 28%;
  z-index: 5;
}

.fps-fragment--c::after {
  content: none;
}

.fps-fragment__image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  min-height: 0;
  box-shadow: none;
  border: 1px solid rgba(211, 175, 127, 0.22);
  background: rgba(3, 7, 10, 0.9);
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.fps-fragment__link:hover,
.fps-fragment__link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(211, 175, 127, 0.52);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
  outline: none;
}

.fps-fragment__caption {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 76%;
  padding: 6px 10px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.58));
  color: rgba(245, 241, 232, 0.92);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fps-fragment__path {
  opacity: 0.76;
}

.fps-fragment__divider {
  opacity: 0.4;
}

.fps-fragment__label {
  font-weight: 600;
}

.fps-glitch-card {
  position: relative;
  overflow: hidden;
  background: rgba(4, 7, 10, 0.86);
}

.fps-glitch-card::before,
.fps-glitch-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fps-glitch-card::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.08)),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 5px
    );
  mix-blend-mode: screen;
  opacity: 0.45;
}

.fps-glitch-card::after {
  background: linear-gradient(135deg, transparent 0%, rgba(211, 175, 127, 0.12) 100%);
}

.fps-glitch-card__layer,
.fps-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fps-slide__image {
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.fps-slide__image--offset-top {
  object-position: center 18%;
}

.fps-slide__image--offset-bottom {
  object-position: center 78%;
}

.fps-glitch-card__layer--top {
  background-position: center 18%;
}

.fps-glitch-card__layer--bottom {
  background-position: center 78%;
}

.fps-glitch-card__layer--offset-a,
.fps-glitch-card__layer--offset-b {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
}

.fps-slide .fps-glitch-card__layer--offset-a,
.fps-slide .fps-glitch-card__layer--offset-b {
  animation: none;
}

.fps-slider.is-glitching .fps-slide.is-active .fps-glitch-card__layer--offset-a,
.fps-slider.is-glitching .fps-slide.is-active .fps-glitch-card__layer--offset-b {
  animation-duration: 680ms;
  animation-timing-function: steps(2, end);
  animation-fill-mode: both;
}

.fps-slider.is-glitching .fps-slide.is-active .fps-glitch-card__layer--offset-a {
  animation-name: fps-glitch-a;
}

.fps-slider.is-glitching .fps-slide.is-active .fps-glitch-card__layer--offset-b {
  animation-name: fps-glitch-b;
}

.fps-slider.is-glitching .fps-slide.is-active .fps-glitch-card::before {
  animation: fps-card-flicker 420ms steps(2, end);
}

.fps-slider.is-glitching .fps-slide.is-active .fps-glitch-card__layer--offset-a {
  animation-name: fps-glitch-a-strong;
}

.fps-slider.is-glitching .fps-slide.is-active .fps-glitch-card__layer--offset-b {
  animation-name: fps-glitch-b-strong;
}

.fps-slide__badge {
  position: absolute;
  top: 14px;
  left: -72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 56px;
  z-index: 7;
  transform: none;
  border-radius: 999px;
  background: rgba(13, 15, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  pointer-events: none;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
}

.fps-slide__hud {
  position: absolute;
  left: 0;
  bottom: 6%;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  max-width: 52%;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 17, 22, 0.68);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: none;
  backdrop-filter: blur(6px);
  white-space: nowrap;
  overflow-x: auto;
}

.fps-slide__hud-prefix,
.fps-slide__hud-divider {
  opacity: 0.72;
}

.fps-slide__hud-title {
  font-weight: 700;
}

.fps-slide__hud-link {
  color: inherit;
  text-decoration: none;
}

.fps-slide__hud-link:hover,
.fps-slide__hud-link:focus-visible {
  color: var(--fps-accent);
  outline: none;
}

.fps-slide__content {
  position: absolute;
  right: 7%;
  bottom: 8%;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  width: min(36vw, 560px);
  min-height: 340px;
  padding: 24px 24px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 16%, rgba(255, 255, 255, 0.03) 23%, rgba(4, 6, 9, 0.74) 23%, rgba(2, 3, 5, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 28px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px) saturate(115%);
  overflow: hidden;
}

.fps-slide__content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.fps-slide__content::after {
  content: "";
  position: absolute;
  left: -92px;
  top: 42px;
  width: 92px;
  height: 1px;
  background: linear-gradient(90deg, rgba(211, 175, 127, 0), rgba(211, 175, 127, 0.78));
  pointer-events: none;
}

.fps-slide__content-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.fps-slide__content > * {
  position: relative;
  z-index: 2;
}

.fps-slide__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.fps-slide__meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--fps-accent);
  flex: 0 0 auto;
}

.fps-slide__title {
  margin: 0;
  font-size: clamp(2.2rem, 4.1vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: none;
  margin-left: 0;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.fps-slide__title--long {
  font-size: clamp(1.95rem, 3.6vw, 3.3rem);
  line-height: 0.92;
}

.fps-slide__summary {
  margin: 0;
  max-width: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.72;
  padding-top: 0;
  border-top: 0;
}

.fps-slider.is-detail-open .fps-slide__content {
  transform: translateY(-6px);
}

.fps-slide__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 12px;
  z-index: 3;
}

.fps-slide__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.fps-slide__cta:hover,
.fps-slide__cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
  outline: none;
}

.fps-slide__content:hover,
.fps-slide__content:focus-within {
  border-color: rgba(211, 175, 127, 0.32);
}

.fps-slide__slug {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
}

.fps-slider__progress {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 52px;
  z-index: 2;
  margin-top: 0;
}

.fps-slider__progress-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(211, 175, 127, 0.18);
  overflow: hidden;
}

.fps-slider__progress-bar {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, #b88a3b, #d3af7f);
  transform-origin: left center;
  transition: width 260ms ease;
  box-shadow: 0 0 10px rgba(211, 175, 127, 0.28);
}

.fps-slider.is-dragging {
  cursor: grabbing;
}

.fps-slider.is-dragging .fps-slide__cta,
.fps-slider.is-dragging a {
  pointer-events: none;
}

.fps-project-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 36px);
  background: rgba(2, 3, 5, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform-origin: top center;
}

.fps-project-drawer__shell {
  position: relative;
  width: min(1180px, 100%);
  max-height: min(88vh, 960px);
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 32%),
    linear-gradient(180deg, rgba(10, 12, 14, 0.96), rgba(3, 4, 5, 0.98));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.fps-project-drawer.is-opening .fps-project-drawer__shell,
.fps-project-drawer.is-closing .fps-project-drawer__shell {
  animation: fps-drawer-shell 620ms cubic-bezier(0.2, 0.85, 0.16, 1);
}

.fps-project-drawer__frame,
.fps-project-drawer__frame::before,
.fps-project-drawer__frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fps-project-drawer__frame::before,
.fps-project-drawer__frame::after {
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.fps-project-drawer.is-opening .fps-project-drawer__frame::before {
  animation: fps-door-top 620ms cubic-bezier(0.2, 0.85, 0.16, 1);
}

.fps-project-drawer.is-opening .fps-project-drawer__frame::after {
  animation: fps-door-bottom 620ms cubic-bezier(0.2, 0.85, 0.16, 1);
}

.fps-project-drawer__cut {
  position: absolute;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, rgba(211, 175, 127, 0), rgba(211, 175, 127, 0.88));
}

.fps-project-drawer__cut--a {
  top: 56px;
  left: 0;
}

.fps-project-drawer__cut--b {
  right: 0;
  bottom: 56px;
  transform: rotate(180deg);
}

.fps-project-drawer__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fps-project-drawer__eyebrow {
  color: rgba(245, 241, 232, 0.64);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fps-project-drawer__close {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.fps-project-drawer__panels {
  position: relative;
  z-index: 2;
  overflow: auto;
}

.fps-project-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 34%),
    linear-gradient(180deg, rgba(10, 12, 14, 0.94), rgba(3, 4, 5, 0.98));
  overflow: hidden;
}

.fps-project-panel.is-active {
  animation: fps-panel-reveal 520ms cubic-bezier(0.2, 0.85, 0.16, 1);
}

.fps-project-section__media {
  position: relative;
  min-height: 420px;
  background: rgba(3, 6, 8, 0.86);
}

.fps-project-section__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fps-project-section__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 34px 34px;
}

.fps-project-section__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fps-project-section__meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--fps-accent);
}

.fps-project-section__title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
}

.fps-project-section__summary {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.8;
}

.fps-project-section__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}

.fps-project-section__backlink,
.fps-project-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.fps-project-section__backlink {
  background: rgba(255, 255, 255, 0.03);
}

.fps-project-section__cta {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
}

.fps-project-section__backlink:hover,
.fps-project-section__backlink:focus-visible,
.fps-project-section__cta:hover,
.fps-project-section__cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(211, 175, 127, 0.48);
  background: rgba(211, 175, 127, 0.08);
  outline: none;
}

@keyframes fps-drawer-shell {
  0% {
    opacity: 0;
    transform: perspective(1200px) rotateX(-14deg) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) scale(1);
  }
}

@keyframes fps-door-top {
  0% {
    transform: translateY(0);
    opacity: 0.72;
  }
  100% {
    transform: translateY(-120%);
    opacity: 0;
  }
}

@keyframes fps-door-bottom {
  0% {
    transform: translateY(0);
    opacity: 0.72;
  }
  100% {
    transform: translateY(120%);
    opacity: 0;
  }
}

@keyframes fps-panel-reveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.fps-drawer-open {
  overflow: hidden;
}

@keyframes fps-glitch-a {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 100% 0);
  }
  20% {
    opacity: 0.32;
    transform: translate3d(-10px, 0, 0);
    clip-path: inset(8% 0 62% 0);
  }
  45% {
    opacity: 0.16;
    transform: translate3d(6px, 0, 0);
    clip-path: inset(48% 0 24% 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(100% 0 0 0);
  }
}

@keyframes fps-glitch-b {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(100% 0 0 0);
  }
  18% {
    opacity: 0.22;
    transform: translate3d(10px, 0, 0);
    clip-path: inset(66% 0 14% 0);
  }
  42% {
    opacity: 0.14;
    transform: translate3d(-6px, 0, 0);
    clip-path: inset(28% 0 42% 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 100% 0);
  }
}

@keyframes fps-glitch-a-strong {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1);
    clip-path: inset(0 0 100% 0);
    filter: hue-rotate(0deg);
  }
  14% {
    opacity: 0.52;
    transform: translate3d(-18px, 0, 0) scale(1.03);
    clip-path: inset(4% 0 68% 0);
    filter: hue-rotate(12deg);
  }
  36% {
    opacity: 0.28;
    transform: translate3d(12px, 0, 0) scale(1.02);
    clip-path: inset(46% 0 24% 0);
  }
  54% {
    opacity: 0.2;
    transform: translate3d(-8px, 0, 0) scale(1.01);
    clip-path: inset(20% 0 52% 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1);
    clip-path: inset(100% 0 0 0);
    filter: hue-rotate(0deg);
  }
}

@keyframes fps-glitch-b-strong {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1);
    clip-path: inset(100% 0 0 0);
    filter: hue-rotate(0deg);
  }
  18% {
    opacity: 0.4;
    transform: translate3d(18px, 0, 0) scale(1.03);
    clip-path: inset(70% 0 8% 0);
    filter: hue-rotate(-10deg);
  }
  44% {
    opacity: 0.18;
    transform: translate3d(-12px, 0, 0) scale(1.02);
    clip-path: inset(30% 0 42% 0);
  }
  62% {
    opacity: 0.22;
    transform: translate3d(10px, 0, 0) scale(1.01);
    clip-path: inset(8% 0 74% 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1);
    clip-path: inset(0 0 100% 0);
    filter: hue-rotate(0deg);
  }
}

@keyframes fps-card-flicker {
  0% {
    opacity: 0.68;
  }
  35% {
    opacity: 0.18;
  }
  65% {
    opacity: 0.52;
  }
  100% {
    opacity: 0.45;
  }
}

@keyframes fps-flash {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 0.78;
  }
  52% {
    opacity: 0.26;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fps-band-a {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  25% {
    opacity: 0.38;
    transform: translate3d(-22px, 0, 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fps-band-b {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  30% {
    opacity: 0.28;
    transform: translate3d(18px, 0, 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fps-band-c {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  34% {
    opacity: 0.32;
    transform: translate3d(-14px, 0, 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fps-noise {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-2px, 1px, 0);
  }
  100% {
    transform: translate3d(1px, -2px, 0);
  }
}

@media (max-width: 980px) {
  .fps-slider {
    border-radius: 0;
    padding: 22px 20px 90px;
  }

  .fps-slider__header {
    position: relative;
    inset: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
    padding-right: 0;
  }

  .fps-slider__chrome-line--y {
    display: none;
  }

  .fps-slider__chrome-line--x {
    top: 104px;
  }

  .fps-slider__controls {
    align-self: flex-end;
  }

  .fps-slide {
    position: relative;
  }

  .fps-slide__canvas {
    min-height: 700px;
    padding-top: 12px;
  }

  .fps-slide__content {
    right: 3%;
    bottom: 4%;
    width: min(48vw, 440px);
    min-height: 278px;
    padding: 20px 18px 18px;
  }

  .fps-fragment--a {
    top: 2%;
    left: 4%;
    width: 60%;
    height: 31%;
  }

  .fps-fragment--b {
    left: 3%;
    top: 46%;
    width: 46%;
    height: 23%;
  }

  .fps-fragment--c {
    top: 21%;
    right: 2%;
    width: 52%;
    height: 28%;
  }

  .fps-slide__title {
    max-width: none;
    font-size: clamp(2.35rem, 5vw, 3.35rem);
  }

  .fps-slide__hud {
    left: 0;
    bottom: 13%;
    max-width: 52%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .fps-slide__badge {
    top: 8px;
    left: -46px;
    min-width: 52px;
    min-height: 52px;
  }

  .fps-slide__content::after {
    left: -54px;
    top: 32px;
    width: 54px;
  }

  .fps-project-panel {
    grid-template-columns: 1fr;
  }

  .fps-project-section__media {
    min-height: 260px;
  }

  .fps-slider__progress {
    left: 20px;
    right: 20px;
    bottom: 30px;
  }
}

@media (max-width: 820px) {
  .fps-slider {
    padding: 20px 18px 84px;
  }

  .fps-slider__noise,
  .fps-slider__flash,
  .fps-slider__chrome {
    display: none;
  }

  .fps-glitch-card::before,
  .fps-glitch-card::after {
    opacity: 0.18;
  }

  .fps-slide__content,
  .fps-fragment__image-wrap,
  .fps-slide__badge,
  .fps-slide__hud {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .fps-slider__eyebrow-wrap {
    gap: 12px;
  }

  .fps-slider__track {
    min-height: 0;
  }

  .fps-slide__canvas {
    min-height: 760px;
  }

  .fps-fragment--a {
    top: 0;
    left: 2%;
    width: 72%;
    height: 28%;
  }

  .fps-fragment--b {
    left: 0;
    top: 34%;
    width: 56%;
    height: 20%;
  }

  .fps-fragment--c {
    top: 16%;
    right: 0;
    width: 62%;
    height: 22%;
  }

  .fps-slide__badge {
    top: 8px;
    left: -32px;
    min-width: 46px;
    min-height: 46px;
    font-size: 0.72rem;
  }

  .fps-slide__hud {
    left: 0;
    bottom: 44%;
    max-width: calc(100% - 18px);
    font-size: 0.56rem;
  }

  .fps-slide__content {
    right: auto;
    left: 0;
    bottom: 0;
    width: min(100%, 520px);
    min-height: 0;
  }

  .fps-slide__content::after {
    display: none;
  }

  .fps-slide__summary {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .fps-project-drawer {
    padding: 18px;
  }

  .fps-project-drawer__shell {
    padding: 18px;
    max-height: 90vh;
  }

  .fps-project-section__content {
    padding: 24px 20px 22px;
  }
}

@media (max-width: 640px) {
  .fps-slider {
    padding: 18px 14px 72px;
  }

  .fps-slider__header {
    position: relative;
    inset: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
  }

  .fps-slider__controls {
    width: auto;
    align-self: flex-end;
  }

  .fps-slider__control {
    min-width: 64px;
    min-height: 34px;
    padding: 0 12px;
  }

  .fps-slider__track {
    min-height: 0;
  }

  .fps-slide {
    position: relative;
    inset: auto;
    display: none;
    gap: 18px;
  }

  .fps-slide.is-active {
    display: block;
  }

  .fps-slide__canvas {
    min-height: 650px;
    padding-top: 4px;
  }

  .fps-fragment--a {
    top: 0;
    left: 2%;
    width: 84%;
    height: 25%;
  }

  .fps-fragment--b {
    left: 0;
    top: 30%;
    width: 62%;
    height: 18%;
  }

  .fps-fragment--c {
    top: 14%;
    right: 0;
    width: 70%;
    height: 20%;
  }

  .fps-fragment__caption {
    max-width: 82%;
    font-size: 0.56rem;
    letter-spacing: 0.1em;
    padding: 5px 8px;
  }

  .fps-slide__badge {
    top: 8px;
    left: -22px;
    min-width: 42px;
    min-height: 42px;
    font-size: 0.68rem;
  }

  .fps-slide__hud {
    left: 0;
    bottom: 34%;
    gap: 8px;
    min-height: 36px;
    max-width: calc(100% - 16px);
    padding: 0 9px;
    font-size: 0.52rem;
    transform: none;
    overflow-x: auto;
    white-space: nowrap;
  }

  .fps-slide__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 0;
    margin-top: 0;
    padding: 14px 14px 14px;
    gap: 12px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 12%, rgba(255, 255, 255, 0.02) 24%, rgba(3, 4, 6, 0.8) 24%, rgba(2, 3, 5, 0.96) 100%);
  }

  .fps-fragment__image-wrap {
    border-color: rgba(211, 175, 127, 0.16);
    background: rgba(2, 4, 6, 0.96);
  }

  .fps-slide__summary {
    max-width: none;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .fps-slide__title {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
    line-height: 0.94;
  }

  .fps-slide__meta {
    gap: 10px;
    font-size: 0.72rem;
  }

  .fps-slide__cta {
    min-height: 42px;
    padding: 0 15px;
  }

  .fps-slider__progress {
    left: 14px;
    right: 14px;
    bottom: 24px;
  }

  .fps-project-section__media {
    min-height: 220px;
  }

  .fps-project-drawer {
    padding: 14px;
  }

  .fps-project-drawer__shell {
    gap: 14px;
    padding: 14px;
  }

  .fps-project-drawer__close {
    min-height: 34px;
    padding: 0 12px;
  }

  .fps-project-section__title {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .fps-project-section__summary {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

@media (max-width: 420px) {
  .fps-slider {
    padding: 16px 12px 68px;
  }

  .fps-slider__header {
    margin-bottom: 16px;
  }

  .fps-slider__eyebrow {
    font-size: 0.68rem;
  }

  .fps-slider__count {
    font-size: 0.8rem;
  }

  .fps-slider__control {
    min-width: 58px;
    min-height: 32px;
    padding: 0 10px;
  }

  .fps-slide__canvas {
    min-height: 590px;
  }

  .fps-fragment--a {
    width: 86%;
    height: 22%;
  }

  .fps-fragment--b {
    top: 27%;
    width: 66%;
    height: 16%;
  }

  .fps-fragment--c {
    top: 12%;
    width: 74%;
    height: 18%;
  }

  .fps-slide__badge {
    left: -10px;
    min-width: 38px;
    min-height: 38px;
    font-size: 0.62rem;
  }

  .fps-slide__hud {
    bottom: 34%;
    min-height: 34px;
    font-size: 0.48rem;
  }

  .fps-slide__content {
    padding: 12px 12px 12px;
  }

  .fps-slide__title {
    font-size: clamp(1.7rem, 9.5vw, 2.3rem);
  }

  .fps-slide__summary {
    font-size: 0.84rem;
    line-height: 1.5;
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .fps-slider {
    padding: 22px 20px 86px;
  }

  .fps-slide__canvas {
    min-height: 700px;
  }

  .fps-slide__title {
    font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  }

  .fps-slide__summary {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .fps-slide__hud {
    left: 0;
    bottom: 13%;
    max-width: 52%;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fps-slider *,
  .fps-slider *::before,
  .fps-slider *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

