﻿:root { --bg: #05070b; }

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: auto;
}
body {
  overflow-x: hidden;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-scroll {
  position: relative;
  width: 100%;
  height: 250vh;
  --hero-bg: #05070b;
  --hero-primary: #fff;
  --hero-muted: rgba(255,255,255,.7);
  --hero-accent: #d474ff;
  --hero-line: rgba(197, 132, 109, .58);
  background: var(--hero-bg);
}

/* 首屏与第二屏之间的独立分界线，不改变第二屏内容。 */
.hero-scroll::after {
  content: "";
  position: absolute;
  z-index: 12;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 176, 140, 0) 0%,
    rgba(255, 188, 158, .72) 12%,
    rgba(255, 244, 232, .96) 50%,
    rgba(255, 188, 158, .72) 88%,
    rgba(255, 176, 140, 0) 100%
  );
  box-shadow: 0 0 12px rgba(255, 174, 136, .55), 0 0 26px rgba(255, 130, 96, .22);
}

.hero-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  /* A clipped canvas must never become a scroll container when a nav button
     receives focus; otherwise the fixed card slots appear to move vertically. */
  overflow: clip;
  isolation: isolate;
  background: var(--hero-bg);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--hero-bg);
}

/* 保持视频原构图，只在边缘轻轻压暗，不覆盖视频文字或主体。 */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(2, 2, 12, .98) 0%,
    rgba(2, 2, 12, .94) 18%,
    rgba(2, 2, 12, .82) 32%,
    rgba(2, 2, 12, .52) 43%,
    rgba(2, 2, 12, .20) 54%,
    rgba(2, 2, 12, .04) 66%,
    rgba(2, 2, 12, 0) 74%
  );
}

/* 只有右上导航跨屏固定；左上 Logo 留在首屏内部。 */
.site-header {
  position: fixed;
  z-index: 50;
  inset: 0;
  pointer-events: none;
  --hero-primary: #fff;
  --hero-muted: rgba(255,255,255,.7);
  --hero-accent: #d474ff;
}
.site-header .top-nav {
  pointer-events: auto;
}

.hero-brand,
.hero-copy,
.hero-actions,
.tool-strip {
  position: absolute;
  z-index: 8;
}

/* 首屏按当前视觉稿隐藏右下工具图标栏；第二屏工具列表不受影响。 */
#hero-scroll .tool-strip {
  display: none;
}

.hero-brand {
  top: 6.2%;
  left: 4.35%;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,.94);
  font-size: clamp(18px, 1.55vw, 30px);
  font-weight: 600;
  letter-spacing: -.035em;
  white-space: nowrap;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 12px);
  grid-template-rows: repeat(2, 12px);
  gap: 3px;
  width: 27px;
  height: 27px;
  transform: rotate(-8deg);
}
.brand-mark i {
  display: block;
  border-radius: 50%;
}
.brand-mark i:nth-child(1) { background: #ff3e8f; }
.brand-mark i:nth-child(2) { background: #ff9a2d; }
.brand-mark i:nth-child(3) { background: #8357ff; }
.brand-mark i:nth-child(4) { background: #ff5cb4; }

.hero-copy {
  top: 26.5%;
  left: 4.2%;
  max-width: 53vw;
}
.hero-copy h1 {
  margin: 0;
  color: var(--hero-primary);
  font-size: clamp(68px, 7.2vw, 148px);
  font-weight: 600;
  line-height: .88;
  letter-spacing: -.065em;
  white-space: nowrap;
}
.hero-copy h1 span { letter-spacing: -.072em; }
.hero-copy p {
  margin: clamp(22px, 2.4vw, 42px) 0 0;
  color: transparent;
  background: linear-gradient(90deg, #8b4dff 0%, #d75af7 45%, #ff8b59 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(20px, 1.82vw, 34px);
  font-weight: 600;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.hero-actions {
  left: 4.35%;
  bottom: 11.2%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2vw, 34px);
  min-width: clamp(178px, 12vw, 230px);
  height: clamp(52px, 4.2vw, 68px);
  padding: 0 25px;
  border-radius: 16px;
  color: var(--hero-primary);
  font-size: clamp(15px, 1.2vw, 22px);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 220ms ease, filter 220ms ease, border-color 220ms ease;
}
.hero-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.hero-button-primary {
  background: linear-gradient(135deg, #7f19ff, #a934ef 58%, #7920ff);
  box-shadow: 0 10px 30px rgba(104, 31, 212, .18);
}
.hero-button-secondary {
  min-width: clamp(178px, 12vw, 230px);
  border: 1px solid var(--hero-line);
  background: rgba(10, 8, 24, .46);
}
.hero-button b {
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1;
}

.tool-strip {
  right: 4.2%;
  bottom: 11.4%;
  display: grid;
  grid-template-columns: repeat(7, 56px);
  gap: 26px;
  justify-content: start;
  --about-line: rgba(255, 255, 255, .07);
}

.top-nav {
  position: absolute;
  z-index: 10;
  top: 28px;
  right: 40px;
  display: flex;
  gap: clamp(10px, 1.4vw, 27px);
}
.top-nav a {
  position: relative;
  padding: 10px clamp(11px, 1.1vw, 21px);
  border-radius: 999px;
  color: var(--hero-muted);
  font-size: clamp(13px, 1.05vw, 20px);
  letter-spacing: .04em;
  text-decoration: none;
  transition: color 220ms ease, background 220ms ease;
}
.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 1px;
  background: var(--hero-accent);
  transition: width 220ms ease;
}
.top-nav a.is-active {
  color: var(--hero-primary);
  background: linear-gradient(135deg, rgba(112,28,231,.88), rgba(84,25,168,.7));
  box-shadow: 0 7px 24px rgba(84,25,168,.24);
}
.top-nav a:hover { color: var(--hero-primary); }
.top-nav a:hover::after { width: 18px; }

.scroll-hint {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--hero-primary) 40%, transparent);
  font-size: 10px;
  letter-spacing: .15em;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 1;
  transition: opacity 420ms ease;
}
.scroll-hint.is-hidden { opacity: 0; }
.scroll-hint i {
  display: block;
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.33);
  animation: scroll-line 2s ease-in-out infinite;
}

/* 首屏滚轮进度：跟随视频时间轴推进，视频结束后保持满格。 */
.hero-progress {
  position: absolute;
  z-index: 9;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: rgba(255,255,255,.12);
}
.hero-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(255,169,126,.82), rgba(255,245,231,.98) 52%, rgba(255,182,140,.9));
  box-shadow: 0 0 8px rgba(255,171,130,.6), 0 0 18px rgba(255,130,96,.25);
  will-change: transform;
}

.next-section {
  position: relative;
  width: 100%;
  background: var(--about-bg, #05070d);
  color: #f3f4f8;
}

/* 第二屏：静态个人介绍，不添加滚动轨道或入场动效。 */
.about-screen {
  --about-bg: #05070d;
  --muted: rgba(227, 229, 239, .58);
  --about-primary: #f3f4f8;
  --about-muted: rgba(227, 229, 239, .58);
  --about-accent: #7488ff;
  --about-line: rgba(255, 255, 255, .07);
  --about-image-gap: 24px;
  --about-image-text-gap: 38px;
  --about-section-gap: 64px;
  display: block;
  width: 100%;
  padding: 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--about-primary);
}

.about-layout {
  display: grid;
  grid-template-columns: 300px 680px;
  column-gap: 90px;
  align-items: start;
  justify-content: center;
  width: min(1120px, calc(100% - 120px));
  max-width: 1120px;
  padding: 110px 0 120px;
  margin: 0 auto;
}

.profile-panel {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
}

.profile-panel::after {
  display: none;
}

.profile-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 var(--profile-heading-photo-gap, 20px);
  text-align: left;
}

.profile-kicker {
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.profile-title {
  margin: 0;
  color: rgba(255, 255, 255, .94);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 29px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .02em;
}

.portrait-placeholder {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: transparent;
}

.profile-copy {
  margin-top: var(--about-image-text-gap, 28px);
}

.profile-copy h1 {
  margin: 0;
  font-family: "Songti SC", SimSun, serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .02em;
}

.profile-role {
  margin: 11px 0 0;
  color: rgba(238, 239, 245, .67);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .04em;
}

.profile-role span {
  margin: 0 9px;
  color: rgba(116, 136, 255, .8);
}

.profile-role strong {
  color: var(--about-accent);
  font-weight: 400;
}

.profile-accent,
.section-heading i {
  display: block;
  width: 30px;
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--about-accent), color-mix(in srgb, var(--about-accent) 15%, transparent));
}

.profile-accent {
  width: 26px;
  margin-top: 18px;
  background: var(--about-accent);
}

.contact-list,
.tools-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list {
  display: grid;
  gap: 18px;
  color: var(--about-muted);
  font-size: 13px;
}

.profile-copy .contact-list {
  gap: 0;
  margin-top: 20px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 13px;
}

.profile-copy .contact-list li:last-child { margin-bottom: 0; }

.contact-list a {
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-list a:hover { color: #fff; }
.contact-icon { flex: 0 0 14px; width: 14px; color: rgba(255, 255, 255, .55); font-size: 12px; text-align: center; }
.contact-icon-mail { font-size: 19px; line-height: 1; transform: scaleX(1.18); }
.contact-icon-link { font-size: 17px; transform: rotate(-45deg); transform-origin: center; }

.about-content {
  display: block;
  width: 100%;
  max-width: 680px;
  min-width: 0;
  padding-left: 48px;
  border-left: 1px solid var(--about-line);
}

.info-block {
  padding: 0 0 32px;
  border-bottom: 1px solid var(--about-line);
}

.section-heading {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.section-index {
  padding-top: 7px;
  color: var(--about-accent);
  font-family: Georgia, serif;
  font-size: 13px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Songti SC", SimSun, serif;
  font-size: clamp(28px, 1.8vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .1em;
}

.section-heading i { margin-top: 14px; }

.intro-copy {
  max-width: 580px;
  margin: 30px 0 0 58px;
  color: var(--about-muted);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .055em;
}

.experience-block {
  padding-top: var(--about-section-gap);
  padding-bottom: 34px;
}

.experience-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 36px 0 0 56px;
}

.experience-list::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 48px;
  left: 0;
  width: 1px;
  background: color-mix(in srgb, var(--about-accent) 38%, transparent);
}

.experience-item {
  position: relative;
  display: grid;
  grid-template-columns: 12px 150px minmax(0, 1fr);
  column-gap: 16px;
  padding: 18px 0 22px;
  align-items: start;
}

.experience-item + .experience-item { margin-top: var(--experience-item-gap, 22px); }

.experience-delete {
  position: absolute;
  top: 14px;
  left: -54px;
  display: none;
  padding: 2px 6px;
  border: 1px solid rgba(255, 130, 155, .35);
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 153, 174, .75);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
body.editor-enabled .experience-delete { display: block; }
.experience-delete:hover { border-color: #ff8ca7; color: #ffb0c0; background: rgba(255, 105, 139, .1); }

.experience-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border: 1px solid color-mix(in srgb, var(--about-accent) 58%, transparent);
  border-radius: 50%;
  background: #080b13;
}

.experience-dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--about-accent) 72%, transparent);
}

.experience-item time,
.experience-item h3 {
  color: var(--about-primary);
  font-family: "Songti SC", SimSun, serif;
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1;
}

.experience-item h3 {
  margin: -2px 0 8px;
  font-weight: 500;
  letter-spacing: .04em;
}

.experience-item p {
  margin: 0;
  color: var(--about-muted);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: .035em;
}

.tools-block {
  padding-top: calc(var(--about-section-gap) + 8px);
  padding-bottom: 0;
  border-bottom: 0;
}

.tools-list {
  display: grid;
  grid-template-columns: repeat(7, 56px);
  gap: 26px;
  justify-content: start;
  margin: 17px 0 0 58px;
}

.tools-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--about-muted);
  font-size: 12px;
  white-space: nowrap;
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--about-line);
  border-radius: 10px;
  background: rgba(8, 10, 16, .6);
  color: #e9ebf3;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.tool-icon.ps { color: #46a7ff; background: linear-gradient(145deg, rgba(18, 57, 103, .28), transparent 60%); }
.tool-icon.ai { color: #ff7416; background: linear-gradient(145deg, rgba(108, 45, 6, .28), transparent 60%); }
.tool-icon.figma { color: #77d1c4; }
.tool-icon.capcut { font-size: 36px; }
.tool-icon.libtv { color: #cf8cff; text-shadow: -5px 0 #ff8f73, 5px 0 #6f8bff; }
.tool-icon.jimeng { color: #90ecff; text-shadow: 8px -5px #a68cff, -6px 6px #72efc8; }
.tool-icon.gpt { color: #9ff1dc; }

@media (max-width: 1600px) and (min-width: 1441px) {
  .about-layout {
    grid-template-columns: 300px 680px;
    column-gap: 80px;
    width: min(1080px, calc(100% - 120px));
  }

  .about-content { max-width: 680px; padding-left: 48px; }
}

@media (max-width: 1440px) and (min-width: 1201px) {
  .about-layout {
    grid-template-columns: 300px 640px;
    column-gap: 70px;
    width: min(1040px, calc(100% - 96px));
  }

  .about-content { max-width: 640px; padding-left: 48px; }
  .tools-list { gap: 22px; }
}

@media (max-width: 1200px) {
  .about-layout {
    grid-template-columns: 280px minmax(0, 680px);
    column-gap: 64px;
    width: min(1024px, calc(100% - 96px));
  }
  .portrait-placeholder { max-width: 280px; }
  .about-content { max-width: 680px; padding-left: 48px; }
}

@media (max-width: 1000px) {
  .about-layout { display: block; width: calc(100% - 48px); padding: 100px 0 120px; }
  .profile-panel { max-width: 560px; margin: 0 auto; padding: 0; }
  .portrait-placeholder { max-width: 300px; }
  .profile-panel::after { display: none; }
  .about-content { max-width: 860px; padding: 64px 0 0; border-left: 0; }
  .info-block { padding-bottom: 42px; }
  .about-screen { --about-section-gap: 42px; }
  .experience-block, .tools-block { padding-top: var(--about-section-gap); }
}

/* 自定义编辑模式：默认隐藏，不占用页面布局空间。 */
.editor-dock {
  position: fixed;
  z-index: 100;
  top: 18px;
  right: 18px;
  display: none;
  width: min(320px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(137, 153, 220, .28);
  border-radius: 12px;
  background: rgba(10, 13, 21, .96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .44);
  color: #edf0fa;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

body.editor-enabled .editor-dock { display: block; }
body.editor-enabled [data-editable-text],
body.editor-enabled [data-image-slot] { cursor: pointer; }
body.editor-enabled .is-editor-selected {
  outline: 1px solid rgba(116, 136, 255, .9);
  outline-offset: 4px;
}

.editor-dock-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; cursor: grab; user-select: none; touch-action: none; }
body.editor-dock-dragging .editor-dock-head { cursor: grabbing; }
body.editor-dock-dragging .editor-dock { transition: none; }
.editor-kicker { margin: 0 0 5px; color: #8da4ff; font-size: 9px; letter-spacing: .18em; }
.editor-dock h2 { margin: 0; font-size: 20px; font-weight: 500; }
.editor-close { width: 28px; height: 28px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.editor-close:hover { border-color: #8da4ff; color: #8da4ff; }
.editor-hint { margin: 12px 0; color: rgba(224, 229, 243, .58); font-size: 12px; line-height: 1.6; }
.editor-selected { padding: 9px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; color: #bac6ff; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.editor-screen-scope { margin-top: 7px; color: rgba(224,229,243,.5); font-size: 11px; letter-spacing: .04em; }
.editor-action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.editor-action-row .editor-secondary { margin-top: 0; }
.editor-secondary:disabled { opacity: .35; cursor: not-allowed; }
.editor-group { margin-top: 15px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.09); }
.editor-group h3 { margin: 0 0 11px; color: #fff; font-size: 13px; font-weight: 500; }
.editor-group label { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; margin: 11px 0; color: rgba(228,232,243,.76); font-size: 12px; }
.editor-group output { color: #9eb0ff; font-variant-numeric: tabular-nums; }
.editor-group input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: #778cff; }
.editor-group label.editor-check { display: flex; justify-content: flex-start; gap: 8px; margin-top: 8px; }
.editor-check input { accent-color: #778cff; }
.editor-group input[type="color"] { width: 100%; height: 30px; padding: 2px; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; background: transparent; cursor: pointer; }
.editor-group select { grid-column: 1 / -1; width: 100%; padding: 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; background: #111624; color: #edf0fa; }
.editor-upload, .editor-secondary { width: 100%; padding: 9px 10px; border: 1px solid rgba(116,136,255,.42); border-radius: 6px; background: rgba(116,136,255,.1); color: #dce2ff; text-align: center; cursor: pointer; }
.editor-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.editor-secondary { margin-top: 8px; background: transparent; }
.editor-upload:hover, .editor-secondary:hover { border-color: #8da4ff; background: rgba(116,136,255,.18); }
.editor-save { width: 100%; margin-top: 16px; padding: 11px 10px; border: 0; border-radius: 6px; background: #7488ff; color: #080b13; font-weight: 600; cursor: pointer; }
.editor-save:hover { background: #90a1ff; }
.editor-add-project { margin-top: 8px; }
.editor-delete-experience { margin-top: 8px; border-color: rgba(255, 130, 155, .35); color: rgba(255, 170, 188, .82); }
.editor-status { margin: 14px 0 0; color: rgba(224, 229, 243, .48); font-size: 11px; line-height: 1.5; }
.editor-group input:disabled, .editor-group select:disabled { opacity: .35; cursor: not-allowed; }

[data-image-slot].has-custom-image { background-repeat: no-repeat; background-size: cover; background-position: center; }
[data-image-slot].editor-added-image {
  width: min(100%, 520px);
  min-height: 220px;
  margin: 36px 0 0;
  border: 1px dashed rgba(255, 255, 255, .2);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
}
.hero-sticky > [data-image-slot].editor-added-image {
  position: absolute;
  right: 7%;
  bottom: 18%;
  z-index: 8;
  width: min(28vw, 420px);
  min-height: 180px;
  margin: 0;
}
[data-image-slot].contact-icon.has-custom-image {
  width: 20px;
  height: 20px;
  color: transparent;
  font-size: 0;
  transform: none;
  background-size: contain;
  background-position: center;
}
[data-image-slot].tool-icon.has-custom-image {
  color: transparent;
  font-size: 0;
  text-shadow: none;
  background-color: transparent;
  background-size: contain;
  background-position: center;
}
[data-image-slot] + [data-image-slot] { margin-top: var(--about-image-gap); }

@media (max-width: 560px) {
  .editor-dock { top: 10px; right: 10px; width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
}

@media (max-width: 560px) {
  .profile-panel { padding: 0; }
  .profile-copy h1 { font-size: 32px; }
  .profile-role { font-size: 14px; }
  .section-heading { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
  .section-heading h2 { font-size: 29px; }
  .intro-copy { margin-left: 42px; font-size: 16px; }
  .experience-list { margin-left: 40px; }
  .experience-item { grid-template-columns: 18px 1fr; gap: 13px; }
  .experience-item > div { grid-column: 2; }
  .experience-list::before { bottom: 85px; }
  .tools-list { grid-template-columns: repeat(3, 56px); gap: 18px; margin-left: 0; }
  .tools-list li { font-size: 12px; }
  .tool-icon { width: 50px; height: 50px; }
}

@keyframes scroll-line {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50% { transform: translateY(6px); opacity: .25; }
}
@media (max-width: 700px), (pointer: coarse) {
  .hero-brand { top: 5%; left: 5%; gap: 10px; font-size: 17px; }
  .brand-mark { transform: scale(.8) rotate(-8deg); transform-origin: left center; }
  .hero-copy { top: 27%; left: 5%; max-width: 90vw; }
  .hero-copy h1 { font-size: clamp(49px, 13vw, 78px); }
  .hero-copy p { font-size: 15px; margin-top: 22px; }
  .hero-actions { left: 5%; bottom: 9%; gap: 10px; }
  .hero-button { min-width: 0; height: 45px; padding: 0 14px; gap: 10px; border-radius: 11px; font-size: 12px; }
  .tool-strip { right: 4%; bottom: 18%; gap: 5px; transform: scale(.65); transform-origin: right bottom; }
  .top-nav { top: 19px; right: 16px; gap: 2px; }
  .top-nav a { padding: 7px 8px; font-size: 11px; }
  .scroll-hint { bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint i { animation: none; }
  .scroll-hint { transition: none; }
}

/* 第二屏恢复为原始参考稿比例；只作用于 about-screen，不改变 Hero。 */
@media (min-width: 701px) {
  .about-screen { min-height: 100svh; }
  .about-layout {
    grid-template-columns: clamp(340px, 26.7vw, 512px) minmax(0, 1fr);
    column-gap: clamp(48px, 3.55vw, 68px);
    width: min(1610px, calc(100% - 80px));
    max-width: none;
    padding: clamp(72px, 4.9vw, 94px) 0 80px;
  }
  .profile-panel {
    border: 1px solid rgba(116, 136, 255, .18);
    border-radius: 16px;
    padding: clamp(34px, 3.25vw, 62px) clamp(34px, 3.25vw, 62px) 46px;
  }
  .profile-heading { display: none; }
  .portrait-placeholder {
    width: 100%;
    max-width: none;
    aspect-ratio: 392 / 470;
    border-radius: 16px;
  }
  .profile-copy { margin-top: clamp(34px, 2.2vw, 42px); }
  .profile-copy h1 { font-size: clamp(38px, 2.7vw, 52px); }
  .profile-role { margin-top: 14px; font-size: clamp(15px, 1.1vw, 21px); }
  .profile-copy .contact-list { margin-top: 24px; }
  .contact-list { gap: 0; font-size: clamp(14px, .95vw, 18px); }
  .contact-list li { gap: 12px; margin-bottom: 18px; }
  .contact-icon { flex-basis: 18px; width: 18px; font-size: 15px; }
  .contact-icon-mail { font-size: 22px; }
  .contact-icon-link { font-size: 20px; }
  .about-content {
    max-width: none;
    padding-left: clamp(42px, 3.15vw, 60px);
  }
  .section-heading { grid-template-columns: 40px minmax(0, 1fr); gap: 20px; }
  .section-index { padding-top: 8px; font-size: clamp(13px, .9vw, 17px); }
  .section-heading h2 { font-size: clamp(30px, 2vw, 39px); }
  .section-heading i { margin-top: 18px; width: 40px; }
  .intro-copy { max-width: 920px; margin: 34px 0 0 60px; font-size: clamp(16px, 1.08vw, 21px); line-height: 1.9; }
  .experience-block { padding-top: clamp(56px, 4.2vw, 80px); }
  .experience-list { margin: 42px 0 0 58px; }
  .experience-item { grid-template-columns: 12px clamp(150px, 11vw, 190px) minmax(0, 1fr); column-gap: 20px; padding: 18px 0 24px; }
  .experience-item time, .experience-item h3 { font-size: clamp(17px, 1.25vw, 24px); }
  .experience-item p { font-size: clamp(14px, .95vw, 18px); }
  .tools-block { padding-top: clamp(56px, 4.2vw, 80px); }
  .tools-list { grid-template-columns: repeat(7, clamp(50px, 3.95vw, 76px)); gap: clamp(18px, 2.1vw, 40px); margin: 24px 0 0 60px; }
  .tools-list li { gap: 12px; font-size: clamp(12px, .85vw, 16px); }
  .tools-list .tool-icon { width: clamp(50px, 3.95vw, 76px); height: clamp(50px, 3.95vw, 76px); border-radius: 12px; font-size: 36px; }
}

@media (max-width: 1200px) and (min-width: 701px) {
  .about-layout { width: calc(100% - 48px); }
  .profile-panel { padding: 32px; }
  .about-content { padding-left: 36px; }
  .tools-list { margin-left: 40px; gap: 16px; }
  .tools-list .tool-icon { width: 52px; height: 52px; }
}

/* Final About-screen guardrails: keep the left Profile editorial and compact,
   while restoring the original right-column rhythm. Hero remains untouched. */
@media (min-width: 1601px) {
  .about-screen .about-layout {
    grid-template-columns: 300px 680px;
    column-gap: 90px;
    width: min(1120px, calc(100% - 120px));
    max-width: 1120px;
    padding: 110px 0 120px;
  }
  .about-screen .about-content { max-width: 680px; padding-left: 48px; }
}

@media (max-width: 1600px) and (min-width: 1441px) {
  .about-screen .about-layout {
    grid-template-columns: 300px 680px;
    column-gap: 80px;
    width: min(1080px, calc(100% - 120px));
    max-width: 1080px;
    padding: 110px 0 120px;
  }
  .about-screen .about-content { max-width: 680px; padding-left: 48px; }
}

@media (max-width: 1440px) and (min-width: 1201px) {
  .about-screen .about-layout {
    grid-template-columns: 300px 640px;
    column-gap: 70px;
    width: min(1040px, calc(100% - 96px));
    max-width: 1040px;
    padding: 110px 0 120px;
  }
  .about-screen .about-content { max-width: 640px; padding-left: 48px; }
  .about-screen .tools-list { gap: 22px; }
}

@media (max-width: 1200px) and (min-width: 1001px) {
  .about-screen .about-layout {
    grid-template-columns: 280px minmax(0, 680px);
    column-gap: 64px;
    width: min(1024px, calc(100% - 96px));
    max-width: 1024px;
    padding: 110px 0 120px;
  }
  .about-screen .portrait-placeholder { max-width: 280px; }
  .about-screen .about-content { max-width: 680px; padding-left: 48px; }
  .about-screen .tools-list { margin-left: 0; gap: 22px; }
  .about-screen .tools-list .tool-icon { width: 50px; height: 50px; }
}

@media (min-width: 701px) {
  .about-screen { min-height: 0; }
  .about-screen .profile-panel {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  .about-screen .profile-heading { display: flex; }
  .about-screen .portrait-placeholder {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4 / 5;
    border-radius: 6px;
  }
  .about-screen .profile-copy { margin-top: var(--about-image-text-gap, 28px); }
  .about-screen .profile-copy h1 { font-size: 32px; }
  .about-screen .profile-role { margin-top: 11px; font-size: 14px; }
  .about-screen .profile-copy .contact-list { margin-top: 20px; }
  .about-screen .contact-list { font-size: 13px; }
  .about-screen .contact-list li { gap: 10px; margin-bottom: 13px; }
  .about-screen .contact-icon { flex-basis: 14px; width: 14px; font-size: 12px; }
  .about-screen .contact-icon-mail { font-size: 19px; }
  .about-screen .contact-icon-link { font-size: 17px; }

  /* Undo only the later broad right-column scaling; content and copy stay intact. */
  .about-screen .section-heading { grid-template-columns: 40px minmax(0, 1fr); gap: 18px; }
  .about-screen .section-index { padding-top: 7px; font-size: 13px; }
  .about-screen .section-heading h2 { font-size: clamp(28px, 1.8vw, 30px); }
  .about-screen .section-heading i { margin-top: 14px; width: 30px; }
  .about-screen .intro-copy { max-width: 580px; margin: 30px 0 0 58px; font-size: 16px; line-height: 1.9; }
  .about-screen .experience-block { padding-top: var(--about-section-gap); }
  .about-screen .experience-list { margin: 36px 0 0 56px; }
  .about-screen .experience-item { grid-template-columns: 12px 150px minmax(0, 1fr); column-gap: 16px; padding: 18px 0 22px; }
  .about-screen .experience-item time, .about-screen .experience-item h3 { font-size: clamp(17px, 1.25vw, 19px); }
  .about-screen .experience-item p { font-size: 14px; }
  .about-screen .tools-block { padding-top: calc(var(--about-section-gap) + 8px); }
  .about-screen .tools-list { grid-template-columns: repeat(7, 56px); gap: 26px; margin: 17px 0 0 58px; }
  .about-screen .tools-list li { gap: 10px; font-size: 12px; }
  .about-screen .tools-list .tool-icon { width: 50px; height: 50px; border-radius: 10px; font-size: 28px; }
}

@media (max-width: 1000px) and (min-width: 701px) {
  .about-screen .about-layout {
    display: block;
    width: calc(100% - 48px);
    max-width: none;
    padding: 100px 0 120px;
  }
  .about-screen .profile-panel { max-width: 560px; margin: 0 auto; }
  .about-screen .portrait-placeholder { max-width: 300px; }
  .about-screen .about-content { max-width: 860px; padding: 64px 0 0; border-left: 0; }
}

@media (max-width: 1440px) and (min-width: 1201px) {
  .about-screen .tools-list { gap: 22px; }
}

/* Static divider between About and the next screen, matching the Hero progress line. */
.about-screen .about-divider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: rgba(255,255,255,.12);
}
.about-screen .about-divider span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,169,126,.82), rgba(255,245,231,.98) 52%, rgba(255,182,140,.9));
  box-shadow: 0 0 8px rgba(255,171,130,.6), 0 0 18px rgba(255,130,96,.25);
}

.about-screen .is-user-added-tool {
  position: relative;
}

/* Reference-based About layout: wide editorial left column and quiet right grid. */
@media (min-width: 1001px) {
  .about-screen .about-layout {
    grid-template-columns: 380px minmax(0, 1fr);
    column-gap: 14px;
    width: 1624px;
    max-width: none;
    padding: 88px 0 100px;
  }
  .about-screen .profile-eyebrow {
    position: relative;
    display: inline-block;
    color: #b175ff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1;
  }
  .about-screen .profile-eyebrow::after {
    content: "";
    display: block;
    width: 82px;
    height: 2px;
    margin-top: 11px;
    background: linear-gradient(90deg, #ffb42e 0 48%, #8a5cff 48% 100%);
  }
  .about-screen .profile-heading {
    gap: 3px;
    margin-top: 44px;
    margin-bottom: 46px;
  }
  .about-screen .profile-kicker {
    color: rgba(255,255,255,.92);
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.05;
  }
  .about-screen .profile-title {
    color: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
  }
  .about-screen .portrait-placeholder {
    width: 348px;
    max-width: 100%;
    aspect-ratio: 4 / 5;
    border: 2px solid rgba(225,231,255,.72);
    border-radius: 0;
  }
  .about-screen .profile-copy { margin-top: 28px; }
  .about-screen .profile-copy h1 {
    display: inline-block;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
  }
  .about-screen .profile-role {
    display: inline-block;
    margin: 0 0 0 42px;
    font-size: 14px;
    vertical-align: baseline;
  }
  .about-screen .profile-accent { width: 34px; margin-top: 25px; }
  .about-screen .profile-copy .contact-list { margin-top: 22px; }
  .about-screen .contact-list { font-size: 16px; }
  .about-screen .contact-list li { gap: 12px; margin-bottom: 17px; }
  .about-screen .contact-icon { flex-basis: 18px; width: 18px; font-size: 15px; }

  .about-screen .about-content {
    max-width: none;
    padding-top: 28px;
    padding-left: 164px;
    border-left-color: rgba(116,136,255,.17);
  }
  .about-screen .info-block { padding: 0; border: 0; }
  .about-screen .section-heading {
    display: block;
    padding: 0 0 17px;
    border-bottom: 1px solid rgba(154,164,210,.5);
  }
  .about-screen .section-index { display: none; }
  .about-screen .section-heading h2 {
    display: inline-block;
    color: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
  }
  .about-screen .section-en {
    display: inline-block;
    margin-left: 20px;
    color: rgba(216,220,239,.72);
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .02em;
    vertical-align: baseline;
  }
  .about-screen .section-en::before {
    content: "/";
    margin-right: 16px;
    color: #8a6dff;
    font-size: 18px;
  }
  .about-screen .section-heading i { display: none; }
  .about-screen .intro-copy {
    max-width: 860px;
    margin: 31px 0 0;
    color: rgba(236,238,247,.9);
    font-size: 18px;
    line-height: 1.85;
    letter-spacing: .035em;
  }
  .about-screen .experience-block { padding-top: 57px; }
  .about-screen .experience-list { margin: 34px 0 0 10px; }
  .about-screen .experience-list::before { top: 13px; bottom: 30px; }
  .about-screen .experience-item {
    grid-template-columns: 12px 150px minmax(0,1fr);
    column-gap: 34px;
    padding: 0 0 31px;
  }
  .about-screen .experience-item + .experience-item { margin-top: 18px; }
  .about-screen .experience-item time,
  .about-screen .experience-item h3 {
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.25;
  }
  .about-screen .experience-item h3 { margin: -2px 0 7px; }
  .about-screen .experience-item p { font-size: 15px; line-height: 1.6; }
  .about-screen .tools-block { padding-top: 48px; }
  .about-screen .tools-list {
    grid-template-columns: repeat(auto-fit, 68px);
    gap: 39px;
    margin: 33px 0 0 5px;
  }
  .about-screen .tools-list li { gap: 11px; font-size: 14px; }
  .about-screen .tools-list .tool-icon {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    font-size: 36px;
  }
}

@media (max-width: 0px) and (min-width: 1201px) {
  .about-screen .about-layout {
    grid-template-columns: 330px minmax(0,1fr);
    column-gap: 14px;
    width: calc(100% - 96px);
    max-width: 1440px;
    padding: 76px 0 90px;
  }
  .about-screen .about-content { padding-left: 96px; }
  .about-screen .about-content { padding-top: 24px; }
  .about-screen .profile-kicker { font-size: 36px; }
  .about-screen .profile-title { font-size: 54px; }
  .about-screen .portrait-placeholder { width: 300px; }
  .about-screen .section-heading h2 { font-size: 42px; }
  .about-screen .tools-list { grid-template-columns: repeat(auto-fit, 58px); gap: 24px; }
  .about-screen .tools-list .tool-icon { width: 58px; height: 58px; }
}

@media (max-width: 0px) and (min-width: 1001px) {
  .about-screen .tools-list { grid-template-columns: repeat(auto-fit, 50px); }
}

/* Fit the complete desktop About composition as one stable canvas.  This
   neutralizes browser zoom / Windows display-scaling differences without
   changing the mobile stacked layout. */
@media (min-width: 1001px) {
  .about-screen .about-variant-a {
    position: relative;
    width: 100%;
    height: 100svh;
    overflow: hidden;
  }
  .about-screen .about-layout {
    position: absolute;
    left: 50%;
    top: var(--about-fit-top, 0px);
    margin: 0;
    transform: translateX(-50%) scale(var(--about-fit-scale, 1));
    transform-origin: top center;
    will-change: transform;
  }
}

/* About version switch: A remains the editorial profile; B is the wide information layout. */
.about-screen .about-variant { display: none; }
.about-screen[data-about-variant="a"] .about-variant-a,
.about-screen[data-about-variant="b"] .about-variant-b { display: block; }
.about-screen .about-variant-a { background: var(--about-bg, #05070d); }

.editor-variant-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.editor-variant-actions .editor-secondary { margin-top: 0; font-size: 11px; }
.editor-variant-actions .is-active { border-color: #8da4ff; background: rgba(116,136,255,.22); color: #fff; }

.about-screen .about-variant-b {
  min-height: max(960px, 100vh);
  overflow: hidden;
  background: var(--about-bg, #020307);
  color: #f6f8ff;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}
.about-b-topbar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 318px 1fr auto;
  height: 82px;
  border-bottom: 1px solid rgba(180, 200, 255, .34);
  background: linear-gradient(90deg, rgba(4,5,8,.96), rgba(4,7,16,.84) 56%, rgba(4,8,16,.7));
}
.about-b-topnote {
  display: flex;
  align-items: center;
  padding: 0 34px;
  color: rgba(240,243,252,.72);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.about-b-topnote + .about-b-topnote { border-left: 1px solid rgba(180, 200, 255, .24); }
.about-b-page-title {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 34px;
  color: #9ebaff;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: .01em;
}
.about-b-orbit {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(149,183,255,.9);
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(151,189,255,.95) 0 2deg, transparent 2deg 9deg);
  box-shadow: inset 0 0 0 7px #05070d, 0 0 16px rgba(71, 117, 255, .28);
}
.about-b-body {
  display: grid;
  grid-template-columns: minmax(360px, 27.1vw) minmax(0, 1fr);
  min-height: calc(max(960px, 100vh) - 82px);
}
.about-b-visual {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid rgba(180, 200, 255, .27);
  background: #04050a;
}
.about-b-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 25%, rgba(62, 92, 255, .22), transparent 24%),
    radial-gradient(circle at 30% 72%, rgba(10, 106, 255, .42), transparent 31%),
    linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.03) 57%, rgba(3,6,17,.56));
}
.about-b-portrait {
  position: absolute;
  inset: 0;
  background-color: #05070d;
  background-position: center;
  background-size: cover;
  filter: contrast(1.08) saturate(.9);
}
.about-b-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 70px 72px 20px 68px;
  background: radial-gradient(circle at 62% 4%, rgba(18,56,168,.25), transparent 28%), rgba(2,3,7,.63);
}
.about-b-hello {
  margin: 0;
  color: #f9fbff;
  font-size: clamp(38px, 3vw, 54px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.1;
}
.about-b-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .98fr .88fr;
  gap: clamp(38px, 5vw, 106px);
  margin-top: clamp(70px, 8vw, 96px);
}
.about-b-intro-grid article { min-width: 0; }
.about-b-intro-grid h3,
.about-b-work > h3 {
  margin: 0;
  color: #f7f9ff;
  font-size: clamp(23px, 1.8vw, 31px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.045em;
}
.about-b-intro-grid p {
  margin: 23px 0 0;
  color: rgba(237,243,255,.9);
  font-size: clamp(14px, .88vw, 17px);
  line-height: 1.48;
  letter-spacing: .015em;
}
.about-b-work { margin-top: clamp(64px, 7vw, 88px); }
.about-b-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 68px);
  margin: 33px 0 0;
  padding: 0 4px;
}
.about-b-timeline::before {
  content: "";
  position: absolute;
  top: 78px;
  right: 4px;
  left: 4px;
  height: 2px;
  background: linear-gradient(90deg, #13a0ff, #9ad2ff 70%, rgba(255,255,255,.82));
  box-shadow: 0 0 12px rgba(20,137,255,.28);
}
.about-b-timeline .about-b-stage {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 78px auto;
  min-width: 0;
  padding: 0;
}
.about-b-timeline .experience-dot {
  position: absolute;
  top: 70px;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: 0 0 0 -8px;
  border: 0;
  background: #0789ff;
  box-shadow: 0 0 0 2px rgba(2,4,9,.95), 0 0 12px rgba(9,145,255,.5);
}
.about-b-timeline .experience-dot::after { inset: 0; background: transparent; }
.about-b-timeline .experience-delete { top: -22px; left: 0; }
.about-b-stage h4 {
  margin: 0;
  color: #bce5ff;
  font-size: clamp(14px, .95vw, 17px);
  font-weight: 400;
  line-height: 1.28;
}
.about-b-stage p {
  margin: 8px 0 0;
  color: rgba(206,228,249,.84);
  font-size: clamp(12px, .76vw, 15px);
  line-height: 1.42;
}
.about-b-timeline .about-b-stage time {
  display: block;
  margin: 0;
  padding-top: 28px;
  color: #f5f8ff;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: clamp(14px, .98vw, 18px);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}
.about-b-timeline .about-b-stage time small { color: rgba(239,243,252,.85); font-size: .86em; }
.about-b-tools {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  margin-top: auto;
  min-height: 122px;
  border-top: 1px solid rgba(180, 200, 255, .3);
  padding: 22px 0 0;
}
.about-b-tools-title {
  display: grid;
  grid-template-columns: 12px 1fr;
  align-items: center;
  column-gap: 10px;
  border-right: 1px solid rgba(180, 200, 255, .28);
  padding-right: 18px;
}
.about-b-tools-title i { grid-row: 1 / 3; width: 12px; height: 12px; border-radius: 50%; background: #0a8dff; box-shadow: 0 0 10px rgba(11,144,255,.55); }
.about-b-tools-title strong { color: #f4f8ff; font-size: 17px; font-weight: 500; }
.about-b-tools-title small { margin-top: 4px; color: #9fd2ff; font-size: 10px; letter-spacing: .01em; }
.about-b-tools-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
  gap: clamp(12px, 2.1vw, 38px);
  align-items: start;
  justify-items: center;
  margin: 0;
}
.about-b-tools-list li {
  position: relative;
  gap: 7px;
  color: rgba(241,245,255,.88);
  font-size: 12px;
}
.about-b-tools-list li + li::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 19px;
  left: calc(-1 * clamp(6px, 1.05vw, 19px));
  width: 1px;
  background: rgba(180, 200, 255, .22);
}
.about-b-tools-list .tool-icon {
  width: 42px;
  height: 42px;
  border-color: rgba(141, 174, 255, .42);
  border-radius: 7px;
  font-size: 24px;
}
.about-b-tools-list .tool-icon.c4d { color: #bbd4ff; font-size: 28px; text-shadow: 0 0 10px #75a3ff; }

@media (max-width: 1100px) {
  .about-b-main { padding: 52px 38px 22px; }
  .about-b-intro-grid { gap: 26px; }
  .about-b-topbar { grid-template-columns: 250px 1fr auto; }
  .about-b-topnote { padding: 0 20px; font-size: 12px; }
}
@media (max-width: 800px) {
  .about-screen .about-variant-b { min-height: 0; }
  .about-b-topbar { grid-template-columns: 1fr auto; height: 62px; }
  .about-b-topnote { display: none; }
  .about-b-page-title { padding: 0 20px; font-size: 21px; }
  .about-b-orbit { width: 30px; height: 30px; }
  .about-b-body { display: block; min-height: 0; }
  .about-b-visual { height: 64vw; border-right: 0; border-bottom: 1px solid rgba(180, 200, 255, .27); }
  .about-b-main { padding: 44px 24px 28px; }
  .about-b-intro-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .about-b-work { margin-top: 56px; }
  .about-b-timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .about-b-timeline .about-b-stage { grid-template-rows: 84px auto; }
  .about-b-tools { grid-template-columns: 1fr; gap: 22px; margin-top: 58px; }
  .about-b-tools-title { width: 160px; border-right: 0; }
  .about-b-tools-list { grid-template-columns: repeat(4, minmax(48px, 1fr)); row-gap: 22px; }
}

/* B version: reduce visual noise and restore the large calm margins of the reference. */
body.is-about-b-visible .site-header {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}
.site-header { transition: opacity 180ms ease, visibility 180ms ease; }
.about-screen[data-about-variant="b"] .about-galaxy { opacity: .12; filter: blur(1.2px); }

/*
 * B desktop master canvas.
 * All dimensions follow the same viewport-relative scale, so browser zoom and
 * different desktop widths resize the composition as one piece instead of
 * squeezing its internal columns independently.
 */
@media (min-width: 1201px) {
  .about-screen[data-about-variant="b"] {
    display: block;
    min-height: 0;
  }
  .about-screen .about-variant-b {
    width: 100vw;
    max-width: none;
    min-height: 0;
    height: 56.25vw;
    aspect-ratio: 16 / 9;
    position: relative;
    left: auto;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .about-b-topbar { display: none; }
  .about-b-body {
    position: absolute;
    top: 7.292vw;
    left: 9.375vw;
    grid-template-columns: 25.31vw minmax(0, 1fr);
    width: 81.35vw;
    height: 41.82vw;
    min-height: 0;
    border-bottom: 1px solid rgba(180, 200, 255, .28);
  }
  .about-b-visual { border-top: 1px solid rgba(180, 200, 255, .28); }
  .about-b-main {
    padding: 2.3vw 3.5vw 1.04vw 2.34vw;
  }
  .about-b-hello {
    font-size: 2.55vw;
    line-height: 1.08;
    white-space: nowrap;
  }
  .about-b-intro-grid {
    grid-template-columns: 15.8vw 14.8vw minmax(0, 1fr);
    gap: 3.75vw;
    margin-top: 4.22vw;
  }
  .about-b-intro-grid h3,
  .about-b-work > h3 {
    font-size: 1.46vw;
    white-space: nowrap;
  }
  .about-b-intro-grid p {
    margin-top: 1.25vw;
    font-size: .78vw;
    line-height: 1.56;
    white-space: nowrap;
  }
  .about-b-work { margin-top: 3.28vw; }
  .about-screen[data-about-variant="b"] .about-b-timeline {
    display: flex;
    grid-template-columns: none;
    justify-content: space-between;
    gap: 0;
    margin-top: 1.98vw;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding: 0;
  }
  .about-screen[data-about-variant="b"] .about-b-timeline::before {
    top: 3.49vw;
    right: 0;
    bottom: auto;
    left: 1.1vw;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, #0789ff 0%, #22bdf5 62%, rgba(255, 255, 255, .86) 100%);
    box-shadow: 0 0 10px rgba(20, 137, 255, .3);
    z-index: 0;
  }
  .about-screen[data-about-variant="b"] .about-b-timeline .about-b-stage {
    position: relative;
    z-index: 1;
    flex: 0 0 10.5vw;
    width: 10.5vw;
    grid-template-columns: 1fr;
    grid-template-rows: 3.49vw auto;
    column-gap: 0;
    margin-top: 0;
    padding: 0 .65vw;
  }
  .about-screen[data-about-variant="b"] .about-b-timeline .about-b-stage + .about-b-stage {
    margin-top: 0;
  }
  .about-screen[data-about-variant="b"] .about-b-timeline .experience-dot {
    top: 3.07vw;
    left: 52%;
    width: .83vw;
    height: .83vw;
    margin-left: -.415vw;
  }
  .about-screen[data-about-variant="b"] .about-b-stage h4 {
    font-size: .78vw;
    white-space: nowrap;
  }
  .about-screen[data-about-variant="b"] .about-b-stage p {
    margin-top: .42vw;
    font-size: .68vw;
    line-height: 1.5;
    white-space: nowrap;
  }
  .about-screen[data-about-variant="b"] .about-b-timeline .about-b-stage time {
    padding-top: 1.35vw;
    font-size: .83vw;
    white-space: nowrap;
  }
  .about-b-tools {
    grid-template-columns: 7.55vw minmax(0, 1fr);
    gap: 1.56vw;
    width: auto;
    margin-right: -3.5vw;
    margin-left: -2.34vw;
    min-height: 6.15vw;
    padding: 1.3vw 3.5vw 0 2.34vw;
  }
  .about-b-tools-title {
    grid-template-columns: .625vw 1fr;
    column-gap: .52vw;
    padding-right: .94vw;
  }
  .about-b-tools-title i { width: .625vw; height: .625vw; }
  .about-b-tools-title strong { font-size: .885vw; white-space: nowrap; }
  .about-b-tools-title small { margin-top: .21vw; font-size: .52vw; white-space: nowrap; }
  .about-screen[data-about-variant="b"] .about-b-tools-list {
    grid-template-columns: repeat(auto-fit, minmax(4vw, 1fr));
    gap: 0;
    width: 100%;
    margin: 0;
  }
  .about-screen[data-about-variant="b"] .about-b-tools-list li {
    gap: .36vw;
    font-size: .625vw;
    white-space: nowrap;
  }
  .about-screen[data-about-variant="b"] .about-b-tools-list li + li::before {
    top: .1vw;
    bottom: .99vw;
    left: 0;
    transform: translateX(-50%);
  }
  .about-screen[data-about-variant="b"] .about-b-tools-list .tool-icon {
    width: 2.19vw;
    height: 2.19vw;
    border-radius: .36vw;
    font-size: 1.25vw;
  }
  .about-screen[data-about-variant="b"] .about-b-tools-list .tool-icon.c4d { font-size: 1.46vw; }
}

/* Third screen: project carousel and empty project-detail shell. */
.projects-screen {
  --projects-bg: #05070b;
  --projects-text: #f5f6ff;
  --projects-muted: rgba(218, 223, 247, .58);
  --projects-line: rgba(132, 148, 255, .34);
  --projects-blue: #5d8dff;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--projects-bg);
  color: var(--projects-text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
.projects-screen::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .06;
  background-image:
    linear-gradient(rgba(106, 132, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 132, 255, .06) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 17%, #000 78%, transparent 100%);
}
.projects-screen::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10%;
  right: -10%;
  top: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(101, 137, 255, .55), transparent);
  box-shadow: 0 0 26px rgba(83, 128, 255, .48);
  transform: rotate(-5deg);
}
.projects-ambient { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(2px); }
.projects-ambient-top { width: 50vw; height: 20vw; top: -9vw; left: 25%; background: radial-gradient(ellipse, rgba(43, 79, 255, .06), transparent 68%); }
.projects-ambient-bottom { width: 78vw; height: 18vw; left: 11%; bottom: -6vw; background: radial-gradient(ellipse, rgba(51, 104, 255, .06), transparent 67%); }
.projects-inner { position: relative; z-index: 1; width: min(1560px, calc(100% - 64px)); min-height: 100svh; margin: 0 auto; padding: clamp(44px, 6.2vh, 78px) 0 clamp(30px, 4.8vh, 58px); display: flex; flex-direction: column; }
.projects-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.projects-heading { position: relative; }
.projects-kicker { margin: 0 0 18px; color: #a58cff; font-family: Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .23em; }
.projects-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 66px); font-weight: 700; letter-spacing: -.06em; line-height: .95; }
.projects-heading-en { display: inline-block; margin: 14px 0 0 2px; color: rgba(218, 223, 247, .65); font-family: Arial, sans-serif; font-size: clamp(10px, .9vw, 14px); letter-spacing: .33em; }
.projects-heading i { display: block; width: 84px; height: 2px; margin-top: 17px; background: linear-gradient(90deg, #704cff, #c06aff 58%, transparent); box-shadow: 0 0 12px rgba(126, 91, 255, .9); }
.projects-header-meta { display: flex; align-items: flex-end; gap: 26px; padding-bottom: 3px; color: rgba(235, 238, 255, .85); font-family: Arial, sans-serif; font-size: 18px; letter-spacing: .08em; }
.projects-header-meta small { color: var(--projects-muted); font-size: 10px; letter-spacing: .2em; }
.projects-stage { position: relative; flex: 1; min-height: 420px; margin-top: clamp(28px, 4.5vh, 56px); display: flex; align-items: center; }
.projects-viewport { width: calc(100% - 136px); height: clamp(414px, 59vh, 640px); margin: 0 auto; overflow: hidden; outline: none; touch-action: pan-y; cursor: grab; }
.projects-viewport.is-dragging { cursor: grabbing; }
.projects-track { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); width: max-content; height: 100%; padding: 24px 0; will-change: transform; transition: transform 620ms cubic-bezier(.22, .72, .18, 1); }
.projects-viewport.is-dragging .projects-track { transition: none; }
.project-card { position: relative; flex: 0 0 clamp(300px, 27vw, 432px); height: clamp(378px, 55vh, 590px); opacity: .52; transform: scale(.78); transform-origin: center center; transition: opacity 420ms ease, transform 620ms cubic-bezier(.22, .72, .18, 1), filter 420ms ease; filter: saturate(.58) brightness(.75); cursor: pointer; }
.project-card.is-active { z-index: 2; opacity: 1; transform: scale(1); filter: saturate(1) brightness(1); }
.project-card-frame { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 22px; overflow: hidden; border: 1px solid rgba(90, 133, 255, .9); border-radius: 14px; background: linear-gradient(160deg, rgba(14, 19, 42, .92), rgba(3, 5, 15, .95) 72%); box-shadow: inset 0 0 22px rgba(65, 101, 255, .08), 0 0 12px rgba(63, 113, 255, .54), 0 16px 50px rgba(1, 4, 24, .72); }
.project-card:not(.is-active) .project-card-frame { box-shadow: inset 0 0 16px rgba(65, 101, 255, .06), 0 0 8px rgba(63, 113, 255, .33), 0 12px 34px rgba(1, 4, 24, .55); }
.project-card-frame::before { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(114, 145, 255, .25); border-radius: 9px; pointer-events: none; }
.project-card-topline { position: relative; z-index: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #fff; font-family: Arial, sans-serif; }
.project-card-topline span:first-child { font-size: clamp(20px, 1.7vw, 30px); font-weight: 700; letter-spacing: -.05em; }
.project-card-topline span:last-child { color: rgba(213, 219, 255, .64); font-size: 10px; letter-spacing: .18em; }
.project-card-media { position: relative; z-index: 1; flex: 0 0 auto; width: 100%; aspect-ratio: 16 / 9; margin-top: 18px; overflow: hidden; border: 1px dashed rgba(122, 151, 255, .72); border-radius: 8px; background: linear-gradient(145deg, rgba(24, 35, 78, .31), rgba(5, 8, 23, .86)); box-shadow: inset 0 0 26px rgba(70, 115, 255, .08); cursor: zoom-in; }
.project-card-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(91, 133, 255, .08), transparent 44%, rgba(162, 96, 255, .08)); pointer-events: none; }
.project-card-media::after { content: ""; position: absolute; left: 11%; right: 11%; top: 50%; height: 1px; background: rgba(118, 151, 255, .18); box-shadow: 0 0 14px rgba(111, 153, 255, .3); }
.project-media-placeholder { position: absolute; left: 50%; top: 50%; z-index: 1; color: rgba(204, 215, 255, .56); font-family: Arial, sans-serif; font-size: clamp(9px, .75vw, 12px); letter-spacing: .16em; white-space: nowrap; transform: translate(-50%, -50%); }
.project-media-zoom { display: none; }
.project-card-media.has-custom-image .project-media-placeholder { opacity: 0; }
.project-card-info { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; min-height: 70px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(133, 155, 228, .25); }
.project-card-info h3 { margin: 0; color: #fff; font-size: clamp(19px, 1.55vw, 27px); font-weight: 600; letter-spacing: .02em; }
.project-card-info p { margin: 7px 0 0; color: rgba(219, 225, 255, .58); font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .13em; }
.project-enter, .project-detail-button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-width: 112px; padding: 12px 13px; border: 1px solid rgba(141, 163, 255, .72); border-radius: 7px; color: #f4f6ff; background: rgba(31, 54, 126, .22); font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; transition: background 200ms ease, border-color 200ms ease, transform 200ms ease; }
.project-enter:hover, .project-detail-button:hover { border-color: #b8c6ff; background: rgba(74, 105, 226, .38); transform: translateY(-2px); }
.project-enter span, .project-detail-button span { color: #9fb4ff; font-family: Arial, sans-serif; font-size: 19px; line-height: .7; }
.project-nav { position: absolute; z-index: 4; top: 50%; display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(91, 137, 255, .78); border-radius: 50%; color: #eff3ff; background: rgba(8, 13, 32, .56); font-family: Arial, sans-serif; font-size: 27px; font-weight: 300; cursor: pointer; transform: translateY(-50%); transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease; }
.project-nav:hover { background: rgba(52, 81, 176, .44); box-shadow: 0 0 18px rgba(81, 131, 255, .45); transform: translateY(-50%) scale(1.05); }
.project-nav-prev { left: 0; }
.project-nav-next { right: 0; }
.projects-footer { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 55px; margin-top: clamp(14px, 2vh, 24px); font-family: Arial, sans-serif; }
.projects-dots { display: flex; align-items: center; gap: 13px; }
.projects-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid rgba(124, 150, 255, .7); border-radius: 50%; background: transparent; box-shadow: 0 0 0 rgba(92, 134, 255, 0); cursor: pointer; transition: width 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease; }
.projects-dots button.is-active { width: 11px; height: 11px; border-color: #a3b7ff; background: #6b9eff; box-shadow: 0 0 10px #5e8dff, 0 0 22px rgba(88, 134, 255, .6); }
.projects-counter { display: flex; align-items: baseline; gap: 8px; color: rgba(218, 225, 255, .45); font-size: 13px; letter-spacing: .12em; }
.projects-counter strong { color: #f5f6ff; font-size: 20px; font-weight: 500; }
.projects-footer-note { color: rgba(218, 225, 255, .45); font-size: 10px; letter-spacing: .12em; }

.project-lightbox[hidden], .project-detail-page[hidden] { display: none; }
.project-lightbox { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; padding: 24px; }
.project-lightbox-backdrop { position: absolute; inset: 0; border: 0; background: rgba(1, 3, 13, .86); backdrop-filter: blur(12px); cursor: zoom-out; }
.project-lightbox-panel { position: relative; z-index: 1; width: min(940px, 92vw); padding: clamp(18px, 2.2vw, 30px); border: 1px solid rgba(102, 143, 255, .9); border-radius: 14px; background: linear-gradient(150deg, rgba(15, 23, 57, .98), rgba(3, 6, 18, .98)); box-shadow: 0 0 34px rgba(70, 116, 255, .36), 0 24px 90px rgba(0, 0, 0, .65); }
.project-lightbox-close { position: absolute; z-index: 2; top: 10px; right: 12px; width: 34px; height: 34px; border: 1px solid rgba(191, 204, 255, .5); border-radius: 50%; color: #fff; background: rgba(5, 9, 24, .68); font-size: 24px; line-height: 1; cursor: pointer; }
.project-lightbox-media { position: relative; display: grid; aspect-ratio: 16 / 9; place-items: center; overflow: hidden; border: 1px dashed rgba(138, 164, 255, .78); border-radius: 8px; background: linear-gradient(145deg, rgba(25, 42, 96, .42), rgba(4, 7, 21, .9)); }
.project-lightbox-media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 38%, rgba(96, 136, 255, .18), transparent 48%); }
.project-lightbox-media span { position: relative; color: rgba(221, 229, 255, .7); font-family: Arial, sans-serif; font-size: 12px; letter-spacing: .16em; }
.project-lightbox-media.has-custom-image span { opacity: 0; }
.project-lightbox-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; }
.project-lightbox-caption small { color: rgba(187, 201, 255, .6); font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .16em; }
.project-lightbox-caption h3 { margin: 8px 0 0; color: #fff; font-size: clamp(21px, 2.1vw, 32px); font-weight: 500; }

.project-detail-page { position: fixed; z-index: 130; inset: 0; overflow: auto; background: radial-gradient(ellipse at 50% 20%, rgba(30, 55, 170, .28), transparent 42%), #050713; color: #f5f6ff; }
.project-detail-page::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .24; background-image: linear-gradient(rgba(106, 132, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(106, 132, 255, .06) 1px, transparent 1px); background-size: 82px 82px; }
.project-detail-shell { position: relative; z-index: 1; width: min(1260px, calc(100% - 64px)); min-height: 100%; margin: 0 auto; padding: clamp(30px, 6vh, 76px) 0; }
.project-detail-back { padding: 0; border: 0; color: rgba(223, 229, 255, .7); background: transparent; font: inherit; font-family: Arial, sans-serif; font-size: 12px; letter-spacing: .14em; cursor: pointer; }
.project-detail-back:hover { color: #fff; }
.project-detail-heading { margin-top: clamp(70px, 14vh, 150px); }
.project-detail-heading > span { color: #a58cff; font-family: Arial, sans-serif; font-size: 11px; letter-spacing: .24em; }
.project-detail-heading h2 { margin: 18px 0 0; font-size: clamp(48px, 8vw, 120px); font-weight: 600; letter-spacing: -.08em; line-height: .95; }
.project-detail-heading p { margin: 20px 0 0; color: rgba(218, 225, 255, .58); font-family: Arial, sans-serif; font-size: 12px; letter-spacing: .28em; }
.project-detail-placeholder { display: grid; min-height: 260px; margin-top: clamp(70px, 13vh, 140px); place-items: center; border: 1px dashed rgba(125, 151, 255, .45); background: rgba(12, 20, 52, .2); color: rgba(218, 225, 255, .34); font-family: Arial, sans-serif; font-size: 11px; letter-spacing: .18em; }
body.project-detail-open { overflow: hidden; }

/* Secondary project page: restrained poster carousel. Scoped to the detail layer only. */
.project-detail-page[data-project-detail] {
  overflow: hidden;
  background: #050505;
  color: #f4f1eb;
}
.project-detail-page[data-project-detail]::before {
  opacity: 1;
  background:
    radial-gradient(ellipse 18% 32% at 50% 30%, rgba(255,255,255,.94) 0%, rgba(235,240,246,.68) 20%, rgba(151,161,174,.3) 48%, rgba(5,5,5,0) 78%),
    radial-gradient(ellipse 34% 54% at 50% 38%, rgba(222,228,236,.5) 0%, rgba(126,136,149,.2) 46%, rgba(5,5,5,0) 76%),
    radial-gradient(ellipse 66% 22% at 50% 66%, rgba(220,227,235,.3) 0%, rgba(86,94,104,.12) 42%, rgba(5,5,5,0) 78%),
    radial-gradient(circle at 6% 8%, rgba(255,230,184,.12), rgba(5,5,5,0) 15%);
}
.project-detail-page[data-project-detail].is-first-project::after {
  content: "";
  position: fixed;
  z-index: 0;
  left: 50%;
  top: 66%;
  width: 112%;
  height: 28%;
  pointer-events: none;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(226,232,239,.2) 0%, rgba(116,124,134,.08) 30%, transparent 68%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(5,5,5,0) 55%);
  filter: blur(8px);
  opacity: .86;
}
.project-detail-page[data-project-detail] .project-detail-shell { width: 100%; min-height: 100vh; padding: 48px 0 34px; }
.project-detail-page[data-project-detail] .project-detail-back { position: absolute; z-index: 8; left: 56px; top: 48px; color: rgba(255,248,235,.9); font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 22px; letter-spacing: 0; text-shadow: 0 0 18px rgba(255,235,198,.24); }
.project-detail-page[data-project-detail].is-first-project .project-detail-legacy { display: none; }
.project-detail-page[data-project-detail]:not(.is-first-project) { overflow: auto; background: radial-gradient(ellipse at 50% 20%, rgba(30,55,170,.28), transparent 42%), #050713; color: #f5f6ff; }
.project-detail-page[data-project-detail]:not(.is-first-project)::before { opacity: .24; background-image: linear-gradient(rgba(106,132,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(106,132,255,.06) 1px, transparent 1px); background-size: 82px 82px; }
.project-detail-page[data-project-detail]:not(.is-first-project) .detail-poster-stage,
.project-detail-page[data-project-detail]:not(.is-first-project) .detail-poster-note,
.project-detail-page[data-project-detail]:not(.is-first-project) .detail-poster-controls { display: none; }
.project-detail-page[data-project-detail]:not(.is-first-project) .project-detail-shell { width: min(1260px, calc(100% - 64px)); padding: clamp(30px, 6vh, 76px) 0; }
.project-detail-page[data-project-detail]:not(.is-first-project) .project-detail-back { position: static; color: rgba(223,229,255,.7); font-family: Arial, sans-serif; font-size: 12px; letter-spacing: .14em; text-shadow: none; }
.detail-poster-stage { position: absolute; inset: 74px 0 146px; overflow: hidden; perspective: 1600px; cursor: grab; touch-action: pan-y; }
.detail-poster-stage.is-dragging { cursor: grabbing; }
.detail-poster-track { position: absolute; left: 50%; top: 49%; width: 0; height: 0; transform-style: preserve-3d; }
.detail-poster-card { --poster-image-scale: 1; --poster-image-x: 50%; --poster-image-y: 50%; position: absolute; left: 0; top: 0; width: clamp(228px, 18.2vw, 350px); aspect-ratio: .65; overflow: hidden; border: 1px solid rgba(230,230,230,.72); border-radius: 24px; background: #101010; cursor: zoom-in; transform-origin: center center; will-change: transform, opacity; transition: transform 1000ms cubic-bezier(.22,.76,.2,1), opacity 1000ms ease, filter 1000ms ease, box-shadow 1000ms ease; box-shadow: 0 12px 42px rgba(0,0,0,.55); }
.detail-poster-card img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: var(--poster-image-x) var(--poster-image-y); background: #101010; transform: scale(var(--poster-image-scale)); transform-origin: var(--poster-image-x) var(--poster-image-y); transition: transform 180ms ease, object-position 180ms ease; }
.detail-poster-placeholder { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; background: linear-gradient(145deg, #101010, #171717 48%, #0b0b0b); }
.detail-poster-placeholder span { color: rgba(255,255,255,.16); font-size: 18px; letter-spacing: .16em; }
.detail-poster-card.has-custom-image .detail-poster-placeholder { opacity: 0; }
.detail-poster-card.is-center { border-color: rgba(255,255,255,.96); box-shadow: 0 0 38px rgba(255,255,255,.36), 0 0 90px rgba(220,229,240,.24), 0 24px 70px rgba(0,0,0,.7); }
.detail-poster-card.is-center:hover { box-shadow: 0 0 58px rgba(230,238,248,.34), 0 28px 80px rgba(0,0,0,.78); }
.detail-poster-note { position: absolute; z-index: 5; bottom: 48px; display: flex; align-items: center; gap: 16px; margin: 0; color: rgba(255,255,255,.9); font-size: 17px; }
.detail-poster-note i { display: block; width: 27px; height: 3px; background: rgba(255,255,255,.92); box-shadow: 0 0 12px rgba(255,255,255,.45); }
.detail-poster-note-left { left: 58px; }
.detail-poster-note-right { right: 58px; }
.detail-poster-controls { position: absolute; z-index: 5; left: 50%; bottom: 46px; display: flex; align-items: center; gap: 28px; transform: translateX(-50%); }
.detail-poster-controls button { width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: #fff; background: transparent; font-size: 27px; cursor: pointer; transition: background 200ms ease, transform 200ms ease; }
.detail-poster-controls button:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.detail-poster-progress { width: 330px; height: 2px; background: rgba(255,255,255,.28); overflow: hidden; }
.detail-poster-progress span { display: block; width: calc(100% / 7); height: 100%; background: #fff; transition: transform 1000ms cubic-bezier(.22,.76,.2,1); transform-origin: left center; }
.detail-poster-focus[hidden] { display: none; }
.detail-poster-focus { position: fixed; z-index: 170; inset: 0; display: grid; place-items: center; padding: 34px; }
.detail-poster-focus-backdrop { position: absolute; inset: 0; border: 0; background: rgba(2,3,5,.78); backdrop-filter: blur(15px); cursor: zoom-out; }
.detail-poster-focus-card { position: relative; z-index: 1; width: min(470px, 76vw); height: min(78vh, 720px); overflow: hidden; border: 1px solid rgba(255,255,255,.86); border-radius: 24px; background: #101010; box-shadow: 0 0 66px rgba(222,231,242,.22), 0 32px 110px rgba(0,0,0,.82); animation: detail-poster-rise 560ms cubic-bezier(.2,.78,.2,1) both; }
.detail-poster-focus-card img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; image-rendering: auto; background: #080808; cursor: grab; user-select: none; -webkit-user-drag: none; backface-visibility: hidden; transform: translateZ(0); transition: transform 180ms ease, object-position 180ms ease; }
.detail-poster-focus-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.24); }
.detail-poster-focus-card.has-image .detail-poster-focus-empty { display: none; }
.detail-poster-focus-card.is-adjusting img { cursor: grabbing; transition: none; }
.detail-poster-focus-controls { position: absolute; z-index: 3; right: 16px; bottom: 16px; left: 16px; padding: 11px 14px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; color: rgba(255,255,255,.92); background: rgba(5,7,11,.78); box-shadow: 0 8px 28px rgba(0,0,0,.34); opacity: 0; pointer-events: none; transform: translateY(8px); backdrop-filter: blur(12px); transition: opacity 180ms ease, transform 180ms ease; }
.detail-poster-focus-card.show-controls .detail-poster-focus-controls,
.detail-poster-focus-card.is-adjusting .detail-poster-focus-controls,
.detail-poster-focus-controls:focus-within { opacity: 1; pointer-events: auto; transform: translateY(0); }
.detail-poster-focus-controls label { display: grid; grid-template-columns: auto auto minmax(0,1fr); align-items: center; gap: 9px; font-size: 13px; }
.detail-poster-focus-controls output { min-width: 42px; color: rgba(255,255,255,.66); font-variant-numeric: tabular-nums; }
.detail-poster-focus-controls input { width: 100%; accent-color: #dce9ff; cursor: ew-resize; }
.detail-poster-focus-controls span { display: block; margin-top: 5px; color: rgba(255,255,255,.52); font-size: 11px; letter-spacing: .04em; text-align: center; }
.detail-poster-focus-close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; color: #fff; background: rgba(0,0,0,.56); font-size: 25px; line-height: 1; cursor: pointer; }
@keyframes detail-poster-rise { from { opacity: 0; transform: translateY(18px) translateZ(-30px) rotateX(-4deg) scale(.9); } to { opacity: 1; transform: translateY(0) translateZ(0) rotateX(0) scale(1); } }
body.project-detail-open.editor-enabled .editor-dock { z-index: 190; }
.editor-poster-image-controls { margin: 12px 0 4px; padding-top: 12px; border-top: 1px solid rgba(137,153,220,.18); }

/* IP design secondary page: continuous horizontal filmstrip. */
.film-detail-page[hidden] { display: none; }
.film-detail-page { position: fixed; z-index: 175; inset: 0; overflow: hidden; color: #f5f5f2; background: #050607; font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
.film-detail-page::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 48% 54% at 32% 3%, rgba(151,166,170,.18), transparent 66%), radial-gradient(ellipse 42% 58% at 53% 48%, rgba(39,47,49,.18), transparent 72%), radial-gradient(circle at 7% 8%, rgba(255,224,168,.07), transparent 13%); }
.film-detail-page::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 34%; pointer-events: none; background: linear-gradient(to bottom, transparent, rgba(2,3,4,.54)), radial-gradient(ellipse 64% 72% at 29% 100%, rgba(83,101,104,.13), transparent 72%); }
.film-detail-stage { position: relative; width: 100%; height: 100%; min-height: 680px; overflow: hidden; }
.film-detail-header { position: absolute; z-index: 8; top: 43px; right: 54px; left: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.film-detail-header button { padding: 0; border: 0; color: rgba(255,255,251,.92); background: transparent; font: inherit; cursor: pointer; }
.film-detail-back { justify-self: start; font-size: 25px !important; text-shadow: 0 0 18px rgba(255,225,173,.34); }
.film-detail-back span { margin-left: 8px; font-size: 20px; }
.film-detail-next { justify-self: end; font-size: 15px !important; letter-spacing: .1em; }
.film-detail-next span { margin-right: 8px; }
.film-detail-count { margin: 0; color: rgba(255,255,255,.86); font-size: 14px; letter-spacing: .16em; font-variant-numeric: tabular-nums; }
.film-detail-count strong { font-weight: 500; }
.film-detail-intro { position: relative; z-index: 5; flex: 0 0 clamp(270px, 20vw, 390px); box-sizing: border-box; padding-left: clamp(48px, 6vw, 116px); transform: translateY(-18%); pointer-events: none; }
.editor-enabled .brand-detail-page .film-detail-intro { pointer-events: auto; }
.editor-enabled .brand-detail-page .film-detail-intro [data-editable-text] { position: relative; z-index: 7; cursor: text; }
.editor-enabled .brand-detail-page .film-card-image { cursor: grab; }
.editor-enabled .brand-detail-page .film-card-image.is-editor-dragging { cursor: grabbing; }
.film-detail-intro strong { display: block; color: #fff; font-family: Arial, sans-serif; font-size: clamp(154px, 12vw, 230px); font-weight: 300; letter-spacing: -.09em; line-height: .78; }
.film-detail-intro p { margin: 26px 0 0 5px; color: rgba(255,255,255,.78); font-family: Consolas, monospace; font-size: 12px; letter-spacing: .14em; line-height: 1.55; }
.film-detail-viewport { position: absolute; z-index: 3; top: 0; right: 0; bottom: 72px; left: 0; overflow: hidden; cursor: grab; touch-action: pan-y; }
.film-detail-viewport.is-dragging { cursor: grabbing; }
.film-detail-track { position: absolute; top: 50%; left: 0; display: flex; align-items: flex-start; gap: 20px; width: max-content; will-change: transform; transform: translate3d(0,0,0); }
.film-card { --poster-image-scale: 1; --poster-image-x: 50%; --poster-image-y: 50%; position: relative; flex: 0 0 clamp(220px, 17.5vw, 336px); height: clamp(330px, 46vh, 498px); overflow: hidden; border: 1px solid rgba(255,255,255,.24); background: #0c0d0e; transform: translateY(calc(-50% + var(--film-y, 0px))); box-shadow: 0 20px 54px rgba(0,0,0,.34); cursor: pointer; transition: border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease; }
.film-card[data-film-layout="1"] { --film-y: clamp(-6px, -.3vw, -4px); flex-basis: clamp(235px, 18.3vw, 352px); height: clamp(360px, 56.3vh, 540px); }
.film-card[data-film-layout="2"] { --film-y: clamp(57px, 4.5vw, 86px); flex-basis: clamp(225px, 17.4vw, 334px); height: clamp(330px, 52vh, 498px); }
.film-card[data-film-layout="3"] { --film-y: clamp(13px, 1vw, 19px); flex-basis: clamp(214px, 16.5vw, 318px); height: clamp(325px, 51.3vh, 488px); }
.film-card[data-film-layout="4"] { --film-y: clamp(34px, 2.65vw, 51px); flex-basis: clamp(214px, 16.6vw, 320px); height: clamp(320px, 50.4vh, 480px); }
.film-card[data-film-layout="5"] { --film-y: clamp(50px, 3.75vw, 72px); flex-basis: clamp(220px, 17.2vw, 330px); height: clamp(335px, 52.4vh, 502px); }
.film-card[data-film-layout="6"] { --film-y: clamp(10px, 1vw, 19px); flex-basis: clamp(230px, 17.8vw, 342px); height: clamp(345px, 54vh, 518px); }
.film-card[data-film-layout="7"] { --film-y: clamp(58px, 4.5vw, 86px); flex-basis: clamp(214px, 16.2vw, 312px); height: clamp(320px, 49vh, 470px); }
.film-card:hover { z-index: 2; border-color: rgba(255,255,255,.58); box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 24px 66px rgba(0,0,0,.56); filter: brightness(1.04); }
.film-card-number { position: absolute; z-index: 4; top: 14px; left: 14px; color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.film-card-image { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--poster-image-x) var(--poster-image-y); transform: scale(var(--poster-image-scale)); transform-origin: var(--poster-image-x) var(--poster-image-y); }
.film-card-placeholder { position: absolute; z-index: 0; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.18); font-size: 13px; letter-spacing: .12em; background: linear-gradient(145deg, #111416, #090a0b 58%, #171818); }
.film-card.has-custom-image .film-card-placeholder { opacity: 0; }
.film-card footer { position: absolute; z-index: 4; right: 14px; bottom: 14px; left: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.72); }
.film-card footer::before { content: ""; position: absolute; z-index: -1; right: -14px; bottom: -14px; left: -14px; height: 90px; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.film-card footer strong { font-size: 15px; font-weight: 600; }
.film-card footer small { color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: .08em; white-space: nowrap; }
.film-detail-footer { position: absolute; z-index: 8; right: 54px; bottom: 44px; left: 56px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 56px; color: rgba(255,255,255,.72); font-family: Consolas, monospace; font-size: 11px; letter-spacing: .13em; }
.film-detail-footer p { margin: 0; white-space: nowrap; }
.film-detail-footer strong { color: rgba(255,255,255,.9); font-weight: 500; }
.film-detail-progress { position: relative; height: 1px; overflow: visible; background: rgba(255,255,255,.25); cursor: ew-resize; touch-action: none; }
.film-detail-progress::before { content: ""; position: absolute; z-index: 2; inset: -12px 0; }
.film-detail-progress span { position: absolute; z-index: 1; inset: 0 auto 0 0; width: calc(100% / var(--film-total, 7)); background: #fff; transform-origin: left center; will-change: transform; pointer-events: none; }
.film-detail-progress:focus-visible { outline: 1px solid rgba(255,255,255,.55); outline-offset: 8px; }
.film-focus[hidden] { display: none; }
.film-focus { position: fixed; z-index: 205; inset: 0; display: grid; place-items: center; padding: 28px; }
.film-focus-backdrop { position: absolute; inset: 0; border: 0; background: rgba(2,3,4,.86); backdrop-filter: blur(14px); cursor: zoom-out; }
.film-focus-card { position: relative; z-index: 1; width: min(520px, 82vw); height: min(82vh, 780px); margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.52); background: #0b0c0d; box-shadow: 0 30px 100px rgba(0,0,0,.82); animation: film-focus-rise 520ms cubic-bezier(.2,.76,.2,1) both; }
.film-focus-card > button { position: absolute; z-index: 4; top: 14px; right: 14px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; color: #fff; background: rgba(0,0,0,.55); font-size: 24px; cursor: pointer; }
.film-focus-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #080909; }
.film-focus-card figcaption { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; padding: 34px 22px 18px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); font-size: 15px; }
@keyframes film-focus-rise { from { opacity: 0; transform: translateY(22px) scale(.88); } to { opacity: 1; transform: translateY(0) scale(1); } }
body.project-detail-open.editor-enabled .film-detail-page { z-index: 175; }

/* Brand-project viewer: restrained full-screen sizing with in-gallery navigation. */
.brand-detail-page .film-focus { padding: 5vh 7vw; }
.brand-detail-page .film-focus-backdrop { background: rgba(2,3,4,.91); backdrop-filter: blur(10px); }
.brand-detail-page .film-focus-card {
  width: min(70vw, 1320px);
  height: min(84vh, 820px);
  max-width: none;
  max-height: none;
  border-color: rgba(255,255,255,.45);
  background: #020303;
  box-shadow: 0 34px 120px rgba(0,0,0,.9);
  animation: brand-film-focus-rise 540ms cubic-bezier(.2,.76,.2,1) both;
}
.brand-detail-page .film-focus-nav {
  position: fixed;
  z-index: 5;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 50%;
  color: #111;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 34px rgba(0,0,0,.34);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, background-color 180ms ease;
}
.brand-detail-page .film-focus-nav:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.brand-detail-page .film-focus-nav:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.brand-detail-page .film-focus-nav-prev { left: 24px; }
.brand-detail-page .film-focus-nav-next { right: 24px; }
.brand-detail-page .film-focus-card { touch-action: pan-y; cursor: grab; }
.brand-detail-page .film-focus-card.is-swiping { cursor: grabbing; }
.brand-detail-page .film-focus-card.is-portrait { box-shadow: 0 28px 110px rgba(0,0,0,.92); }
.brand-detail-page .film-focus-card img { object-fit: contain; background: transparent; }
.brand-detail-page .film-focus-card > button {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-color: rgba(255,255,255,.48);
  background: rgba(8,10,11,.68);
  backdrop-filter: blur(10px);
}
.brand-detail-page .film-focus-card figcaption {
  padding: 54px 22px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.58));
  font-size: 13px;
  letter-spacing: .04em;
}
@keyframes brand-film-focus-rise {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 720px) {
  .brand-detail-page .film-focus { padding: 7vh 54px; }
  .brand-detail-page .film-focus-nav { width: 40px; height: 40px; font-size: 20px; }
  .brand-detail-page .film-focus-nav-prev { left: 8px; }
  .brand-detail-page .film-focus-nav-next { right: 8px; }
}

/* Brand-design detail only: preserve the original filmstrip, then continue down two pages. */
.brand-detail-page {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}
.brand-detail-page > .film-detail-stage,
.brand-detail-continuation > .film-detail-stage,
.brand-story-page {
  min-height: 680px;
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
.brand-detail-page > .film-detail-stage,
.brand-detail-continuation > .film-detail-stage { flex: none; }
.brand-detail-continuation { position: relative; z-index: 2; background: #050607; }
.brand-detail-continuation > .film-detail-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 48% 54% at 32% 3%, rgba(151,166,170,.18), transparent 66%), radial-gradient(ellipse 42% 58% at 53% 48%, rgba(39,47,49,.18), transparent 72%), radial-gradient(circle at 7% 8%, rgba(255,224,168,.07), transparent 13%);
}
.brand-detail-continuation > .film-detail-stage::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(2,3,4,.54)), radial-gradient(ellipse 64% 72% at 29% 100%, rgba(83,101,104,.13), transparent 72%);
}
.brand-story-page {
  position: relative;
  box-sizing: border-box;
  padding: clamp(76px, 8vh, 104px) clamp(44px, 5vw, 96px) clamp(54px, 6vh, 74px);
  overflow: hidden;
  color: #f5f5f2;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    #050607;
  background-size: 56px 56px;
}
.brand-story-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 42% 52% at 50% 13%, rgba(114,135,141,.12), transparent 70%);
}
.brand-story-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 54px minmax(360px, .95fr) minmax(280px, .7fr);
  align-items: end;
  gap: 28px;
  width: min(100%, 1540px);
  margin: 0 auto clamp(32px, 4vh, 48px);
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.brand-story-heading > span {
  color: rgba(255,255,255,.58);
  font: 13px/1 Consolas, monospace;
  letter-spacing: .15em;
  align-self: start;
  padding-top: 8px;
}
.brand-story-heading div > p,
.brand-story-heading h2,
.brand-story-heading > p { margin: 0; }
.brand-story-heading div > p {
  margin-bottom: 10px;
  color: rgba(255,255,255,.48);
  font: 11px/1.3 Consolas, monospace;
  letter-spacing: .18em;
}
.brand-story-heading h2 {
  font-size: clamp(30px, 2.8vw, 52px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.brand-story-heading > p {
  justify-self: end;
  max-width: 430px;
  color: rgba(255,255,255,.56);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.85;
}
.brand-story-gallery {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 1540px);
  height: calc(100% - clamp(190px, 22vh, 238px));
  min-height: 410px;
  margin: 0 auto;
  gap: clamp(14px, 1.25vw, 24px);
}
.brand-story-gallery-system { grid-template-columns: 1.7fr .72fr; grid-template-rows: 1fr 1fr; }
.brand-story-gallery-system .brand-story-media-main { grid-row: 1 / 3; }
.brand-story-gallery-application { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.brand-story-gallery-application .brand-story-media:nth-child(2) { transform: translateY(clamp(18px, 3vh, 34px)); }
.brand-story-media {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: linear-gradient(145deg, #111416, #090a0b 58%, #171818);
}
.brand-story-media .experience-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.brand-story-media > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.22);
  font-size: 12px;
  letter-spacing: .12em;
  transition: opacity 180ms ease;
}
.brand-story-media.has-custom-image > span { opacity: 0; }
body.editor-enabled .brand-story-media { cursor: pointer; }
body.editor-enabled .brand-story-media:hover {
  border-color: rgba(170,207,255,.68);
  box-shadow: 0 0 0 1px rgba(123,177,255,.12), 0 0 28px rgba(83,140,226,.12);
}

@media (max-width: 900px) {
  .brand-story-page { padding: 76px 24px 48px; }
  .brand-story-heading { grid-template-columns: 38px 1fr; gap: 18px; }
  .brand-story-heading > p { grid-column: 2; justify-self: start; }
  .brand-story-gallery-system { grid-template-columns: 1.3fr .8fr; }
}

@media (max-width: 620px) {
  .brand-detail-page > .film-detail-stage,
  .brand-story-page { min-height: 720px; }
  .brand-story-heading { margin-bottom: 24px; }
  .brand-story-heading h2 { font-size: 30px; }
  .brand-story-heading > p { font-size: 12px; line-height: 1.65; }
  .brand-story-gallery { height: calc(100% - 210px); min-height: 420px; }
  .brand-story-gallery-system { grid-template-columns: 1fr 1fr; grid-template-rows: 1.25fr .75fr; }
  .brand-story-gallery-system .brand-story-media-main { grid-column: 1 / 3; grid-row: auto; }
  .brand-story-gallery-application { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}

@media (max-width: 900px) {
  .film-detail-header { top: 28px; right: 24px; left: 24px; }
  .film-detail-count { display: none; }
  .film-detail-intro { flex-basis: 210px; min-width: 0; padding-left: 24px; transform: translateY(-18%); }
  .film-detail-intro strong { font-size: 96px; }
  .film-detail-intro p { display: none; }
  .film-detail-viewport { top: 0; left: 0; bottom: 64px; }
  .film-detail-track { left: 0; gap: 16px; }
  .film-card { flex-basis: min(58vw, 280px); }
  .film-detail-footer { right: 16px; bottom: 16px; left: 16px; gap: 18px; }
  .film-detail-footer > p:last-child { display: none; }
}
@media (max-width: 700px) {
  .project-detail-page[data-project-detail] .project-detail-back { left: 24px; top: 28px; font-size: 18px; }
  .detail-poster-card { width: 58vw; border-radius: 18px; }
  .detail-poster-controls { bottom: 28px; gap: 12px; }
  .detail-poster-progress { width: 150px; }
  .detail-poster-note { display: none; }
}

@media (max-width: 820px) {
  .projects-inner { width: calc(100% - 28px); padding-top: 38px; }
  .projects-header { align-items: flex-start; }
  .projects-header-meta { flex-direction: column; align-items: flex-end; gap: 7px; font-size: 14px; }
  .projects-header-meta small { font-size: 8px; }
  .projects-stage { margin-top: 28px; }
  .projects-viewport { width: calc(100% - 76px); height: 58vh; min-height: 390px; max-height: 560px; }
  .project-card { flex-basis: min(76vw, 360px); height: min(73vh, 530px); min-height: 370px; }
  .project-nav { width: 44px; height: 44px; font-size: 21px; }
  .projects-footer-note { display: none; }
}
@media (max-width: 560px) {
  .projects-screen { min-height: 100svh; }
  .projects-inner { width: calc(100% - 20px); padding-bottom: 20px; }
  .projects-kicker { margin-bottom: 12px; font-size: 9px; }
  .projects-heading h2 { font-size: 38px; }
  .projects-heading-en { margin-top: 10px; font-size: 9px; }
  .projects-heading i { width: 62px; margin-top: 12px; }
  .projects-header-meta { display: none; }
  .projects-stage { min-height: 0; margin-top: 22px; }
  .projects-viewport { width: calc(100% - 64px); height: 65svh; min-height: 360px; max-height: 500px; }
  .projects-track { gap: 16px; padding: 16px 0; }
  .project-card { flex-basis: calc(100vw - 92px); height: min(64svh, 470px); min-height: 350px; }
  .project-card-frame { padding: 16px; border-radius: 11px; }
  .project-card-media { margin-top: 14px; }
  .project-card-info { min-height: 62px; padding-top: 13px; }
  .project-card-info h3 { font-size: 18px; }
  .project-card-info p { margin-top: 5px; font-size: 8px; }
  .project-enter { min-width: 92px; padding: 9px 8px; gap: 9px; font-size: 10px; }
  .projects-footer { gap: 16px; min-height: 44px; margin-top: 10px; }
  .projects-dots { gap: 9px; }
  .project-lightbox { padding: 12px; }
  .project-lightbox-caption { align-items: flex-start; flex-direction: column; gap: 16px; }
  .project-detail-shell { width: calc(100% - 36px); }
  .project-detail-heading { margin-top: 110px; }
  .project-detail-placeholder { min-height: 220px; margin-top: 90px; }
}

/* Reference alignment: keep the third screen's composition faithful to the supplied board. */
.projects-inner { width: 100%; padding: clamp(48px, 7.2vh, 82px) 0 clamp(24px, 3.2vh, 42px); }
.projects-header { display: block; text-align: center; }
.projects-heading { display: flex; flex-direction: column; align-items: center; }
.projects-kicker, .projects-header-meta { display: none; }
.projects-heading h2 { font-size: clamp(42px, 4.1vw, 68px); letter-spacing: -.07em; }
.projects-heading-en { order: 3; margin-top: 17px; font-size: 12px; letter-spacing: .42em; }
.projects-heading i {
  order: 2;
  width: 112px;
  height: 2px;
  margin-top: 19px;
  background: linear-gradient(90deg, #8c48ff 0%, #e449cf 56%, #ff8b31 100%);
  box-shadow: 0 0 12px rgba(179, 80, 255, .7);
}
.projects-stage { min-height: 0; height: clamp(470px, 63vh, 650px); margin-top: clamp(24px, 4vh, 48px); }
.projects-viewport { width: 100%; height: 100%; }
.projects-track { gap: clamp(14px, 1.15vw, 22px); padding: 20px 0; }
.project-card { flex-basis: clamp(330px, 25.7vw, 430px); height: clamp(430px, 55vh, 550px); transform: scale(.78); opacity: .63; }
.project-card:nth-child(1) .project-card-frame { transform: rotate(-3.5deg) translateY(9px); }
.project-card:nth-child(2) .project-card-frame { transform: rotate(-2deg) translateY(3px); }
.project-card:nth-child(4) .project-card-frame { transform: rotate(2deg) translateY(3px); }
.project-card:nth-child(5) .project-card-frame { transform: rotate(3.5deg) translateY(9px); }
.project-card.is-active { transform: scale(1); opacity: 1; }
.project-card.is-active .project-card-frame { transform: none; }
.project-card-frame { padding: 18px; border-radius: 13px; background: linear-gradient(160deg, rgba(8, 13, 31, .88), rgba(3, 5, 14, .97) 78%); box-shadow: 0 0 13px rgba(63, 113, 255, .6), 0 18px 48px rgba(1, 4, 24, .72); }
.project-card:not(.is-active) .project-card-frame { box-shadow: 0 0 8px rgba(63, 113, 255, .4), 0 12px 34px rgba(1, 4, 24, .55); }
.project-card-frame::before { display: none; }
.project-card-topline { position: absolute; top: 18px; left: 18px; z-index: 3; align-items: flex-start; justify-content: flex-start; gap: 8px; min-width: 180px; padding: 10px 16px 9px; border: 1px solid rgba(94, 119, 190, .32); border-radius: 25px; background: rgba(7, 12, 29, .58); box-shadow: inset 0 0 14px rgba(73, 108, 215, .06); }
.project-card-topline > span:first-child { font-size: 24px; line-height: 1; }
.project-card-topline > div { display: flex; flex-direction: column; gap: 4px; }
.project-card-topline strong { color: #fff; font-size: 16px; font-weight: 500; line-height: 1.05; white-space: nowrap; }
.project-card-topline small { color: rgba(221, 226, 255, .55); font-family: Arial, sans-serif; font-size: 8px; letter-spacing: .05em; line-height: 1; }
.project-card-media { width: calc(100% - 4px); aspect-ratio: 16 / 9; margin: 82px 2px 0; border-color: rgba(114, 145, 255, .3); border-radius: 5px; background: rgba(5, 8, 23, .16); box-shadow: none; }
.project-card-media::before, .project-card-media::after { display: none; }
.project-media-placeholder { opacity: 0; }
.project-media-zoom { right: 10px; bottom: 9px; }
.project-card-info { min-height: 74px; padding-top: 14px; border-top-color: rgba(133, 155, 228, .18); }
.project-card-info > div { display: none; }
.project-enter { width: 100%; min-width: 0; height: 68px; justify-content: flex-end; padding: 0 16px; border-color: rgba(141, 163, 255, .28); border-radius: 25px; background: rgba(9, 15, 38, .34); font-size: 0; }
.project-enter span { display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid rgba(238, 242, 255, .85); border-radius: 50%; color: #fff; font-size: 20px; }
.project-card.is-active .project-enter { position: relative; justify-content: center; gap: clamp(22px, 3.6vw, 68px); font-size: clamp(18px, 1.7vw, 28px); }
.project-card.is-active .project-enter span { flex: 0 0 33px; }
.project-card:not(.is-active) .project-card-info { display: none; }
.project-card:not(.is-active) .project-card-media { border-color: transparent; }
.project-nav { width: 58px; height: 58px; background: rgba(6, 10, 26, .28); }
.projects-footer { margin-top: clamp(7px, 1vh, 16px); }

@media (max-width: 820px) {
  .projects-inner { width: 100%; padding-top: 42px; }
  .projects-heading h2 { font-size: 44px; }
  .projects-heading-en { margin-top: 12px; font-size: 9px; }
  .projects-stage { height: min(62svh, 540px); min-height: 380px; margin-top: 25px; }
  .projects-viewport { width: calc(100% - 68px); }
  .project-card { flex-basis: min(78vw, 360px); height: min(68svh, 500px); min-height: 360px; }
  .project-nav { width: 44px; height: 44px; }
}
@media (min-width: 821px) and (max-width: 1400px) {
  .project-card { flex-basis: clamp(185px, 15vw, 215px); }
  .project-card.is-active { flex-basis: clamp(300px, 23vw, 345px); }
}

/* Fourth screen: horizontal video showcase, visually aligned with the Hero and Projects atmosphere. */
.video-showcase-screen {
  --video-bg: #050817;
  --video-text: #f7f8ff;
  --video-muted: rgba(218, 224, 255, .58);
  --video-line: rgba(102, 137, 255, .58);
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  color: var(--video-text);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(63, 60, 220, .24), transparent 37%),
    radial-gradient(ellipse at 50% 100%, rgba(27, 74, 224, .2), transparent 42%),
    var(--video-bg);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
.video-showcase-screen::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: .3;
  background-image:
    linear-gradient(rgba(106, 132, 255, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 132, 255, .065) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 84%, transparent 100%);
}
.video-showcase-screen::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 0;
  right: 0;
  top: 33%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 128, 255, .72), transparent);
  box-shadow: 0 0 28px rgba(82, 119, 255, .46);
  transform: rotate(-2deg);
}
.video-showcase-ambient { position: absolute; z-index: -2; pointer-events: none; border-radius: 50%; filter: blur(1px); }
.video-showcase-ambient-top { width: 48vw; height: 22vw; top: -10vw; left: 26%; background: radial-gradient(ellipse, rgba(59, 70, 255, .34), transparent 68%); }
.video-showcase-ambient-bottom { width: 78vw; height: 22vw; bottom: -10vw; left: 11%; background: radial-gradient(ellipse, rgba(62, 102, 255, .3), transparent 68%); }
.video-showcase-arc {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 40%;
  width: 84vw;
  height: 32vw;
  border: 1px solid rgba(107, 107, 255, .52);
  border-top-color: transparent;
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(79, 76, 255, .24), inset 0 -4px 18px rgba(100, 80, 255, .12);
  transform: translateX(-50%);
}
.video-showcase-inner { position: relative; z-index: 1; display: flex; flex-direction: column; width: min(100%, 1740px); min-height: 0; margin: 0 auto; padding: 74px 64px 46px; }
.video-showcase-header { flex: 0 0 auto; text-align: center; }
.video-showcase-kicker { margin: 0 0 15px; color: #a98dff; font-family: Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .27em; }
.video-showcase-header h2 { margin: 0; color: #f9f9ff; font-size: clamp(42px, 4vw, 70px); font-weight: 700; letter-spacing: -.07em; line-height: .96; text-shadow: 0 0 20px rgba(126, 115, 255, .16); }
.video-showcase-heading-en { display: inline-block; margin-top: 15px; color: rgba(218, 224, 255, .66); font-family: Arial, sans-serif; font-size: 11px; letter-spacing: .38em; }
.video-showcase-header i { display: block; width: 104px; height: 2px; margin: 16px auto 0; background: linear-gradient(90deg, #7547ff, #bd6cff 58%, transparent); box-shadow: 0 0 13px rgba(126, 91, 255, .92); }
.video-showcase-stage { position: relative; flex: 0 0 560px; height: 560px; min-height: 400px; margin: 28px -64px 0; perspective: 1500px; outline: none; touch-action: pan-y; }
.video-showcase-track { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.video-card { position: absolute; top: 50%; left: 50%; width: clamp(380px, 30.5vw, 530px); aspect-ratio: 16 / 9; transform-origin: center center; transform-style: preserve-3d; transition: opacity 440ms ease, transform 620ms cubic-bezier(.22, .72, .18, 1), filter 440ms ease; cursor: pointer; }
.video-card[data-video-position="center"] { z-index: 10; opacity: 1; filter: none; transform: translate(-50%, -50%) translateZ(70px) scale(1); }
.video-card[data-video-position="near-left"] { z-index: 6; opacity: .72; filter: saturate(.72) brightness(.75); transform: translate(-50%, -50%) translateX(-32.5vw) translateY(10px) rotate(3deg) scale(.95); }
.video-card[data-video-position="near-right"] { z-index: 6; opacity: .72; filter: saturate(.72) brightness(.75); transform: translate(-50%, -50%) translateX(32.5vw) translateY(10px) rotate(-3deg) scale(.95); }
.video-card[data-video-position="far-left"], .video-card[data-video-position="far-right"], .video-card[data-video-position="hidden"] { z-index: 1; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) translateX(0) scale(.78); }
.video-card-frame { position: relative; width: 100%; height: 100%; overflow: visible; border: 1px solid rgba(71, 130, 255, .95); border-radius: 13px; background: linear-gradient(145deg, rgba(12, 20, 49, .9), rgba(3, 6, 19, .96) 76%); box-shadow: inset 0 0 26px rgba(62, 92, 255, .08), 0 0 16px rgba(62, 121, 255, .62), 0 16px 42px rgba(1, 3, 20, .7); }
.video-card[data-video-position="center"] .video-card-frame { box-shadow: inset 0 0 30px rgba(73, 92, 255, .1), 0 0 18px rgba(57, 126, 255, .78), 0 0 44px rgba(80, 68, 255, .28), 0 18px 50px rgba(1, 3, 20, .74); }
.video-card-number { position: absolute; z-index: 3; top: 13px; left: 15px; color: #f4f6ff; font-family: Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.video-card-media { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: linear-gradient(145deg, rgba(22, 32, 77, .25), rgba(4, 7, 22, .7)); cursor: pointer; }
.video-card-media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, rgba(90, 102, 255, .1), transparent 42%), linear-gradient(135deg, rgba(92, 130, 255, .05), transparent 44%, rgba(154, 89, 255, .06)); pointer-events: none; }
.video-card-media::after { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 1px; background: rgba(111, 140, 255, .18); box-shadow: 0 0 16px rgba(111, 153, 255, .28); pointer-events: none; }
.video-card-media.has-custom-image { background-position: center; background-size: cover; }
.video-card-media.has-custom-image::after, .video-card-media.has-custom-image .video-media-icon, .video-card-media.has-custom-image .video-media-placeholder { opacity: 0; }
.video-media-icon { position: relative; z-index: 1; width: 32px; height: 24px; margin-bottom: 39px; border: 2px solid rgba(135, 144, 255, .54); border-radius: 4px; opacity: .9; transform: translateY(10px); }
.video-media-icon::before { content: ""; position: absolute; left: 5px; bottom: 4px; width: 17px; height: 10px; border-top: 2px solid rgba(135, 144, 255, .54); border-left: 2px solid rgba(135, 144, 255, .54); transform: skewY(-39deg) rotate(16deg); }
.video-media-icon::after { content: ""; position: absolute; top: 4px; right: 5px; width: 4px; height: 4px; border: 1px solid rgba(135, 144, 255, .54); border-radius: 50%; }
.video-media-placeholder { position: absolute; z-index: 1; top: 50%; margin-top: 28px; color: rgba(210, 218, 255, .62); font-size: 12px; letter-spacing: .09em; white-space: nowrap; transform: translateY(-50%); }
.video-card-foot { position: absolute; z-index: 3; right: 16px; bottom: 13px; left: 16px; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid rgba(141, 162, 237, .22); color: rgba(224, 230, 255, .62); font-family: Arial, sans-serif; font-size: 9px; letter-spacing: .13em; }
.video-card-foot span:first-child { color: #fff; font-size: 12px; }
.video-card:not([data-video-position="center"]) .video-card-foot { opacity: .45; }
.video-showcase-bottom { display: grid; grid-template-columns: 1fr minmax(320px, 420px) 1fr; align-items: end; gap: 30px; flex: 0 0 auto; min-height: 112px; margin-top: 8px; }
.video-showcase-caption { min-width: 0; }
.video-showcase-caption strong { display: block; font-size: clamp(28px, 2.5vw, 42px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.video-showcase-caption > span { display: block; margin-top: 11px; color: rgba(226, 231, 255, .72); font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .36em; }
.video-showcase-caption > span::before { content: ""; display: inline-block; width: 34px; height: 2px; margin: 0 11px 3px 0; background: linear-gradient(90deg, #9d4cff, #ffcf42); box-shadow: 0 0 9px rgba(163, 82, 255, .78); }
.video-showcase-caption p { margin: 16px 0 0; color: rgba(218, 224, 255, .7); font-size: 14px; line-height: 1.6; }
.video-showcase-controls { display: flex; align-items: center; justify-content: center; gap: 16px; padding-bottom: 16px; }
.video-nav { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(147, 164, 255, .74); border-radius: 50%; color: #f5f7ff; background: rgba(8, 12, 31, .5); font-family: Arial, sans-serif; font-size: 27px; font-weight: 300; line-height: 1; cursor: pointer; transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease; }
.video-nav:hover { background: rgba(64, 83, 190, .42); box-shadow: 0 0 18px rgba(83, 128, 255, .52); transform: scale(1.06); }
.video-nav:first-child::first-letter { transform: rotate(180deg); }
.video-progress { width: min(190px, 18vw); height: 2px; background: rgba(125, 150, 235, .33); }
.video-progress span { display: block; width: 16.66%; height: 100%; background: linear-gradient(90deg, #b249ff, #ffbd39); box-shadow: 0 0 8px rgba(255, 156, 71, .78); transition: width 520ms cubic-bezier(.22, .72, .18, 1); }
.video-showcase-counter { align-self: end; justify-self: end; padding-bottom: 6px; color: rgba(227, 232, 255, .78); font-family: Arial, sans-serif; font-size: 15px; letter-spacing: .08em; }
.video-showcase-counter strong { color: #f8f9ff; font-size: 34px; font-weight: 500; letter-spacing: -.04em; }
.video-showcase-counter b { color: #735dff; font-weight: 500; }
.video-upload-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: auto; }
.video-showcase-divider { position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; height: 2px; background: linear-gradient(90deg, rgba(255, 132, 62, .75), rgba(255, 255, 255, .96) 50%, rgba(255, 132, 62, .75)); box-shadow: 0 0 14px rgba(255, 150, 55, .28); }
.video-showcase-screen .is-editor-selected { outline: 1px solid rgba(125, 157, 255, .88); outline-offset: 6px; }

/* Fourth-screen interaction polish; the existing geometry stays unchanged. */
.video-card-frame { transform-style: preserve-3d; transition: transform 360ms cubic-bezier(.22,.72,.18,1), box-shadow 360ms ease, border-color 360ms ease; }
.video-card.is-hovered .video-card-frame { transform: translateZ(14px) scale(1.03); border-color: rgba(113,181,255,.98); box-shadow: 0 0 14px rgba(71,151,255,.44), inset 0 0 20px rgba(62,131,255,.1); }
.video-card.is-opening .video-card-frame { animation: video-card-lift 680ms cubic-bezier(.2,.78,.18,1) both; }
@keyframes video-card-lift { 0% { transform: translateZ(14px) scale(1.03); } 48% { transform: translateZ(56px) scale(1.055) rotateX(-5deg) rotateY(2deg); } 100% { transform: translateZ(82px) scale(1.08) rotateX(-7deg) rotateY(3deg); } }
.video-detail-page { z-index: 150; }
body.video-detail-open { overflow: hidden; }

/* Video project detail: restrained black editorial treatment based on the
   supplied reference, while keeping the showcase layout untouched. */
.video-detail-page[hidden] { display: none; }
.video-project-detail-page { position: fixed; z-index: 160; inset: 0; display: grid; place-items: center; overflow: auto; background: #050505; color: #f5f3ed; font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
.video-detail-shell {
  width: min(1540px, calc(100% - 56px), calc(177.7778vh - 302.2222px));
  width: min(1540px, calc(100% - 56px), calc(177.7778svh - 302.2222px));
  min-width: 0;
  min-height: 0;
  margin: auto;
  padding: 18px 0 22px;
}
.video-detail-back { padding: 0; border: 0; color: #b9aa8a; background: transparent; font-size: 21px; letter-spacing: .08em; cursor: pointer; }
.video-detail-back:hover { color: #f4e4bd; }
.video-detail-rule { height: 1px; margin-top: 10px; background: rgba(205, 194, 168, .25); }
.video-detail-hero { position: relative; margin-top: 12px; border: 1px solid rgba(171, 164, 150, .3); background: #000; }
.video-detail-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #020202; }
.video-detail-player video { display: block; width: 100%; height: 100%; object-fit: cover; background: #020202; cursor: pointer; }
.video-detail-video-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(220, 211, 194, .55); font-size: 13px; letter-spacing: .18em; pointer-events: none; }
.video-detail-player.has-video .video-detail-video-empty { display: none; }
.video-detail-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.08) 38%, rgba(0,0,0,.08) 52%, rgba(0,0,0,.82) 100%); transition: opacity .34s ease, visibility .34s ease; }
.video-detail-copy { position: absolute; left: 58px; bottom: 56px; z-index: 2; max-width: 500px; transition: opacity .34s ease, visibility .34s ease; }
.video-detail-player.is-playing .video-detail-overlay,
.video-detail-player.is-playing .video-detail-copy { opacity: 0; visibility: hidden; pointer-events: none; }
.video-detail-copy h1 { margin: 0; color: #f6f4ef; font-family: Arial, sans-serif; font-size: clamp(38px, 4vw, 72px); font-weight: 700; letter-spacing: -.07em; line-height: .95; }
.video-detail-copy p { margin: 12px 0 18px; color: #a64464; font-family: Arial, sans-serif; font-size: 12px; letter-spacing: .08em; }
.video-detail-play { display: inline-flex; align-items: center; gap: 12px; min-width: 140px; padding: 11px 15px; border: 1px solid #a61c4b; border-radius: 5px; color: #f5f1ea; background: rgba(18, 7, 12, .45); cursor: pointer; }
.video-detail-play span { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #eee7da; border-radius: 50%; font-size: 10px; }
.video-detail-play:hover { border-color: #e16a92; background: rgba(93, 14, 43, .3); }
.video-detail-upload { position: absolute; z-index: 3; top: 18px; right: 20px; padding: 8px 12px; border: 1px solid rgba(214, 199, 170, .42); color: rgba(237, 224, 198, .85); background: rgba(0,0,0,.45); font-size: 11px; letter-spacing: .08em; cursor: pointer; }
.video-detail-upload:hover { border-color: #e4c987; color: #fff4d6; }
.video-detail-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.video-detail-meta { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(171, 164, 150, .3); border-top: 0; }
.video-detail-meta > div { min-height: 68px; padding: 14px 20px; border-right: 1px solid rgba(171, 164, 150, .25); }
.video-detail-meta > div:last-child { border-right: 0; }
.video-detail-meta strong, .video-detail-meta span { display: block; }
.video-detail-meta strong { color: #f6f4ef; font-family: Arial, sans-serif; font-size: 15px; }
.video-detail-meta span { margin-top: 7px; color: #a64464; font-size: 10px; letter-spacing: .12em; }
@media (max-width: 700px) {
  .video-detail-shell { width: min(calc(100% - 28px), calc((100svh - 140px) * 16 / 9)); padding: 12px 0 14px; }
  .video-detail-back { font-size: 16px; }
  .video-detail-rule { margin-top: 7px; }
  .video-detail-hero { margin-top: 8px; }
  .video-detail-copy { left: 22px; bottom: 20px; }
  .video-detail-copy h1 { font-size: clamp(27px, 6vw, 34px); }
  .video-detail-copy p { font-size: 9px; }
  .video-detail-upload { top: 12px; right: 12px; }
  .video-detail-meta > div { min-height: 58px; padding: 11px 10px; }
}

@media (max-height: 620px) and (min-width: 601px) {
  .video-detail-shell { width: min(1540px, calc(100% - 36px), calc((100svh - 118px) * 16 / 9)); padding: 10px 0 12px; }
  .video-detail-back { font-size: 15px; }
  .video-detail-rule { margin-top: 6px; }
  .video-detail-hero { margin-top: 7px; }
  .video-detail-copy { left: 26px; bottom: 18px; }
  .video-detail-copy h1 { font-size: clamp(28px, 7vh, 48px); }
  .video-detail-copy p { margin: 7px 0 10px; font-size: 10px; }
  .video-detail-play { min-width: 126px; padding: 8px 12px; }
  .video-detail-meta > div { min-height: 52px; padding: 9px 14px; }
  .video-detail-meta span { margin-top: 4px; }
}
#designStage .video-card.is-hovered .video-card-frame {
  transform: translateZ(14px) scale(1.03);
  border-color: rgba(113,181,255,.98);
  outline: 1px solid rgba(113,181,255,.84);
  box-shadow: 0 0 14px rgba(71,151,255,.44), inset 0 0 20px rgba(62,131,255,.1);
}
#designStage .video-card.is-opening .video-card-frame { animation: video-card-lift 680ms cubic-bezier(.2,.78,.18,1) both; }

@media (max-width: 820px) {
  .video-showcase-inner { padding: 40px 20px 24px; }
  .video-showcase-heading-en { font-size: 9px; letter-spacing: .28em; }
  .video-showcase-stage { flex-basis: 460px; height: 460px; min-height: 350px; margin: 18px -20px 0; }
  .video-card { width: min(78vw, 470px); }
  .video-card[data-video-position="near-left"] { transform: translate(-50%, -50%) translateX(-69vw) translateY(14px) rotate(3deg) scale(.9); }
  .video-card[data-video-position="near-right"] { transform: translate(-50%, -50%) translateX(69vw) translateY(14px) rotate(-3deg) scale(.9); }
  .video-showcase-bottom { grid-template-columns: 1fr auto; gap: 18px; min-height: 128px; }
  .video-showcase-controls { grid-column: 1 / -1; grid-row: 2; padding-bottom: 0; }
  .video-showcase-counter { grid-column: 2; grid-row: 1; }
  .video-showcase-caption p { font-size: 12px; }
  .video-progress { width: min(190px, 28vw); }
}
@media (max-width: 560px) {
  .video-showcase-inner { padding: 34px 14px 20px; }
  .video-showcase-kicker { margin-bottom: 12px; font-size: 9px; }
  .video-showcase-header h2 { font-size: 39px; }
  .video-showcase-heading-en { margin-top: 11px; font-size: 8px; letter-spacing: .22em; }
  .video-showcase-header i { width: 72px; margin-top: 12px; }
  .video-showcase-stage { flex-basis: 350px; height: 350px; min-height: 285px; margin: 15px -14px 0; }
  .video-card { width: min(82vw, 420px); }
  .video-card[data-video-position="near-left"] { transform: translate(-50%, -50%) translateX(-74vw) translateY(18px) rotate(4deg) scale(.86); }
  .video-card[data-video-position="near-right"] { transform: translate(-50%, -50%) translateX(74vw) translateY(18px) rotate(-4deg) scale(.86); }
  .video-card-number { top: 10px; left: 11px; }
  .video-card-foot { right: 11px; bottom: 10px; left: 11px; font-size: 7px; }
  .video-showcase-bottom { min-height: 126px; margin-top: 3px; }
  .video-showcase-caption strong { font-size: 27px; }
  .video-showcase-caption > span { margin-top: 8px; font-size: 8px; letter-spacing: .23em; }
  .video-showcase-caption p { margin-top: 12px; font-size: 11px; }
  .video-showcase-counter strong { font-size: 28px; }
  .video-nav { width: 42px; height: 42px; font-size: 23px; }
  .video-showcase-controls { gap: 10px; }
}

/* Final coverflow guardrails: keep later legacy rules from overriding the locked 3D geometry. */
#projects .project-card .project-card-frame { transform: none; }
#projects .project-card[data-coverflow-position="center"] {
  width: clamp(390px, 26vw, 500px);
  aspect-ratio: .82;
  transform: translate(-50%, -50%) translateZ(80px) scale(1);
}
#projects .projects-footer { margin-top: 60px; }

/* Locked reference correction: geometry, coverflow perspective and background arc only. */
.projects-screen::after {
  left: 50%;
  right: auto;
  top: -26vh;
  width: 160vw;
  height: 55vh;
  border: 0;
  border-bottom: 1px solid rgba(103, 110, 255, .18);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 5px 22px rgba(55, 76, 255, .06);
  transform: translateX(-50%);
}

.projects-stage {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 92vw;
  max-width: 1760px;
  margin-right: auto;
  margin-left: auto;
  perspective: 1600px;
  transform-style: preserve-3d;
}
.projects-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform-style: preserve-3d;
}
.projects-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.project-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(242px, 16.12vw, 310px);
  height: auto;
  aspect-ratio: .70;
  margin: 0;
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: opacity 420ms ease, transform 620ms cubic-bezier(.22, .72, .18, 1), filter 420ms ease;
}
.projects-stage .project-card .project-card-frame {
  width: 100%;
  height: 100%;
  transform: none;
}
.project-card[data-coverflow-position="center"] {
  z-index: 10;
  width: clamp(390px, 26vw, 500px);
  aspect-ratio: .82;
  transform: translate(-50%, -50%) translateZ(80px) scale(1);
}
.project-card[data-coverflow-position="near-left"] {
  z-index: 7;
  height: clamp(390px, 46vh, 500px);
  aspect-ratio: auto;
  transform: translate(-50%, -50%) translateX(-126%) translateY(60px) rotateY(10deg) scale(.94);
}
.project-card[data-coverflow-position="far-left"] {
  z-index: 5;
  height: clamp(420px, 50vh, 540px);
  aspect-ratio: auto;
  transform: translate(-50%, -50%) translateX(-220%) translateY(55px) rotateY(13deg) scale(.88);
}
.project-card[data-coverflow-position="near-right"] {
  z-index: 7;
  height: clamp(390px, 46vh, 500px);
  aspect-ratio: auto;
  transform: translate(-50%, -50%) translateX(126%) translateY(60px) rotateY(-10deg) scale(.94);
}
.project-card[data-coverflow-position="far-right"] {
  z-index: 5;
  height: clamp(420px, 50vh, 540px);
  aspect-ratio: auto;
  transform: translate(-50%, -50%) translateX(220%) translateY(55px) rotateY(-13deg) scale(.88);
}
.project-card[data-coverflow-position="hidden-left"] {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateX(-250%) rotateY(18deg) scale(.8);
}
.project-card[data-coverflow-position="hidden-right"] {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateX(250%) rotateY(-18deg) scale(.8);
}
.project-nav-prev { left: calc(50% - 47vw); }
.project-nav-next { right: calc(50% - 47vw); }

@media (max-width: 820px) {
  .projects-stage { width: 100vw; }
  .project-card { width: min(48vw, 242px); }
  .project-card[data-coverflow-position="center"] { width: min(78vw, 390px); }
  .project-card[data-coverflow-position="near-left"] { transform: translate(-50%, -50%) translateX(-74%) rotateY(10deg) scale(.9); }
  .project-card[data-coverflow-position="far-left"] { transform: translate(-50%, -50%) translateX(-142%) rotateY(13deg) scale(.82); }
  .project-card[data-coverflow-position="near-right"] { transform: translate(-50%, -50%) translateX(74%) rotateY(-10deg) scale(.9); }
  .project-card[data-coverflow-position="far-right"] { transform: translate(-50%, -50%) translateX(142%) rotateY(-13deg) scale(.82); }
  .project-nav-prev { left: 12px; }
  .project-nav-next { right: 12px; }
}
@media (max-width: 560px) {
  .projects-heading h2 { font-size: 39px; }
  .projects-heading-en { font-size: 8px; letter-spacing: .32em; }
  .projects-stage { height: 62svh; min-height: 355px; margin-top: 22px; }
  .projects-viewport { width: calc(100% - 54px); }
  .project-card { flex-basis: calc(100vw - 96px); height: min(63svh, 460px); min-height: 340px; }
  .project-card-frame { padding: 15px; }
  .project-card-topline { top: 15px; left: 15px; min-width: 160px; padding: 8px 12px 7px; }
  .project-card-topline > span:first-child { font-size: 20px; }
  .project-card-topline strong { font-size: 14px; }
  .project-card-media { margin-top: 70px; }
  .project-enter { height: 58px; }
}

/* Desktop composition tuning: the five-card spread follows the reference image at wide sizes. */
@media (min-width: 821px) {
  .project-card { flex-basis: clamp(232px, 18.3vw, 306px); transform: scaleY(.82); }
  .project-card.is-active { flex-basis: clamp(350px, 25.7vw, 430px); transform: scaleY(1); }
  .project-card:nth-child(1) .project-card-frame { transform: rotate(-3.5deg) translateY(10px); }
  .project-card:nth-child(2) .project-card-frame { transform: rotate(-2deg) translateY(4px); }
  .project-card:nth-child(4) .project-card-frame { transform: rotate(2deg) translateY(4px); }
  .project-card:nth-child(5) .project-card-frame { transform: rotate(3.5deg) translateY(10px); }
  .project-card.is-active .project-card-frame { transform: none; }
}
.project-card-media { border-color: transparent; background: transparent; }
.project-card-media.has-custom-image { background-size: cover; background-position: center; }
.projects-footer-note { display: none; }

#projects .project-enter-label {
  display: inline;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

body.editor-enabled #projects .project-card-media {
  cursor: pointer;
  border-color: rgba(126, 155, 255, .62);
  box-shadow: inset 0 0 18px rgba(76, 119, 255, .12), 0 0 9px rgba(75, 121, 255, .2);
}

#projects .experience-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#projects .project-card-media.has-custom-image .experience-image {
  display: block;
}

body.editor-enabled #projects .project-card.is-selected {
  outline: 1px solid rgba(126, 155, 255, .74);
  outline-offset: 6px;
}

/* Reuse the existing galaxy atmosphere on screen three. */
#projects.projects-screen {
  position: relative;
  isolation: isolate;
}

#projects .projects-galaxy {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
  opacity: .28;
  filter: blur(.8px);
  mix-blend-mode: screen;
}

#projects .projects-galaxy canvas {
  display: block;
  width: 100%;
  height: 100%;
}

#projects .projects-inner {
  position: relative;
  z-index: 1;
}

#projects .projects-divider {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: rgba(255,255,255,.18);
}

#projects .projects-divider span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,125,0,.85), rgba(255,255,255,.96) 50%, rgba(255,125,0,.85));
  box-shadow: 0 0 14px rgba(255,150,55,.28);
}

@media (min-width: 821px) and (max-width: 1400px) {
  .project-card { flex-basis: clamp(185px, 15vw, 215px); }
  .project-card.is-active { flex-basis: clamp(300px, 23vw, 345px); }
}

/* FINAL full-card image override: artwork fills the card behind its existing UI. */
#projects .project-card-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#projects .project-card-media {
  position: absolute;
  inset: 1px;
  z-index: 0;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

#projects .project-card-media::before {
  display: block;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 6, 18, .42) 0%, transparent 34%, transparent 58%, rgba(3, 6, 18, .68) 100%);
  pointer-events: none;
}

#projects .project-card-media::after {
  display: none;
}

#projects .project-card-media .project-media-placeholder {
  display: none;
}

#projects .project-card-media .experience-image {
  z-index: 0;
  object-fit: cover;
  object-position: 50% 50%;
  background: rgba(3, 6, 18, .82);
}

#projects .project-card-topline,
#projects .project-card-info {
  z-index: 3;
}

#projects .project-card-info {
  position: relative;
}

body.editor-enabled #projects .project-card-media .experience-image {
  cursor: grab;
}

body.editor-enabled #projects .project-card-media .experience-image:active {
  cursor: grabbing;
}

/* LOCKED FOURTH-SCREEN VISUAL: 1920x1080 canvas, fixed pixel composition. */
.video-showcase-screen {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 0;
  overflow: visible;
  background: #050711;
}
.video-showcase-screen::before,
.video-showcase-screen::after { display: none; }
.video-page-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#designStage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transform-origin: center center;
  background:
    radial-gradient(ellipse 920px 360px at 50% 34%, rgba(65, 22, 160, .22), transparent 72%),
    radial-gradient(ellipse 1180px 420px at 50% 88%, rgba(31, 55, 198, .26), transparent 72%),
    #080b1c;
}
/* Manual trace mode. It is off by default and never affects the finished page.
   Add .reference-overlay-enabled to #designStage only while comparing at 1920×1080. */
#designStage .video-reference-overlay {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  display: none;
  width: 1920px;
  height: 1080px;
  pointer-events: none;
  opacity: .3;
  background: url("video-reference.png") 0 0 / 100% 100% no-repeat;
}
#designStage.reference-overlay-enabled .video-reference-overlay { display: block; }
#designStage::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(106, 132, 255, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 132, 255, .075) 1px, transparent 1px);
  background-size: 58px 58px;
}
#designStage::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: -20px;
  top: 362px;
  width: 1960px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100, 126, 255, .48) 18%, rgba(100, 126, 255, .62) 50%, rgba(100, 126, 255, .48) 82%, transparent);
  box-shadow: 0 0 16px rgba(79, 111, 255, .3);
  transform: none;
}
#designStage .video-showcase-ambient { position: absolute; z-index: -2; pointer-events: none; border-radius: 50%; filter: none; }
#designStage .video-showcase-ambient-top { width: 920px; height: 320px; top: 170px; left: 500px; background: radial-gradient(ellipse, rgba(61, 61, 231, .18), transparent 70%); }
#designStage .video-showcase-ambient-bottom { width: 1240px; height: 260px; bottom: -50px; left: 340px; background: radial-gradient(ellipse, rgba(44, 91, 224, .17), transparent 70%); }
#designStage .video-showcase-arc {
  position: absolute;
  z-index: -1;
  left: 235px;
  top: 400px;
  width: 1450px;
  height: 370px;
  border: 1px solid rgba(112, 100, 255, .58);
  border-top-color: transparent;
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(75, 73, 230, .2);
  transform: none;
}
#designStage .video-showcase-header {
  z-index: 3;
  position: absolute;
  left: 0;
  top: 87px;
  width: 100%;
  height: 96px;
  text-align: center;
}
#designStage .video-showcase-kicker,
#designStage .video-showcase-heading-en { display: none; }
#designStage .video-showcase-header h2 {
  margin: 0;
  color: #f9f9ff;
  font-size: 62px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  text-shadow: none;
  transform: translate(-7.5px, 1px);
}
#designStage .video-showcase-header i {
  position: absolute;
  left: calc(50% - 7.5px);
  display: block;
  width: 112px;
  height: 2px;
  margin: 19px 0 0;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #8c48ff 0%, #e449cf 56%, #ff8b31 100%);
  box-shadow: 0 0 12px rgba(179, 80, 255, .7);
}
#designStage .video-showcase-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  min-height: 0;
  margin: 0;
  perspective: none;
  transform: none;
}
#designStage .video-showcase-track {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  transform: none;
}
#designStage .video-card {
  position: absolute;
  z-index: 2;
  top: 331px;
  left: 662px;
  width: 580px;
  height: 357px;
  aspect-ratio: auto;
  margin: 0;
  opacity: 1;
  filter: none;
  transform-origin: center center;
  transition: opacity 520ms cubic-bezier(.22, 1, .36, 1);
}
#designStage .card-slot-left {
  left: 60px;
  top: 327px;
  width: 565px;
  height: 360px;
  transform: none;
}
#designStage .card-slot-center {
  left: 662px;
  top: 331px;
  width: 580px;
  height: 357px;
  transform: none;
}
#designStage .card-slot-right {
  left: 1285px;
  top: 327px;
  width: 566px;
  height: 360px;
  transform: none;
}
#designStage .video-card[data-video-position="near-left"],
#designStage .video-card[data-video-position="center"],
#designStage .video-card[data-video-position="near-right"] { opacity: 1; filter: none; }
#designStage .video-card[data-video-position="near-left"]:hover,
#designStage .video-card[data-video-position="near-right"]:hover,
#designStage .video-card[data-video-position="near-left"]:focus-within,
#designStage .video-card[data-video-position="near-right"]:focus-within {
  filter: brightness(1.12) saturate(.92);
}
#designStage .video-card-frame {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(72, 133, 255, .92);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(12, 20, 49, .9), rgba(3, 6, 19, .96) 76%);
  box-shadow: inset 0 0 22px rgba(61, 91, 210, .08), 0 0 9px rgba(48, 112, 239, .38);
}
#designStage .video-card[data-video-position="center"] .video-card-frame { box-shadow: inset 0 0 22px rgba(61, 91, 210, .1), 0 0 10px rgba(49, 118, 243, .48); }
/* The two side cards are fixed trapezoid slots traced from the reference:
   30px fall on the top edge, 23px rise on the bottom edge. */
#designStage .card-slot-left .video-card-frame {
  clip-path: polygon(0 0, 100% 8.3%, 100% 93.5%, 0 100%);
}
#designStage .card-slot-right .video-card-frame {
  clip-path: polygon(0 8.3%, 100% 0, 100% 100%, 0 93.5%);
}
#designStage .video-card-number {
  position: absolute;
  z-index: 5;
  top: 17px;
  left: 22px;
  color: rgba(244, 246, 255, .95);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
}
#designStage .card-slot-left .video-card-number { left: 23px; }
#designStage .card-slot-right .video-card-number {
  top: 43px;
  left: 18px;
}
#designStage .video-card:focus-visible { outline: 2px solid rgba(174, 190, 255, .92); outline-offset: 7px; }
#designStage .video-card-media {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 13px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
#designStage .video-card-upload-input {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  /* The card surface is the navigation target in viewing mode.  The editor
     still exposes the dedicated upload control, so this invisible field must
     not swallow normal card clicks. */
  pointer-events: none;
}
/* In editor mode the card itself must remain selectable so the right dock's
   upload button can use the same workflow as screen three. */
body.editor-enabled #designStage .video-card-upload-input {
  pointer-events: none;
}
#designStage .video-card-media::before,
#designStage .video-card-media::after { display: none; }
#designStage .video-media-icon {
  position: absolute;
  z-index: 2;
  top: calc(50% - 39px);
  left: 50%;
  width: 40px;
  height: 38px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(129, 132, 194, .62);
  opacity: 1;
  transform: translateX(-50%);
}
#designStage .video-media-icon::before,
#designStage .video-media-icon::after {
  content: none;
  display: none;
}
#designStage .video-media-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#designStage .video-media-placeholder {
  top: calc(50% + 18px);
  left: 50%;
  margin: 0;
  color: rgba(225, 227, 241, .78);
  font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  transform: translateX(-50%);
}
#designStage .video-card-media.has-custom-image { background-position: center; background-size: cover; }
#designStage .video-card-media.has-custom-image .video-media-icon,
#designStage .video-card-media.has-custom-image .video-media-placeholder { display: none; }
#designStage .video-card-foot { display: none; }
#designStage .video-showcase-bottom {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  min-height: 0;
  margin: 0;
  display: block;
  pointer-events: none;
}
#designStage .video-showcase-caption {
  pointer-events: auto;
  position: absolute;
  left: 80px;
  bottom: 106px;
  width: 500px;
  min-width: 0;
}
#designStage .video-showcase-caption strong { display: block; font-size: 68px; font-weight: 700; letter-spacing: 0; line-height: .98; }
#designStage .video-showcase-caption > span { display: block; margin-top: 17px; color: rgba(226, 231, 255, .74); font-family: Arial, sans-serif; font-size: 12px; letter-spacing: .38em; }
#designStage .video-showcase-caption > span::before { width: 32px; height: 2px; margin: 0 12px 3px 0; background: linear-gradient(90deg, #9c4cff, #ffcd42); box-shadow: 0 0 7px rgba(163, 82, 255, .6); }
#designStage .video-showcase-caption p { margin: 18px 0 0; color: rgba(218, 224, 255, .78); font-size: 17px; line-height: 1.4; }
#designStage .video-showcase-controls {
  position: absolute;
  left: 772px;
  bottom: 100px;
  width: 362px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0;
  pointer-events: auto;
}
#designStage .video-nav { width: 54px; height: 54px; border: 1px solid rgba(145, 164, 255, .76); color: #f5f7ff; background: rgba(8, 12, 31, .5); font-size: 28px; }
#designStage .video-progress { width: 214px; height: 2px; background: rgba(125, 150, 235, .35); }
#designStage .video-progress span { width: 16.666%; background: linear-gradient(90deg, #b249ff, #ffbd39); }
#designStage .video-showcase-counter { position: absolute; right: 80px; bottom: 110px; align-self: auto; justify-self: auto; padding: 0; color: rgba(227, 232, 255, .82); font-size: 15px; }
#designStage .video-showcase-counter { pointer-events: auto; }
#designStage .video-showcase-counter strong { font-size: 48px; font-weight: 500; }
#designStage .video-showcase-counter b { color: #735dff; font-weight: 500; }
.video-showcase-divider { display: none; }
#designStage .video-card-image {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  background: #080c1e;
}
#designStage .video-card-media.has-custom-image .video-card-image { display: block; }
#designStage .video-card-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; z-index: 1; }



@keyframes video-slot-refresh {
  0% { opacity: .45; }
  100% { opacity: 1; }
}
#designStage .video-card.is-slot-updating .video-card-frame { animation: video-slot-refresh 520ms ease both; }

/* Trace overlay control */
.editor-reference-toggle[aria-pressed="true"] {
  color: #f8f9ff;
  border-color: rgba(190, 125, 255, .95);
  background: rgba(91, 54, 172, .32);
  box-shadow: 0 0 16px rgba(139, 83, 255, .28);
}







/* Full-bleed showcase background, matching the projects screen treatment */
.video-showcase-screen {
  background:
    radial-gradient(ellipse 920px 360px at 50% 34%, rgba(65, 22, 160, .22), transparent 72%),
    radial-gradient(ellipse 1180px 420px at 50% 88%, rgba(31, 55, 198, .26), transparent 72%),
    #080b1c;
}
.video-showcase-screen::before {
  display: block;
  z-index: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(106, 132, 255, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 132, 255, .075) 1px, transparent 1px);
  background-size: 58px 58px;
}
.video-showcase-screen::after {
  display: block;
  z-index: 0;
  pointer-events: none;
  top: 33.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100, 126, 255, .58) 18%, rgba(100, 126, 255, .72) 50%, rgba(100, 126, 255, .58) 82%, transparent);
  box-shadow: 0 0 16px rgba(79, 111, 255, .32);
}
.video-page-shell { z-index: 1; }
#designStage { background: transparent; }


#designStage .card-slot-left .video-media-icon,
#designStage .card-slot-left .video-media-placeholder {
  left: calc(50% + 11px);
}
#designStage .card-slot-right .video-media-icon,
#designStage .card-slot-right .video-media-placeholder {
  left: calc(50% - 13px);
}


#designStage .card-slot-left .video-media-icon,
#designStage .card-slot-right .video-media-icon {
  top: calc(50% - 36px);
}
#designStage .card-slot-left .video-media-placeholder,
#designStage .card-slot-right .video-media-placeholder {
  top: calc(50% + 21px);
}




/* Reference luminance pass: preserve geometry, restore the visible grid/guide lines */
.video-showcase-screen {
  background:
    radial-gradient(ellipse 920px 360px at 50% 34%, rgba(70, 28, 176, .30), transparent 72%),
    radial-gradient(ellipse 1180px 420px at 50% 88%, rgba(38, 74, 220, .38), transparent 72%),
    #080b1c;
}
.video-showcase-screen::before { opacity: .42; }
.video-showcase-screen::after {
  background: linear-gradient(90deg, transparent, rgba(108, 137, 255, .68) 18%, rgba(108, 137, 255, .82) 50%, rgba(108, 137, 255, .68) 82%, transparent);
}
#designStage .video-card-frame {
  border-color: rgba(78, 139, 255, .98);
  background: linear-gradient(145deg, rgba(17, 25, 60, .93), rgba(5, 9, 27, .98) 76%);
}
#designStage .video-showcase-arc {
  border-color: rgba(117, 105, 255, .68);
  border-top-color: transparent;
}

/* Keep the traced side-card outlines visible.  A clipped CSS border is
   rasterized inconsistently on diagonal edges, so the frame is the blue
   outline and the media surface is inset by exactly one design pixel. */
#designStage .video-card-frame {
  border: 0;
  background: rgba(78, 139, 255, .98);
}
#designStage .video-card-media {
  inset: 1px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(17, 25, 60, .93), rgba(5, 9, 27, .98) 76%);
}
#designStage .video-card-media.has-custom-image {
  background-color: #070b20;
}
#designStage .card-slot-left .video-card-media {
  clip-path: polygon(0 0, 100% 8.3%, 100% 93.5%, 0 100%);
}
#designStage .card-slot-right .video-card-media {
  clip-path: polygon(0 8.3%, 100% 0, 100% 100%, 0 93.5%);
}



/* Final reference offsets measured from the supplied 1905×1079 frame */
#designStage .video-showcase-caption { left: 78px; bottom: 110px; }
#designStage .video-showcase-counter { right: 99px; bottom: 119px; }

/* Keep the same orange-white section-ending line as the About and Projects screens. */
.video-showcase-divider {
  display: block;
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,125,0,.85), rgba(255,255,255,.96) 50%, rgba(255,125,0,.85));
  box-shadow: 0 0 14px rgba(255,150,55,.28);
}

/* Fourth screen background: match the near-black, sparse-star treatment from screen two. */
.video-showcase-screen {
  background: #05070b;
}
.video-showcase-screen::before {
  opacity: 0;
}
.video-showcase-screen::after {
  opacity: .24;
}
.video-showcase-screen .video-showcase-ambient {
  opacity: .06;
}

/* Empty video slots stay visually silent, like the project cards on screen three. */
#designStage .video-card-media:not(.has-custom-image) .video-media-icon,
#designStage .video-card-media:not(.has-custom-image) .video-media-placeholder {
  display: none;
}


/* Ensure native card upload controls remain above all visual layers in normal mode. */
#designStage .video-card-upload-input { pointer-events: none; }
body.editor-enabled #designStage .video-card-upload-input { pointer-events: none; }

/* Fifth screen: VIBECODING workflow.  It keeps the fourth screen's dark galaxy field,
   technical grid and orange-white ending rule while changing the content rhythm. */
.workflow-screen {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  color: #f5f7ff;
  background: #05070b;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
.workflow-galaxy { position: absolute; z-index: -4; inset: 0; overflow: hidden; pointer-events: none; opacity: .28; filter: blur(.8px); mix-blend-mode: screen; }
.workflow-galaxy canvas { display: block; width: 100%; height: 100%; }
.workflow-screen::before {
  content: ""; position: absolute; z-index: -3; inset: 0; pointer-events: none; opacity: .42;
  background-image: linear-gradient(rgba(106,132,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(106,132,255,.075) 1px, transparent 1px);
  background-size: 58px 58px; mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 87%, transparent);
}
.workflow-screen::after { content: ""; position: absolute; z-index: -2; top: 33.5%; left: 0; width: 100%; height: 1px; opacity: .3; background: linear-gradient(90deg, transparent, rgba(108,137,255,.8) 18%, rgba(108,137,255,.86) 50%, rgba(108,137,255,.8) 82%, transparent); box-shadow: 0 0 16px rgba(79,111,255,.4); }
.workflow-grid { position: absolute; z-index: -2; top: 13%; right: 8%; bottom: 12%; left: 8%; border-inline: 1px solid rgba(96,128,255,.13); pointer-events: none; }
.workflow-grid::before, .workflow-grid::after { content: "+"; position: absolute; color: rgba(74,130,255,.62); font: 34px/1 Arial, sans-serif; }
.workflow-grid::before { top: -15px; left: -11px; }.workflow-grid::after { right: -11px; bottom: -16px; }
.workflow-orbit { position: absolute; z-index: -3; left: 50%; border: 1px solid rgba(98,103,255,.35); border-radius: 50%; pointer-events: none; transform: translateX(-50%); }
.workflow-orbit-one { top: 18%; width: min(86vw, 1550px); height: min(60vw, 820px); box-shadow: inset 0 -14px 36px rgba(57,76,255,.12), 0 20px 42px rgba(37,65,255,.12); }
.workflow-orbit-two { top: 26%; width: min(65vw, 1160px); height: min(43vw, 580px); border-color: rgba(112,83,255,.2); }
.workflow-shell { position: relative; z-index: 1; width: min(100% - 128px, 1660px); min-height: 100vh; margin: 0 auto; padding: clamp(64px, 8vh, 116px) 0 clamp(58px, 7vh, 96px); }
.workflow-header { text-align: center; }
.workflow-header p { margin: 0 0 17px; color: rgba(177,191,255,.65); font: 700 10px/1 Arial, sans-serif; letter-spacing: .31em; }
.workflow-header h2 { margin: 0; font-size: clamp(44px, 4.25vw, 78px); font-weight: 700; letter-spacing: -.065em; line-height: 1; text-shadow: 0 0 24px rgba(110,107,255,.16); }
.workflow-header i { display: block; width: 112px; height: 2px; margin: 19px auto 0; background: linear-gradient(90deg, #8c48ff 0%, #e449cf 56%, #ff8b31 100%); box-shadow: 0 0 12px rgba(179,80,255,.7); }
.workflow-cards { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: clamp(36px, 5.5vw, 116px); margin-top: clamp(84px, 13vh, 160px); }
.workflow-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(71,139,255,.96); border-radius: 20px; background: linear-gradient(145deg, rgba(13,22,55,.88), rgba(4,7,21,.94) 76%); box-shadow: inset 0 0 30px rgba(75,106,255,.07), 0 0 17px rgba(52,124,255,.55), 0 17px 42px rgba(0,3,19,.7); transition: transform 420ms cubic-bezier(.2,.75,.2,1), box-shadow 420ms ease, border-color 300ms ease; }
.workflow-card.is-featured { transform: translateY(44px); box-shadow: inset 0 0 34px rgba(85,104,255,.1), 0 0 22px rgba(57,126,255,.82), 0 0 54px rgba(80,68,255,.25), 0 22px 55px rgba(0,3,19,.72); }
.workflow-card.is-expanded { border-color: rgba(185,196,255,1); box-shadow: inset 0 0 38px rgba(113,137,255,.17), 0 0 34px rgba(91,145,255,.92), 0 22px 62px rgba(0,3,19,.78); }
.workflow-card:hover, .workflow-card:focus-within { transform: translateY(-8px) scale(1.025); border-color: rgba(140,171,255,1); box-shadow: inset 0 0 36px rgba(83,119,255,.12), 0 0 30px rgba(71,132,255,.88), 0 22px 58px rgba(0,3,19,.78); outline: none; }
.workflow-card.is-featured:hover, .workflow-card.is-featured:focus-within { transform: translateY(28px) scale(1.025); }
.workflow-card.is-opening { animation: workflow-card-lift 640ms cubic-bezier(.2,.78,.18,1) both; pointer-events: none; }
.workflow-card.is-featured.is-opening { animation-name: workflow-card-lift-featured; }
@keyframes workflow-card-lift { 0% { transform: translateY(0) scale(1); box-shadow: inset 0 0 30px rgba(75,106,255,.07), 0 0 17px rgba(52,124,255,.55), 0 17px 42px rgba(0,3,19,.7); } 42% { transform: translateY(-18px) rotateX(-22deg) rotateY(7deg) scale(1.045); box-shadow: inset 0 0 38px rgba(116,151,255,.2), 0 0 32px rgba(106,161,255,.96), 0 30px 72px rgba(0,3,19,.9); } 100% { transform: translateY(-8px) rotateX(-72deg) rotateY(10deg) scale(.9); box-shadow: 0 0 46px rgba(118,155,255,.7); opacity: .3; } }
@keyframes workflow-card-lift-featured { 0% { transform: translateY(44px) scale(1); box-shadow: inset 0 0 34px rgba(85,104,255,.1), 0 0 22px rgba(57,126,255,.82), 0 0 54px rgba(80,68,255,.25), 0 22px 55px rgba(0,3,19,.72); } 42% { transform: translateY(25px) rotateX(-22deg) rotateY(7deg) scale(1.045); box-shadow: inset 0 0 38px rgba(116,151,255,.2), 0 0 32px rgba(106,161,255,.96), 0 30px 72px rgba(0,3,19,.9); } 100% { transform: translateY(-8px) rotateX(-72deg) rotateY(10deg) scale(.9); box-shadow: 0 0 46px rgba(118,155,255,.7); opacity: .3; } }
.workflow-media { position: relative; display: grid; width: calc(100% - 32px); aspect-ratio: 1.16 / 1; margin: 16px; place-items: center; overflow: hidden; border: 1px dashed rgba(59,144,255,.82); background: rgba(2,6,19,.42); cursor: pointer; }
.workflow-media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 44%, rgba(83,111,255,.12), transparent 38%), linear-gradient(135deg, rgba(81,149,255,.05), transparent 48%, rgba(160,71,255,.08)); }
.workflow-number { position: absolute; z-index: 2; top: 20px; left: 22px; color: #eef1ff; font: 400 clamp(30px, 2.2vw, 46px)/1 Georgia, serif; letter-spacing: .02em; }
.workflow-upload-mark { position: relative; z-index: 1; margin-top: -25px; color: rgba(102,140,255,.92); font: 300 38px/1 Arial, sans-serif; }
.workflow-placeholder { position: absolute; z-index: 1; top: calc(50% + 28px); color: rgba(194,207,255,.68); font-size: 14px; letter-spacing: .06em; }
.workflow-media .experience-image { position: absolute; inset: 0; z-index: 1; display: none; width: 100%; height: 100%; object-fit: cover; }
.workflow-media.has-custom-image .experience-image { display: block; }.workflow-media.has-custom-image .workflow-upload-mark, .workflow-media.has-custom-image .workflow-placeholder { display: none; }
.workflow-card footer { display: flex; min-height: 104px; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 22px 16px 26px; border-top: 1px solid rgba(62,132,255,.8); }
.workflow-card footer strong { display: block; color: #f8f9ff; font: 500 clamp(18px, 1.45vw, 28px)/1 Arial, sans-serif; letter-spacing: .22em; }.workflow-card footer span { display: block; margin-top: 10px; color: rgba(194,206,255,.68); font-size: 13px; letter-spacing: .08em; }
.workflow-enter { display: grid; width: 50px; height: 50px; flex: 0 0 50px; place-items: center; border: 1px solid rgba(73,142,255,.98); border-radius: 50%; color: #f5f7ff; background: rgba(7,14,35,.6); font: 300 30px/1 Arial, sans-serif; cursor: pointer; transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease; }.workflow-enter:hover { background: rgba(56,82,203,.5); box-shadow: 0 0 18px rgba(83,128,255,.7); transform: translateX(4px); }
.workflow-divider { position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; height: 2px; pointer-events: none; background: linear-gradient(90deg, rgba(255,125,0,.85), rgba(255,255,255,.96) 50%, rgba(255,125,0,.85)); box-shadow: 0 0 14px rgba(255,150,55,.28); }
.workflow-detail-content { display: grid; min-height: 380px; margin-top: 72px; place-items: center; border: 1px solid rgba(82,137,255,.7); border-radius: 18px; color: rgba(208,218,255,.65); background: linear-gradient(145deg, rgba(14,24,59,.56), rgba(3,7,21,.76)); box-shadow: inset 0 0 36px rgba(74,104,255,.08), 0 0 22px rgba(57,126,255,.24); font: 11px/1 Arial, sans-serif; letter-spacing: .24em; }
.workflow-detail-shell { position: relative; z-index: 1; }.workflow-detail-page .workflow-divider { position: fixed; }
body.workflow-detail-open { overflow: hidden; }

/* CULTURE card detail: reference-led warm black project page. */
.workflow-detail-page.is-culture-detail { overflow: auto; background: #0b0a09; color: #f2ede5; }
.workflow-detail-page.is-culture-detail::before { opacity: 1; background: radial-gradient(ellipse 36% 44% at 87% 7%, rgba(154,112,68,.17), transparent 65%), radial-gradient(ellipse 42% 28% at 5% 88%, rgba(138,96,54,.14), transparent 70%), linear-gradient(rgba(174,151,120,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(174,151,120,.075) 1px, transparent 1px); background-size: auto, auto, 39px 39px, 39px 39px; }
.workflow-detail-page.is-culture-detail .workflow-detail-shell { width: calc(100% - 100px); max-width: 1840px; min-height: 100vh; padding: 50px 0 68px; }
.workflow-detail-page.is-culture-detail .project-detail-back { color: rgba(250,235,212,.92); font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 24px; letter-spacing: 0; text-shadow: 0 0 20px rgba(249,210,160,.24); }
.workflow-detail-page.is-culture-detail .project-detail-heading { display: none; }
.workflow-detail-page .culture-case-layout { display: none; }
.workflow-detail-page.is-culture-detail .culture-case-layout { display: grid; grid-template-columns: minmax(0, 2.55fr) minmax(340px, .92fr); gap: 30px; margin-top: 62px; }
.workflow-detail-page.is-culture-detail .workflow-detail-content { display: none; }
.culture-video-panel { position: relative; display: grid; min-height: min(72vh, 780px); place-items: center; overflow: hidden; border: 1px solid rgba(210,184,148,.55); background: radial-gradient(circle at 52% 38%, rgba(84,88,93,.28), transparent 46%), linear-gradient(145deg, #101112, #030405 82%); box-shadow: inset 0 0 0 14px rgba(5,5,5,.36), inset 0 0 54px rgba(222,233,240,.08), 0 14px 45px rgba(0,0,0,.52); cursor: pointer; }
.culture-video-panel::before { content: ""; position: absolute; z-index: 1; inset: 16px; pointer-events: none; border: 1px solid rgba(237,229,213,.13); }.culture-video-panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, rgba(255,255,255,.04), transparent 24%, transparent 68%, rgba(222,198,164,.06)); }
.culture-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #050505; }.culture-video-panel:not(.has-video) .culture-video { display: none; }
.culture-video-empty { position: relative; z-index: 2; display: grid; justify-items: center; gap: 15px; color: rgba(242,235,223,.78); font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }.culture-video-empty strong { font-size: 18px; font-weight: 500; letter-spacing: .12em; }.culture-video-empty small { color: rgba(227,205,177,.47); font: 9px/1 Arial, sans-serif; letter-spacing: .23em; }.culture-video-plus { color: rgba(235,209,173,.86); font: 300 52px/1 Arial, sans-serif; }
.culture-video-play { position: absolute; z-index: 4; display: none; width: 68px; height: 68px; padding-left: 5px; place-items: center; border: 1px solid rgba(255,245,228,.72); border-radius: 50%; color: #fff9ed; background: rgba(4,4,4,.5); box-shadow: 0 0 25px rgba(245,215,177,.22); font: 25px/1 Arial, sans-serif; transition: transform 220ms ease, opacity 220ms ease; }.culture-video-panel.has-video .culture-video-play { display: grid; }.culture-video-panel.is-playing .culture-video-play { opacity: 0; transform: scale(.8); }.culture-video-panel.has-video:hover .culture-video-play { transform: scale(1.08); }
.culture-video-status { position: absolute; z-index: 5; bottom: 23px; left: 28px; color: rgba(248,240,227,.72); font: 11px/1 Arial, sans-serif; letter-spacing: .08em; text-shadow: 0 1px 8px #000; }.culture-video-upload { position: absolute; z-index: 6; right: 25px; bottom: 18px; padding: 11px 15px; border: 1px solid rgba(226,201,167,.66); color: rgba(255,245,230,.92); background: rgba(16,14,12,.72); font: 11px/1 "Microsoft YaHei", sans-serif; cursor: pointer; transition: background 180ms ease, box-shadow 180ms ease; }.culture-video-upload:hover { background: rgba(104,76,46,.52); box-shadow: 0 0 16px rgba(227,190,146,.26); }.culture-video-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.culture-case-info { min-height: min(72vh, 780px); padding: 68px 38px 31px; border: 1px solid rgba(210,184,148,.55); background: rgba(11,10,9,.79); box-shadow: inset 0 0 44px rgba(196,154,109,.035); }.culture-case-eyebrow { margin: 0; color: rgba(239,220,194,.68); font: 700 10px/1 Arial, sans-serif; letter-spacing: .34em; }.culture-case-info h3 { margin: 20px 0 0; color: #f4e5d2; font-size: clamp(48px, 4.1vw, 79px); font-weight: 500; letter-spacing: .08em; line-height: .92; }.culture-case-type { display: block; margin-top: 21px; color: rgba(229,210,187,.67); font: 700 10px/1 Arial, sans-serif; letter-spacing: .28em; }.culture-case-info h4 { margin: 52px 0 0; color: #fff4e8; font-size: clamp(25px, 2vw, 38px); font-weight: 500; letter-spacing: .08em; }.culture-case-summary { margin: 18px 0 0; padding-bottom: 26px; border-bottom: 1px solid rgba(209,183,149,.45); color: rgba(239,229,216,.72); font-size: 14px; line-height: 1.85; }
.culture-case-features { margin-top: 3px; }.culture-case-features article { display: grid; grid-template-columns: 64px 1fr; gap: 17px; padding: 20px 0; border-bottom: 1px solid rgba(209,183,149,.42); }.culture-case-features b { color: #f3dfc4; font: 400 34px/.9 Georgia, serif; }.culture-case-features b::after { content: "FEATURE"; display: block; margin-top: 8px; color: rgba(218,190,156,.65); font: 700 8px/1 Arial, sans-serif; letter-spacing: .16em; }.culture-case-features strong { display: block; color: #f6ecdf; font-size: 17px; font-weight: 500; letter-spacing: .06em; }.culture-case-features span { display: block; margin-top: 8px; color: rgba(233,220,204,.62); font-size: 12px; line-height: 1.65; }.culture-case-info em { display: block; margin-top: 31px; color: rgba(225,190,146,.76); font: 700 9px/1 Arial, sans-serif; font-style: normal; letter-spacing: .34em; }
.workflow-detail-page.is-culture-detail .workflow-divider { background: linear-gradient(90deg, rgba(198,145,79,.8), rgba(255,247,231,.95) 50%, rgba(198,145,79,.8)); box-shadow: 0 0 15px rgba(197,145,84,.25); }
@media (max-width: 900px) { .workflow-detail-page.is-culture-detail .workflow-detail-shell { width: calc(100% - 36px); padding-top: 32px; }.workflow-detail-page.is-culture-detail .project-detail-back { font-size: 18px; }.workflow-detail-page.is-culture-detail .culture-case-layout { grid-template-columns: 1fr; margin-top: 42px; }.culture-video-panel, .culture-case-info { min-height: auto; }.culture-video-panel { aspect-ratio: 16 / 9; }.culture-case-info { padding: 42px 26px 28px; }.culture-case-info h4 { margin-top: 36px; } }
@media (max-width: 900px) { .workflow-shell { width: min(100% - 44px, 680px); }.workflow-cards { grid-template-columns: 1fr; gap: 28px; margin-top: 60px; }.workflow-card, .workflow-card.is-featured { transform: none; }.workflow-card:hover, .workflow-card.is-featured:hover { transform: translateY(-5px) scale(1.02); }.workflow-media { aspect-ratio: 1.5 / 1; }.workflow-orbit-one { top: 25%; width: 120vw; height: 122vw; }.workflow-orbit-two { display: none; } }
@media (max-width: 520px) { .workflow-shell { width: calc(100% - 28px); padding-top: 52px; }.workflow-header h2 { font-size: 38px; }.workflow-cards { margin-top: 46px; }.workflow-card footer { min-height: 82px; padding-inline: 18px; }.workflow-enter { width: 42px; height: 42px; flex-basis: 42px; }.workflow-placeholder { font-size: 12px; } }

/* Third-screen card interaction: restrained hover light and lift into project detail. */
body:not(.editor-enabled) #projects .project-card-frame {
  transform-origin: center bottom;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform 260ms cubic-bezier(.22, .8, .2, 1), box-shadow 260ms ease, border-color 260ms ease;
}

body:not(.editor-enabled) #projects .project-card:hover .project-card-frame,
body:not(.editor-enabled) #projects .project-card:focus-within .project-card-frame {
  transform: translateZ(12px) scale(1.018);
  border-color: rgba(184, 218, 255, .98);
  box-shadow: inset 0 0 28px rgba(92, 137, 255, .13), 0 0 25px rgba(88, 151, 255, .82), 0 0 42px rgba(72, 139, 255, .22), 0 18px 48px rgba(1, 4, 24, .68);
}

body:not(.editor-enabled) #projects .project-card:hover .project-card-frame::after,
body:not(.editor-enabled) #projects .project-card:focus-within .project-card-frame::after,
body:not(.editor-enabled) #projects .project-card.is-opening .project-card-frame::after {
  content: "";
  position: absolute;
    z-index: 4;
    inset: 0;
    border: 1px solid rgba(190, 224, 255, .76);
    border-radius: inherit;
    box-shadow: inset 0 0 22px rgba(126, 184, 255, .16);
  pointer-events: none;
}

body:not(.editor-enabled) #projects .project-card.is-opening .project-card-frame {
  animation: project-card-lift 620ms cubic-bezier(.2, .78, .18, 1) both;
}

@keyframes project-card-lift {
  0% { transform: translateZ(12px) scale(1.018); }
  42% { transform: translateY(-10px) translateZ(50px) rotateX(-5deg) rotateY(2deg) scale(1.035); }
  100% { transform: translateY(-8px) translateZ(86px) rotateX(-7deg) rotateY(3deg) scale(1.022); }
}

/* 3D project secondary page: three independent, top-aligned long-poster slots. */
.project-3d-detail-page[hidden] { display: none; }
.project-3d-detail-page {
  position: fixed;
  z-index: 175;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  color: #f5f6f7;
  background: #05070b;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
.project-3d-detail-page::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  background-image:
    linear-gradient(rgba(153, 177, 212, .8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 177, 212, .8) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000 0, #000 74%, transparent 100%);
}
.project-3d-detail-page::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 23% 26% at 50% -2%, rgba(183, 207, 235, .28), transparent 72%),
    linear-gradient(to bottom, transparent 66%, rgba(19, 31, 47, .16) 100%);
}
.project-3d-scroll {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 229, 244, .38) rgba(255,255,255,.035);
}
.project-3d-stage { position: relative; width: 100%; height: 100vh; min-height: 680px; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: normal; }
.project-3d-stage-more { background: rgba(5, 7, 11, .18); }
.project-3d-back {
  position: fixed;
  z-index: 8;
  top: 45px;
  left: 52px;
  padding: 0;
  border: 0;
  color: rgba(255, 250, 240, .94);
  background: transparent;
  font: 300 29px/1 "Microsoft YaHei", "PingFang SC", sans-serif;
  text-shadow: 0 0 18px rgba(255, 224, 172, .38);
  cursor: pointer;
}
.project-3d-back span { margin-left: 8px; font-size: 22px; }
.project-3d-ambient {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 32%;
  width: 118%;
  height: 48%;
  border: 1px solid rgba(119, 171, 231, .34);
  border-top-color: transparent;
  border-radius: 50%;
  box-shadow: 0 -18px 48px rgba(69, 123, 190, .11), inset 0 18px 65px rgba(58, 104, 165, .08);
  transform: translateX(-50%);
}
.project-3d-ambient::before,
.project-3d-ambient::after {
  content: "";
  position: absolute;
  top: 37%;
  width: 26%;
  height: 1px;
  opacity: .6;
  background: linear-gradient(90deg, transparent, rgba(141, 190, 244, .48));
  box-shadow: 0 0 15px rgba(104, 164, 230, .3);
}
.project-3d-ambient::before { left: -2%; transform: rotate(20deg); transform-origin: right center; }
.project-3d-ambient::after { right: -2%; transform: rotate(-20deg) scaleX(-1); transform-origin: left center; }
.project-3d-gallery {
  position: absolute;
  z-index: 2;
  inset: 0;
}
.project-3d-card {
  --poster-image-scale: 1;
  --poster-image-x: 50%;
  --poster-image-y: .01%;
  position: relative;
  width: 25.5%;
  height: 73.7%;
  overflow: hidden;
  border: 1px solid rgba(221, 228, 232, .7);
  border-radius: 3px;
  background: #080a0d;
  box-shadow: 0 20px 58px rgba(0, 0, 0, .52);
  cursor: zoom-in;
  transform: translateZ(0);
  will-change: transform, box-shadow;
  transition: transform 360ms cubic-bezier(.2, .76, .2, 1), border-color 260ms ease, box-shadow 360ms ease;
}
.project-3d-card-left { position: absolute; top: 13.1%; left: 6.15%; }
.project-3d-card-center { position: absolute; top: 19.15%; left: 36.48%; height: 73.5%; }
.project-3d-card-right { position: absolute; top: 12.55%; left: 67.88%; }
.project-3d-card:hover,
.project-3d-card:focus-visible {
  z-index: 3;
  outline: none;
  border-color: rgba(246, 249, 250, .92);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 26px 78px rgba(0, 0, 0, .68);
  transform: translateY(-5px) scale(1.012);
}
.project-3d-image {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--poster-image-x) var(--poster-image-y);
  background: #080a0d;
  transform: scale(var(--poster-image-scale));
  transform-origin: var(--poster-image-x) var(--poster-image-y);
}
.project-3d-card.has-custom-image .project-3d-image { display: block; }
.project-3d-placeholder {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  color: rgba(221, 229, 237, .23);
  text-align: center;
  background: linear-gradient(145deg, #0c1118, #080a0d 60%, #0d1116);
}
.project-3d-placeholder span { font: 300 38px/1 Arial, sans-serif; letter-spacing: .12em; }
.project-3d-placeholder small { font-size: 13px; font-weight: 400; letter-spacing: .14em; }
.project-3d-card.has-custom-image .project-3d-placeholder { opacity: 0; }
.project-3d-more {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 0;
  color: rgba(239, 244, 249, .74);
  background: transparent;
  font: 400 13px/1.2 "Microsoft YaHei", "PingFang SC", sans-serif;
  letter-spacing: .08em;
  cursor: pointer;
  transform: translateX(-50%);
  transition: color 180ms ease, transform 180ms ease;
}
.project-3d-more span { font-size: 18px; animation: project-3d-more-down 1.5s ease-in-out infinite; }
.project-3d-more:hover { color: #fff; transform: translateX(-50%) translateY(2px); }
@keyframes project-3d-more-down { 0%,100% { transform: translateY(-2px); opacity: .55; } 50% { transform: translateY(4px); opacity: 1; } }

.project-3d-upload {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  display: none;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .84);
  border-radius: 50%;
  color: #fff;
  background: rgba(16, 16, 16, .78);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .42);
  font: 300 26px/30px Arial, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
body.editor-enabled .project-3d-detail-page:not([hidden]) .project-3d-upload { display: grid; }
body.editor-enabled .project-3d-card { cursor: pointer; }
body.editor-enabled .project-3d-card.is-editor-selected {
  border-color: rgba(118, 181, 255, .98);
  box-shadow: 0 0 0 1px rgba(118, 181, 255, .34), 0 0 25px rgba(72, 145, 235, .34), 0 20px 58px rgba(0, 0, 0, .58);
}
.project-3d-focus[hidden] { display: none; }
.project-3d-focus { position: fixed; z-index: 215; inset: 0; display: grid; place-items: center; padding: 30px; }
.project-3d-focus-backdrop { position: absolute; inset: 0; border: 0; background: rgba(2, 4, 7, .88); backdrop-filter: blur(14px); cursor: zoom-out; }
.project-3d-focus-shell {
  position: relative;
  z-index: 1;
  width: min(720px, 86vw);
  height: min(88vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(240, 244, 246, .76);
  border-radius: 5px;
  background: #080a0d;
  box-shadow: 0 0 58px rgba(182, 205, 229, .16), 0 34px 120px rgba(0, 0, 0, .84);
  animation: project-3d-focus-rise 560ms cubic-bezier(.2, .78, .2, 1) both;
}
.project-3d-focus-close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  color: #fff;
  background: rgba(5, 7, 11, .72);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(9px);
}
.project-3d-focus-scroll { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(226, 233, 239, .48) rgba(255, 255, 255, .05); }
.project-3d-focus-scroll img { display: none; width: 100%; height: auto; min-height: 0; object-fit: contain; object-position: center top; background: #080a0d; }
.project-3d-focus-shell.has-image .project-3d-focus-scroll img { display: block; }
.project-3d-focus-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .24); font-size: 14px; letter-spacing: .14em; }
.project-3d-focus-shell.has-image .project-3d-focus-empty { display: none; }
@keyframes project-3d-focus-rise { from { opacity: 0; transform: translateY(26px) scale(.9); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 1100px) {
  .project-3d-gallery { inset: 0; }
}
@media (max-width: 760px) {
  .project-3d-detail-page { overflow: hidden; }
  .project-3d-stage { height: auto; min-height: 1740px; }
  .project-3d-back { top: 28px; left: 24px; font-size: 25px; }
  .project-3d-back span { font-size: 18px; }
  .project-3d-gallery { position: absolute; top: 92px; right: auto; bottom: auto; left: 50%; display: grid; width: min(calc(100% - 40px), 430px); gap: 24px; transform: translateX(-50%); }
  .project-3d-card,
  .project-3d-card-left,
  .project-3d-card-center,
  .project-3d-card-right { position: relative; top: auto; left: auto; width: 100%; height: 510px; }
  .project-3d-focus { padding: 16px; }
  .project-3d-focus-shell { width: 94vw; height: 90vh; }
}

/* CULTURE detail final 1920×1080 trace.  This block is intentionally last so
   the reference geometry cannot be changed by the generic detail styles. */
.workflow-detail-page.is-culture-detail { overflow: hidden; background: #090908; }
.workflow-detail-page.is-culture-detail .workflow-detail-shell {
  position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px;
  min-height: 0; max-width: none; margin: 0; padding: 0;
  transform: translate(-50%, -50%) scale(var(--culture-detail-scale, 1));
  transform-origin: center center;
}
.workflow-detail-page.is-culture-detail .project-detail-back {
  position: absolute; z-index: 8; top: 50px; left: 50px; padding: 0;
  color: #f4e9da; font-size: 30px; font-weight: 400; line-height: 1;
}
.workflow-detail-page.is-culture-detail .culture-case-layout {
  position: absolute; top: 138px; left: 50px; display: grid;
  width: 1820px; height: 805px; margin: 0;
  grid-template-columns: 1287px 500px; gap: 31px;
}
.workflow-detail-page.is-culture-detail .culture-video-panel {
  width: 1287px; height: 805px; min-height: 0; border-color: rgba(205,180,148,.58);
  box-shadow: inset 0 0 0 14px #090909, inset 0 0 0 15px rgba(226,214,197,.16), 0 0 26px rgba(194,143,86,.08);
}
.workflow-detail-page.is-culture-detail .culture-video-panel::before { inset: 16px; }
.workflow-detail-page.is-culture-detail .culture-case-info {
  width: 500px; height: 805px; min-height: 0; padding: 69px 36px 28px;
  border-color: rgba(205,180,148,.58); background: rgba(10,10,9,.83);
}
.workflow-detail-page.is-culture-detail .culture-case-eyebrow { font-size: 10px; letter-spacing: .34em; }
.workflow-detail-page.is-culture-detail .culture-case-info h3 { margin-top: 18px; font-size: 64px; letter-spacing: .06em; }
.workflow-detail-page.is-culture-detail .culture-case-info h3 span { color: #eccda6; }
.workflow-detail-page.is-culture-detail .culture-case-type { margin-top: 21px; font-size: 10px; }
.workflow-detail-page.is-culture-detail .culture-case-info h4 { margin-top: 50px; font-size: 31px; letter-spacing: .07em; }
.workflow-detail-page.is-culture-detail .culture-case-summary { margin-top: 17px; padding-bottom: 26px; font-size: 13px; line-height: 1.75; }
.workflow-detail-page.is-culture-detail .culture-case-features article { grid-template-columns: 62px 1fr; min-height: 111px; padding: 19px 0 15px; }
.workflow-detail-page.is-culture-detail .culture-case-features b { font-size: 34px; }
.workflow-detail-page.is-culture-detail .culture-case-features strong { font-size: 17px; }
.workflow-detail-page.is-culture-detail .culture-case-features span { margin-top: 7px; font-size: 11px; line-height: 1.55; }
.workflow-detail-page.is-culture-detail .culture-case-info em { margin-top: 29px; }
.workflow-detail-page.is-culture-detail .workflow-divider { position: absolute; top: 997px; right: 0; bottom: auto; left: 0; width: 1920px; }
.culture-video-play { display: none !important; }
.culture-video-panel.has-video .culture-video-upload { display: block; }
.culture-video-upload { top: 22px; right: 24px; bottom: auto; }
.culture-video-empty[hidden], .culture-video-panel.has-video .culture-video-empty { display: none !important; }
.workflow-detail-page.is-culture-detail [data-editable-text].is-editor-selected { outline-color: rgba(239,205,162,.9); }
body.editor-enabled .workflow-detail-page.is-culture-detail [data-editable-text] {
  position: relative;
  z-index: 12;
  pointer-events: auto;
  user-select: text;
  cursor: text;
}
@media (max-width: 900px) {
  .workflow-detail-page.is-culture-detail .workflow-detail-shell { width: 1920px; height: 1080px; padding: 0; }
  .workflow-detail-page.is-culture-detail .project-detail-back { top: 50px; left: 50px; font-size: 30px; }
  .workflow-detail-page.is-culture-detail .culture-case-layout { grid-template-columns: 1287px 500px; width: 1820px; height: 805px; margin: 0; }
  .workflow-detail-page.is-culture-detail .culture-video-panel { width: 1287px; height: 805px; aspect-ratio: auto; }
  .workflow-detail-page.is-culture-detail .culture-case-info { width: 500px; height: 805px; padding: 69px 36px 28px; }
}

/* Amazon visual project — isolated two-level gallery for project card 02. */
.amazon-projects-page {
  position: fixed; z-index: 176; inset: 0; overflow: hidden;
  color: #f4f1eb; background: #050a10;
  --amazon-line: rgba(153, 181, 207, .22);
  --amazon-gold: #d6b88e;
  --amazon-panel: rgba(7, 12, 18, .88);
}
.amazon-projects-page.is-detail-view {
  overflow: hidden;
}
.amazon-projects-page[hidden],
.amazon-index-stage[hidden],
.amazon-detail-stage[hidden],
.amazon-a-plus-focus[hidden] { display: none !important; }
.amazon-projects-page::before,
.amazon-projects-page::after {
  content: ""; position: fixed; pointer-events: none;
}
.amazon-projects-page::before {
  inset: 0;
  background:
    radial-gradient(circle at 50% -8%, rgba(88, 130, 175, .32), transparent 31%),
    radial-gradient(circle at 12% 82%, rgba(29, 69, 111, .18), transparent 29%),
    linear-gradient(180deg, rgba(10, 18, 28, .22), rgba(2, 6, 10, .94));
}
.amazon-projects-page::after {
  right: -8%; bottom: 15%; left: -8%; height: 28%;
  border-top: 1px solid rgba(71, 126, 178, .42); border-radius: 50%;
  transform: rotate(-2deg); box-shadow: 0 -28px 100px rgba(27, 72, 116, .1);
}
.amazon-grid-bg {
  position: fixed; inset: 0; opacity: .48; pointer-events: none;
  background-image:
    linear-gradient(rgba(112, 144, 170, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 144, 170, .09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,.78) 72%, transparent 100%);
}
.amazon-index-stage { position: relative; z-index: 2; width: 100%; height: 100%; overflow: hidden; scroll-behavior: smooth; overscroll-behavior: contain; }
.amazon-index-scroll { position: relative; width: 100%; height: 100vh; min-height: 0; }
.amazon-detail-stage { position: relative; z-index: 2; width: 100%; height: 100%; min-height: 0; }
.amazon-main-stage { position: relative; width: 100%; height: 100vh; min-height: 720px; scroll-snap-align: start; }
.amazon-page-back,
.amazon-detail-header button {
  border: 0; color: #f3eee6; background: transparent; cursor: pointer;
  font: 400 16px/1.2 "Microsoft YaHei", sans-serif; letter-spacing: .04em;
}
.amazon-page-back { position: fixed; z-index: 7; top: 5%; left: 3%; display: flex; gap: 12px; align-items: center; font-size: 23px; }
.amazon-page-back span { font-size: 17px; }
.amazon-index-heading { position: fixed; z-index: 6; top: 4.5%; left: 50%; text-align: center; transform: translateX(-50%); }
.amazon-index-heading small { color: #91a7ba; font-size: 10px; letter-spacing: .36em; }
.amazon-index-heading h2 { margin: 8px 0 0; color: #edf3f8; font-size: clamp(20px, 1.7vw, 31px); font-weight: 400; letter-spacing: .12em; }
.amazon-index-cards {
  position: absolute; top: 12.5vh; right: 5%; left: 5%; height: 79.5vh;
  scroll-margin-top: 12.5vh; scroll-snap-align: start;
}
.amazon-index-cards.has-horizontal-projects {
  overflow: hidden;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  touch-action: none;
  cursor: grab;
}
.amazon-index-cards.has-horizontal-projects.is-dragging { cursor: grabbing; user-select: none; }
.amazon-index-cards.has-horizontal-projects::-webkit-scrollbar { display: none; }
.amazon-index-cards.has-horizontal-projects::after {
  content: ""; position: absolute; top: 0; left: 132.5%; width: 1px; height: 1px; pointer-events: none;
}
.amazon-index-cards.has-horizontal-projects [data-amazon-user-added] { scroll-snap-align: center; }
.amazon-index-cards.has-horizontal-projects .amazon-index-card {
  right: auto;
  transform: translateX(var(--amazon-carousel-shift, 0));
  transition: transform .42s cubic-bezier(.22,.61,.36,1);
}
.amazon-index-cards.has-horizontal-projects.is-showing-fourth .amazon-index-card {
  transform: translateX(var(--amazon-carousel-shift, 0));
}
.amazon-index-cards.has-horizontal-projects .amazon-index-card:nth-child(1) { left: 1.5%; top: 0; }
.amazon-index-cards.has-horizontal-projects .amazon-index-card:nth-child(2) { left: 34%; top: 7%; }
.amazon-index-cards.has-horizontal-projects .amazon-index-card:nth-child(3) { left: 66.5%; top: 0; }
.amazon-index-cards.has-horizontal-projects .amazon-index-card:nth-child(4) { left: 99%; top: 7%; }
.amazon-index-cards.has-horizontal-projects .amazon-index-card:nth-child(1):hover,
.amazon-index-cards.has-horizontal-projects .amazon-index-card:nth-child(2):hover,
.amazon-index-cards.has-horizontal-projects .amazon-index-card:nth-child(3):hover,
.amazon-index-cards.has-horizontal-projects .amazon-index-card:nth-child(4):hover,
.amazon-index-cards.has-horizontal-projects .amazon-index-card:nth-child(n + 5):hover {
  transform: translateX(var(--amazon-carousel-shift, 0)) translateY(-8px);
}
.amazon-index-cards.has-horizontal-projects.is-showing-fourth .amazon-index-card:nth-child(1):hover,
.amazon-index-cards.has-horizontal-projects.is-showing-fourth .amazon-index-card:nth-child(2):hover,
.amazon-index-cards.has-horizontal-projects.is-showing-fourth .amazon-index-card:nth-child(3):hover,
.amazon-index-cards.has-horizontal-projects.is-showing-fourth .amazon-index-card:nth-child(4):hover {
  transform: translateX(var(--amazon-carousel-shift, 0)) translateY(-8px);
}
.amazon-index-carousel-nav {
  position: absolute; z-index: 20; top: 94.2vh; left: 50%; display: flex; width: min(440px, 42vw); height: 48px; pointer-events: auto;
  align-items: center; justify-content: center; gap: 20px; color: #dce5eb; transform: translateX(-50%);
}
.amazon-index-carousel-nav[hidden] { display: none; }
.amazon-index-carousel-nav button {
  display: grid; width: 40px; height: 40px; padding: 0; place-items: center; border: 1px solid rgba(227, 237, 243, .72);
  border-radius: 50%; color: #f3eee6; background: rgba(7, 13, 20, .76); font-size: 22px; font-weight: 300; cursor: pointer;
}
.amazon-index-carousel-nav button:disabled { opacity: .3; cursor: default; }
.amazon-index-carousel-nav span { min-width: 58px; text-align: center; font-size: 11px; letter-spacing: .18em; }
.amazon-index-carousel-nav i { position: relative; display: block; width: 160px; height: 1px; background: rgba(225, 234, 240, .3); }
.amazon-index-carousel-nav i b { position: absolute; top: -1px; left: 0; display: block; width: 34%; height: 3px; background: #e9d9c3; transition: transform .25s ease; }
.amazon-index-scroll-cue {
  position: absolute; z-index: 6; top: 94.2vh; left: 50%; display: flex; padding: 8px 14px; gap: 12px; align-items: center;
  border: 0; color: rgba(221,229,235,.76); background: rgba(5,10,16,.52); transform: translateX(-50%);
  font: 400 10px/1.2 "Microsoft YaHei", sans-serif; letter-spacing: .2em; cursor: pointer; backdrop-filter: blur(8px);
}
.amazon-index-scroll-cue b { color: #f3eee6; font-size: 18px; font-weight: 300; animation: amazon-scroll-cue 1.7s ease-in-out infinite; }
@keyframes amazon-scroll-cue { 0%,100% { transform: translateY(-2px); opacity: .56; } 50% { transform: translateY(4px); opacity: 1; } }
.amazon-index-card {
  position: absolute; top: 0; width: 27%; height: 91%; overflow: hidden;
  border: 1px solid rgba(220, 231, 238, .52); background: rgba(5, 9, 14, .8);
  box-shadow: 0 22px 64px rgba(0, 0, 0, .38); cursor: pointer;
  transition: border-color .25s ease, transform .35s ease, box-shadow .35s ease;
}
.amazon-index-card:nth-child(1) { left: 1.5%; }
.amazon-index-card:nth-child(2) { top: 7%; left: 50%; transform: translateX(-50%); }
.amazon-index-card:nth-child(3) { right: 1.5%; }
.amazon-index-card:hover,
.amazon-index-card:focus-visible { border-color: rgba(227, 197, 155, .94); box-shadow: 0 28px 90px rgba(0,0,0,.52), 0 0 0 1px rgba(214,184,142,.18); outline: none; }
.amazon-index-card:nth-child(1):hover { transform: translateY(-8px); }
.amazon-index-card:nth-child(2):hover { transform: translate(-50%, -8px); }
.amazon-index-card:nth-child(3):hover { transform: translateY(-8px); }
.amazon-index-media { position: absolute; inset: 0 0 86px; overflow: hidden; background: linear-gradient(145deg, #0c1723, #05080d 65%); }
.amazon-index-media img {
  width: 100%; height: 100%; opacity: 0; object-fit: cover;
  object-position: var(--amazon-image-x, 50%) var(--amazon-image-y, 50%);
  transform: scale(var(--amazon-image-scale, 1));
  transform-origin: var(--amazon-image-x, 50%) var(--amazon-image-y, 50%);
  transition: opacity .25s ease, transform .16s ease; cursor: grab; user-select: none; -webkit-user-drag: none;
}
.amazon-index-media.has-image img { opacity: 1; }
.amazon-index-card:hover .amazon-index-media.has-image img { transform: scale(var(--amazon-image-scale, 1)); }
.amazon-index-placeholder { position: absolute; inset: 0; display: grid; place-content: center; gap: 9px; color: rgba(190,205,216,.5); text-align: center; }
.amazon-index-placeholder b { color: rgba(215, 226, 234, .32); font-size: 46px; font-weight: 300; letter-spacing: .08em; }
.amazon-index-placeholder span { font-size: 11px; letter-spacing: .26em; }
.amazon-index-media.has-image .amazon-index-placeholder { display: none; }
.amazon-upload-circle {
  position: absolute; z-index: 3; top: 13px; right: 13px; display: grid; width: 36px; height: 36px;
  padding: 0; place-items: center; border: 1px solid rgba(245, 235, 219, .82); border-radius: 50%;
  color: #f7f1e8; background: rgba(5, 9, 14, .56); font-size: 25px; font-weight: 200; line-height: 1; cursor: pointer;
  box-sizing: border-box; transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.amazon-upload-circle:hover { border-color: var(--amazon-gold); background: rgba(89, 65, 38, .42); transform: rotate(90deg); }
.amazon-upload-circle.is-saving,
.amazon-slide > [data-amazon-upload].is-saving,
.amazon-a-plus-card > [data-amazon-upload].is-saving { pointer-events: none; }
.amazon-upload-circle input,
.amazon-slide > [data-amazon-upload] input,
.amazon-a-plus-card > [data-amazon-upload] input {
  position: absolute; z-index: 2; inset: 0; display: block; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: auto; cursor: pointer;
}
.amazon-upload-circle > span,
.amazon-slide > [data-amazon-upload] > span,
.amazon-a-plus-card > [data-amazon-upload] > span { pointer-events: none; }
.amazon-index-card footer {
  position: absolute; right: 0; bottom: 0; left: 0; display: grid; height: 86px; padding: 0 25px;
  grid-template-columns: auto 1px 1fr auto; gap: 19px; align-items: center;
  border-top: 1px solid rgba(214, 184, 142, .58); background: rgba(5, 9, 13, .94);
}
.amazon-index-card footer > b { font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
.amazon-index-card footer > i { width: 1px; height: 48px; background: rgba(214,184,142,.62); }
.amazon-index-card footer div { min-width: 0; }
.amazon-index-card footer strong,
.amazon-index-card footer small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amazon-index-card footer strong { font-size: 17px; font-weight: 500; letter-spacing: .05em; }
.amazon-index-card footer small { margin-top: 6px; color: #bbb6ae; font-size: 11px; letter-spacing: .08em; }
.amazon-index-card footer > span { color: #e9d9c3; font-size: 27px; font-weight: 200; }

.amazon-detail-header { position: absolute; z-index: 8; top: 4.4%; right: 3%; left: 3%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.amazon-detail-header button { justify-self: start; font-size: 22px; }
.amazon-detail-header button span { margin-left: 9px; font-size: 15px; }
.amazon-detail-header p { position: relative; display: flex; gap: 13px; align-items: center; margin: 0; font-size: 20px; font-weight: 300; letter-spacing: .18em; }
.amazon-detail-header p::after { content: ""; position: absolute; top: 35px; left: 50%; width: 27px; height: 1px; background: rgba(236,240,242,.82); transform: translateX(-50%); }
.amazon-detail-header p b { font-weight: 400; }
.amazon-detail-header p i { color: #8fa2b3; font-style: normal; }
.amazon-detail-header p strong { font-size: 18px; font-weight: 400; }
.amazon-detail-header > span { justify-self: end; color: #dfe5e9; font-size: 14px; letter-spacing: .22em; }
.amazon-detail-header > span b { font-weight: 400; }
.amazon-gallery-label { position: absolute; z-index: 7; bottom: 4.7%; left: 3%; width: 260px; color: #bdc9d2; }
.amazon-gallery-label small,
.amazon-gallery-label strong { display: block; }
.amazon-gallery-label small { font-size: 10px; letter-spacing: .3em; }
.amazon-gallery-label strong { margin-top: 7px; color: #f0ede7; font-size: 16px; font-weight: 400; letter-spacing: .08em; }
.amazon-gallery { position: absolute; top: 9.5%; right: 3%; bottom: 14.1%; left: 3%; overflow: hidden; touch-action: pan-y; cursor: grab; }
.amazon-gallery.is-dragging { cursor: grabbing; }
.amazon-slide {
  position: absolute; top: 50%; left: 50%; width: min(34.4vw, 61.2vh); aspect-ratio: 1;
  overflow: hidden; border: 1px solid rgba(217, 225, 231, .6); background: #070c13;
  box-shadow: 0 30px 80px rgba(0,0,0,.42); transform: translate(-50%, -50%);
  transition: transform .48s cubic-bezier(.22,.78,.18,1), opacity .35s ease, filter .35s ease, border-color .25s ease;
  transform-origin: center;
}
.amazon-slide[hidden] { display: none !important; }
.amazon-slide[data-position="center"] { z-index: 4; opacity: 1; transform: translate(-50%, -50%) scale(1); filter: none; }
.amazon-slide[data-position="left"] { z-index: 2; opacity: .88; transform: translate(calc(-50% - min(34vw, 61vh)), calc(-50% - 13px)) scale(.724); filter: none; }
.amazon-slide[data-position="right"] { z-index: 2; opacity: .88; transform: translate(calc(-50% + min(34vw, 61vh)), calc(-50% - 13px)) scale(.724); filter: none; }
.amazon-slide[data-position="far-left"] { z-index: 1; opacity: 0; transform: translate(calc(-50% - min(55vw, 98vh)), -50%) scale(.58); pointer-events: none; }
.amazon-slide[data-position="far-right"] { z-index: 1; opacity: 0; transform: translate(calc(-50% + min(55vw, 98vh)), -50%) scale(.58); pointer-events: none; }
.amazon-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; object-fit: cover;
  object-position: var(--amazon-image-x, 50%) var(--amazon-image-y, 50%);
  transform: scale(var(--amazon-image-scale, 1));
  transform-origin: var(--amazon-image-x, 50%) var(--amazon-image-y, 50%);
  image-rendering: auto; transition: opacity .25s ease, transform .16s ease;
  cursor: grab; user-select: none; -webkit-user-drag: none;
}
.amazon-slide.has-image img { opacity: 1; }
.amazon-index-media.is-image-adjusting img,
.amazon-slide.is-image-adjusting img { cursor: grabbing; transition: none; }
.amazon-index-media.has-image::after,
.amazon-slide[data-position="center"].has-image::after {
  content: "拖动调整 · 滚轮缩放"; position: absolute; z-index: 2; right: 14px; bottom: 14px;
  padding: 7px 9px; color: rgba(244,241,235,.88); background: rgba(3,7,12,.72);
  border: 1px solid rgba(219,228,235,.25); font-size: 9px; letter-spacing: .12em;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.amazon-index-media.has-image:hover::after,
.amazon-slide[data-position="center"].has-image:hover::after,
.amazon-index-media.is-image-adjusting::after,
.amazon-slide.is-image-adjusting::after { opacity: 1; }
.amazon-slide-placeholder { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; color: rgba(194,207,218,.42); text-align: center; }
.amazon-slide-placeholder b { color: rgba(219,229,236,.32); font-size: 50px; font-weight: 300; }
.amazon-slide-placeholder span { font-size: 10px; letter-spacing: .3em; }
.amazon-slide.has-image .amazon-slide-placeholder { display: none; }
.amazon-slide > [data-amazon-upload],
.amazon-a-plus-card > [data-amazon-upload] {
  position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; width: 34px; height: 34px; padding: 0;
  place-items: center; border: 1px solid rgba(237,231,221,.75); border-radius: 50%; color: #eee8df;
  box-sizing: border-box; background: rgba(4,8,13,.58); font-size: 24px; line-height: 1; cursor: pointer; transition: opacity .2s ease, background .2s ease;
}
.amazon-slide.has-image > [data-amazon-upload],
.amazon-a-plus-card.has-image > [data-amazon-upload] { opacity: .06; }
.amazon-slide:hover > [data-amazon-upload],
.amazon-slide > [data-amazon-upload]:focus-visible,
.amazon-a-plus-card:hover > [data-amazon-upload],
.amazon-a-plus-card > [data-amazon-upload]:focus-visible { opacity: 1; background: rgba(39,63,84,.78); }
.amazon-gallery-footer { position: absolute; right: auto; bottom: 4.55%; left: 50%; display: grid; width: min(28vw, 49vh); grid-template-columns: 44px 68px minmax(150px, 1fr) 44px; gap: 18px; align-items: center; transform: translateX(-50%); }
.amazon-gallery-footer button { width: 44px; height: 38px; border: 0; color: #f0ece5; background: transparent; font-size: 28px; cursor: pointer; }
.amazon-gallery-footer button:disabled { opacity: .24; cursor: default; }
.amazon-gallery-footer > span { color: #dbe2e7; font-size: 13px; letter-spacing: .16em; white-space: nowrap; }
.amazon-gallery-footer > span b { font-weight: 400; }
.amazon-progress { position: relative; height: 1px; overflow: hidden; background: rgba(189,207,219,.32); }
.amazon-progress i { position: absolute; inset: 0 auto 0 0; width: calc(100% / 6); background: #e5e8e8; transform: translateX(0); transition: transform .38s ease; }
.amazon-gallery-footer p { position: fixed; right: 3%; bottom: 4.8%; margin: 0; color: #e5e1db; font-size: 12px; letter-spacing: .12em; white-space: nowrap; }

.amazon-a-plus-section {
  position: relative; display: grid; width: 100%; height: 100vh; min-height: 760px; place-items: center;
  overflow: hidden; scroll-snap-align: start; border-top: 1px solid rgba(122,157,184,.16);
  background: linear-gradient(180deg, rgba(3,8,13,.7), rgba(5,10,16,.96));
}
.amazon-a-plus-section::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(72vw, 1180px); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(171,197,216,.42), transparent); transform: translateX(-50%);
}
.amazon-a-plus-heading { position: absolute; z-index: 3; top: 8%; left: 5%; width: 360px; }
.amazon-a-plus-heading small { color: #9fb6c8; font-size: 10px; letter-spacing: .32em; }
.amazon-a-plus-heading h3 { margin: 13px 0 0; color: #f1eee8; font-size: 22px; font-weight: 400; letter-spacing: .08em; }
.amazon-a-plus-heading p { margin: 12px 0 0; color: #879aa9; font-size: 11px; letter-spacing: .12em; }
.amazon-a-plus-card {
  position: relative; z-index: 2; width: min(27vw, 48vh); height: min(68.5vh, 645px); overflow: hidden;
  border: 1px solid rgba(214,184,142,.68); background: #070c13; box-shadow: 0 34px 90px rgba(0,0,0,.48);
  cursor: zoom-in; transition: border-color .25s ease, transform .3s ease, box-shadow .3s ease;
}
.amazon-a-plus-card:hover,
.amazon-a-plus-card:focus-visible { border-color: rgba(232,209,178,.96); box-shadow: 0 42px 110px rgba(0,0,0,.6), 0 0 0 1px rgba(214,184,142,.15); outline: none; transform: translateY(-4px); }
.amazon-a-plus-card > img {
  position: absolute; top: 0; left: 0; display: block; width: 100%; height: auto; opacity: 0;
  object-position: top center; image-rendering: auto; transition: opacity .25s ease;
}
.amazon-a-plus-card.has-image > img { opacity: 1; }
.amazon-a-plus-placeholder { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; color: rgba(194,207,218,.48); text-align: center; cursor: pointer; }
.amazon-a-plus-placeholder b { color: rgba(219,229,236,.36); font-size: 58px; font-weight: 300; }
.amazon-a-plus-placeholder span { font-size: 11px; letter-spacing: .28em; }
.amazon-a-plus-card.has-image .amazon-a-plus-placeholder { display: none; }
.amazon-a-plus-card > em { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 32px 18px 18px; color: #eee6db; background: linear-gradient(transparent, rgba(3,7,11,.94)); font-size: 11px; font-style: normal; letter-spacing: .14em; text-align: center; pointer-events: none; }
.amazon-a-plus-card:not(.has-image) > em { opacity: .42; }

.amazon-gallery .amazon-gallery-a-plus {
  position: absolute; top: 50%; left: 50%; width: min(18vw, 35vh); height: min(66vh, 620px); margin: 0;
  opacity: 0; pointer-events: none; transform: translate(calc(-50% + min(52vw, 92vh)), -50%) scale(.88);
  transition: opacity .35s ease, transform .48s cubic-bezier(.22,.78,.18,1), border-color .25s ease, box-shadow .3s ease;
}
.amazon-gallery .amazon-gallery-a-plus[data-position="right-detail"] {
  z-index: 3; opacity: 1; pointer-events: auto; transform: translate(calc(-50% + min(38vw, 68vh)), -50%) scale(1);
  isolation: isolate; background: #070c13; box-shadow: 0 0 0 34px #050a10, 0 42px 110px rgba(0,0,0,.76);
}
.amazon-gallery .amazon-gallery-a-plus[data-position="far-right"] {
  opacity: 0; pointer-events: none;
}
.amazon-a-plus-kicker {
  position: absolute; z-index: 2; top: 18px; left: 18px; padding: 6px 8px;
  color: rgba(237,231,221,.9); background: rgba(4,8,13,.7); font-size: 9px; letter-spacing: .24em;
}

.amazon-a-plus-focus { position: fixed; z-index: 220; inset: 0; display: grid; overflow: hidden; padding: 4vh 4vw; place-items: center; overscroll-behavior: contain; }
.amazon-focus-backdrop { position: absolute; inset: 0; border: 0; background: rgba(1,4,8,.86); backdrop-filter: blur(12px); cursor: zoom-out; }
.amazon-focus-shell { position: relative; z-index: 1; width: min(720px, 86vw); height: min(88vh, 860px); overflow: hidden; border: 1px solid rgba(240,244,246,.76); border-radius: 5px; background: #080a0d; box-shadow: 0 0 58px rgba(182,205,229,.16), 0 34px 120px rgba(0,0,0,.84); animation: project-3d-focus-rise 560ms cubic-bezier(.2,.78,.2,1) both; }
.amazon-focus-close { position: absolute; z-index: 4; top: 14px; right: 14px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; background: rgba(6,9,13,.68); font-size: 25px; line-height: 1; cursor: pointer; backdrop-filter: blur(9px); }
.amazon-focus-scroll { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-color: rgba(226,233,239,.48) rgba(255,255,255,.05); scrollbar-width: thin; touch-action: pan-y; }
.amazon-focus-scroll img { display: block; width: 100%; height: auto; min-height: 0; object-fit: contain; object-position: center top; background: #080a0d; image-rendering: auto; }

@media (max-width: 900px) {
  .amazon-index-heading { display: none; }
  .amazon-index-scroll { height: 100vh; min-height: 0; }
  .amazon-index-cards { top: 12vh; right: 5%; bottom: auto; left: 5%; display: grid; height: 79vh; overflow-y: auto; grid-template-columns: 1fr; gap: 22px; }
  .amazon-index-scroll-cue { top: 94vh; }
  .amazon-index-card,
  .amazon-index-card:nth-child(1),
  .amazon-index-card:nth-child(2),
  .amazon-index-card:nth-child(3) { position: relative; top: auto; right: auto; left: auto; width: min(420px,100%); height: 610px; margin: 0 auto; transform: none; }
  .amazon-index-card:nth-child(2):hover { transform: translateY(-4px); }
  .amazon-detail-header { top: 3%; }
  .amazon-detail-header p { display: none; }
  .amazon-gallery { top: 13%; right: 0; bottom: 20%; left: 0; }
  .amazon-slide { width: min(70vw, 480px); }
  .amazon-slide[data-position="left"] { transform: translate(calc(-50% - 74vw), -50%) scale(.72); }
  .amazon-slide[data-position="right"] { transform: translate(calc(-50% + 74vw), -50%) scale(.72); }
  .amazon-gallery-label { top: auto; bottom: 3%; }
  .amazon-gallery-footer { width: min(90vw, 520px); grid-template-columns: auto auto 1fr auto; gap: 12px; }
  .amazon-gallery-footer p { display: none; }
  .amazon-a-plus-section { min-height: 720px; }
  .amazon-a-plus-heading { top: 5%; left: 7%; width: 86%; }
  .amazon-a-plus-card { width: min(68vw, 390px); height: min(64vh, 580px); margin-top: 72px; }
  .amazon-focus-shell { width: 94vw; }
}

.project-3d-detail-page:not([hidden]) .project-3d-upload { display: grid; }

/* Visual-project viewer: restrained full-screen sizing with in-gallery navigation. */
.visual-detail-page .film-focus { padding: 5vh 7vw; }
.visual-detail-page .film-focus-backdrop { background: rgba(2,3,4,.91); backdrop-filter: blur(10px); }
.visual-detail-page .film-focus-card {
  width: min(70vw, 1320px);
  height: min(84vh, 820px);
  max-width: none;
  max-height: none;
  border-color: rgba(255,255,255,.45);
  background: #020303;
  box-shadow: 0 34px 120px rgba(0,0,0,.9);
  animation: visual-film-focus-rise 540ms cubic-bezier(.2,.76,.2,1) both;
}
.visual-detail-page .film-focus-nav {
  position: fixed;
  z-index: 5;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 50%;
  color: #111;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 34px rgba(0,0,0,.34);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, background-color 180ms ease;
}
.visual-detail-page .film-focus-nav:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.visual-detail-page .film-focus-nav:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.visual-detail-page .film-focus-nav-prev { left: 24px; }
.visual-detail-page .film-focus-nav-next { right: 24px; }
.visual-detail-page .film-focus-card { touch-action: pan-y; cursor: grab; }
.visual-detail-page .film-focus-card.is-swiping { cursor: grabbing; }
.visual-detail-page .film-focus-card.is-portrait { box-shadow: 0 28px 110px rgba(0,0,0,.92); }
.visual-detail-page .film-focus-card img { object-fit: contain; background: transparent; }
.visual-detail-page .film-focus-card > button {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-color: rgba(255,255,255,.48);
  background: rgba(8,10,11,.68);
  backdrop-filter: blur(10px);
}
.visual-detail-page .film-focus-card figcaption {
  padding: 54px 22px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.58));
  font-size: 13px;
  letter-spacing: .04em;
}
@keyframes visual-film-focus-rise {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 720px) {
  .visual-detail-page .film-focus { padding: 7vh 54px; }
  .visual-detail-page .film-focus-nav { width: 40px; height: 40px; font-size: 20px; }
  .visual-detail-page .film-focus-nav-prev { left: 8px; }
  .visual-detail-page .film-focus-nav-next { right: 8px; }
}


/* The fifth project contains exactly one filmstrip screen. */
.visual-detail-page { overflow: hidden; }
.visual-detail-page > .film-detail-stage { height: 100vh; min-height: 0; }
.editor-enabled .visual-detail-page .film-detail-intro { pointer-events: auto; }
.editor-enabled .visual-detail-page .film-detail-intro [data-editable-text] { position: relative; z-index: 7; cursor: text; }
.editor-enabled .visual-detail-page .film-card-image { cursor: grab; }

/* Third project: original-ratio floating viewer, matching the first project. */
[data-project-detail] .detail-poster-focus { padding: 5vh 7vw; }
[data-project-detail] .detail-poster-focus-backdrop { background: rgba(2,3,4,.91); backdrop-filter: blur(10px); }
[data-project-detail] .detail-poster-focus-card { width: min(70vw,1320px); height: 84vh; border-radius: 0; border-color: rgba(255,255,255,.45); background: #020303; box-shadow: 0 34px 120px rgba(0,0,0,.9); animation: brand-film-focus-rise 540ms cubic-bezier(.2,.76,.2,1) both; }
[data-project-detail] .detail-poster-focus-card img { object-fit: contain; background: transparent; transform: none; cursor: grab; }
[data-project-detail] .detail-poster-focus-controls { display: none; }
[data-project-detail] .detail-focus-nav { position: fixed; z-index: 5; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.58); border-radius: 50%; color: #111; background: rgba(255,255,255,.92); font-size: 24px; cursor: pointer; transform: translateY(-50%); }
[data-project-detail] .detail-focus-prev { left: 24px; }
[data-project-detail] .detail-focus-next { right: 24px; }
[data-project-detail] .detail-focus-nav:hover { background: #fff; }

/* Public release: hide editing controls before scripts and restored cards load. */
html[data-public-release] :is(.editor-dock, .experience-delete, [data-amazon-upload], [data-project-3d-upload], [data-video-detail-upload-label], [data-culture-video-upload], [data-workflow-video-upload], input[type="file"], .video-reference-overlay) {
  display: none !important;
  pointer-events: none !important;
}

html[data-public-release] .amazon-index-media.has-image::after,
html[data-public-release] .amazon-slide[data-position="center"].has-image::after {
  content: none !important;
  display: none !important;
}
