:root {
  --bg: #05070a;
  --bg-rise: #0a0a0c;
  --panel: rgba(12, 13, 19, 0.78);
  --line: rgba(223, 232, 255, 0.18);
  --line-strong: rgba(143, 216, 255, 0.48);
  --text: #f7f8ff;
  --muted: #aeb5c9;
  --cyan: #8fd8ff;
  --orange: #d8b46a;
  --pink: #ff8bd4;
  --gold: #ffd36a;
  --work-accent: var(--cyan);
  --scroll-shift: 0px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 45% 5%, rgba(160, 185, 214, 0.2), transparent 34rem),
    linear-gradient(180deg, var(--bg) 0%, #08090c 58%, var(--bg-rise) 100%);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    radial-gradient(circle at 50% 12%, rgba(188, 210, 240, 0.22), transparent 26rem),
    radial-gradient(circle at 74% 36%, rgba(78, 95, 160, 0.18), transparent 24rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.72));
  opacity: 0.85;
}

body::after {
  z-index: -1;
  background:
    linear-gradient(to top, rgba(67, 31, 12, 0.72), transparent 18rem),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.56), transparent 16rem),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 6px);
  opacity: 0.52;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 8vw, 7.4rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.08;
}

h3 {
  line-height: 1.2;
}

.cursor-particles {
  position: fixed;
  inset: 0;
  z-index: 120;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-shell {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.topbar {
  position: fixed;
  left: 50%;
  top: 28px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1860px, calc(100% - 72px));
  transform: translateX(-50%);
}

.topbar.compact {
  position: relative;
  left: auto;
  top: auto;
  width: min(1320px, calc(100% - 32px));
  margin: 18px auto 0;
  transform: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.94rem;
  letter-spacing: 0.08em;
}

.brand small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

.topnav {
  position: absolute;
  left: 50%;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(720px, 72vw);
  padding: 8px 18px;
  border-radius: 999px;
  overflow-x: auto;
  white-space: nowrap;
  background: rgba(8, 10, 14, 0.78);
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.36);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.topbar.compact .topnav {
  position: static;
  transform: none;
}

.topnav a {
  padding: 7px 14px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
  outline: none;
}

.topnav a::after {
  display: block;
  width: 0;
  height: 2px;
  margin: 2px auto 0;
  background: var(--orange);
  content: "";
  transition: width 160ms ease;
}

.topnav a:hover::after,
.topnav a:focus-visible::after {
  width: 20px;
}

.hero-showcase {
  width: 100%;
  min-height: 100svh;
}

.showcase-block,
.work-index,
.about-section,
.detail-hero,
.detail-layout,
.detail-gallery {
  width: min(1320px, calc(100% - 32px));
  margin-inline: auto;
}

.showcase-block {
  position: relative;
  padding: 92px 0;
}

.video-block.showcase-block {
  width: 100%;
  height: 100svh;
  min-height: 720px;
  padding: 0;
}

.showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.52fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.showcase-head p,
.section-heading p,
.about-grid p,
.detail-copy p,
.detail-panel p,
.gallery-card p,
.three-subhead p {
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-carousel {
  position: relative;
  padding: 0 54px 50px;
}

.showcase-viewport {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    var(--panel);
  box-shadow:
    inset 0 0 50px rgba(143, 216, 255, 0.08),
    0 34px 110px rgba(0, 0, 0, 0.42);
}

.showcase-track {
  display: flex;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.showcase-slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.58fr);
  gap: 22px;
  min-width: 100%;
  min-height: 610px;
  padding: 18px;
}

.showcase-slide::before {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  content: "";
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  opacity: 0;
  transition: opacity 260ms ease;
}

.showcase-slide.is-active::before {
  opacity: 1;
}

.slide-media {
  position: relative;
  display: block;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: #050506;
  isolation: isolate;
}

.slide-media img,
.slide-media video,
.detail-media img,
.detail-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-media::after,
.detail-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(to top, rgba(5, 5, 6, 0.48), transparent 42%),
    repeating-linear-gradient(to bottom, transparent, transparent 8px, rgba(255, 255, 255, 0.035) 9px);
  opacity: 0.64;
}

.scanline {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--accent) 35%, transparent), transparent);
  transform: translateY(-110%);
}

.showcase-slide.is-active .scanline,
.detail-media:hover .scanline {
  animation: scanSweep 3.6s ease-in-out infinite;
}

.slide-media:hover img,
.slide-media:hover video {
  transform: scale(1.025);
}

.slide-media img,
.slide-media video {
  transition: transform 520ms ease, filter 520ms ease;
}

.corner-line {
  position: absolute;
  z-index: 3;
  width: 72px;
  height: 72px;
  pointer-events: none;
  border-color: color-mix(in srgb, var(--accent) 70%, white);
  opacity: 0.76;
}

.corner-line.top-left {
  left: 16px;
  top: 16px;
  border-left: 1px solid;
  border-top: 1px solid;
}

.corner-line.bottom-right {
  right: 16px;
  bottom: 16px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 16px 26px 0;
}

.slide-count {
  margin-bottom: 14px;
  color: color-mix(in srgb, var(--accent) 82%, white);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slide-copy h3 {
  margin-bottom: 12px;
  font-size: 2.2rem;
}

.slide-copy p {
  color: #c7ccdc;
}

.slide-copy .subtitle {
  color: var(--text);
  font-weight: 700;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tag-row span {
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--accent, var(--cyan)) 34%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #dce6ff;
  font-size: 0.78rem;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent, var(--cyan));
  outline: none;
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent, var(--cyan)) 24%, transparent);
}

.btn.primary {
  border-color: color-mix(in srgb, var(--accent, var(--cyan)) 72%, white);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent, var(--cyan)) 26%, transparent), rgba(255, 255, 255, 0.04));
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.26);
}

.nav-arrow {
  position: absolute;
  top: calc(50% - 25px);
  z-index: 8;
  display: grid;
  width: 50px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(5, 5, 6, 0.72);
  color: var(--text);
  font-size: 2.3rem;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-arrow.prev {
  left: 0;
}

.nav-arrow.next {
  right: 0;
}

.nav-arrow:hover,
.nav-arrow:focus-visible {
  transform: translateY(-2px);
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 28px rgba(143, 216, 255, 0.24);
}

.showcase-dots {
  position: absolute;
  left: 54px;
  right: 54px;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  display: grid;
  min-width: 42px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
}

.dot.is-active,
.dot:hover,
.dot:focus-visible {
  border-color: var(--cyan);
  background: rgba(143, 216, 255, 0.12);
  color: var(--text);
  outline: none;
}

.video-block .showcase-carousel,
.video-block .showcase-viewport,
.video-block .showcase-track,
.video-block .showcase-slide {
  height: 100%;
}

.video-block .showcase-carousel {
  position: absolute;
  inset: 0;
  width: 100vw;
  padding: 0;
}

.video-block .showcase-viewport {
  border: 0;
  border-radius: 0;
  background: #05070a;
  box-shadow: none;
}

.video-block .showcase-slide {
  display: block;
  min-height: 100%;
  padding: 0;
}

.video-block .showcase-slide::before,
.video-block .corner-line,
.video-block .scanline {
  display: none;
}

.video-block .slide-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100svh;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: #05070a;
}

.video-block .slide-media img,
.video-block .slide-media video {
  width: 100vw;
  height: 100svh;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.video-block .slide-media::after {
  background:
    radial-gradient(circle at 50% 36%, transparent 0 18rem, rgba(0, 0, 0, 0.24) 34rem),
    linear-gradient(to bottom, rgba(3, 5, 8, 0.35), transparent 30%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(to top, rgba(104, 45, 13, 0.55), transparent 24%);
  opacity: 1;
}

.video-block .slide-media:hover img,
.video-block .slide-media:hover video {
  transform: none;
}

.video-block .slide-copy {
  display: none;
}

.video-block .nav-arrow {
  top: 50%;
  width: clamp(54px, 5vw, 78px);
  height: clamp(54px, 5vw, 78px);
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(5, 7, 10, 0.2);
  font-size: 2.6rem;
  transform: translateY(-50%);
}

.video-block .nav-arrow.prev {
  left: clamp(14px, 2vw, 42px);
}

.video-block .nav-arrow.next {
  right: clamp(14px, 2vw, 42px);
}

.video-block .nav-arrow:hover,
.video-block .nav-arrow:focus-visible {
  transform: translateY(-50%) scale(1.04);
  border-color: rgba(255, 255, 255, 0.62);
}

.video-block .showcase-dots {
  left: auto;
  right: clamp(24px, 5vw, 86px);
  bottom: clamp(28px, 4vh, 48px);
  justify-content: flex-end;
}

.hero-statement {
  position: absolute;
  left: 50%;
  bottom: clamp(70px, 8vh, 108px);
  z-index: 5;
  width: min(860px, calc(100% - 40px));
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-kicker {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  letter-spacing: 1.1em;
  text-indent: 1.1em;
}

.hero-statement h1 {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.18em;
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(2.7rem, 8vw, 7.4rem);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero-statement h1 span {
  font-size: 0.46em;
  font-weight: 900;
}

.hero-statement h1 strong {
  color: var(--orange);
  letter-spacing: 0.02em;
}

.hero-quote {
  width: max-content;
  max-width: calc(100vw - 48px);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.hero-signature {
  position: absolute;
  right: clamp(4px, 2vw, 18px);
  bottom: -34px;
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.82rem;
  letter-spacing: 0.28em;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 8;
  display: inline-grid;
  justify-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.mouse-mark {
  position: relative;
  display: block;
  width: 24px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
}

.mouse-mark::after {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: var(--orange);
  content: "";
  transform: translateX(-50%);
  animation: wheelHint 1.6s ease-in-out infinite;
}

.video-archive-section {
  position: relative;
  width: 100%;
  min-height: 88svh;
  padding: 118px max(24px, 4vw) 116px;
  overflow: hidden;
  background:
    radial-gradient(circle at 64% 28%, rgba(74, 117, 164, 0.22), transparent 30rem),
    radial-gradient(circle at 18% 64%, rgba(143, 216, 255, 0.13), transparent 24rem),
    linear-gradient(180deg, rgba(6, 12, 24, 0.98), rgba(8, 13, 24, 0.92) 54%, rgba(5, 7, 10, 0.98));
  isolation: isolate;
}

.video-archive-section::before,
.video-archive-section::after,
.archive-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.video-archive-section::before {
  background:
    linear-gradient(rgba(143, 216, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 216, 255, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 76%, transparent);
  opacity: 0.66;
}

.video-archive-section::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(to bottom, transparent, transparent 7px, rgba(255, 255, 255, 0.035) 8px);
  opacity: 0.6;
}

.archive-atmosphere {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(143, 216, 255, 0.17), transparent 46%),
    linear-gradient(115deg, transparent 0 32%, rgba(143, 216, 255, 0.09) 32% 33%, transparent 33% 100%),
    linear-gradient(72deg, transparent 0 64%, rgba(216, 180, 106, 0.09) 64% 65%, transparent 65% 100%);
  opacity: 0.72;
  transform: translateY(var(--scroll-shift));
}

.archive-head {
  position: relative;
  z-index: 2;
  width: min(1320px, 100%);
  margin: 0 auto 28px;
}

.archive-head h2 {
  color: #f4f8ff;
  text-shadow: 0 0 32px rgba(143, 216, 255, 0.22);
}

.aigc-intro .aigc-motto {
  margin-bottom: 12px;
  color: var(--gold, #d8b46a);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.aigc-subhead,
.aigc-image-section {
  position: relative;
  z-index: 2;
  width: min(1320px, 100%);
  margin-inline: auto;
}

.aigc-subhead {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 20px;
}

.aigc-subhead > span {
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.aigc-subhead h3 { font-size: 1.25rem; }
.aigc-image-section { margin-top: 74px; }
.aigc-image-section .aigc-subhead { width: 100%; }
.aigc-image-section [hidden] { display: none !important; }

.aigc-image-empty {
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(143, 216, 255, 0.06), rgba(216, 180, 106, 0.035));
}

.aigc-image-empty h4 { margin: 14px 0; font-size: clamp(1.3rem, 3vw, 2rem); }
.aigc-image-empty p { color: var(--muted); }

.archive-stage { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #658393 #101824; }
.archive-rail { transform: none; }
.archive-browse { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 20px auto; color: var(--muted); font-size: 0.8rem; }
.archive-browse button { width: 42px; height: 36px; border: 1px solid var(--line-strong); border-radius: 20px; background: #141e2b; color: var(--text); cursor: pointer; }

.aigc-image-section .slide-media img,
.aigc-detail .detail-media video { object-fit: contain; background: #05070a; }

.archive-stage {
  position: relative;
  z-index: 2;
  width: min(1540px, 100%);
  margin: 0 auto;
  padding: 42px 0 48px;
  overflow: hidden;
  border-top: 1px solid rgba(143, 216, 255, 0.2);
  border-bottom: 1px solid rgba(143, 216, 255, 0.16);
}

.archive-stage::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 62px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 216, 255, 0.62), transparent);
  content: "";
  opacity: 0.76;
}

.archive-rail {
  display: flex;
  min-height: 500px;
  align-items: center;
  gap: 28px;
  transform: translate3d(var(--archive-shift, 0px), 0, 0);
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.archive-card {
  position: relative;
  display: flex;
  flex: 0 0 clamp(158px, 13vw, 220px);
  height: 440px;
  flex-direction: column;
  padding: 24px 15px 18px;
  border: 1px solid rgba(143, 216, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(7, 14, 27, 0.68);
  box-shadow:
    inset 0 0 38px rgba(143, 216, 255, 0.055),
    0 26px 72px rgba(0, 0, 0, 0.28);
  outline: none;
  overflow: hidden;
  transition:
    flex-basis 420ms cubic-bezier(0.22, 1, 0.36, 1),
    height 420ms ease,
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    opacity 240ms ease;
}

.archive-card::before {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 26px;
  height: 2px;
  background:
    linear-gradient(90deg, var(--accent), rgba(143, 216, 255, 0.14) 56%, transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0 3px, transparent 3px 9px);
  content: "";
  opacity: 0.68;
  transition: opacity 240ms ease, transform 240ms ease;
}

.archive-card::after {
  position: absolute;
  inset: 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.archive-card.is-active {
  flex-basis: clamp(620px, 50vw, 810px);
  height: 462px;
  transform: translateY(-10px);
  border-color: color-mix(in srgb, var(--accent) 60%, white);
  box-shadow:
    inset 0 0 56px color-mix(in srgb, var(--accent) 14%, transparent),
    0 34px 95px rgba(0, 0, 0, 0.46),
    0 0 36px color-mix(in srgb, var(--accent) 18%, transparent);
}

.archive-card.is-active::before {
  opacity: 1;
  transform: scaleX(1.08);
}

.archive-card.is-active::after {
  opacity: 1;
}

.archive-number {
  position: relative;
  z-index: 4;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 48%, transparent);
}

.archive-media {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: #05070a;
  isolation: isolate;
}

.archive-media img,
.archive-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms ease, filter 480ms ease;
}

.archive-media::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(5, 8, 14, 0.62), transparent 44%),
    repeating-linear-gradient(to bottom, transparent, transparent 8px, rgba(255, 255, 255, 0.04) 9px);
  content: "";
}

.archive-card.is-active .archive-media {
  flex: 1 1 auto;
  aspect-ratio: auto;
  height: 100%;
  max-height: none;
}

.archive-card.is-active .archive-media img,
.archive-card.is-active .archive-media video {
  transform: scale(1.025);
}

.archive-card .scanline {
  z-index: 3;
}

.archive-card.is-active .scanline {
  animation: scanSweep 3.6s ease-in-out infinite;
}

.archive-corner {
  position: absolute;
  z-index: 4;
  width: 38px;
  height: 38px;
  border-color: color-mix(in srgb, var(--accent) 74%, white);
  opacity: 0.86;
}

.archive-corner.top-left {
  left: 12px;
  top: 12px;
  border-left: 1px solid;
  border-top: 1px solid;
}

.archive-corner.bottom-right {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.archive-copy {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 5;
  max-height: calc(100% - 78px);
  padding: 18px 18px 16px;
  border-left: 2px solid color-mix(in srgb, var(--accent) 72%, white);
  background:
    linear-gradient(90deg, rgba(7, 13, 24, 0.9), rgba(7, 13, 24, 0.62) 72%, transparent),
    rgba(7, 13, 24, 0.28);
  backdrop-filter: blur(10px);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: max-height 360ms ease, margin 260ms ease, opacity 260ms ease, transform 260ms ease;
}

.archive-card.is-active .archive-copy {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.archive-type {
  margin-bottom: 5px;
  color: color-mix(in srgb, var(--accent) 82%, white);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-copy h3 {
  margin-bottom: 6px;
  font-size: clamp(1.3rem, 2.1vw, 2rem);
}

.archive-copy p:not(.archive-type) {
  display: -webkit-box;
  margin-bottom: 8px;
  padding-right: min(170px, 24vw);
  overflow: hidden;
  color: #c7d2ea;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.archive-tags {
  margin-top: 0;
}

.archive-tags span {
  padding-block: 4px;
  font-size: 0.72rem;
}

.archive-more {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 62%, white);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #07101c;
  font-size: 0.84rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.archive-more:hover,
.archive-more:focus-visible {
  transform: translateX(3px);
  outline: none;
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 28%, transparent);
}

.empty-archive-card {
  flex-basis: min(680px, 100%);
  justify-content: center;
}

.empty-archive-card .archive-copy {
  max-height: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.archive-guide {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(520px, 100%);
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: 18px auto 0;
  color: rgba(232, 242, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-guide i {
  display: block;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.three-block {
  padding-top: 120px;
}

.three-subhead {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 40px 54px 18px;
}

.three-subhead > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(216, 180, 106, 0.62);
  border-radius: 50%;
  color: var(--orange);
  font-weight: 900;
  flex: 0 0 46px;
}

.three-subhead > div { flex: 1; min-width: 0; }

.three-subhead h3 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.three-video-carousel .showcase-slide {
  min-height: min(760px, 82vh);
}

.three-video-carousel .slide-media {
  min-height: min(680px, 76vh);
}

.three-image-carousel .slide-media,
.graphic-block .slide-media {
  display: grid;
  height: clamp(430px, 72vh, 840px);
  min-height: 0;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 56%),
    #06070a;
}

.three-image-carousel .slide-media img,
.graphic-block .slide-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.three-image-carousel .slide-media:hover img,
.graphic-block .slide-media:hover img {
  transform: none;
}

.three-image-carousel .slide-media::after,
.graphic-block .slide-media::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.16), transparent 38%);
  opacity: 0.32;
}

.work-index,
.about-section,
.detail-gallery {
  padding: 64px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.index-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.index-card:hover,
.index-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.index-card > span {
  color: var(--accent);
  font-weight: 900;
}

.index-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  background: #05070a;
}

.index-card strong,
.index-card small {
  display: block;
}

.index-card small {
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(143, 216, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.about-grid > article > span {
  color: var(--gold);
  font-weight: 900;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(420px, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 48px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.detail-copy {
  align-self: center;
  padding: 18px;
}

.detail-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.04;
}

.detail-subtitle {
  color: var(--text) !important;
  font-weight: 800;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: color-mix(in srgb, var(--work-accent) 84%, white);
  font-weight: 800;
}

.back-link::before {
  margin-right: 8px;
  content: "←";
}

.detail-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: #050506;
}

.detail-media video,
.detail-media img {
  position: absolute;
  inset: 0;
}

.detail-media img {
  object-fit: contain;
  background: #05070a;
}

.detail-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 64px 0 34px;
}

.detail-menu {
  position: sticky;
  top: 94px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 5, 6, 0.62);
  backdrop-filter: blur(16px);
}

.detail-menu a {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
}

.detail-menu a:hover,
.detail-menu a:focus-visible {
  border-color: var(--work-accent);
  color: var(--text);
  outline: none;
}

.detail-panels {
  display: grid;
  gap: 16px;
}

.detail-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--work-accent) 8%, transparent), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.detail-panel h2 {
  font-size: 2rem;
}

.detail-panel p:last-child {
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #05070a;
}

.gallery-card div {
  padding: 18px;
}

.gallery-card strong {
  display: block;
  margin-bottom: 6px;
}

.detail-loading {
  width: min(880px, calc(100% - 32px));
  margin: 100px auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scanSweep {
  0% {
    transform: translateY(-110%);
  }

  42%,
  100% {
    transform: translateY(110%);
  }
}

@keyframes wheelHint {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 13px);
  }
}

/* Local content editor */
.editor-shell {
  min-height: 100vh;
}

.editor-topbar {
  position: relative;
  left: auto;
  top: auto;
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 0;
  transform: none;
}

.editor-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 90px;
}

.editor-hero {
  max-width: 760px;
  margin-bottom: 28px;
}

.editor-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.editor-hero p:not(.eyebrow),
.editor-note {
  color: var(--muted);
}

.editor-mode {
  display: inline-flex;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 139, 116, 0.45);
  border-radius: 8px;
  background: rgba(255, 139, 116, 0.08);
  color: #ffd7cc;
  font-weight: 800;
}

.editor-mode.is-ready {
  border-color: rgba(143, 216, 255, 0.46);
  background: rgba(143, 216, 255, 0.08);
  color: #dff4ff;
}

.editor-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
}

.editor-panels {
  display: grid;
  gap: 18px;
}

.editor-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(10, 11, 15, 0.78);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.editor-card h2 {
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.editor-card-head,
.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editor-card-head {
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.compact-actions {
  align-items: stretch;
}

.compact-actions .btn {
  flex: 1 1 auto;
  min-height: 38px;
  padding-inline: 10px;
}

.btn.danger {
  border-color: rgba(255, 139, 116, 0.36);
  color: #ffd7cc;
}

.editor-work-list {
  display: grid;
  gap: 10px;
  max-height: 70vh;
  overflow: auto;
  padding-right: 2px;
}

.editor-tabs,
.editor-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.editor-tabs button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
}

.editor-tabs button.active,
.editor-tabs button:hover,
.editor-tabs button:focus-visible {
  border-color: var(--cyan);
  color: var(--text);
  outline: none;
}

.editor-work-button {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.editor-work-button.active,
.editor-work-button:hover,
.editor-work-button:focus-visible {
  border-color: var(--orange);
  outline: none;
}

.editor-work-button img {
  width: 72px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
  background: #05070a;
}

.editor-work-button strong,
.editor-work-button small {
  display: block;
}

.editor-work-button strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-work-button small {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.wide-field {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.editor-detail-grid textarea,
#config-output {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

.form-grid select {
  appearance: none;
}

.form-grid input[type="color"] {
  min-height: 42px;
  padding: 4px;
}

.editor-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.editor-preview img,
.editor-preview video {
  width: 100%;
  max-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  object-fit: contain;
  background: #05070a;
}

.editor-upload-grid,
.editor-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.editor-detail-grid label,
.upload-box {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.upload-box {
  padding: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.upload-box input {
  width: 100%;
  color: var(--muted);
}

.file-button {
  position: relative;
  overflow: hidden;
}

.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

#config-output {
  margin-top: 14px;
  resize: vertical;
}

.editor-status {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  max-width: min(360px, calc(100% - 40px));
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(216, 180, 106, 0.42);
  border-radius: 8px;
  background: rgba(8, 9, 12, 0.9);
  color: var(--text);
}

.editor-status:empty {
  display: none;
}

@media (max-width: 1120px) {
  .showcase-slide,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .showcase-slide {
    min-height: auto;
  }

  .slide-copy {
    padding: 8px 8px 18px;
  }

  .detail-media {
    min-height: 460px;
  }

  .index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .archive-card.is-active {
    flex-basis: min(66vw, 680px);
  }
}

@media (max-width: 860px) {
  .topbar {
    top: 16px;
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 28px, 1860px);
  }

  .topbar.compact {
    width: min(100% - 28px, 1320px);
  }

  .brand small {
    display: none;
  }

  .topnav {
    position: relative;
    left: auto;
    top: auto;
    max-width: 100%;
    transform: none;
  }

  .video-block.showcase-block {
    min-height: 700px;
  }

  .video-block .nav-arrow {
    top: 50%;
    bottom: auto;
  }

  .video-block .showcase-dots {
    left: 20px;
    right: 20px;
    justify-content: center;
  }

  .hero-kicker {
    letter-spacing: 0.45em;
    text-indent: 0.45em;
  }

  .hero-statement h1 {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .hero-statement { bottom: 112px; }
  .hero-quote { width: auto; white-space: normal; line-height: 1.6; }
  .hero-signature { position: static; margin-top: 12px; }

  .showcase-head,
  .detail-layout,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .video-archive-section {
    min-height: auto;
    padding: 86px 16px 82px;
  }

  .archive-stage {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
  }

  .archive-stage::-webkit-scrollbar {
    height: 4px;
  }

  .archive-stage::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(143, 216, 255, 0.42);
  }

  .archive-rail {
    min-height: 0;
    align-items: stretch;
    gap: 16px;
    transform: none !important;
  }

  .archive-card,
  .archive-card.is-active {
    flex: 0 0 min(82vw, 440px);
    height: auto;
    min-height: 0;
    transform: none;
    scroll-snap-align: start;
  }

  .archive-media,
  .archive-card.is-active .archive-media {
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: none;
  }

  .archive-copy,
  .archive-card.is-active .archive-copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-height: none;
    margin-top: 14px;
    padding: 0;
    border-left: 0;
    background: transparent;
    backdrop-filter: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .archive-copy p:not(.archive-type) {
    padding-right: 0;
  }

  .archive-more {
    position: static;
    width: fit-content;
    margin-top: 4px;
  }

  .archive-guide {
    justify-content: center;
  }

  .showcase-carousel {
    padding: 0 0 54px;
  }

  .three-subhead {
    margin-inline: 0;
  }

  .nav-arrow {
    top: auto;
    bottom: 0;
    width: 44px;
    height: 40px;
    font-size: 1.7rem;
  }

  .nav-arrow.prev {
    left: 0;
  }

  .nav-arrow.next {
    right: 0;
  }

  .showcase-dots {
    left: 54px;
    right: 54px;
    bottom: 4px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .slide-media {
    min-height: 320px;
  }

  .slide-copy h3 {
    font-size: 1.75rem;
  }

  .index-grid,
  .about-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .detail-menu {
    position: relative;
    top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cursor-particles {
    display: none;
  }

  .topbar {
    align-items: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .topnav {
    justify-content: center;
    gap: 4px;
    padding-inline: 8px;
  }

  .topnav a {
    padding-inline: 9px;
  }

  .showcase-block,
  .work-index,
  .about-section,
  .detail-hero,
  .detail-layout,
  .detail-gallery {
    width: min(100% - 20px, 1320px);
  }

  .hero-quote {
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .hero-signature {
    position: static;
    margin-top: 10px;
  }

  .archive-head {
    margin-bottom: 18px;
  }

  .archive-stage {
    padding: 28px 0 34px;
  }

  .archive-card,
  .archive-card.is-active {
    flex-basis: 88vw;
    padding: 20px 12px 16px;
  }

  .archive-guide {
    gap: 10px;
    font-size: 0.7rem;
  }

  .archive-guide i {
    width: 64px;
  }

  .three-image-carousel .slide-media,
  .graphic-block .slide-media {
    height: clamp(340px, 62vh, 620px);
  }

  .corner-line {
    width: 44px;
    height: 44px;
  }

  .detail-copy {
    padding: 8px;
  }

  .detail-media {
    min-height: 300px;
  }

  .detail-menu,
  .form-grid,
  .editor-preview,
  .editor-upload-grid,
  .editor-detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    padding: 20px;
  }
}
