@font-face {
  font-family: "Akira Expanded";
  src: url("./assets/akira-expanded-demo.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 180ms;
  animation-timing-function: ease-out;
}

:root {
  --bg: #0d0d0d;
  --panel: transparent;
  --text: #ffffff;
  --muted: #8d8b86;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #d7b56d;
  --hover: #6b6fc1;
  --radius: 8px;
  --button-glow: rgba(148, 154, 255, 0.36);
  --button-glint: rgba(255, 255, 255, 0.22);
  --button-warm-glow: rgba(215, 181, 109, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

html.is-restoring-home {
  scroll-behavior: auto;
}

html.contact-snap-active {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

.contact-body {
  --contact-title-shift: 0vh;
  --contact-title-scale: 1;
  --contact-info-opacity: 0;
  --contact-info-y: 80px;
  --contact-info-blur: 8px;
  background: #000;
}

html:has(.contact-body) {
  background: #000;
}

.home-body {
  --home-ease: cubic-bezier(0.36, 0, 0.18, 1);
  --home-motion-duration: 1100ms;
  --home-title-shift: 0vh;
  --home-title-scale: 1;
  --home-wordmark-drop: 0vh;
  --home-star-opacity: 1;
  --home-star-return-opacity: 1;
  --home-pao-opacity: 1;
  --home-works-opacity: 0;
  --home-works-y: 80px;
  --home-hero-video-opacity: 0.9;
  --home-window-video-opacity: 0;
  --hero-video-window-top: var(--header-height);
  --hero-video-window-height: calc(100vh - var(--header-height));
}

.home-body.home-revealed {
  --home-works-opacity: 1;
  --home-works-y: 0px;
}

html.is-restoring-home .home-body {
  opacity: 0;
}

html.is-restoring-home .home-body *,
html.is-restoring-home .home-body *::before,
html.is-restoring-home .home-body *::after {
  animation-duration: 0s;
  animation-delay: 0s;
  transition-duration: 0s;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
label,
select,
input[type="file"] {
  -webkit-tap-highlight-color: transparent;
}

.page,
.back-link,
.login-close,
.auth-tab,
.admin-tab,
.admin-logout,
.sort-exit,
.password-toggle,
.drop-zone,
.account-actions button,
.client-form-actions button,
.admin-form button,
.admin-actions button {
  --ui-hover-x: 50%;
  --ui-hover-y: 50%;
  --ui-press-y: 0px;
  --ui-press-scale: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translate3d(0, var(--ui-press-y), 0) scale(var(--ui-press-scale));
  transition:
    color 190ms ease,
    background-color 190ms ease,
    border-color 190ms ease,
    box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, box-shadow, filter;
}

.page::before,
.back-link::before,
.login-close::before,
.auth-tab::before,
.admin-tab::before,
.admin-logout::before,
.sort-exit::before,
.password-toggle::before,
.drop-zone::before,
.account-actions button::before,
.client-form-actions button::before,
.admin-form button::before,
.admin-actions button::before {
  position: absolute;
  inset: -1px;
  z-index: 0;
  background:
    radial-gradient(circle at var(--ui-hover-x) var(--ui-hover-y), var(--button-glint), transparent 0 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 38%, rgba(255, 255, 255, 0.07));
  border-radius: inherit;
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate3d(0, 7px, 0) scale(0.98);
  transition:
    opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
  content: "";
  pointer-events: none;
}

.page::after,
.back-link::after,
.login-close::after,
.auth-tab::after,
.admin-tab::after,
.admin-logout::after,
.sort-exit::after,
.password-toggle::after,
.drop-zone::after,
.account-actions button::after,
.client-form-actions button::after,
.admin-form button::after,
.admin-actions button::after {
  position: absolute;
  top: -140%;
  bottom: -140%;
  left: -70%;
  z-index: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate3d(-120%, 0, 0) rotate(18deg);
  transition:
    opacity 260ms ease,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  content: "";
  pointer-events: none;
}

.page:hover,
.back-link:hover,
.login-close:hover,
.auth-tab:hover,
.admin-tab:hover,
.admin-logout:hover,
.sort-exit:hover,
.password-toggle:hover,
.drop-zone:hover,
.drop-zone:focus-visible,
.account-actions button:hover,
.client-form-actions button:hover,
.admin-form button:hover,
.admin-actions button:hover {
  --ui-press-y: -1px;
  filter: brightness(1.08) saturate(1.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 14px 34px rgba(0, 0, 0, 0.24),
    0 0 24px var(--button-glow);
}

.page:hover::before,
.back-link:hover::before,
.login-close:hover::before,
.auth-tab:hover::before,
.admin-tab:hover::before,
.admin-logout:hover::before,
.sort-exit:hover::before,
.password-toggle:hover::before,
.drop-zone:hover::before,
.drop-zone:focus-visible::before,
.account-actions button:hover::before,
.client-form-actions button:hover::before,
.admin-form button:hover::before,
.admin-actions button:hover::before,
.ui-pointer-active::before {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.page:hover::after,
.back-link:hover::after,
.login-close:hover::after,
.auth-tab:hover::after,
.admin-tab:hover::after,
.admin-logout:hover::after,
.sort-exit:hover::after,
.password-toggle:hover::after,
.drop-zone:hover::after,
.drop-zone:focus-visible::after,
.account-actions button:hover::after,
.client-form-actions button:hover::after,
.admin-form button:hover::after,
.admin-actions button:hover::after {
  opacity: 1;
  transform: translate3d(470%, 0, 0) rotate(18deg);
}

.page:active,
.back-link:active,
.login-close:active,
.auth-tab:active,
.admin-tab:active,
.admin-logout:active,
.sort-exit:active,
.password-toggle:active,
.drop-zone:active,
.account-actions button:active,
.client-form-actions button:active,
.admin-form button:active,
.admin-actions button:active {
  --ui-press-y: 1px;
  --ui-press-scale: 0.975;
  filter: brightness(0.96) saturate(1);
  transition-duration: 90ms;
}

.filter.is-active,
.auth-tab.is-active,
.admin-tab.is-active,
.page.is-current {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 0 24px rgba(107, 111, 193, 0.28);
}

.filter.is-active::before,
.auth-tab.is-active::before,
.admin-tab.is-active::before,
.page.is-current::before {
  opacity: 0.78;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  background: #0d0d0d;
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
  view-transition-name: site-header;
}

.home-body .site-header {
  position: fixed;
  right: 0;
  left: 0;
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

.contact-body .site-header {
  position: fixed;
  right: 0;
  left: 0;
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #0b0b0b;
  background: var(--text);
  border-radius: var(--radius);
}

.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-name {
  font-size: 15px;
  transform: translateY(3px);
}

.main-nav {
  display: flex;
  gap: clamp(18px, 4vw, 46px);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  color: var(--muted);
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--hover);
}

.main-nav a[aria-current="page"] {
  box-shadow: none;
}

.main-nav a[aria-current="page"]::before,
.main-nav a[aria-current="page"]::after {
  opacity: 0;
}

.nav-login {
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease;
}

.nav-login:hover {
  color: var(--hover);
}

.main-nav a,
.main-nav a:focus,
.main-nav a:focus-visible,
.main-nav a:active,
.main-nav a[aria-current="page"],
.nav-login,
.nav-login:focus,
.nav-login:focus-visible,
.nav-login:active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  outline: none;
  text-decoration: none;
}

.main-nav a:hover,
.nav-login:hover {
  --ui-press-y: 0px;
  box-shadow: none;
  filter: none;
  text-decoration: none;
  text-shadow: 0 0 18px var(--button-glow);
}

.main-nav a::before,
.nav-login::before,
.main-nav a:hover::before,
.nav-login:hover::before,
.main-nav a.ui-pointer-active::before,
.nav-login.ui-pointer-active::before {
  opacity: 0;
  transform: none;
}

.works-hero {
  position: relative;
  z-index: 8;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 64px;
  place-items: center;
  overflow: visible;
  background: #020202;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #020202;
  opacity: var(--home-hero-video-opacity);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateZ(0);
  will-change: opacity;
}

.hero-video-bg video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  background: #020202;
  filter: brightness(0.5) saturate(0.5) contrast(1.06);
}

.hero-video-bg::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.24) 0,
    rgba(0, 0, 0, 0.24) 2px,
    transparent 2px,
    transparent 6px
  );
  content: "";
  pointer-events: none;
}

.hero-video-window {
  position: fixed;
  top: var(--hero-video-window-top);
  right: 0;
  left: 0;
  bottom: auto;
  height: var(--hero-video-window-height);
  max-height: calc(100vh - var(--header-height));
  z-index: 7;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
  opacity: var(--home-window-video-opacity);
  clip-path: inset(0 0 0 0);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateZ(0);
  will-change: opacity;
}

.hero-video-window::before,
.hero-video-window::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.hero-video-window::before {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.24) 0,
      rgba(0, 0, 0, 0.24) 2px,
      transparent 2px,
      transparent 6px
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.06)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.01), transparent 36%, rgba(0, 0, 0, 0.01));
}

.hero-video-window::after {
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.01) 0, rgba(11, 11, 11, 0) 12%),
    linear-gradient(180deg, rgba(13, 13, 13, 0) 80%, rgba(13, 13, 13, 0.1) 100%);
}

.hero-video-window video {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translate3d(-50%, -50%, 0) scale(1.06);
  background: transparent;
  filter: brightness(0.5) saturate(0.5) contrast(1.06);
  opacity: 1;
}

.hero-motion {
  position: absolute;
  inset: 0;
  z-index: 8;
  overflow: hidden;
  pointer-events: none;
  --cube-x: 0px;
  --cube-y: 0px;
  --cube-light-x: 0px;
  --cube-light-y: 0px;
  --cube-tilt-x: 0deg;
  --cube-tilt-y: 0deg;
  --cube-glow-alpha: 0.22;
  --cube-size: clamp(430px, 38vw, 700px);
}

.hero-crystal-scene {
  position: absolute;
  top: 2%;
  right: -4%;
  z-index: 1;
  width: min(62vw, 1080px);
  height: min(92vh, 920px);
  opacity: 0.98;
  pointer-events: none;
  perspective: 1300px;
  transform: translate3d(var(--cube-x), var(--cube-y), 0);
  transform-style: preserve-3d;
  mix-blend-mode: screen;
}

.hero-crystal-scene::before,
.hero-crystal-scene::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-crystal-scene::before {
  inset: 11% 6% 8% 16%;
  background:
    radial-gradient(ellipse at 62% 48%, rgba(184, 238, 255, 0.18), transparent 0 26%, transparent 58%),
    radial-gradient(ellipse at 46% 62%, rgba(29, 224, 184, 0.13), transparent 0 30%, transparent 62%),
    radial-gradient(ellipse at 78% 25%, rgba(252, 221, 82, 0.1), transparent 0 18%, transparent 44%);
  border-radius: 50%;
  clip-path: ellipse(48% 40% at 60% 50%);
  filter: blur(36px);
  opacity: 0.7;
  animation: cube-ambient-breathe 16s cubic-bezier(0.42, 0, 0.3, 1) infinite alternate;
}

.hero-crystal-scene::after {
  left: 35%;
  bottom: 0;
  width: 58%;
  height: 20%;
  background:
    radial-gradient(ellipse at center, rgba(40, 145, 226, 0.24), transparent 66%),
    radial-gradient(ellipse at 42% 54%, rgba(19, 233, 174, 0.16), transparent 48%);
  filter: blur(28px);
  opacity: 0.62;
  transform: rotate(-10deg);
  animation: cube-shadow-breathe 18s cubic-bezier(0.42, 0, 0.3, 1) infinite alternate;
}

.axis-light {
  position: absolute;
  z-index: 0;
  display: block;
  height: 10%;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.78;
  transform-origin: center;
  will-change: transform, opacity, filter;
  mix-blend-mode: screen;
}

.axis-light::before {
  position: absolute;
  inset: -80% 0;
  border-radius: inherit;
  content: "";
  background: inherit;
  filter: blur(20px);
  opacity: 0.42;
}

.axis-light-x {
  top: 38%;
  left: -46%;
  width: 104%;
  background: linear-gradient(90deg, transparent, rgba(18, 72, 175, 0.28), rgba(40, 180, 255, 0.66), rgba(72, 236, 222, 0.2), transparent);
  transform: translate3d(calc(var(--cube-light-x) * -0.35), calc(var(--cube-light-y) * 0.08), 0) rotate(4deg);
  animation: axis-light-x 13s cubic-bezier(0.42, 0, 0.3, 1) infinite alternate;
}

.axis-light-y {
  top: -11%;
  right: 8%;
  width: 72%;
  background: linear-gradient(90deg, transparent, rgba(74, 110, 255, 0.3), rgba(255, 247, 162, 0.78), rgba(255, 155, 54, 0.28), transparent);
  transform: translate3d(calc(var(--cube-light-x) * 0.24), calc(var(--cube-light-y) * -0.2), 0) rotate(116deg);
  animation: axis-light-y 15s cubic-bezier(0.42, 0, 0.3, 1) infinite alternate;
}

.axis-light-z {
  right: 5%;
  bottom: -8%;
  width: 72%;
  background: linear-gradient(90deg, transparent, rgba(36, 79, 228, 0.22), rgba(35, 214, 255, 0.58), rgba(76, 247, 156, 0.22), transparent);
  transform: translate3d(calc(var(--cube-light-x) * 0.14), calc(var(--cube-light-y) * 0.24), 0) rotate(75deg);
  animation: axis-light-z 12s cubic-bezier(0.42, 0, 0.3, 1) infinite alternate;
}

.glass-cube {
  position: absolute;
  top: 48%;
  left: 59%;
  z-index: 1;
  width: var(--cube-size);
  height: var(--cube-size);
  transform: translate3d(-50%, -50%, 130px) rotateX(var(--cube-tilt-y)) rotateY(var(--cube-tilt-x)) rotateZ(0deg);
  transform-style: preserve-3d;
  animation: glass-cube-image-spin 26s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  will-change: transform, filter;
}

.glass-cube::before,
.glass-cube::after {
  position: absolute;
  content: "";
  pointer-events: none;
  mix-blend-mode: screen;
}

.glass-cube::before {
  inset: 8% 8% 14%;
  z-index: 1;
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.68), transparent 18% 70%, rgba(70, 220, 255, 0.24)),
    radial-gradient(circle at 57% 65%, rgba(251, 255, 182, 0.34), transparent 0 21%);
  filter: blur(12px);
  opacity: calc(0.24 + var(--cube-glow-alpha));
  transform: translate3d(calc(var(--cube-light-x) * -0.34), calc(var(--cube-light-y) * -0.28), 0) rotate(-4deg);
}

.glass-cube::after {
  left: 7%;
  right: 8%;
  bottom: -4%;
  z-index: 0;
  height: 22%;
  background:
    radial-gradient(ellipse at 42% 50%, rgba(255, 255, 230, 0.28), transparent 0 30%),
    radial-gradient(ellipse at 68% 48%, rgba(55, 206, 255, 0.24), transparent 0 42%);
  filter: blur(16px);
  opacity: 0.58;
  transform: rotate(-4deg) skewX(-10deg);
}

.cube-image,
.cube-reflection,
.cube-specular {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cube-image {
  z-index: 2;
  object-fit: contain;
  filter:
    drop-shadow(0 0 28px rgba(138, 224, 255, 0.24))
    drop-shadow(0 0 54px rgba(54, 186, 255, 0.12))
    drop-shadow(0 38px 78px rgba(2, 8, 16, 0.82))
    saturate(1.2)
    contrast(1.13);
  transform: translate3d(calc(var(--cube-light-x) * 0.22), calc(var(--cube-light-y) * 0.2), 0) scale(1.02);
  user-select: none;
}

.cube-reflection {
  z-index: 1;
  top: 72%;
  background: url("./assets/glass-cube-cutout.png") center / contain no-repeat;
  opacity: 0.26;
  filter: blur(8px) saturate(1.22);
  transform: scaleY(-0.38) skewX(-8deg) translateY(-7%);
  -webkit-mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.68), transparent 62%);
  mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.68), transparent 62%);
  mix-blend-mode: screen;
  animation: cube-reflection-breathe 10s cubic-bezier(0.42, 0, 0.3, 1) infinite alternate;
}

.cube-specular {
  z-index: 3;
  inset: 8% 10% 16%;
  background:
    linear-gradient(115deg, transparent 0 22%, rgba(255, 255, 255, 0.46), rgba(124, 226, 255, 0.16) 34%, transparent 46%),
    radial-gradient(circle at calc(34% + var(--cube-light-x)) calc(24% + var(--cube-light-y)), rgba(255, 249, 178, 0.36), transparent 0 22%),
    radial-gradient(circle at 72% 64%, rgba(90, 224, 255, 0.22), transparent 0 30%);
  opacity: calc(0.36 + var(--cube-glow-alpha));
  filter: blur(6px);
  mix-blend-mode: screen;
  transform: translate3d(calc(var(--cube-light-x) * 0.7), calc(var(--cube-light-y) * 0.7), 0);
  animation: cube-specular-sweep 8.5s cubic-bezier(0.42, 0, 0.3, 1) infinite alternate;
}

@keyframes cube-ambient-breathe {
  from {
    opacity: 0.58;
    transform: translate3d(-16px, 12px, 0) scale(0.96);
  }

  to {
    opacity: 0.95;
    transform: translate3d(18px, -14px, 0) scale(1.06);
  }
}

@keyframes cube-shadow-breathe {
  from {
    opacity: 0.42;
    transform: rotate(-8deg) scale(0.94);
  }

  to {
    opacity: 0.74;
    transform: rotate(-12deg) scale(1.08);
  }
}

@keyframes glass-cube-image-spin {
  from {
    transform: translate3d(-50%, -50%, 130px) rotateX(calc(var(--cube-tilt-y) + 0deg)) rotateY(calc(var(--cube-tilt-x) - 8deg)) rotateZ(-4deg) scale(0.99);
  }

  33% {
    transform: translate3d(-50%, -51%, 130px) rotateX(calc(var(--cube-tilt-y) + 4deg)) rotateY(calc(var(--cube-tilt-x) + 8deg)) rotateZ(2deg) scale(1.035);
  }

  66% {
    transform: translate3d(-50%, -49%, 130px) rotateX(calc(var(--cube-tilt-y) - 5deg)) rotateY(calc(var(--cube-tilt-x) + 15deg)) rotateZ(-2deg) scale(1);
  }

  to {
    transform: translate3d(-50%, -50%, 130px) rotateX(calc(var(--cube-tilt-y) + 0deg)) rotateY(calc(var(--cube-tilt-x) - 8deg)) rotateZ(-4deg) scale(0.99);
  }
}

@keyframes cube-reflection-breathe {
  from {
    opacity: 0.14;
    transform: scaleY(-0.32) skewX(-8deg) translateY(-5%);
  }

  to {
    opacity: 0.28;
    transform: scaleY(-0.42) skewX(-11deg) translateY(-10%);
  }
}

@keyframes cube-specular-sweep {
  from {
    opacity: 0.32;
    transform: translate3d(calc(-18px + var(--cube-light-x) * 0.7), calc(10px + var(--cube-light-y) * 0.7), 0);
  }

  to {
    opacity: 0.62;
    transform: translate3d(calc(18px + var(--cube-light-x) * 0.7), calc(-12px + var(--cube-light-y) * 0.7), 0);
  }
}

@keyframes axis-light-x {
  from {
    opacity: 0.42;
    filter: blur(12px);
  }

  to {
    opacity: 0.82;
    filter: blur(7px);
  }
}

@keyframes axis-light-y {
  from {
    opacity: 0.48;
    filter: blur(13px);
  }

  to {
    opacity: 0.9;
    filter: blur(8px);
  }
}

@keyframes axis-light-z {
  from {
    opacity: 0.34;
    filter: blur(14px);
  }

  to {
    opacity: 0.72;
    filter: blur(8px);
  }
}

.works-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0), #0d0d0d 88%);
  content: "";
  pointer-events: none;
}

.works-hero::before {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14)) 0 20% / 100% 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14)) 0 42% / 100% 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14)) 0 63.7% / 100% 1px no-repeat;
}

.works-hero .filters {
  position: relative;
  z-index: 8;
}

.home-body .stack-title {
  position: absolute;
  z-index: 9;
  top: 52.2%;
  left: clamp(80px, 6.45vw, 132px);
  right: 0;
  width: auto;
  overflow: visible;
  pointer-events: none;
  transform: translate3d(0, -50%, 0);
}

@media (max-height: 1200px) and (min-width: 641px) {
  .works-hero {
    min-height: 100vh;
    min-height: 100svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-crystal-scene {
    opacity: 0.58;
  }

  .hero-crystal-scene::before,
  .hero-crystal-scene::after,
  .axis-light,
  .glass-cube,
  .glass-cube::before,
  .glass-cube::after,
  .cube-reflection,
  .cube-specular {
    animation: none;
  }

  .home-body .site-header,
  .home-body .stack-title,
  .home-body .stack-title-lines,
  .home-body .wordmark-welcome,
  .home-body .wordmark-star,
  .home-body .wordmark-system,
  .home-body .wordmark-to,
  .home-body .wordmark-pao,
  .works-reveal {
    transition: none;
    animation: none;
    translate: 0 0;
    rotate: 0deg;
  }

  .hero-video-bg,
  .hero-video-window {
    transition: none;
  }

  .home-body.home-revealed .stack-title {
    opacity: 1;
    transform: translate3d(0, -50%, 0);
  }

  .home-body.home-revealed .stack-title-lines {
    transform: translateZ(0);
  }

  .works-reveal {
    filter: none;
  }
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(76px, 6.7vw, 136px);
  line-height: 1.067;
  font-weight: 800;
}

.stack-title-lines,
.stack-title-line {
  display: block;
}

.stack-title {
  font-family: "Akira Expanded", Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.067;
  letter-spacing: 0;
  text-align: left;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  transform-origin: left top;
  transition: none;
  backface-visibility: hidden;
  contain: layout;
  overflow: visible;
  will-change: transform, opacity;
}

.stack-title-lines {
  transform: translateZ(0);
  transform-origin: left top;
  transition: none;
  backface-visibility: hidden;
  will-change: transform;
}

.hero-wordmark {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(420px, 39vw, 650px);
  overflow: visible;
}

.wordmark-image {
  position: absolute;
  display: block;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.wordmark-welcome {
  top: clamp(58px, 3.55vw, 73px);
  left: 0;
  width: min(45.3vw, 929px);
  transform: translate3d(0, var(--home-wordmark-drop), 0);
  translate: 0 0;
  will-change: transform;
}

.wordmark-star {
  top: calc(clamp(58px, 3.55vw, 73px) + clamp(28px, 1.65vw, 34px));
  left: min(47.7vw, 978px);
  width: clamp(64px, 4.1vw, 84px);
  opacity: calc(var(--home-star-opacity) * var(--home-star-return-opacity));
  transform: translate3d(0, var(--home-wordmark-drop), 0);
  transform-origin: 50% 52%;
  translate: 0 0;
  rotate: 0deg;
  will-change: transform, translate, rotate, opacity;
}

.wordmark-line-art {
  top: clamp(48px, 3.05vw, 63px);
  right: clamp(136px, 8vw, 164px);
  width: clamp(86px, 6vw, 123px);
  opacity: 0.72;
}

.wordmark-system {
  top: clamp(220px, 13.4vw, 274px);
  left: clamp(6px, 0.9vw, 18px);
  width: clamp(230px, 18.6vw, 382px);
  opacity: 0.84;
  translate: 0 0;
}

.wordmark-year {
  display: none;
}

.wordmark-to {
  top: clamp(212px, 12.55vw, 258px);
  right: clamp(136px, 8vw, 164px);
  width: min(18.2vw, 372px);
  translate: 0 0;
}

.wordmark-pao {
  left: clamp(304px, 15vw, 410px);
  top: clamp(458px, 23vw, 472px);
  width: min(47.4vw, 972px);
  opacity: var(--home-pao-opacity);
  translate: 0 0;
  will-change: opacity, translate;
}

.home-body:not(.home-revealed) .wordmark-welcome,
.home-body:not(.home-revealed) .wordmark-pao {
  animation: wordmark-enter-from-right 1500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-body:not(.home-revealed) .wordmark-system,
.home-body:not(.home-revealed) .wordmark-to {
  animation: wordmark-enter-from-left 1600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-body:not(.home-revealed) .wordmark-star {
  animation: wordmark-star-emerge 1600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-body:not(.home-revealed) .wordmark-welcome {
  animation-delay: 80ms;
}

.home-body:not(.home-revealed) .wordmark-system {
  animation-delay: 180ms;
}

.home-body:not(.home-revealed) .wordmark-to {
  animation-delay: 260ms;
}

.home-body:not(.home-revealed) .wordmark-pao {
  animation-delay: 360ms;
}

.home-body:not(.home-revealed) .wordmark-star {
  animation-delay: 620ms;
}

@keyframes wordmark-enter-from-right {
  0% {
    translate: 9.5vw 0;
    opacity: 0;
    filter: blur(7px);
  }
  58% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    translate: 0 0;
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes wordmark-enter-from-left {
  0% {
    translate: -8.5vw 0;
    opacity: 0;
    filter: blur(7px);
  }
  62% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    translate: 0 0;
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes wordmark-star-emerge {
  0% {
    translate: 0 10px;
    rotate: -120deg;
    opacity: 0;
  }
  72% {
    opacity: 1;
  }
  100% {
    translate: 0 0;
    rotate: 0deg;
    opacity: 1;
  }
}

.home-body.home-snap-reset .stack-title,
.home-body.home-snap-reset .stack-title-lines {
  transition: none;
}

.home-body.home-revealed .stack-title {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.home-body.home-revealed .stack-title-lines {
  transform: translateZ(0);
}

.stack-title-line + .stack-title-line {
  margin-top: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 72px 34px;
}

.filter {
  min-width: 64px;
  height: 36px;
  padding: 0 18px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.filter:hover,
.filter.is-active {
  color: #fff;
  background: var(--hover);
  border-color: var(--hover);
}

.main-nav a,
.filter {
  --pill-hover-fill: #ffffff;
  --pill-hover-text: #111111;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  line-height: 1;
  transform: translateZ(0);
  transition:
    color 190ms ease,
    background-color 190ms ease,
    border-color 190ms ease;
}

.main-nav a {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
}

.filter {
  border-radius: 999px;
}

.main-nav a::before,
.main-nav a[aria-current="page"]::before,
.filter::before {
  position: absolute;
  left: 50%;
  bottom: -78%;
  z-index: 0;
  width: max(150%, 84px);
  aspect-ratio: 1;
  background: var(--pill-hover-fill);
  border-radius: 50%;
  opacity: 1;
  mix-blend-mode: normal;
  transform: translate3d(-50%, 0, 0) scale(0);
  transform-origin: 50% 100%;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  content: "";
  pointer-events: none;
}

.main-nav a::after,
.main-nav a[aria-current="page"]::after,
.filter::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  background: transparent;
  color: var(--pill-hover-text);
  line-height: 1;
  mix-blend-mode: normal;
  opacity: 0;
  transform: translate3d(0, 115%, 0);
  transition:
    opacity 190ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  content: attr(data-hover);
  pointer-events: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"]:hover,
.filter:hover {
  color: transparent;
  filter: none;
  box-shadow: none;
  text-shadow: none;
}

.main-nav a:hover::before,
.main-nav a[aria-current="page"]:hover::before,
.filter:hover::before {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1.18);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]:hover::after,
.filter:hover::after {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.main-nav a:active,
.filter:active {
  transform: translate3d(0, 1px, 0);
}

.works-reveal {
  position: relative;
  z-index: 6;
  min-height: 100vh;
  padding-top: 30px;
  background: #0d0d0d;
  opacity: var(--home-works-opacity);
  transform: translateY(var(--home-works-y));
  transition: none;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.home-body.home-revealed .works-reveal {
  opacity: var(--home-works-opacity);
  transform: translateY(var(--home-works-y));
}

.works-grid {
  --works-gap: 34px;
  display: block;
  position: relative;
  overflow: visible;
  padding: 34px 72px 48px;
  background: transparent;
  border-top: 1px solid var(--line);
  overflow-anchor: none;
}

.works-grid::-webkit-scrollbar {
  display: none;
}

.works-grid::-webkit-scrollbar-track {
  background: transparent;
}

.works-grid::-webkit-scrollbar-thumb {
  background: var(--hover);
  border-radius: 999px;
}

.works-top-button {
  position: fixed;
  right: clamp(22px, 3vw, 44px);
  bottom: clamp(24px, 4vw, 48px);
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 46px;
  padding: 0 22px;
  color: #111;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.works-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.works-top-button:hover {
  color: #fff;
  background: rgba(15, 15, 15, 0.88);
  border-color: rgba(255, 255, 255, 0.26);
}

.works-top-button:focus-visible {
  outline: 2px solid rgba(130, 132, 227, 0.86);
  outline-offset: 3px;
}

.work-card {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  grid-row-end: span var(--masonry-span, 36);
  min-width: 0;
  width: 100%;
  margin: 0;
  background: transparent;
  border-radius: var(--radius);
  overflow: hidden;
  perspective: 900px;
  --hover-rx: 0deg;
  --hover-ry: 0deg;
  --hover-tx: 0px;
  --hover-ty: 0px;
  --hover-media-x: 0px;
  --hover-media-y: 0px;
  --hover-glow-x: 50%;
  --hover-glow-y: 50%;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  filter: blur(0);
  transition:
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 760ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0ms;
  will-change: transform, opacity, filter;
  overflow-anchor: none;
}

.work-card.is-scroll-observed {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.982);
  filter: blur(7px);
}

.work-card.is-scroll-observed.is-scroll-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition-delay: var(--scroll-delay, var(--card-delay, 0ms));
}

.work-card.is-scroll-observed.is-scroll-exit-up:not(.is-scroll-visible) {
  opacity: 0.18;
  transform: translate3d(0, -14px, 0) scale(0.992);
  filter: blur(4px);
}

.work-card.is-scroll-observed.is-scroll-exit-down:not(.is-scroll-visible) {
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.982);
  filter: blur(7px);
}

.work-kind-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 24px;
  padding: 0 9px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  pointer-events: auto;
  cursor: default;
  user-select: none;
}

.video-work-badge {
  width: 30px;
  padding: 0;
}

.video-work-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid rgba(255, 255, 255, 0.92);
}

.work-card.is-hidden {
  display: none;
}

.sort-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  align-items: center;
  margin: 0 64px 18px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(10, 10, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.sort-toolbar strong {
  display: inline-block;
  margin-right: 12px;
  font-size: 12px;
  font-weight: 900;
}

.sort-toolbar [data-sort-scope] {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.sort-toolbar .form-note {
  grid-column: 1;
}

.sort-exit {
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 38px;
  padding: 0 16px;
  color: #0a0a0a;
  background: #fff;
  border: 1px solid #fff;
  border-radius: var(--radius);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.sort-mode .work-card.is-sortable {
  cursor: pointer;
  user-select: none;
}

.sort-mode .work-card.is-sortable .work-link {
  pointer-events: none;
}

.sort-mode .work-card.is-sortable img {
  -webkit-user-drag: none;
  user-select: none;
}

.sort-mode .work-card.is-sortable::after {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M10 4h4v4h-4V4Zm0 6h4v4h-4v-4Zm0 6h4v4h-4v-4ZM4 4h4v4H4V4Zm0 6h4v4H4v-4Zm0 6h4v4H4v-4Zm12-12h4v4h-4V4Zm0 6h4v4h-4v-4Zm0 6h4v4h-4v-4Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M10 4h4v4h-4V4Zm0 6h4v4h-4v-4Zm0 6h4v4h-4v-4ZM4 4h4v4H4V4Zm0 6h4v4H4v-4Zm0 6h4v4H4v-4Zm12-12h4v4h-4V4Zm0 6h4v4h-4v-4Zm0 6h4v4h-4v-4Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}

.sort-mode .work-card.is-sort-selected {
  z-index: 6;
  outline: 2px solid rgba(255, 255, 255, 0.82);
  outline-offset: 4px;
  filter: saturate(1.08) contrast(1.04);
}

.sort-mode .work-card.is-sort-selected::after {
  background: var(--hover);
  border-color: rgba(255, 255, 255, 0.86);
}

.work-link {
  display: grid;
  position: relative;
  min-height: 0;
  aspect-ratio: var(--masonry-ratio, 16 / 9);
  overflow: hidden;
  border-radius: var(--radius);
  transform-origin: center;
  transform: translate3d(var(--hover-tx), var(--hover-ty), 0) rotateX(var(--hover-rx)) rotateY(var(--hover-ry)) scale(1);
  transform-style: preserve-3d;
  transition: transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 260ms ease;
  will-change: transform;
}

.work-card:hover .work-link {
  transform: translate3d(var(--hover-tx), var(--hover-ty), 0) rotateX(var(--hover-rx)) rotateY(var(--hover-ry)) scale(0.968);
  filter: saturate(1.03) contrast(1.03);
}

.work-link::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at var(--hover-glow-x) var(--hover-glow-y), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055) 18%, transparent 42%);
  opacity: 0;
  transition: opacity 240ms ease;
  content: "";
  pointer-events: none;
  mix-blend-mode: screen;
}

.work-card.is-pointer-active .work-link {
  transition-duration: 80ms, 260ms;
}

.work-card.is-pointer-active .work-link::before {
  opacity: 1;
}

.thumb {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 46%),
    linear-gradient(145deg, #151515, #0b0b0b);
  transform: translate3d(var(--hover-media-x), var(--hover-media-y), 0) scale(1.035);
  transition: transform 500ms ease, filter 500ms ease;
  will-change: transform;
}

.thumb::before,
.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
}

.cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 46%),
    #0b0b0b;
  pointer-events: none;
}

.protected-asset,
.cover-image,
.detail-image,
.detail-gallery-thumb img,
#viewer-image,
.work-video {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.work-card[data-type="video"] .cover-image {
  object-fit: contain;
  background: #000;
}

.thumb::before {
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.92), transparent 0 14%, transparent 15%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 45%),
    var(--thumb-bg);
}

.thumb::after {
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72));
  opacity: 1;
  transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.thumb-01 { --thumb-bg: linear-gradient(135deg, #151515, #525252 45%, #d0b36b); }
.thumb-02 { --thumb-bg: linear-gradient(145deg, #0b0f17, #2a5b73 42%, #ffffff); }
.thumb-03 { --thumb-bg: linear-gradient(120deg, #1f1510, #7b5541 48%, #ffffff); }
.thumb-04 { --thumb-bg: linear-gradient(135deg, #101614, #255b42 46%, #b6d9b8); }
.thumb-05 { --thumb-bg: linear-gradient(145deg, #111, #23262e 42%, #ffffff); }
.thumb-06 { --thumb-bg: linear-gradient(125deg, #12131d, #504779 45%, #ffffff); }
.thumb-07 { --thumb-bg: linear-gradient(135deg, #201512, #8c3f30 48%, #e8b468); }
.thumb-08 { --thumb-bg: linear-gradient(125deg, #060606, #202020 48%, #ffffff); }

.work-meta {
  position: relative;
  z-index: 3;
  align-self: end;
  padding: 28px;
}

.work-meta span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.work-meta h2 {
  margin: 10px 0 0;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.08;
}

@media (hover: hover) and (pointer: fine) {
  .work-card .thumb::after {
    opacity: 0;
  }

  .work-card:hover .thumb::after,
  .work-card:focus-within .thumb::after {
    opacity: 1;
  }

  .work-card .work-meta {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    filter: blur(5px);
    pointer-events: none;
    transition:
      opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
      filter 260ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .work-card:hover .work-meta,
  .work-card:focus-within .work-meta {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

.work-card:hover .thumb {
  transform: translate3d(var(--hover-media-x), var(--hover-media-y), 0) scale(1.06);
  filter: saturate(1.08) contrast(1.05);
}

.work-card.is-long-card:hover .work-link {
  transform: translate3d(var(--hover-tx), var(--hover-ty), 0) rotateX(var(--hover-rx)) rotateY(var(--hover-ry)) scale(0.988);
}

.work-card.is-long-card:hover .thumb {
  transform: translate3d(var(--hover-media-x), var(--hover-media-y), 0) scale(1.018);
}

@media (prefers-reduced-motion: reduce) {
  .client-track {
    animation: none;
    transform: none;
  }

  .clients-heading.is-entering .clients-heading-title,
  .clients-heading.is-entering img.clients-heading-mark,
  .contact-info.is-heading-entering .contact-title-image,
  .contact-info.is-heading-entering .contact-star-decor,
  .contact-info.is-heading-entering .contact-ppt-button {
    animation: none;
  }

  .clients-heading-title,
  .clients-heading img.clients-heading-mark,
  .contact-title-image {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .contact-star-decor,
  .contact-ppt-button {
    opacity: 1;
  }

  .contact-star-decor {
    transform: translate3d(0, 1.6vh, 0);
  }

  .contact-ppt-button {
    transform: translate3d(0, 0, 0);
  }

  .contact-body {
    --contact-title-shift: 0vh;
    --contact-title-scale: 1;
    --contact-info-opacity: 1;
    --contact-info-y: 0px;
    --contact-info-blur: 0px;
  }

  .contact-bg-word span:not(.contact-bg-space)::after {
    animation: none;
    opacity: 0.16;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: 50% 0;
    mask-position: 50% 0;
  }

  .work-card {
    opacity: 1;
    transform: none;
    animation: none;
    filter: none;
    transition: none;
  }

  .work-card.is-scroll-observed,
  .work-card.is-scroll-observed.is-scroll-visible,
  .work-card.is-scroll-observed.is-scroll-exit-up:not(.is-scroll-visible),
  .work-card.is-scroll-observed.is-scroll-exit-down:not(.is-scroll-visible) {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .work-link,
  .thumb {
    transition: none;
  }

}

.pagination {
  display: none;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px 42px;
}

.detail-page {
  min-height: calc(100vh - 76px);
  padding: 28px 64px 40px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.back-link:hover {
  color: var(--hover);
}

.back-pill {
  width: 80px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.back-pill:hover {
  color: #fff;
  background: var(--hover);
  border-color: var(--hover);
}

.detail-shell {
  display: grid;
  gap: 22px;
}

.detail-hero {
  margin-bottom: 0;
}

.detail-hero h1 {
  max-width: 1280px;
  font-size: clamp(38px, 5vw, 82px);
  line-height: 0.95;
}

.detail-title-edit {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.detail-title-edit:hover {
  color: #fff;
  background: rgba(107, 111, 193, 0.24);
  border-color: rgba(107, 111, 193, 0.72);
}

.detail-title-edit img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.82;
  pointer-events: none;
}

.video-stage {
  position: relative;
  width: 100%;
  background: #050505;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 8.2;
  max-height: min(58vh, 680px);
}

.work-video,
.video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.work-video {
  object-fit: contain;
  background: #000;
}

.stream-player {
  display: block;
  border: 0;
}

.video-cover-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 0;
  background-color: #000;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border: 0;
  cursor: pointer;
  overflow: hidden;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: block;
  overflow: auto;
  padding: 34px;
}

.viewer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  padding: 0;
  background: rgba(0, 0, 0, 0.74);
  border: 0;
  cursor: pointer;
  -webkit-backdrop-filter: blur(20px) saturate(0.72) brightness(0.72);
  backdrop-filter: blur(20px) saturate(0.72) brightness(0.72);
}

.viewer-shell {
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  min-width: 100%;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  overflow: visible;
  touch-action: none;
}

.viewer-shell img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  cursor: grab;
  transform-origin: center center;
  transition: transform 90ms linear;
  will-change: transform;
  touch-action: none;
}

.viewer-shell img.is-dragging {
  cursor: grabbing;
  transition: none;
}

.viewer-close,
.viewer-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  cursor: pointer;
}

.viewer-close,
.viewer-nav {
  display: none !important;
}

.viewer-nav {
  top: 50%;
  width: 48px;
  height: 64px;
  font-size: 38px;
  transform: translateY(-50%);
}

.viewer-prev { left: 0; }
.viewer-next { right: 0; }

.viewer-close:hover,
.viewer-nav:hover {
  background: var(--hover);
  border-color: var(--hover);
}

.viewer-counter {
  position: fixed;
  right: 34px;
  bottom: 34px;
  z-index: 2;
  padding: 9px 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
}

body.viewer-open {
  overflow: hidden;
}

.contact-page {
  min-height: 100vh;
  padding: 0;
  background: #000;
}

.clients-hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  align-content: end;
  gap: clamp(58px, 9vh, 104px);
  overflow: hidden;
  padding: 76px 0 clamp(72px, 11vh, 128px);
  background: #000;
}

.clients-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: none;
  z-index: 2;
}

.clients-video-bg {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 65.85%;
  overflow: hidden;
  pointer-events: none;
  background: #000;
  z-index: 0;
}

.clients-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.24) 0 2px, transparent 2px 6px);
}

.clients-video-bg video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center center;
  opacity: 1;
  filter: brightness(0.4) saturate(0.4);
  transform: translateZ(0);
}

.clients-hero::after {
  content: "";
  position: absolute;
  top: 34.15%;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.16);
  z-index: 3;
}

.clients-heading {
  position: absolute;
  inset: 0;
  z-index: 3;
  backface-visibility: hidden;
  will-change: transform;
  pointer-events: none;
}

.clients-heading img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center top;
  backface-visibility: hidden;
  transform: translateZ(0);
  transform-origin: left top;
  will-change: transform;
  pointer-events: none;
  user-select: none;
}

.clients-heading-title {
  opacity: 0;
  transform: translate3d(18vw, 0, 0);
}

.clients-heading.has-entered .clients-heading-title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.clients-heading.is-entering .clients-heading-title {
  animation: clients-heading-slide-in 1700ms cubic-bezier(0.18, 1, 0.28, 1) 120ms both;
}

.clients-heading img.clients-heading-mark {
  --mark-origin-x: 57.95%;
  --mark-origin-y: 26.23%;
  left: 55.9%;
  top: 21.97%;
  right: auto;
  bottom: auto;
  width: 4.1%;
  height: 8.52%;
  z-index: 2;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: translate3d(18vw, 0, 0) rotate(var(--mark-rotation, 0deg));
  transform-origin: 50% 50%;
}

.clients-heading.has-entered img.clients-heading-mark {
  opacity: 1;
  transform: translateZ(0) rotate(var(--mark-rotation, 0deg));
}

.clients-heading.is-entering img.clients-heading-mark {
  animation: clients-heading-mark-roll-in 1700ms cubic-bezier(0.18, 1, 0.28, 1) 120ms both;
}

@keyframes clients-heading-slide-in {
  0% {
    opacity: 0;
    transform: translate3d(18vw, 0, 0);
  }

  45% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes clients-heading-mark-roll-in {
  0% {
    opacity: 0;
    transform: translate3d(18vw, 0, 0) rotate(-420deg);
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(var(--mark-rotation, 0deg));
  }
}

.clients-marquee {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(58px, 9vh, 110px);
  width: 100%;
}

.client-row {
  --client-gap: clamp(112px, 10vw, 230px);
  --marquee-distance: 0px;
  overflow: hidden;
  width: 100%;
}

.client-track {
  display: flex;
  width: max-content;
  align-items: center;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  animation: client-marquee var(--marquee-duration, 36s) linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.client-row.is-marquee-ready .client-track {
  animation-play-state: running;
}

.client-row.is-reverse .client-track {
  animation-name: client-marquee-reverse;
}

.client-set {
  display: flex;
  flex: 0 0 auto;
  gap: var(--client-gap);
  align-items: center;
  padding-right: var(--client-gap);
}

.client-logo {
  display: grid;
  width: clamp(210px, 13vw, 300px);
  min-width: clamp(210px, 13vw, 300px);
  height: clamp(70px, 5.3vw, 96px);
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  opacity: 0.92;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.06));
}

.client-logo.has-logo {
  aspect-ratio: 3 / 1;
}

.client-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) brightness(2.2) contrast(1.12);
}

.client-logo span {
  color: #fff;
  font-size: clamp(30px, 2.6vw, 58px);
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  overflow: visible;
}

.contact-info {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(520px, 1fr);
  gap: clamp(40px, 7vw, 128px);
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(132px, 15vh, 190px) 64px clamp(28px, 3.4vh, 44px);
  opacity: var(--contact-info-opacity);
  background: #000;
  filter: blur(var(--contact-info-blur));
  pointer-events: none;
  transform: translate3d(0, var(--contact-info-y), 0);
  will-change: transform, opacity, filter;
}

.contact-body.contact-revealed .contact-info {
  pointer-events: auto;
}

.contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
}

.contact-section-rule {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.16);
  z-index: 2;
}

.contact-section-rule-top {
  top: 34.15%;
}

.contact-band-video {
  position: absolute;
  top: calc(34.15% + 1px);
  right: 0;
  left: 0;
  bottom: calc(clamp(300px, 44vh, 430px) + 6px);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
  clip-path: inset(0);
}

.contact-band-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.24) 0 2px, transparent 2px 6px),
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.14) 17%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.14) 83%, #000 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 76%, rgba(0, 0, 0, 0.18) 100%);
}

.contact-band-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  filter: brightness(0.4) saturate(0.4) contrast(1.04);
  transform: translateZ(0);
}

.contact-bg-word {
  position: absolute;
  left: -2.6vw;
  top: 50%;
  z-index: 0;
  display: none;
  align-items: center;
  width: max-content;
  font-family: "Akira Expanded", Arial, sans-serif;
  font-size: clamp(150px, 23vw, 420px);
  line-height: 0.9;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-48%);
}

.contact-bg-word span {
  position: relative;
  display: inline-block;
  z-index: 1;
  color: transparent;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  -webkit-text-stroke: 0 transparent;
  text-shadow: none;
  vertical-align: top;
  transform: translateZ(0);
  transform-origin: 50% 52%;
}

.contact-bg-word span:not(.contact-bg-space) {
  --intro-scan-x: -120%;
}

.contact-bg-word span[data-letter="G"] {
  transform: translateZ(0) scaleY(0.955);
}

.contact-bg-space {
  width: 0.34em;
}

.contact-bg-word span:not(.contact-bg-space)::before {
  content: attr(data-letter);
  position: absolute;
  inset: 0;
  z-index: 2;
  color: transparent;
  opacity: 0;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  -webkit-text-stroke: 0.55px rgba(236, 242, 247, 0.68);
  paint-order: stroke fill;
  filter:
    blur(0.025px)
    drop-shadow(0 0 1px rgba(248, 250, 252, 0.18))
    drop-shadow(0 0 3px rgba(190, 205, 218, 0.07));
  mix-blend-mode: normal;
  -webkit-mask-image: var(--holo-letter-mask, radial-gradient(circle at -20% -20%, transparent 0, transparent 1%));
  mask-image: var(--holo-letter-mask, radial-gradient(circle at -20% -20%, transparent 0, transparent 1%));
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  pointer-events: none;
  transform: translateZ(0);
  transform-origin: 0 0;
  transition: opacity 55ms linear;
  animation: none;
}

.contact-body.contact-letters-intro .contact-bg-word span:not(.contact-bg-space)::before {
  opacity: 0;
  animation: none;
}

.contact-bg-word.has-holo-trail span:not(.contact-bg-space)::before {
  opacity: 0.86;
  filter:
    blur(0)
    drop-shadow(0 0 1px rgba(248, 250, 252, 0.34))
    drop-shadow(0 0 2px rgba(210, 222, 232, 0.16))
    drop-shadow(0 0 5px rgba(145, 163, 178, 0.055));
}

.contact-bg-word span:not(.contact-bg-space)::after {
  content: attr(data-letter);
  position: absolute;
  inset: 0;
  color: transparent;
  opacity: 0;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  -webkit-text-stroke: 2.1px rgba(232, 238, 242, 0.34);
  filter:
    blur(0.05px)
    drop-shadow(0 0 2px rgba(232, 238, 242, 0.1))
    drop-shadow(0 0 10px rgba(164, 181, 190, 0.04));
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: none;
}

.contact-body.contact-letters-intro .contact-bg-word span:not(.contact-bg-space)::after {
  animation: contact-letter-breathe 9.6s ease-in-out infinite both;
  animation-delay: 0s;
}

.contact-body.contact-letters-loop .contact-bg-word span:not(.contact-bg-space)::after {
  animation: contact-letter-breathe 9.6s ease-in-out infinite both;
  animation-delay: 0s;
}

.contact-title-image {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  height: 100svh;
  z-index: 3;
  max-width: none;
  margin: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(18vw, 0, 0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.contact-title-image img,
.contact-star-decor {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  user-select: none;
}

.contact-star-decor {
  z-index: 3;
  --mark-origin-x: var(--contact-star-origin-x, 6.74%);
  --mark-origin-y: var(--contact-star-origin-y, 89.41%);
  opacity: 0;
  transform: translate3d(calc(18vw + var(--contact-star-x, 0px)), var(--contact-star-y, 1.6vh), 0) rotate(var(--mark-rotation, 0deg));
  transform-origin: var(--mark-origin-x) var(--mark-origin-y);
}

.contact-info.has-heading-entered .contact-title-image {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.contact-info.is-heading-entering .contact-title-image {
  animation: clients-heading-slide-in 1700ms cubic-bezier(0.18, 1, 0.28, 1) 120ms both;
}

.contact-info.has-heading-entered .contact-star-decor {
  opacity: 1;
  transform: translate3d(var(--contact-star-x, 0px), var(--contact-star-y, 1.6vh), 0) rotate(var(--mark-rotation, 0deg));
}

.contact-info.is-heading-entering .contact-star-decor {
  animation: contact-star-roll-in 1700ms cubic-bezier(0.18, 1, 0.28, 1) 120ms both;
}

.contact-ppt-button {
  position: absolute;
  left: var(--contact-ppt-left, clamp(184px, 11.7vw, 252px));
  top: var(--contact-ppt-top, auto);
  bottom: var(--contact-ppt-bottom, clamp(132px, 13.8vh, 184px));
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(86px, 5.3vw, 110px);
  height: clamp(30px, 1.75vw, 36px);
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.36);
  font-family: "FZLanTingHeiS-EB-GB", "FZLanTingHei-EB-GBK", "方正兰亭特黑简体", "Microsoft YaHei", sans-serif;
  font-size: clamp(13px, 0.82vw, 17px);
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: auto;
  transform: translate3d(18vw, 0, 0);
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    opacity 500ms ease,
    transform 650ms cubic-bezier(0.18, 1, 0.28, 1);
}

.contact-ppt-button:hover {
  color: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.045);
}

.contact-info.has-heading-entered .contact-ppt-button {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.contact-info.is-heading-entering .contact-ppt-button {
  animation: contact-ppt-button-in 1700ms cubic-bezier(0.18, 1, 0.28, 1) 120ms both;
}

@keyframes contact-ppt-button-in {
  0% {
    opacity: 0;
    transform: translate3d(18vw, 0, 0);
  }

  62% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes contact-star-roll-in {
  0% {
    opacity: 0;
    transform: translate3d(calc(18vw + var(--contact-star-x, 0px)), var(--contact-star-y, 1.6vh), 0) rotate(-420deg);
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate3d(var(--contact-star-x, 0px), var(--contact-star-y, 1.6vh), 0) rotate(var(--mark-rotation, 0deg));
  }
}

.rotating-mark {
  will-change: transform;
  backface-visibility: hidden;
}

.contact-grid {
  position: relative;
  z-index: 2;
  grid-column: 2;
  display: grid;
  align-self: center;
  justify-self: end;
  width: clamp(760px, 42vw, 860px);
  margin: clamp(520px, 58vh, 760px) 0 0 auto;
  padding-top: clamp(58px, 6.4vh, 86px);
  border-top: 0;
}

.contact-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(-100vw + 100% - 64px);
  right: -64px;
  height: 1px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.17);
}

.contact-grid section {
  display: grid;
  grid-template-columns: minmax(126px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 2.4vw, 48px);
  align-items: end;
  min-height: 104px;
  padding: 28px 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.contact-grid section + section {
  padding-left: 0;
  border-left: 0;
}

.contact-grid span {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: clamp(12px, 0.72vw, 15px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.contact-grid a,
.contact-grid p {
  margin: 0;
  color: #fff;
  font-family: "FZLanTingHeiS-EB-GB", "FZLanTingHei-EB-GBK", "方正兰亭特黑简体", "Microsoft YaHei", sans-serif;
  font-size: clamp(24px, 1.55vw, 32px);
  line-height: 1;
  font-weight: 400;
  font-synthesis: none;
  text-align: left;
  letter-spacing: -0.01em;
  white-space: nowrap;
  user-select: text;
  -webkit-user-select: text;
}

.contact-grid a {
  cursor: default;
}

.contact-grid a:hover {
  color: #fff;
}

@keyframes client-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(var(--marquee-distance) * -1), 0, 0); }
}

@keyframes client-marquee-reverse {
  from { transform: translate3d(calc(var(--marquee-distance) * -1), 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes contact-letter-breathe {
  0%,
  100% {
    opacity: 0.08;
    -webkit-text-stroke-color: rgba(232, 238, 242, 0.24);
    filter:
      blur(0.05px)
      drop-shadow(0 0 2px rgba(232, 238, 242, 0.06))
      drop-shadow(0 0 10px rgba(164, 181, 190, 0.02));
  }

  48%,
  56% {
    opacity: 0.24;
    -webkit-text-stroke-color: rgba(232, 238, 242, 0.52);
    filter:
      blur(0.04px)
      drop-shadow(0 0 3px rgba(232, 238, 242, 0.14))
      drop-shadow(0 0 14px rgba(164, 181, 190, 0.07))
      drop-shadow(0 0 30px rgba(110, 130, 145, 0.045));
  }
}

@keyframes contact-letter-intro {
  0% {
    opacity: 0;
    -webkit-mask-size: 420% 280%, 190% 160%;
    mask-size: 420% 280%, 190% 160%;
    -webkit-mask-position: -78% 54%, -54% 60%;
    mask-position: -78% 54%, -54% 60%;
    filter:
      blur(0.4px)
      drop-shadow(0 0 2px rgba(232, 238, 242, 0))
      drop-shadow(0 0 18px rgba(132, 154, 170, 0));
  }

  22% {
    opacity: 0.24;
    -webkit-mask-size: 270% 220%, 158% 136%;
    mask-size: 270% 220%, 158% 136%;
    -webkit-mask-position: -20% 38%, -8% 50%;
    mask-position: -20% 38%, -8% 50%;
    filter:
      blur(0.18px)
      drop-shadow(0 0 3px rgba(244, 238, 255, 0.16))
      drop-shadow(0 0 18px rgba(188, 116, 255, 0.055));
  }

  46% {
    opacity: 0.76;
    -webkit-mask-size: 116% 144%, 110% 108%;
    mask-size: 116% 144%, 110% 108%;
    -webkit-mask-position: 38% 18%, 46% 42%;
    mask-position: 38% 18%, 46% 42%;
    filter:
      blur(0)
      drop-shadow(0 0 3px rgba(255, 255, 255, 0.3))
      drop-shadow(0 0 18px rgba(216, 154, 255, 0.11))
      drop-shadow(0 0 42px rgba(148, 80, 255, 0.055));
  }

  62% {
    opacity: 0.42;
    -webkit-mask-size: 150% 166%, 126% 116%;
    mask-size: 150% 166%, 126% 116%;
    -webkit-mask-position: 70% 2%, 76% 30%;
    mask-position: 70% 2%, 76% 30%;
    filter:
      blur(0.04px)
      drop-shadow(0 0 2px rgba(244, 238, 255, 0.18))
      drop-shadow(0 0 22px rgba(190, 120, 255, 0.07));
  }

  100% {
    opacity: 0.12;
    -webkit-mask-size: 310% 230%, 158% 136%;
    mask-size: 310% 230%, 158% 136%;
    -webkit-mask-position: 126% -16%, 116% 6%;
    mask-position: 126% -16%, 116% 6%;
    filter:
      blur(0.12px)
      drop-shadow(0 0 2px rgba(232, 238, 242, 0.04))
      drop-shadow(0 0 16px rgba(132, 154, 170, 0.018));
  }
}

@keyframes contact-letter-intro-fill {
  0% {
    opacity: 0;
    -webkit-mask-position: -130% 50%;
    mask-position: -130% 50%;
    filter:
      contrast(1.3)
      saturate(1.22)
      drop-shadow(0 0 4px rgba(255, 255, 255, 0))
      drop-shadow(0 0 14px rgba(196, 136, 255, 0));
  }

  26% {
    opacity: 0.2;
    -webkit-mask-position: -52% 50%;
    mask-position: -52% 50%;
    filter:
      contrast(1.42)
      saturate(1.42)
      drop-shadow(0 0 7px rgba(255, 250, 240, 0.15))
      drop-shadow(0 0 18px rgba(154, 104, 198, 0.14));
  }

  48% {
    opacity: 0.72;
    -webkit-mask-position: 20% 50%;
    mask-position: 20% 50%;
    filter:
      contrast(1.52)
      saturate(1.5)
      drop-shadow(0 0 10px rgba(255, 250, 240, 0.24))
      drop-shadow(0 0 28px rgba(176, 118, 214, 0.2));
  }

  68% {
    opacity: 0.36;
    -webkit-mask-position: 92% 50%;
    mask-position: 92% 50%;
    filter:
      contrast(1.4)
      saturate(1.36)
      drop-shadow(0 0 7px rgba(255, 250, 240, 0.13))
      drop-shadow(0 0 20px rgba(150, 96, 190, 0.12));
  }

  100% {
    opacity: 0;
    -webkit-mask-position: 132% 50%;
    mask-position: 132% 50%;
    filter:
      contrast(1.34)
      saturate(1.32)
      drop-shadow(0 0 5px rgba(255, 255, 255, 0))
      drop-shadow(0 0 11px rgba(196, 136, 255, 0));
  }
}

@keyframes contact-letter-wave {
  0%,
  86%,
  100% {
    opacity: 0;
    -webkit-mask-size: 330% 240%, 160% 140%;
    mask-size: 330% 240%, 160% 140%;
    -webkit-mask-position: -42% 44%, -34% 52%;
    mask-position: -42% 44%, -34% 52%;
    filter:
      blur(0.05px)
      drop-shadow(0 0 2px rgba(232, 238, 242, 0))
      drop-shadow(0 0 10px rgba(164, 181, 190, 0))
      drop-shadow(0 0 24px rgba(120, 138, 150, 0));
  }

  10% {
    opacity: 0.1;
    -webkit-mask-size: 304% 232%, 158% 138%;
    mask-size: 304% 232%, 158% 138%;
    -webkit-mask-position: -24% 40%, -18% 50%;
    mask-position: -24% 40%, -18% 50%;
    filter:
      blur(0.04px)
      drop-shadow(0 0 2px rgba(232, 238, 242, 0.08))
      drop-shadow(0 0 11px rgba(164, 181, 190, 0.032))
      drop-shadow(0 0 24px rgba(120, 138, 150, 0.018));
  }

  24% {
    opacity: 0.36;
    -webkit-mask-size: 258% 216%, 150% 132%;
    mask-size: 258% 216%, 150% 132%;
    -webkit-mask-position: 4% 32%, 6% 44%;
    mask-position: 4% 32%, 6% 44%;
    filter:
      blur(0.02px)
      drop-shadow(0 0 2px rgba(245, 248, 250, 0.18))
      drop-shadow(0 0 13px rgba(186, 200, 210, 0.07))
      drop-shadow(0 0 28px rgba(130, 150, 164, 0.035));
  }

  38% {
    opacity: 0.74;
    -webkit-mask-size: 178% 182%, 136% 122%;
    mask-size: 178% 182%, 136% 122%;
    -webkit-mask-position: 34% 20%, 36% 38%;
    mask-position: 34% 20%, 36% 38%;
    filter:
      blur(0)
      drop-shadow(0 0 2px rgba(252, 253, 254, 0.24))
      drop-shadow(0 0 14px rgba(190, 205, 214, 0.085))
      drop-shadow(0 0 32px rgba(132, 154, 170, 0.05));
  }

  52% {
    opacity: 0.8;
    -webkit-mask-size: 136% 160%, 122% 112%;
    mask-size: 136% 160%, 122% 112%;
    -webkit-mask-position: 58% 12%, 60% 34%;
    mask-position: 58% 12%, 60% 34%;
    filter:
      blur(0.06px)
      drop-shadow(0 0 2px rgba(238, 243, 246, 0.15))
      drop-shadow(0 0 14px rgba(178, 194, 204, 0.06))
      drop-shadow(0 0 30px rgba(126, 146, 158, 0.035));
  }

  66% {
    opacity: 0.46;
    -webkit-mask-size: 204% 190%, 144% 126%;
    mask-size: 204% 190%, 144% 126%;
    -webkit-mask-position: 82% 2%, 84% 26%;
    mask-position: 82% 2%, 84% 26%;
    filter:
      blur(0.12px)
      drop-shadow(0 0 2px rgba(232, 238, 242, 0.09))
      drop-shadow(0 0 13px rgba(164, 181, 190, 0.04))
      drop-shadow(0 0 28px rgba(120, 138, 150, 0.022));
  }

  80% {
    opacity: 0.14;
    -webkit-mask-size: 292% 226%, 156% 136%;
    mask-size: 292% 226%, 156% 136%;
    -webkit-mask-position: 108% -8%, 110% 12%;
    mask-position: 108% -8%, 110% 12%;
    filter:
      blur(0.18px)
      drop-shadow(0 0 2px rgba(232, 238, 242, 0.035))
      drop-shadow(0 0 12px rgba(164, 181, 190, 0.018))
      drop-shadow(0 0 24px rgba(120, 138, 150, 0.01));
  }
}

@keyframes contact-hologram-flow {
  0% {
    background-position:
      -34% 18%,
      84% -12%,
      8% 74%,
      96% 6%,
      -22% 88%,
      58% 88%,
      -12% 42%,
      50% 50%;
    filter:
      blur(0.75px)
      contrast(1.34)
      saturate(1.32)
      brightness(0.98)
      drop-shadow(0 0 4px rgba(255, 250, 240, 0.15))
      drop-shadow(0 0 12px rgba(154, 104, 198, 0.18));
  }

  28% {
    background-position:
      26% 36%,
      -18% 68%,
      42% 22%,
      54% 70%,
      76% 10%,
      86% 22%,
      44% 58%,
      50% 50%;
    filter:
      blur(0.95px)
      contrast(1.4)
      saturate(1.42)
      brightness(1)
      drop-shadow(0 0 6px rgba(255, 250, 240, 0.2))
      drop-shadow(0 0 13px rgba(184, 130, 218, 0.18));
  }

  58% {
    background-position:
      72% 82%,
      68% 36%,
      88% 34%,
      4% 42%,
      20% 2%,
      20% 28%,
      78% 74%,
      50% 50%;
    filter:
      blur(0.85px)
      contrast(1.38)
      saturate(1.36)
      brightness(0.98)
      drop-shadow(0 0 6px rgba(255, 250, 240, 0.18))
      drop-shadow(0 0 12px rgba(128, 82, 176, 0.2));
  }

  82% {
    background-position:
      38% 10%,
      12% 104%,
      18% 54%,
      78% 26%,
      94% 76%,
      44% 66%,
      24% 18%,
      50% 50%;
    filter:
      blur(0.9px)
      contrast(1.4)
      saturate(1.4)
      brightness(1)
      drop-shadow(0 0 5px rgba(255, 250, 240, 0.17))
      drop-shadow(0 0 11px rgba(178, 126, 210, 0.17));
  }

  100% {
    background-position:
      -34% 18%,
      84% -12%,
      8% 74%,
      96% 6%,
      -22% 88%,
      58% 88%,
      -12% 42%,
      50% 50%;
    filter:
      blur(0.75px)
      contrast(1.34)
      saturate(1.32)
      brightness(0.98)
      drop-shadow(0 0 4px rgba(255, 250, 240, 0.15))
      drop-shadow(0 0 12px rgba(154, 104, 198, 0.18));
  }
}

.video-cover-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.video-play-icon {
  position: relative;
  z-index: 1;
  width: 0;
  height: 0;
  margin-left: 10px;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 34px solid rgba(255, 255, 255, 0.9);
}

.video-cover-layer:hover::before {
  background: rgba(0, 0, 0, 0.42);
}

.video-placeholder {
  display: grid;
  z-index: 2;
  place-items: center;
  color: var(--muted);
  background: transparent;
  text-align: center;
  pointer-events: none;
}

.video-placeholder.is-hidden {
  display: none;
}

.video-placeholder {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.1), transparent 0 22%, transparent 23%),
    linear-gradient(135deg, rgba(16, 16, 16, 0.88), rgba(25, 25, 25, 0.88));
}

.video-placeholder span {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(42px, 8vw, 108px);
  font-weight: 800;
}

.video-placeholder p {
  margin: 0;
  font-size: 13px;
}

.video-placeholder code {
  color: var(--text);
}

.detail-copy {
  max-width: 920px;
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.45;
}

.detail-copy p {
  margin: 0;
}

.detail-image {
  position: relative;
  display: block;
  width: auto;
  max-width: min(1296px, calc(100vw - 112px));
  height: auto;
  border-radius: var(--radius);
  background: transparent;
  cursor: zoom-in;
}

.detail-info-panel {
  width: min(1296px, calc(100vw - 112px));
  margin: 34px auto 0;
  color: var(--text);
}

.detail-info-panel.is-edit-mode::before {
  content: "编辑作品信息";
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.video-stage.is-video-stage + .detail-info-panel {
  width: min(1128px, calc(100vw - 112px));
}

.detail-info-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}

.detail-info-field {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  align-content: center;
  gap: 5px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
  cursor: default;
}

.detail-info-field span {
  display: none;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.detail-info-field strong {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.detail-info-panel.is-editable .detail-info-field {
  min-width: 138px;
  min-height: 48px;
  gap: 5px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.detail-info-panel.is-editable .detail-info-fields {
  gap: 22px;
}

.detail-info-panel.is-editable .detail-info-field span {
  display: block;
}

.detail-info-panel.is-editable .detail-info-field strong {
  font-size: 18px;
  font-weight: 500;
}

.detail-info-panel.is-editable .detail-info-field:hover,
.detail-info-panel.is-editable .detail-info-description:hover,
.detail-info-panel.is-editable .detail-info-description:focus {
  background: rgba(107, 111, 193, 0.13);
  border-color: rgba(107, 111, 193, 0.72);
  outline: none;
}

.detail-video-cover-upload {
  min-height: 48px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.detail-video-cover-upload:hover:not(:disabled) {
  color: #fff;
  background: rgba(107, 111, 193, 0.13);
  border-color: rgba(107, 111, 193, 0.72);
}

.detail-video-cover-upload:disabled {
  cursor: wait;
  opacity: 0.62;
}

.detail-info-line {
  width: 100%;
  height: 1px;
  margin: 28px 0;
  background: rgba(255, 255, 255, 0.2);
}

.detail-info-description {
  width: min(680px, 100%);
  min-height: 0;
  padding: 0;
  color: #414243;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
  white-space: pre-wrap;
}

.detail-info-panel.is-editable .detail-info-description {
  min-height: 56px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.detail-info-description.is-empty {
  color: #414243;
}

.detail-info-state {
  min-height: 18px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.detail-info-state.is-error {
  color: #ff7b7b;
}

.detail-inline-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: grid;
  min-width: 100%;
  padding: 6px;
  background: #111;
  border: 1px solid var(--hover);
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.detail-inline-menu button {
  min-width: 128px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 0;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.detail-inline-menu button:hover,
.detail-inline-menu button:focus,
.detail-inline-menu button.is-active {
  color: #fff;
  background: rgba(107, 111, 193, 0.32);
  outline: none;
}

.detail-gallery-counter,
.detail-gallery-thumbs {
  position: absolute;
  z-index: 3;
}

.detail-gallery-counter {
  top: 16px;
  right: 16px;
  min-width: 54px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 12px;
  text-align: center;
}

.detail-cover-action {
  position: absolute;
  top: 64px;
  right: -118px;
  z-index: 4;
  width: 96px;
  height: 38px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.detail-cover-action:hover:not(:disabled) {
  color: #fff;
  background: rgba(107, 111, 193, 0.34);
  border-color: rgba(107, 111, 193, 0.78);
}

.detail-cover-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.detail-case-actions {
  position: absolute;
  top: 112px;
  right: -118px;
  z-index: 4;
  width: 96px;
}

.video-stage.is-video-stage .detail-case-actions {
  top: 64px;
}

.detail-body .video-stage.is-video-stage {
  overflow: visible;
}

.detail-case-delete-action {
  width: 96px;
  height: 38px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.detail-case-delete-action:hover:not(:disabled) {
  color: #fff;
  background: rgba(202, 64, 64, 0.28);
  border-color: rgba(255, 103, 103, 0.72);
}

.detail-case-delete-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.detail-gallery-thumbs {
  bottom: -68px;
  left: 50%;
  display: flex;
  max-width: 100%;
  gap: 8px;
  overflow-x: auto;
  transform: translateX(-50%);
}

.detail-gallery-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #090909;
  cursor: pointer;
  opacity: 0.58;
}

.detail-gallery-thumb[draggable="true"] {
  cursor: grab;
}

.detail-gallery-thumb.is-dragging {
  cursor: grabbing;
  opacity: 0.32;
}

.detail-gallery-thumb.is-drop-target {
  border-color: rgba(107, 111, 193, 0.9);
  opacity: 1;
}

.detail-gallery-add,
.detail-gallery-delete {
  display: grid;
  place-items: center;
  flex: 0 0 72px;
  width: 72px;
  height: 48px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.045);
  border: 1px dashed rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.detail-gallery-delete {
  border-style: dashed;
}

.detail-gallery-add img,
.detail-gallery-delete img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.82;
  pointer-events: none;
}

.detail-gallery-add:hover:not(:disabled),
.detail-gallery-delete:hover:not(:disabled),
.detail-gallery-delete.is-drop-target {
  color: #fff;
  background: rgba(107, 111, 193, 0.22);
  border-color: rgba(107, 111, 193, 0.8);
}

.detail-gallery-add:disabled,
.detail-gallery-delete:disabled {
  cursor: wait;
  opacity: 0.62;
}

.detail-gallery-thumb.is-active {
  border-color: #fff;
  opacity: 1;
}

.detail-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #090909;
  transform: translateZ(0);
}

.detail-body .video-stage.is-image-stage.has-gallery {
  margin-bottom: 84px;
  overflow: visible;
}

.detail-body .site-header {
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
}

.detail-body .detail-page {
  min-height: calc(100vh - 76px);
  padding: 23px 56px 48px;
}

.detail-body .back-pill {
  width: 70px;
  height: 50px;
  margin: 0;
}

.detail-body .detail-shell {
  display: block;
}

.detail-body .detail-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 28px;
  margin-top: 12px;
}

.detail-body .detail-hero h1 {
  order: 1;
  max-width: none;
  font-size: 72px;
  line-height: 0.95;
}

.detail-body .detail-title-edit {
  order: 2;
  align-self: center;
  margin: 0;
}

.detail-body .detail-hero .eyebrow {
  display: none;
}

.detail-body .detail-copy {
  order: 3;
  flex-basis: 100%;
  max-width: 920px;
  margin: 14px 0 0;
  font-size: 15px;
}

.detail-body .video-stage {
  width: min(1296px, calc(100vw - 112px));
  max-height: none;
  margin: 68px auto 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: 1296 / 597;
}

.detail-body .video-stage.is-video-stage {
  width: min(1128px, calc(100vw - 112px));
  margin-top: 43px;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
}

.detail-body .video-stage.is-image-stage {
  width: fit-content;
  max-width: calc(100vw - 112px);
  height: auto;
  aspect-ratio: auto;
  border-radius: var(--radius);
  background: transparent;
}

@media (max-width: 640px) {
  .detail-body .site-header {
    height: auto;
    padding: 18px 20px;
  }

  .detail-body .detail-page {
    padding: 22px 20px 36px;
  }

  .detail-body .detail-hero h1 {
    max-width: 100%;
    font-size: 48px;
    overflow-wrap: anywhere;
  }

  .detail-body .video-stage {
    width: 100%;
    margin-top: 38px;
  }

  .detail-info-panel,
  .video-stage.is-video-stage + .detail-info-panel {
    width: 100%;
    margin-top: 28px;
  }

  .detail-info-fields {
    gap: 12px;
  }

  .detail-info-field {
    min-width: min(150px, calc(50vw - 28px));
  }

  .detail-info-description {
    width: 100%;
  }

  .detail-body .video-stage.is-video-stage {
    width: 100%;
    margin-top: 38px;
  }

  .detail-body .video-stage.is-image-stage {
    width: fit-content;
    max-width: 100%;
  }

  .detail-image {
    max-width: 100%;
  }

  .detail-gallery-thumbs {
    bottom: -54px;
    max-width: 100%;
  }

  .detail-cover-action {
    top: 12px;
    right: 12px;
    width: 88px;
  }

  .detail-case-actions,
  .video-stage.is-video-stage .detail-case-actions {
    top: 58px;
    right: 12px;
    width: 88px;
  }

  .detail-case-delete-action {
    width: 88px;
  }

  .detail-gallery-thumb {
    flex-basis: 54px;
    width: 54px;
    height: 36px;
  }

  .detail-body .video-stage.is-image-stage.has-gallery {
    margin-bottom: 70px;
  }
}

.image-viewer .viewer-close,
.image-viewer .viewer-nav {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.admin-page {
  min-height: 100vh;
  padding: 64px clamp(28px, 5vw, 72px) 90px;
}

.admin-body .admin-page {
  min-height: calc(100vh - 76px);
}

.admin-body.admin-restoring .admin-page {
  visibility: hidden;
}

.admin-login,
.admin-dashboard {
  max-width: 1120px;
  margin: 0 auto;
}

.admin-dashboard {
  max-width: 1232px;
}

.admin-dashboard > .admin-topbar {
  min-height: 141px;
  align-items: center;
}

.admin-dashboard > .admin-topbar h1 {
  max-width: none;
  font-size: 108px;
  line-height: 1;
}

.is-hidden {
  display: none !important;
}

.admin-form {
  display: grid;
  gap: 18px;
  max-width: 640px;
  margin-top: 34px;
}

.editor-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 74px 48px auto auto auto auto;
  column-gap: 18px;
  row-gap: 18px;
  max-width: none;
  margin-top: 0;
}

.form-title { grid-column: 1; grid-row: 1; }
.form-category { grid-column: 2; grid-row: 1; }
.form-type { grid-column: 1; grid-row: 2; }
.form-manufacturer { grid-column: 2; grid-row: 2; }
.form-featured { grid-column: 1; grid-row: 3; }
.form-media { grid-column: 2; grid-row: 3 / span 2; align-self: start; }
.form-cover { grid-column: 1; grid-row: 3; align-self: start; }
.form-cover-tip { grid-column: 1; grid-row: 4; }
.form-preview { grid-column: 1; grid-row: 5; }
.form-submit-actions { grid-column: 1; grid-row: 6; display: flex; gap: 10px; }
.form-save-state { grid-column: 2; grid-row: 6; align-self: center; }

.featured-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  color: var(--text);
  background: #151515;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
}

.featured-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--hover);
}

.form-submit-actions button {
  flex: 1;
}

.form-submit-actions .form-cancel {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
}

.form-title input,
.form-category select,
.form-manufacturer select {
  height: 48px;
}

.form-type select {
  height: 48px;
  min-height: 0;
}

.form-type {
  height: 74px;
  align-self: start;
  grid-template-rows: 14px 48px;
}

.form-media .drop-zone {
  min-height: 185px;
}

.form-cover .drop-zone {
  min-height: 188px;
}

.form-preview .preview-frame {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.form-cover-tip {
  display: block;
}

.form-cover-tip strong {
  color: var(--muted);
  font-size: 12px;
}

@media (min-width: 761px) {
  .editor-form.is-image-mode {
    grid-template-rows: auto 74px 48px auto auto auto;
  }

  .editor-form.is-image-mode .form-submit-actions {
    grid-column: 1;
    grid-row: 4;
  }

  .editor-form.is-image-mode .form-save-state {
    grid-column: 1;
    grid-row: 5;
  }
}

.admin-form label,
.cover-tip {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.upload-field {
  display: grid;
  gap: 10px;
}

.upload-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.drop-zone {
  display: grid;
  min-height: 170px;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 24px;
  color: var(--muted);
  background: #151515;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.drop-zone strong {
  color: var(--text);
  font-size: 14px;
}

.drop-zone small,
.drop-zone em {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

.drop-zone em {
  max-width: 100%;
  margin-top: 4px;
  overflow: hidden;
  color: var(--accent);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drop-zone:hover,
.drop-zone:focus-visible,
.drop-zone.is-dragging {
  color: #fff;
  background: rgba(107, 111, 193, 0.16);
  border-color: var(--hover);
  outline: none;
}

.drop-zone.has-file {
  border-style: solid;
  border-color: var(--hover);
}

.drop-icon {
  width: 30px;
  height: 30px;
  color: currentColor;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 16h2V8.83l2.59 2.58L17 10l-5-5-5 5 1.41 1.41L11 8.83V16Zm-6 3h14v-4h2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4h2v4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 16h2V8.83l2.59 2.58L17 10l-5-5-5 5 1.41 1.41L11 8.83V16Zm-6 3h14v-4h2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4h2v4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  color: var(--text);
  background: #151515;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
}

.admin-form textarea {
  resize: vertical;
}

.admin-form button,
.admin-actions button {
  height: 42px;
  color: #0b0b0b;
  background: var(--text);
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-form button:hover,
.admin-actions button:hover {
  color: #fff;
  background: var(--hover);
}

.admin-form[aria-busy="true"] button,
.admin-form button:disabled,
.admin-actions button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.admin-form[aria-busy="true"] button:hover,
.admin-form button:disabled:hover,
.admin-actions button:disabled:hover {
  color: #0b0b0b;
  background: var(--text);
}

.password-wrap {
  position: relative;
  display: block;
}

.password-wrap input {
  padding-right: 54px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 32px;
  height: 30px !important;
  place-items: center;
  padding: 0;
  color: var(--muted) !important;
  background: transparent !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius);
  transform: translateY(calc(-50% + var(--ui-press-y))) scale(var(--ui-press-scale));
}

.eye-icon {
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5c5.4 0 9.3 4.4 10 7-.7 2.6-4.6 7-10 7S2.7 14.6 2 12c.7-2.6 4.6-7 10-7Zm0 2C8 7 5 10.1 4.1 12 5 13.9 8 17 12 17s7-3.1 7.9-5C19 10.1 16 7 12 7Zm0 2.5A2.5 2.5 0 1 1 12 14.5 2.5 2.5 0 0 1 12 9.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5c5.4 0 9.3 4.4 10 7-.7 2.6-4.6 7-10 7S2.7 14.6 2 12c.7-2.6 4.6-7 10-7Zm0 2C8 7 5 10.1 4.1 12 5 13.9 8 17 12 17s7-3.1 7.9-5C19 10.1 16 7 12 7Zm0 2.5A2.5 2.5 0 1 1 12 14.5 2.5 2.5 0 0 1 12 9.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.password-toggle:hover {
  color: #fff !important;
  background: var(--hover) !important;
  border-color: var(--hover) !important;
}

.form-note,
.cover-tip p,
#folder-state {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
}

.form-note.is-error {
  color: #ff7777;
}

.form-note.is-success {
  color: #8ed7a2;
}

.form-section-title {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.register-form {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.full {
  grid-column: 1 / -1;
}

.admin-topbar,
.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-topbar-actions .back-link {
  margin: 0;
}

.admin-user {
  display: none;
}

.admin-logout {
  height: 36px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.admin-logout:hover {
  color: #fff;
  background: var(--hover);
  border-color: var(--hover);
}

.admin-actions {
  margin: 26px 0 34px;
  justify-content: flex-start;
}

.admin-actions button {
  padding: 0 18px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 46px;
}

.admin-tab {
  height: 38px;
  padding: 0 18px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-tab:hover,
.admin-tab.is-active {
  color: #fff;
  background: var(--hover);
  border-color: var(--hover);
}

.account-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.clients-admin-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1fr);
  gap: 22px;
}

.account-box {
  min-width: 0;
  padding: 24px;
  background: #111;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.account-box h2 {
  margin: 0 0 22px;
}

.compact-form {
  margin-top: 0;
}

.account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(118px, auto) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.account-row strong,
.account-row span {
  display: block;
}

.account-row span,
.account-row em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.account-actions {
  display: flex;
  gap: 8px;
}

.account-status-control {
  display: grid;
  gap: 6px;
}

.account-status-control span,
.account-protected {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.account-status-control select {
  height: 32px;
  min-width: 112px;
  padding: 0 28px 0 10px;
  color: var(--text);
  background: #151515;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.account-actions button {
  height: 32px;
  padding: 0 12px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.account-actions button:hover {
  color: #fff;
  background: var(--hover);
  border-color: var(--hover);
}

.account-actions button.is-danger:hover {
  color: #fff;
  background: #8d2f2f;
  border-color: #8d2f2f;
}

.compact-drop-zone {
  min-height: 142px;
}

.client-form-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.client-admin-list {
  display: grid;
  gap: 12px;
}

.client-admin-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  background: #111;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.client-admin-logo {
  display: grid;
  width: 76px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: #070707;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.client-admin-logo img {
  max-width: 86%;
  max-height: 76%;
  object-fit: contain;
  filter: grayscale(1) brightness(2) contrast(1.08);
}

.client-admin-logo span {
  padding: 0 8px;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.client-admin-meta strong,
.client-admin-meta span {
  display: block;
}

.client-admin-meta span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.client-admin-actions {
  display: flex;
  gap: 8px;
}

.client-admin-actions button {
  height: 32px;
  padding: 0 12px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.client-admin-actions button:hover {
  color: #fff;
  background: var(--hover);
  border-color: var(--hover);
}

.client-admin-actions button.is-danger:hover {
  background: #8d2f2f;
  border-color: #8d2f2f;
}

.admin-preview {
  display: grid;
  align-content: end;
}

.preview-frame {
  display: grid;
  min-height: 170px;
  place-items: center;
  color: var(--muted);
  background: #151515 center / cover no-repeat;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
}

.admin-list {
  margin-top: 52px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.admin-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-list h2 {
  margin: 0;
}

.admin-list-count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.admin-list-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-list-filter {
  height: 36px;
  min-width: 64px;
  padding: 0 18px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.admin-list-filter:hover,
.admin-list-filter.is-active {
  color: #fff;
  background: var(--hover);
  border-color: var(--hover);
}

.admin-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px 96px 70px auto;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.admin-work-title {
  display: inline;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: inherit;
  text-decoration: none;
  cursor: default;
  transition: color 180ms ease;
}

.admin-work-title:hover {
  color: var(--hover);
}

.work-preview-popover {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: min(340px, calc(100vw - 36px));
  pointer-events: none;
  opacity: 1;
  transform: translate3d(18px, 18px, 0);
  transition: opacity 160ms ease;
}

.work-preview-popover.is-hidden {
  opacity: 0;
}

.work-preview-frame {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    #151515;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
}

.work-preview-frame:not(.has-image)::before {
  content: "NO COVER";
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.work-preview-popover span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-list-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.admin-list-actions button {
  height: 32px;
  min-width: 64px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.admin-list-actions button:hover {
  color: #fff;
  background: var(--hover);
  border-color: var(--hover);
}

.admin-list-actions button.is-danger:hover {
  background: #7f2b2b;
  border-color: #9d3a3a;
}

.work-edit-modal-open {
  overflow: hidden;
}

.work-edit-modal-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.editor-form.is-modal-editing {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 80;
  width: min(1120px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  margin: 0;
  padding: 26px;
  overflow-y: auto;
  background: #0f0f0f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
  transform: translate(-50%, -50%);
}

.admin-list-row span,
.admin-list-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.admin-pagination {
  display: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 20px;
}

.admin-pagination.is-visible {
  display: flex;
}

.admin-pagination button {
  min-width: 36px;
  height: 34px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.admin-pagination button:hover,
.admin-pagination button.is-active {
  color: #fff;
  background: var(--hover);
  border-color: var(--hover);
}

.admin-pagination button:disabled {
  cursor: default;
  opacity: 0.38;
}

.admin-pagination button:disabled:hover {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}

@media (max-width: 760px) {
  .editor-form {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .form-title,
  .form-category,
  .form-type,
  .form-manufacturer,
  .form-featured,
  .form-media,
  .form-cover,
  .form-cover-tip,
  .form-preview,
  .form-submit-actions,
  .form-save-state {
    grid-column: 1;
    grid-row: auto;
  }

  .admin-dashboard > .admin-topbar h1 {
    font-size: 64px;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .clients-admin-layout {
    grid-template-columns: 1fr;
  }

  .client-admin-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .client-admin-actions {
    grid-column: 1 / -1;
  }

  .account-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .account-status-control select,
  .account-actions button {
    width: 100%;
  }

  .admin-topbar,
  .admin-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-topbar-actions {
    flex-wrap: wrap;
  }

  .admin-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-list-count {
    text-align: left;
  }

  .admin-list-filter {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }

  .admin-list-row {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
  }

  .admin-list-row span,
  .admin-list-row em {
    grid-column: 1;
  }

  .admin-list-actions {
    grid-column: 2;
    grid-row: 1 / span 3;
    flex-direction: column;
  }

  .admin-pagination {
    justify-content: flex-start;
  }
}

.page {
  display: grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
}

.page:hover,
.page.is-current {
  color: #fff;
  background: var(--hover);
  border-color: var(--hover);
}

.page.next {
  padding: 0 18px;
}

@media (max-width: 1080px) {
  .works-grid {
    --works-gap: 30px;
    padding-inline: 54px;
  }

  .filters {
    margin-inline: 54px;
  }

}

@media (max-width: 640px) {
  .site-header {
    height: auto;
    padding-block: 18px;
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .works-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 0 20px;
  }

  .hero-video-window {
    top: var(--header-height);
  }

  .hero-crystal-scene {
    top: -2%;
    right: -48%;
    width: 100vw;
    height: 50vh;
    opacity: 0.76;
    perspective: 900px;
    --cube-size: clamp(180px, 52vw, 260px);
  }

  .glass-cube {
    top: 38%;
    left: 60%;
  }

  .axis-light {
    height: 7%;
    opacity: 0.5;
  }

  .axis-light-x {
    left: -34%;
    width: 78%;
  }

  .axis-light-y,
  .axis-light-z {
    width: 68%;
  }

  h1 {
    font-size: clamp(30px, 8.5vw, 38px);
  }

  .hero-wordmark {
    min-height: clamp(310px, 82vw, 430px);
  }

  .wordmark-welcome {
    width: min(88%, 665px);
  }

  .wordmark-star {
    top: clamp(84px, 22vw, 128px);
    left: min(91vw, 710px);
    width: clamp(42px, 11vw, 72px);
  }

  .wordmark-line-art {
    top: clamp(58px, 15.8vw, 94px);
    left: 2px;
    width: clamp(44px, 12vw, 74px);
  }

  .wordmark-system {
    top: clamp(92px, 25vw, 146px);
    left: 2px;
    width: clamp(190px, 52vw, 285px);
  }

  .wordmark-year {
    top: clamp(126px, 35vw, 172px);
    right: 2px;
    font-size: clamp(13px, 4vw, 18px);
  }

  .wordmark-to {
    top: clamp(162px, 45vw, 224px);
    right: 0;
    width: clamp(150px, 43vw, 245px);
  }

  .wordmark-pao {
    left: clamp(26px, 8vw, 70px);
    width: min(94%, 640px);
  }

  .filters {
    gap: 8px;
    margin: 0 24px 24px;
  }

  .works-grid {
    --works-gap: 24px;
    padding: 26px 24px 36px;
  }

  .works-top-button {
    right: 20px;
    bottom: 22px;
    min-width: 66px;
    height: 42px;
    padding-inline: 20px;
  }

  .sort-toolbar {
    grid-template-columns: 1fr;
    margin: 0 20px 16px;
  }

  .sort-toolbar .form-note,
  .sort-exit {
    grid-column: 1;
    grid-row: auto;
  }

  .works-reveal {
    padding-top: 22px;
  }

  .home-body.home-revealed .stack-title {
    opacity: 1;
    transform: translate3d(0, -50%, 0);
  }

  .home-body.home-revealed .stack-title-lines {
    transform: translateZ(0);
  }

  .home-body .stack-title {
    left: 20px;
    right: auto;
    width: calc(100vw - 40px);
  }

  .work-link {
    min-height: 0;
  }

  .image-viewer {
    padding: 16px;
  }

  .viewer-shell {
    min-width: 100%;
    min-height: 100%;
  }

  .viewer-counter {
    right: 16px;
    bottom: 16px;
  }

  .viewer-nav {
    width: 40px;
    height: 54px;
  }

  .contact-page {
    padding: 0 0 48px;
  }

  .clients-hero {
    min-height: 100vh;
    min-height: 100svh;
    gap: 48px;
    padding: 60px 0 56px;
  }

  .clients-heading {
    inset: 0;
  }

  .clients-hero::after {
    top: 34%;
  }

  .contact-info h2 {
    font-size: 48px;
  }

  .clients-marquee {
    gap: 44px;
  }

  .client-row {
    --client-gap: 84px;
  }

  .client-logo {
    width: 174px;
    min-width: 174px;
    height: 58px;
  }

  .client-logo span {
    font-size: 30px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: 100vh;
    min-height: 100svh;
    padding: 96px 20px 72px;
  }

  .contact-bg-word {
    left: -10vw;
    top: 42%;
    font-size: 118px;
    white-space: normal;
  }

  .contact-info::before {
    background: transparent;
  }

  .contact-grid {
    grid-column: 1;
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0;
  }

  .contact-star-decor {
    transform: translate3d(var(--contact-star-x, 0px), var(--contact-star-y, -4vh), 0) rotate(var(--mark-rotation, 0deg));
  }

  .contact-ppt-button {
    left: var(--contact-ppt-left, clamp(144px, 34vw, 190px));
    top: var(--contact-ppt-top, auto);
    bottom: var(--contact-ppt-bottom, clamp(46px, 6.8vh, 70px));
    min-width: 82px;
    height: 30px;
    padding: 0 12px;
    font-size: 13px;
  }

  .contact-grid::before {
    left: -20px;
    right: -20px;
  }

  .contact-grid section,
  .contact-grid section + section {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 24px 0;
    border-left: 0;
    border-top: 0;
  }

  .contact-grid a,
  .contact-grid p {
    font-size: clamp(22px, 7vw, 34px);
    white-space: normal;
  }
}
