:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --text: #f6f1e8;
  --muted: #c9c1b4;
  --subtle: #8f887e;
  --line: rgba(255, 255, 255, 0.1);
  --blue: #c9a66b;
  --violet: #8d6a35;
  --gold: #c9a66b;
  --gold-light: #e0c08a;
  --gold-dark: #8d6a35;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --space-xs: 6px;
  --space-sm: 10px;
  --space-md: 14px;
  --space-lg: 20px;
  --space-xl: 28px;
  --space-2xl: 44px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --section-y: clamp(64px, 7vw, 92px);
  --section-y-compact: clamp(48px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.is-return-navigation {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: normal;
  background:
    radial-gradient(circle at 70% 8%, rgba(201, 166, 107, 0.12), transparent 32%),
    radial-gradient(circle at 18% 18%, rgba(224, 192, 138, 0.075), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

main {
  overflow-x: clip;
}

body.is-gate-locked {
  overscroll-behavior-y: none;
}

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

img {
  display: block;
  width: 100%;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(224, 192, 138, 0.72);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 18px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  color: var(--muted);
  font-size: clamp(12px, 0.86vw, 13px);
  letter-spacing: normal;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold-light);
}

body.is-gate-locked .nav a[href="#intro"],
body.is-gate-locked .nav a[href="#home"] {
  display: none;
}

body.is-gate-locked .nav {
  gap: 18px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(201, 166, 107, 0.3);
  border-radius: 8px;
  cursor: pointer;
}

.section {
  position: relative;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  padding: var(--section-y) 6vw;
  scroll-margin-top: 82px;
}

.section:not(.hero) {
  border-top: 1px solid rgba(201, 166, 107, 0.1);
}

.compact-block {
  padding-top: var(--section-y-compact);
  padding-bottom: var(--section-y-compact);
}

#profile-skills {
  position: relative;
  z-index: 3;
  overflow: hidden;
  opacity: var(--skills-enter-opacity, 1);
  transform: translate3d(0, var(--skills-enter-y, 0px), 0);
  will-change: opacity, transform;
  background:
    radial-gradient(circle at 16% 18%, rgba(201, 166, 107, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.94), rgba(5, 5, 5, 0.98));
}

.skills-bg-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.skills-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.38;
  filter: saturate(0.95) contrast(1.05) brightness(0.75);
}

#profile-skills::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.52), rgba(5, 5, 5, 0.68)),
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.46));
}

#profile-skills > *:not(.skills-bg-video-wrap) {
  position: relative;
  z-index: 2;
}

#profile-skills .skill-card,
#profile-skills .process-line {
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.84), rgba(10, 10, 10, 0.9));
  backdrop-filter: blur(10px);
  border-color: rgba(201, 166, 107, 0.22);
}

#profile-skills .process-line article {
  background: rgba(8, 8, 8, 0.18);
}

#cases {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.24), rgba(255, 255, 255, 0.012)),
    radial-gradient(circle at 50% 0%, rgba(201, 166, 107, 0.06), transparent 34%);
}

#more,
#business-proof,
#tools,
#about {
  background: rgba(255, 255, 255, 0.012);
}

#contact {
  background:
    radial-gradient(circle at 80% 30%, rgba(224, 192, 138, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(0, 0, 0, 0.18));
}

.intro-video-section {
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-width: none;
  height: calc(100vh - 62px);
  min-height: 680px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.22)),
    url("assets/hero-poster.jpg") center center / cover no-repeat,
    #050505;
  scroll-margin-top: 62px;
}

html.is-return-navigation .intro-video-section {
  visibility: hidden;
  pointer-events: none;
}

.intro-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  background:
    url("assets/hero-poster.jpg") center center / cover no-repeat,
    #050505;
  pointer-events: none;
}

.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background:
    url("assets/hero-poster.jpg") center center / cover no-repeat,
    #050505;
  opacity: 0;
  transition: opacity 420ms ease;
}

.intro-video-section.is-video-ready .intro-video {
  opacity: 1;
}

.intro-video-section.is-video-missing .intro-video,
.intro-video-section.is-video-paused .intro-video {
  opacity: 0;
}

.intro-video-section {
  margin-bottom: 0;
}

.hero {
  --hero-tree-opacity: 0.68;
  --hero-tree-scale: 1.04;
  --hero-tree-y: 0px;
  --hero-tree-blur: 0px;
  --hero-tree-particle-opacity: 0;
  --hero-video-opacity: 0;
  --hero-content-opacity: 1;
  --hero-content-y: 0px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1440px;
  min-height: calc(100vh - 62px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 420px);
  grid-template-areas:
    "copy side"
    "main side";
  column-gap: clamp(44px, 5vw, 76px);
  row-gap: 18px;
  align-items: center;
  align-content: center;
  padding-top: 38px;
  padding-bottom: 38px;
}

#profile.hero {
  overflow: visible;
  isolation: isolate;
}

#profile.hero-scroll-scene {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-height: 185vh;
  margin: 0;
  padding: 0;
  overflow: visible;
  isolation: isolate;
  scroll-margin-top: 0;
}

.hero-scroll-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 420px);
  grid-template-areas: "content side";
  column-gap: clamp(44px, 5vw, 76px);
  align-items: center;
  align-content: center;
  padding: clamp(16px, 3vh, 32px) clamp(24px, 4vw, 56px);
}

.hero > *:not(.hero-orb):not(.hero-light-rays):not(.hero-tree-bg):not(.hero-tree-particles) {
  position: relative;
  z-index: 1;
}

.hero-scroll-sticky > * {
  position: relative;
}

.hero-scroll-sticky > .hero-tree-bg,
.hero-scroll-sticky > .hero-tree-particles {
  left: 0;
  width: 100%;
  transform: none;
}

.hero-scroll-sticky > .hero-tree-bg {
  z-index: 0;
  transform: translate3d(0, var(--hero-tree-y), 0) scale(var(--hero-tree-scale));
}

.hero-scroll-sticky > .hero-light-rays,
.hero-scroll-sticky > .hero-orb {
  z-index: 1;
}

.hero-tree-dissolve-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: var(--hero-video-opacity, 0);
  will-change: opacity;
}

.hero-scroll-sticky > .hero-tree-particles {
  z-index: 3;
}

.hero-content-stack,
.hero-scroll-sticky > .hero-side {
  position: relative;
  z-index: 4;
  opacity: var(--hero-content-opacity, 1);
  transform: translate3d(0, var(--hero-content-y, 0px), 0);
  will-change: transform, opacity;
}

.hero-content-stack {
  grid-area: content;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tree-bg,
.hero-tree-particles {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  pointer-events: none;
}

.hero-tree-bg {
  z-index: 0;
  opacity: var(--hero-tree-opacity);
  transform: translateX(-50%) translate3d(0, var(--hero-tree-y), 0) scale(var(--hero-tree-scale));
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.76), rgba(5, 5, 5, 0.28) 44%, rgba(5, 5, 5, 0.62)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.8)),
    url("assets/hero-transition-bg.webp");
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) brightness(0.82) blur(var(--hero-tree-blur));
  will-change: transform, opacity, filter;
}

.hero-tree-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 46%, rgba(224, 192, 138, 0.14), transparent 34%),
    radial-gradient(circle at 18% 70%, rgba(255, 255, 255, 0.055), transparent 30%),
    linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.36) 72%, rgba(5, 5, 5, 0.72) 100%);
  mix-blend-mode: screen;
}

.hero-tree-particles {
  z-index: 0;
  opacity: var(--hero-tree-particle-opacity);
  transform: translateX(-50%);
  mix-blend-mode: screen;
  will-change: opacity;
}

.hero-light-rays {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.hero-light-rays canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-orb {
  position: absolute;
  z-index: 0;
  width: 34vw;
  max-width: 520px;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.28;
  pointer-events: none;
  animation: floatOrb 18s var(--ease) infinite alternate;
}

.hero-orb-gold {
  top: 8%;
  right: 8%;
  background: rgba(224, 192, 138, 0.36);
  animation-duration: 20s;
}

.hero-orb-purple {
  left: 34%;
  bottom: 8%;
  background: rgba(72, 45, 92, 0.34);
  animation-duration: 24s;
}

.hero-orb-dark {
  left: -8%;
  top: 28%;
  background: rgba(16, 25, 42, 0.62);
  animation-duration: 16s;
}

@keyframes floatOrb {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(32px, -24px, 0) scale(1.08);
  }
}

.hero-copy {
  grid-area: auto;
  align-self: auto;
}

.hero-main {
  grid-area: auto;
  align-self: auto;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
.btn,
.card,
.case-card {
  margin-top: 0;
  letter-spacing: normal;
}

h1 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(56px, 6vw, 84px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(32px, 2.7vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 7px;
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.35;
}

.role {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
}

.fit,
.one-line {
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
}

.value {
  max-width: 680px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 17px;
}

.hero-target-direction {
  margin: 16px 0 0;
  color: rgba(224, 192, 138, 0.86);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.hero-target-direction::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: linear-gradient(90deg, rgba(224, 192, 138, 0.92), rgba(224, 192, 138, 0.12));
}

.hero-tags,
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-grid span {
  padding: 7px 11px;
  color: var(--text);
  border: 1px solid rgba(201, 166, 107, 0.28);
  border-radius: 999px;
  background: rgba(201, 166, 107, 0.07);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  gap: 8px;
  margin-top: 18px;
}

.proof-strip span {
  min-height: 54px;
  padding: 10px;
  color: var(--muted);
  border: 1px solid rgba(201, 166, 107, 0.32);
  border-radius: 10px;
  background: rgba(201, 166, 107, 0.07);
  font-size: 14px;
}

.proof-strip strong {
  display: block;
  color: var(--gold);
  font-size: 15px;
}

.hero-actions,
.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.32s var(--ease), background 0.32s var(--ease), border-color 0.32s var(--ease), color 0.32s var(--ease);
}

.hero-actions .btn {
  min-height: 44px;
  padding: 11px 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 45%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.55s var(--ease);
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn-primary {
  color: #080808;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
}

.btn-secondary,
.btn-card {
  color: var(--text);
  border-color: rgba(201, 166, 107, 0.44);
  background: rgba(255, 255, 255, 0.035);
}

.btn-secondary:hover {
  color: var(--gold-light);
  border-color: rgba(224, 192, 138, 0.82);
}

.btn-card {
  color: #080808;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.hero-contact a {
  color: var(--muted);
  text-decoration: none;
}

.hero-contact a:hover,
.hero-contact .contact-copy:hover,
.hero-contact .contact-copy:focus-visible {
  color: var(--gold-light);
}

.hero-side {
  grid-area: side;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: end;
  position: relative;
  width: min(100%, 420px);
  padding: 14px;
  border: 1px solid rgba(201, 166, 107, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.18);
  box-shadow: var(--shadow);
}

.avatar-card,
.skill-card,
.preview-card,
.case-card,
.tool-card,
.about-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
}

.skill-card,
.preview-card,
.case-card,
.tool-card,
.about-card,
.contact-card {
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.skill-card:hover,
.preview-card:hover,
.case-card:hover,
.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 166, 107, 0.38);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.58);
}

.avatar-card {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 18px;
  margin: 0;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.avatar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 192, 138, 0.48);
}

.avatar-frame {
  width: clamp(280px, 24vw, 360px);
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  min-height: 0;
  border-radius: 18px;
  border: 1px solid rgba(201, 166, 107, 0.46);
  box-shadow: 0 0 34px rgba(201, 166, 107, 0.15);
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.avatar-slot span {
  display: grid;
  gap: 4px;
}

.avatar-slot strong {
  color: var(--text);
  font-size: 34px;
  line-height: 1;
}

.avatar-slot small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section-heading {
  position: relative;
  max-width: 780px;
  margin-bottom: 34px;
  padding-left: 18px;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 3px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-light), rgba(201, 166, 107, 0.1));
  box-shadow: 0 0 16px rgba(201, 166, 107, 0.14);
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 68px;
  height: 1px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-heading p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.section-heading-compact {
  margin-bottom: var(--space-lg);
}

.works-heading {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  max-width: 100%;
}

.works-heading-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  flex: 1 1 auto;
}

.works-ip-decoration {
  position: absolute;
  top: 34px;
  right: -26px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: clamp(220px, 18vw, 290px);
  min-height: 180px;
  overflow: visible;
  pointer-events: none;
}

.works-ip-decoration img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: translateX(8px);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
  animation: floatPeek 5s ease-in-out infinite;
}

@keyframes floatPeek {
  0%,
  100% {
    transform: translateX(8px) translateY(0);
  }

  50% {
    transform: translateX(8px) translateY(-4px);
  }
}

.works-ip-decoration img[src=""],
.works-ip-decoration img:not([src]),
.works-ip-decoration img[hidden] {
  display: none;
}

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

.skill-card {
  min-height: auto;
  align-self: start;
  padding: var(--space-lg);
}

.skill-grid + .process-line {
  margin-top: var(--space-lg);
}

.skill-card p,
.tool-card p,
.preview-card p,
.case-points p,
.role-line,
.contact-section p,
.result-summary {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
}

.process-line article {
  position: relative;
  min-height: 120px;
  padding: var(--space-lg);
  border-right: 1px solid var(--line);
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), background 0.32s var(--ease);
}

.process-line article:last-child {
  border-right: 0;
}

.process-line span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  color: var(--gold);
  border: 1px solid rgba(201, 166, 107, 0.34);
  border-radius: 999px;
  font-weight: 800;
  transition: color 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.process-line article:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 192, 138, 0.55);
  background: rgba(201, 166, 107, 0.055);
}

.process-line article:hover span {
  color: var(--gold-light);
  border-color: rgba(224, 192, 138, 0.76);
  box-shadow: 0 0 18px rgba(201, 166, 107, 0.18);
}

.process-line h3 {
  font-size: 17px;
}

.process-line p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
  gap: 22px;
  align-items: stretch;
}

.preview-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 100%;
  min-height: auto;
  padding: 18px;
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 20% 0%, rgba(224, 192, 138, 0.09), transparent 34%),
    rgba(8, 8, 8, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  letter-spacing: normal;
}

.preview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(224, 192, 138, 0.14), transparent 32%),
    linear-gradient(315deg, rgba(201, 166, 107, 0.08), transparent 38%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.preview-card::after {
  content: attr(data-hover);
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  padding: 8px 11px;
  color: #080808;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
  font-size: 12px;
  font-weight: 800;
}

.preview-card:hover::before {
  opacity: 1;
}

.preview-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.preview-product {
  grid-column: auto;
  grid-row: auto;
  border-color: rgba(224, 192, 138, 0.34);
}

.preview-ip,
.preview-3d {
  grid-column: auto;
  transform: none;
}

.preview-video {
  grid-column: auto;
  grid-row: auto;
  margin-top: 0;
}

.preview-product .preview-images,
.preview-video .preview-images {
  min-height: 0;
}

.preview-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(20px, 1.5vw, 24px);
  line-height: 1.25;
}

.preview-card h3::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

.preview-card p {
  position: relative;
  z-index: 1;
  max-width: 88%;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: normal;
}

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

.preview-card .image-slot {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  min-height: 0;
  color: var(--text);
  border: 1px solid rgba(201, 166, 107, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(rgba(201, 166, 107, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 107, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 25% 18%, rgba(224, 192, 138, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(201, 166, 107, 0.12), rgba(20, 20, 20, 0.92));
  background-size: 18px 18px, 18px 18px, auto, auto;
  text-align: center;
}

.preview-card .image-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.38));
  opacity: 0;
  transition: opacity 0.32s var(--ease);
  pointer-events: none;
  z-index: 3;
}

.preview-card:hover .image-slot::after {
  opacity: 1;
}

button.image-slot {
  width: 100%;
  cursor: pointer;
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease);
}

button.image-slot:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 192, 138, 0.62);
}

.image-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.35s ease;
}

.preview-card:hover .image-slot img,
.case-card:hover .image-slot img {
  transform: scale(1.03);
}

.image-slot span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  padding: 10px;
  font-weight: 800;
}

.preview-card .image-slot span {
  font-size: 13px;
  line-height: 1.4;
}

.image-slot small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.image-slot.is-missing img {
  display: none;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

.case-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: auto;
  align-self: start;
  border-radius: var(--radius-lg);
  letter-spacing: normal;
}

.case-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  min-height: 168px;
  max-height: 218px;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(201, 166, 107, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 107, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 25% 18%, rgba(224, 192, 138, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(201, 166, 107, 0.12), rgba(20, 20, 20, 0.92));
  background-size: 18px 18px, 18px 18px, auto, auto;
  font-size: 19px;
}

.case-media img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.case-media span {
  position: relative;
  z-index: 1;
}

.case-media.is-missing img {
  display: none;
}

/* Selected Works Reveal Animation */
.selected-works-reveal {
  --sw-heading-opacity: 0;
  --sw-heading-y: 24px;
  --sw-hero-scale: 1;
  --sw-hero-opacity: 1;
  --sw-card-opacity: 0;
  --sw-card-scale: 0.78;
  --sw-card-y: 22px;
  --sw-card-spread: 0px;
  --sw-footnote-opacity: 0;
  --sw-footnote-y: 10px;
  --flip-1: 0deg;
  --flip-2: 0deg;
  --flip-3: 0deg;
  position: relative;
  min-height: 330vh;
}

.selected-works-sticky {
  position: sticky;
  top: 0;
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding: 76px 0 48px;
  overflow: hidden;
}

.selected-works-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 48% 12%, rgba(224, 192, 138, 0.12), transparent 30%),
    radial-gradient(circle at 78% 42%, rgba(94, 159, 216, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.28));
}

.selected-works-heading {
  position: absolute;
  top: clamp(66px, 7.2vh, 88px);
  left: 50%;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(36px, 4.2vw, 72px);
  width: min(1120px, 84vw);
  text-align: left;
  opacity: var(--sw-heading-opacity);
  transform: translate3d(-50%, var(--sw-heading-y), 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.selected-works-desc-panel {
  justify-self: start;
  width: min(640px, 100%);
  max-width: none;
  padding-top: 0;
  transform: translateY(16px);
}

.selected-works-desc-panel p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1vw, 16px);
  line-height: 1.8;
  text-align: left;
}

.selected-works-desc-panel span {
  display: block;
}

.selected-works-title-panel {
  justify-self: start;
  padding-right: 0;
  text-align: left;
}

.selected-works-title-panel h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(44px, 4.6vw, 66px);
  line-height: 1.05;
  white-space: nowrap;
}

.selected-works-title-panel .eyebrow {
  margin-bottom: 8px;
}

.works-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: min(82vh, 790px);
  padding-top: clamp(56px, 8.5vh, 98px);
  perspective: 1400px;
}

.works-hero-image {
  position: absolute;
  z-index: 1;
  width: min(90vw, 1280px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(201, 166, 107, 0.26);
  border-radius: clamp(18px, 2vw, 30px);
  background:
    linear-gradient(rgba(201, 166, 107, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 107, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 26% 18%, rgba(224, 192, 138, 0.22), transparent 34%),
    radial-gradient(circle at 72% 45%, rgba(94, 159, 216, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(201, 166, 107, 0.16), rgba(7, 7, 7, 0.95));
  background-size: 18px 18px, 18px 18px, auto, auto, auto;
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.56);
  opacity: var(--sw-hero-opacity);
  transform: scale(var(--sw-hero-scale));
  transform-origin: center center;
  will-change: transform, opacity;
}

.works-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.26)),
    radial-gradient(circle at 50% 25%, rgba(255, 245, 215, 0.1), transparent 28%);
}

.works-hero-image img,
.work-card-front img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.works-hero-image span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--gold-light);
  text-align: center;
  letter-spacing: 0.04em;
}

.work-card-front span,
.work-card-back .image-slot span {
  display: none !important;
}

.works-cards {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.selected-works-footnote {
  position: absolute;
  left: 50%;
  top: calc(58% + clamp(260px, 31vh, 318px));
  z-index: 4;
  width: min(1080px, 84vw);
  margin: 0;
  color: rgba(246, 241, 232, 0.72);
  font-size: clamp(13px, 0.9vw, 14px);
  line-height: 1.7;
  letter-spacing: 0.04em;
  opacity: var(--sw-footnote-opacity);
  transform: translate3d(-50%, var(--sw-footnote-y), 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.selected-works-footnote::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(224, 192, 138, 0.9);
  box-shadow: 0 0 12px rgba(224, 192, 138, 0.35);
  vertical-align: middle;
}

.selected-works-reveal.is-complete .works-cards {
  pointer-events: auto;
}

.work-card {
  position: absolute;
  top: 56%;
  left: 50%;
  width: clamp(310px, 22vw, 365px);
  height: clamp(480px, 56vh, 520px);
  overflow: hidden;
  opacity: var(--sw-card-opacity);
  perspective: 1200px;
  transform:
    translate3d(-50%, -50%, 0)
    translate3d(calc(var(--card-offset) * var(--sw-card-spread)), var(--sw-card-y), 0)
    scale(var(--sw-card-scale));
  transform-style: preserve-3d;
  transition: filter 0.28s var(--ease);
  will-change: transform, opacity;
}

.work-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateY(var(--flip));
  transform-style: preserve-3d;
  transition: none;
  will-change: transform;
}

.work-card-front,
.work-card-back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 166, 107, 0.24);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 28% 14%, rgba(224, 192, 138, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022)),
    rgba(8, 8, 8, 0.92);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.46);
  will-change: transform, opacity;
}

.work-card-front {
  z-index: 2;
  transform: rotateY(0deg);
}

.work-card-front::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.04), rgba(5, 5, 5, 0.48)),
    radial-gradient(circle at 50% 18%, rgba(255, 243, 205, 0.16), transparent 28%);
}

.work-card-back {
  z-index: 1;
  transform: rotateY(180deg);
}

.work-card-back .case-card {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
  border: 0;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}

.selected-works-reveal .work-card-back .case-card {
  width: 100%;
  height: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
}

.work-card-back .case-card:hover {
  transform: none;
}

.work-card-back .case-media {
  width: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 166, 107, 0.18);
}

.work-card-back .case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-card-back .case-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  padding: 14px;
  overflow: hidden;
}

.work-card-back .case-tag {
  min-width: 0;
  min-height: 38px;
  margin-bottom: 2px;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.work-card-back .case-card h3 {
  min-width: 0;
  min-height: 52px;
  margin-bottom: 2px;
  font-size: clamp(17px, 1.1vw, 19px);
  line-height: 1.35;
  overflow-wrap: break-word;
}

.work-card-back .case-intro {
  min-width: 0;
  min-height: 44px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  overflow: hidden;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.work-card-back .case-details {
  max-height: 0;
  overflow: hidden;
}

.work-card-back .case-card.is-expanded .case-details {
  max-height: 82px;
  padding-top: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 166, 107, 0.35) transparent;
}

.work-card-back .case-card.is-expanded .case-tag {
  min-height: 0;
}

.work-card-back .case-card.is-expanded h3 {
  min-height: 0;
}

.work-card-back .case-card.is-expanded .case-intro {
  min-height: 0;
  -webkit-line-clamp: 1;
}

.work-card-back .case-card.is-expanded .case-details::-webkit-scrollbar {
  width: 4px;
}

.work-card-back .case-card.is-expanded .case-details::-webkit-scrollbar-track {
  background: transparent;
}

.work-card-back .case-card.is-expanded .case-details::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(201, 166, 107, 0.35);
}

.work-card-back .case-actions {
  position: relative;
  z-index: 5;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 8px;
}

.work-card-back .case-card.is-expanded .case-actions {
  margin-top: 4px;
}

.work-card-back .case-actions .btn,
.work-card-back .case-actions button,
.work-card-back .case-actions a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

@media (max-width: 1320px) and (min-width: 769px) {
  .work-card {
    width: clamp(292px, 23vw, 330px);
    height: clamp(480px, 60vh, 520px);
  }
}

.work-card,
.work-card-inner,
.work-card-front,
.work-card-back,
.work-card-back .case-card,
.work-card-back .case-body {
  overflow-x: hidden;
}

.selected-works-reveal.is-complete .work-card:hover {
  filter: brightness(1.05);
}

.work-card-back,
.work-card-back .case-card,
.work-card-back .case-actions,
.work-card-back .case-actions a,
.work-card-back .case-actions button {
  pointer-events: auto;
}

.case-body {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.case-card h3 {
  display: -webkit-box;
  min-height: 54px;
  margin-bottom: 2px;
  overflow: hidden;
  font-size: 20px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.case-card p {
  letter-spacing: normal;
}

.case-tag {
  display: -webkit-box;
  min-height: 36px;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.06em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.case-intro {
  display: -webkit-box;
  min-height: 74px;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.role-line {
  padding: 9px 11px;
  border: 1px solid rgba(201, 166, 107, 0.24);
  border-radius: 9px;
  background: rgba(201, 166, 107, 0.055);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: normal;
}

.role-line strong,
.case-points strong {
  color: var(--gold-light);
}

.case-tools {
  padding: 9px 11px;
  margin: 0;
  color: var(--muted);
  border: 1px solid rgba(201, 166, 107, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
  line-height: 1.58;
}

.case-tools strong {
  color: var(--gold-light);
}

.project-impact {
  padding: 12px 12px 11px;
  border: 1px solid rgba(201, 166, 107, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(201, 166, 107, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.18);
}

.project-impact p {
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-impact ul {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.project-impact li {
  position: relative;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.project-impact li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 900;
}

.case-points {
  display: grid;
  gap: 8px;
}

.case-points strong {
  display: block;
  font-size: 13px;
}

.case-details {
  display: grid;
  gap: 10px;
  max-height: 0;
  flex: 0 0 auto;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.42s var(--ease), opacity 0.32s var(--ease), margin-top 0.32s var(--ease);
}

.case-card:not(.is-expanded) .case-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
}

.case-details[hidden] {
  display: none;
}

.case-card.is-expanded .case-details {
  max-height: 620px;
  opacity: 1;
  margin-top: 2px;
}

.result-summary {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: normal;
}

.case-actions {
  margin-top: 20px;
  gap: 10px;
}

.case-toggle {
  min-width: 108px;
}

.more-ppt-showcase {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(201, 166, 107, 0.16);
}

.more-ppt-heading {
  max-width: 720px;
  margin-bottom: 18px;
}

.more-ppt-heading h3 {
  margin-bottom: 6px;
  font-size: clamp(21px, 1.65vw, 28px);
}

.more-ppt-heading p,
.more-ppt-heading small {
  display: block;
  color: var(--muted);
  margin-bottom: 0;
}

.more-ppt-heading small {
  margin-top: 6px;
  color: var(--text-subtle);
  font-size: 12px;
}

.more-ppt-carousel {
  position: relative;
  max-width: 1160px;
  margin: 0;
}

.more-ppt-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scroll-behavior: smooth;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.more-ppt-viewport::-webkit-scrollbar {
  display: none;
}

.more-ppt-track {
  display: flex;
  gap: 18px;
  width: max-content;
  min-width: 100%;
  padding: 2px 2px 8px;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: scroll-position;
}

.more-ppt-carousel.is-dragging,
.more-ppt-carousel.is-dragging * {
  cursor: grabbing;
  user-select: none;
}

.more-ppt-carousel.is-dragging .more-ppt-viewport,
.more-ppt-carousel.is-inertia .more-ppt-viewport {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.more-ppt-carousel.is-dragging img,
.more-ppt-carousel.is-dragging a {
  -webkit-user-drag: none;
}

.more-ppt-item {
  flex: 0 0 clamp(500px, 44vw, 560px);
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 0.52fr);
  gap: 16px;
  align-items: center;
  min-height: 250px;
  padding: 18px;
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    rgba(0, 0, 0, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  transition:
    background 0.42s var(--ease),
    border-color 0.42s var(--ease),
    box-shadow 0.42s var(--ease),
    transform 0.42s var(--ease);
}

.more-ppt-item:hover {
  background: rgba(201, 166, 107, 0.035);
  border-color: rgba(224, 192, 138, 0.42);
  transform: translateY(-2px);
}

.more-ppt-item.is-active {
  border-color: rgba(224, 192, 138, 0.42);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  transform: translateY(-3px);
}

.more-ppt-carousel.is-dragging .more-ppt-item,
.more-ppt-carousel.is-inertia .more-ppt-item {
  transform: none;
}

.more-ppt-cover {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-self: center;
  border: 1px solid rgba(201, 166, 107, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(rgba(201, 166, 107, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 107, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 25% 18%, rgba(224, 192, 138, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(201, 166, 107, 0.12), rgba(20, 20, 20, 0.92));
  background-size: 18px 18px, 18px 18px, auto, auto;
}

.more-ppt-cover img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.32s var(--ease);
}

.more-ppt-item:hover .more-ppt-cover img {
  transform: scale(1.03);
}

.more-ppt-cover span {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 8px;
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--text);
  font-size: 12px;
}

.more-ppt-cover small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.more-ppt-cover.is-missing img {
  display: none;
}

.more-ppt-content {
  min-width: 0;
}

.more-ppt-tag {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.more-ppt-level {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  padding: 5px 10px;
  color: rgba(224, 192, 138, 0.9);
  border: 1px solid rgba(201, 166, 107, 0.28);
  border-radius: 999px;
  background: rgba(224, 192, 138, 0.08);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.more-ppt-title {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--text);
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.more-ppt-content p:not(.more-ppt-tag):not(.more-ppt-level) {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.more-ppt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.more-ppt-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(201, 166, 107, 0.24);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}

.more-ppt-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.more-ppt-link:hover,
.more-ppt-link:focus-visible {
  color: var(--text);
  transform: translateX(2px);
}

.more-ppt-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.more-ppt-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--gold-light);
  border: 1px solid rgba(201, 166, 107, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), background 0.28s var(--ease);
}

.more-ppt-arrow:hover,
.more-ppt-arrow:focus-visible {
  border-color: rgba(224, 192, 138, 0.72);
  background: rgba(201, 166, 107, 0.08);
  transform: translateY(-2px);
}

.more-ppt-hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(224, 192, 138, 0.74);
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-shadow: 0 0 12px rgba(224, 192, 138, 0.12);
  animation: hintGlow 3.4s ease-in-out infinite;
}

.more-ppt-hint::after {
  content: "";
  position: absolute;
  left: -35%;
  right: auto;
  bottom: -2px;
  width: 34%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(224, 192, 138, 0.9), transparent);
  animation: hintSweep 3.6s ease-in-out infinite;
}

@keyframes hintGlow {
  0%, 100% {
    opacity: 0.72;
    text-shadow: 0 0 10px rgba(224, 192, 138, 0.08);
  }
  50% {
    opacity: 0.96;
    text-shadow: 0 0 18px rgba(224, 192, 138, 0.22);
  }
}

@keyframes hintSweep {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  72% {
    opacity: 1;
  }
  100% {
    transform: translateX(390%);
    opacity: 0;
  }
}

.more-ppt-progress {
  position: relative;
  width: min(220px, 46vw);
  height: 2px;
  margin: 12px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(201, 166, 107, 0.16);
}

.more-ppt-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: 999px;
  background: var(--gold-light);
  transition: width 0.22s var(--ease);
}

.tool-card h3 {
  color: #ffffff;
  font-size: clamp(18px, 1.25vw, 21px);
}

.tag-grid span {
  border-color: rgba(201, 166, 107, 0.28);
  background: rgba(201, 166, 107, 0.08);
}

.tag-grid span,
.nav a {
  letter-spacing: normal;
}

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

.tool-card {
  min-height: auto;
  align-self: start;
  padding: var(--space-lg);
}

.tool-name {
  margin-bottom: var(--space-sm);
  color: var(--gold) !important;
  font-weight: 800;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.3fr) minmax(0, 1fr);
  gap: var(--space-xl);
}

.about-card {
  padding: var(--space-lg);
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  padding-left: 13px;
  color: var(--muted);
  border-left: 3px solid rgba(201, 166, 107, 0.55);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.contact-entry {
  position: relative;
  max-width: 480px;
}

.contact-entry h2 {
  margin-bottom: 18px;
}

.contact-entry p {
  max-width: 430px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.contact-target-roles {
  max-width: 460px;
  margin: 18px 0 20px;
  padding: 16px 18px;
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.contact-target-roles span {
  display: block;
  margin-bottom: 8px;
  color: rgba(224, 192, 138, 0.86);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-target-roles p {
  margin: 0;
  color: rgba(246, 241, 232, 0.9);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
}

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

.contact-card-wrap {
  position: relative;
  width: min(100%, 900px);
  justify-self: end;
  border: 1px solid rgba(201, 166, 107, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 22% 12%, rgba(224, 192, 138, 0.11), transparent 30%),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.contact-card-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1672 / 941;
  border-radius: 18px;
  background:
    linear-gradient(rgba(201, 166, 107, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 107, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 24% 18%, rgba(224, 192, 138, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(201, 166, 107, 0.1), rgba(12, 12, 12, 0.96));
  background-size: 18px 18px, 18px 18px, auto, auto;
}

.contact-card-image img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.contact-card-image span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--text);
  text-align: center;
}

.contact-hotspot {
  position: absolute;
  z-index: 4;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.28s var(--ease), background 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.contact-hotspot:hover,
.contact-hotspot:focus-visible {
  border-color: rgba(224, 192, 138, 0.58);
  background: rgba(201, 166, 107, 0.08);
  box-shadow: 0 0 24px rgba(201, 166, 107, 0.12);
}

.contact-hotspot-wechat {
  left: 47.4%;
  top: 30.3%;
  width: 26.8%;
  height: 7.9%;
}

.contact-hotspot-phone {
  left: 47.4%;
  top: 42.1%;
  width: 26.8%;
  height: 7.7%;
}

.contact-hotspot-email {
  left: 47.4%;
  top: 53.8%;
  width: 26.8%;
  height: 7.9%;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg);
}

.contact-card a:not(.btn),
.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-card span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.contact-list a,
.contact-list span,
.contact-copy {
  color: inherit;
  padding: 0;
  font: inherit;
  line-height: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.contact-list a:hover,
.contact-copy:hover,
.contact-copy:focus-visible {
  color: var(--gold-light);
}

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

.contact-method {
  display: grid;
  gap: 6px;
  min-height: 78px;
  padding: 14px;
  color: var(--text);
  text-align: left;
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.22);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), background 0.32s var(--ease);
}

.contact-method span {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
}

.contact-method strong {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
  word-break: break-all;
}

.contact-method:hover,
.contact-method:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(224, 192, 138, 0.5);
  background:
    linear-gradient(180deg, rgba(201, 166, 107, 0.11), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.26);
}

.site-footer {
  padding: 22px 6vw;
  color: var(--subtle);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 44px;
  height: 44px;
  color: #080808;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(980px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  padding: 11px 14px;
  color: var(--text);
  border: 1px solid rgba(201, 166, 107, 0.38);
  border-radius: 10px;
  background: rgba(8, 8, 8, 0.94);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(7px);
}

.contact-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 26px;
  border: 1px solid rgba(201, 166, 107, 0.28);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 0%, rgba(224, 192, 138, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(24, 24, 24, 0.96), rgba(8, 8, 8, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.28s var(--ease);
}

.contact-modal.is-open .contact-modal-panel {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  color: var(--text);
  border: 1px solid rgba(201, 166, 107, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.contact-modal-content {
  display: none;
}

.contact-modal-content.is-active {
  display: grid;
  gap: 16px;
}

.contact-modal-content h3 {
  padding-right: 32px;
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(20px, 2vw, 26px);
  word-break: break-all;
}

.wechat-qr {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 240px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(201, 166, 107, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(rgba(201, 166, 107, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 107, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 18px 18px, 18px 18px, auto;
}

.wechat-qr img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wechat-qr span {
  position: relative;
  z-index: 1;
}

.wechat-qr.is-missing img {
  display: none;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .section:not(.hero) {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .skill-card,
  .tool-card,
  .about-card,
  .process-line article {
    padding: 20px;
  }

  .case-body {
    padding: 22px;
  }

  .preview-card {
    padding: 18px;
  }

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

  .process-line {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 18px;
  }

  .case-grid {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 20px;
    align-items: start;
  }

  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1180px;
    margin: 0 auto;
    gap: 22px;
    align-items: stretch;
  }

  .preview-product {
    grid-column: auto;
    grid-row: auto;
  }

  .preview-video {
    grid-column: auto;
    grid-row: auto;
  }

  .preview-card,
  .case-card,
  .tool-card {
    max-width: 100%;
  }

  .case-card {
    height: auto;
    align-self: start;
  }

  .case-actions {
    gap: 10px;
  }
}

@media (min-width: 1280px) {
  .preview-card p,
  .case-card p,
  .role-line,
  .result-summary {
    font-size: 15px;
  }
}

@media (min-width: 1440px) {
  .section,
  .hero {
    max-width: 1360px;
  }

  .section:not(.hero) {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}

@media (max-width: 1180px) {
  .nav {
    gap: 10px;
  }

  .process-line,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .preview-product,
  .preview-ip,
  .preview-3d,
  .preview-video {
    grid-column: auto;
    grid-row: auto;
  }

  .process-line article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "side"
      "main";
  }

  .hero-side {
    width: min(100%, 440px);
    max-width: 360px;
    justify-self: start;
    align-self: start;
  }

  .hero-side::before {
    display: none;
  }

  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-entry {
    max-width: 100%;
  }

  .contact-card-wrap {
    justify-self: stretch;
    width: 100%;
  }

  .more-ppt-controls {
    position: static;
    justify-content: center;
    margin-top: 14px;
  }

  .more-ppt-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }

  .more-ppt-viewport::-webkit-scrollbar {
    display: none;
  }

  .more-ppt-track {
    gap: 14px;
  }

  .more-ppt-arrow {
    display: none;
  }

  .more-ppt-item {
    flex-basis: min(78vw, 520px);
    grid-template-columns: minmax(190px, 0.46fr) minmax(0, 0.54fr);
    min-height: 230px;
  }

  .more-ppt-cover {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .proof-strip,
  .skill-grid,
  .tool-grid,
  .contact-card,
  .about-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 5vw;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    top: 62px;
    right: 5vw;
    left: 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(5, 5, 5, 0.98);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 11px;
  }

  .intro-video-section {
    width: 100vw;
    max-width: none;
    height: calc(100svh - 62px);
    min-height: 560px;
    padding: 0;
    margin: 0;
  }

  .intro-video-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .section,
  .hero {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .section:not(.hero) {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section-heading {
    padding-left: 14px;
    margin-bottom: 22px;
  }

  .section-heading::before {
    top: 5px;
    height: 42px;
  }

  .section-heading h2::after {
    margin-top: 10px;
  }

  .works-heading {
    display: block;
    position: relative;
  }

  .works-ip-decoration {
    position: absolute;
    top: 8px;
    right: -10px;
    width: 120px;
    min-height: 90px;
  }

  .hero {
    min-height: calc(100svh - 62px);
    padding-top: 34px;
    padding-bottom: 44px;
  }

  .avatar-frame {
    width: clamp(240px, 72vw, 320px);
    aspect-ratio: 3 / 4;
    border-radius: 18px;
  }

  .hero-side {
    width: min(100%, 340px);
    justify-self: center;
    padding: 12px;
  }

  .hero-contact {
    margin-top: 20px;
    gap: 6px 16px;
  }

  .avatar-card {
    width: 100%;
    margin: 0;
  }

  .process-line,
  .preview-grid,
  .case-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .preview-product,
  .preview-video {
    grid-column: span 1;
  }

  .more-ppt-showcase {
    margin-top: 22px;
    padding-top: 18px;
  }

  .more-ppt-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }

  .more-ppt-viewport::-webkit-scrollbar {
    display: none;
  }

  .more-ppt-track {
    gap: 12px;
  }

  .more-ppt-item {
    flex-basis: min(84vw, 360px);
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 14px;
  }

  .more-ppt-cover {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .more-ppt-title {
    min-height: auto;
  }

  .more-ppt-arrow {
    display: none;
  }

  .preview-ip,
  .preview-3d,
  .preview-video {
    margin-top: 0;
    transform: none;
  }

  .preview-ip:hover,
  .preview-3d:hover,
  .preview-video:hover {
    transform: translateY(-4px);
  }

  .preview-card,
  .case-card {
    height: auto;
    align-self: start;
  }

  h1 {
    font-size: clamp(48px, 18vw, 72px);
  }

  h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  h3 {
    font-size: 18px;
  }

  .role {
    font-size: 22px;
  }

  .value {
    font-size: 17px;
  }

  .skill-card,
  .tool-card,
  .about-card,
  .contact-card,
  .case-body {
    padding: 16px;
  }

  .skill-card,
  .tool-card {
    min-height: auto;
  }

  .process-line article {
    min-height: auto;
    padding: 16px;
  }

  .preview-card {
    padding: 12px;
  }

  .preview-product .preview-images,
  .preview-video .preview-images {
    min-height: 0;
  }

  .hero-actions .btn,
  .case-actions .btn,
  .contact-card .btn,
  .contact-entry-actions .btn {
    width: 100%;
  }

  .contact-list {
    gap: 8px 14px;
    font-size: 14px;
  }

  .contact-actions,
  .modal-actions {
    grid-template-columns: 1fr;
  }

  .contact-method {
    min-height: 66px;
  }

  .contact-modal {
    padding: 14px;
  }

  .contact-modal-panel {
    padding: 22px 18px;
  }

}

@media (max-width: 520px) {
  .works-ip-decoration {
    display: none;
  }
}

.skills-system-section {
  scroll-margin-top: 132px;
  min-height: auto;
  padding-top: clamp(118px, 9vw, 148px);
  padding-bottom: clamp(62px, 6vw, 82px);
  background:
    radial-gradient(circle at 78% 10%, rgba(224, 192, 138, 0.18), transparent 22%),
    radial-gradient(circle at 12% 82%, rgba(201, 166, 107, 0.14), transparent 25%),
    linear-gradient(135deg, #050505 0%, #0a0806 48%, #050505 100%);
}

#profile-skills.skills-system-section::before {
  content: "";
  position: absolute;
  top: 4%;
  right: -6%;
  width: min(48vw, 720px);
  height: 260px;
  pointer-events: none;
  opacity: 0.75;
  background:
    radial-gradient(ellipse at 70% 45%, rgba(224, 192, 138, 0.32), transparent 10%),
    conic-gradient(from 250deg at 60% 45%, transparent 0deg, rgba(224, 192, 138, 0.02) 40deg, rgba(224, 192, 138, 0.5) 74deg, rgba(201, 166, 107, 0.08) 118deg, transparent 150deg);
  filter: blur(0.3px);
  transform: rotate(-9deg);
  z-index: 1;
}

.skills-bg-video {
  opacity: 0.16;
  filter: saturate(0.75) contrast(1.08) brightness(0.5);
}

#profile-skills.skills-system-section::after {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.76), rgba(5, 5, 5, 0.88)),
    radial-gradient(circle at 56% 42%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
}

.skills-heading {
  max-width: 900px;
  margin-bottom: clamp(26px, 3.4vw, 40px);
}

.skills-heading h2 {
  font-size: clamp(32px, 2.7vw, 44px);
  line-height: 1.18;
}

.skills-heading h2 span:not(.title-mark) {
  color: var(--gold-light);
}

.title-mark {
  position: relative;
  display: inline-block;
}

.title-mark::after {
  content: "";
  position: absolute;
  left: 0.04em;
  bottom: -0.16em;
  width: 1.08em;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

.skills-composition {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
}

.skills-workflow-panel {
  min-width: 0;
}

.skills-block-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.skills-block-title span {
  color: var(--gold-light);
  font-family: "Noto Serif SC", "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 1;
}

.skills-block-title h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(19px, 1.45vw, 24px);
  line-height: 1.2;
}

.problem-list {
  display: grid;
  gap: 10px;
}

.problem-card,
.workflow-card,
.skills-tool-card {
  border: 1px solid rgba(201, 166, 107, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.62);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  transition: transform 0.34s var(--ease), border-color 0.34s var(--ease), box-shadow 0.34s var(--ease), background 0.34s var(--ease);
}

.problem-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  border-radius: 13px;
}

.problem-card:hover,
.workflow-card:hover,
.skills-tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 192, 138, 0.58);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.4), 0 0 26px rgba(201, 166, 107, 0.08);
}

.problem-card h4,
.workflow-card h4,
.skills-tool-card h4 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.3;
}

.problem-card p,
.workflow-card p,
.skills-tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.line-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: var(--gold-light);
  border: 1px solid rgba(201, 166, 107, 0.42);
  border-radius: 999px;
  background: rgba(201, 166, 107, 0.065);
}

.line-icon::before {
  font-size: 19px;
  line-height: 1;
}

.icon-chat::before { content: "···"; }
.icon-box::before { content: "◇"; }
.icon-play::before { content: "▶"; font-size: 17px; }
.icon-puzzle::before { content: "✣"; }
.icon-edit::before { content: "✎"; }
.icon-image::before { content: "▧"; }
.icon-video::before { content: "▰"; }
.icon-layer::before { content: "▱"; }
.icon-code::before { content: "</>"; font-size: 14px; font-weight: 900; }

.problem-card:hover .line-icon,
.workflow-card:hover .line-icon,
.skills-tool-card:hover .line-icon {
  color: #fff3d4;
  border-color: rgba(224, 192, 138, 0.78);
  box-shadow: 0 0 18px rgba(201, 166, 107, 0.16);
}

.workflow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid rgba(201, 166, 107, 0.34);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.34);
}

.workflow-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7%;
  right: 7%;
  height: 1px;
  margin: auto 0;
  background: linear-gradient(90deg, transparent, rgba(224, 192, 138, 0.6), transparent);
  opacity: 0.5;
  pointer-events: none;
}

.workflow-track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 3%;
  right: 3%;
  z-index: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(224, 192, 138, 0.12) 28%, rgba(224, 192, 138, 0.82) 48%, rgba(201, 166, 107, 0.16) 62%, transparent 100%);
  background-size: 230% 100%;
  opacity: 0.72;
  transform: translateY(-50%);
  animation: workflowPulse 7s linear infinite;
  pointer-events: none;
}

@keyframes workflowPulse {
  from { background-position: 0% 50%; }
  to { background-position: 230% 50%; }
}

.workflow-card {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 218px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 20px 18px 22px;
  text-align: center;
  border: 0;
  border-right: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: 0;
  box-shadow: none;
}

.workflow-card:last-child {
  border-right: 0;
}

.workflow-card::after {
  display: none;
}

.workflow-card:last-child::after {
  display: none;
}

.workflow-number {
  position: static;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: #080808;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
  transform: none;
  font-weight: 900;
}

.workflow-card .line-icon {
  width: 52px;
  height: 52px;
  margin: 2px 0 6px;
  border-radius: 14px;
}

.workflow-card h4 {
  font-size: clamp(17px, 1.15vw, 20px);
  white-space: nowrap;
}

.workflow-card p {
  max-width: 176px;
  font-size: 14px;
  line-height: 1.62;
  white-space: normal;
  word-break: normal;
}

.skills-flow-light {
  position: relative;
  height: 58px;
  margin: -2px 0 0;
  pointer-events: none;
  overflow: visible;
}

.skills-flow-light::before,
.skills-flow-light::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 18px;
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(141, 106, 53, 0.18) 22%, rgba(224, 192, 138, 0.95) 48%, rgba(201, 166, 107, 0.28) 62%, transparent 100%);
  background-size: 240% 100%;
  transform: skewY(-4deg);
  animation: flowLight 6.8s linear infinite;
}

.skills-flow-light::before {
  box-shadow: 0 0 14px rgba(224, 192, 138, 0.22);
}

.skills-flow-light::after {
  top: 22px;
  height: 22px;
  opacity: 0.24;
  filter: blur(12px);
}

.skills-flow-light {
  background:
    radial-gradient(ellipse at 18% 64%, rgba(224, 192, 138, 0.18), transparent 18%),
    radial-gradient(ellipse at 74% 25%, rgba(201, 166, 107, 0.12), transparent 22%);
}

@keyframes flowLight {
  from { background-position: 0% 50%; }
  to { background-position: 220% 50%; }
}

.skills-tools-panel {
  display: grid;
  grid-template-columns: minmax(200px, 0.24fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(12px);
}

.skills-tools-intro {
  padding: 18px;
  border-right: 1px solid rgba(201, 166, 107, 0.16);
}

.skills-tools-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.skills-tool-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.skills-tool-card {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 148px;
  padding: 18px;
  border-top: 0;
  border-right: 1px solid rgba(201, 166, 107, 0.14);
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.skills-tool-card:last-child {
  border-right: 0;
}

.skills-tool-card .line-icon {
  width: 42px;
  height: 42px;
}

.skills-tool-card .tool-name {
  margin: 0;
  color: var(--gold-light) !important;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 800;
}

.skills-system-section {
  padding-top: clamp(54px, 6vw, 84px);
  padding-bottom: clamp(54px, 6vw, 84px);
}

.skills-image-frame {
  position: relative;
  overflow: hidden;
  width: min(100%, 1180px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border: 1px solid rgba(201, 166, 107, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(rgba(201, 166, 107, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 107, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 24% 20%, rgba(224, 192, 138, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(201, 166, 107, 0.1), rgba(8, 8, 8, 0.96));
  background-size: 18px 18px, 18px 18px, auto, auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

.skills-image-frame img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.skills-image-frame span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.workflow-hotspot-wrapper {
  overflow: hidden;
}

.hotspot-discovery-hint {
  position: absolute;
  z-index: 5;
  margin: 0;
  padding: 4px 9px;
  color: rgba(224, 192, 138, 0.68);
  border: 1px solid rgba(224, 192, 138, 0.16);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.28);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.workflow-hotspot-hint {
  left: 50%;
  top: 54.2%;
  transform: translateX(-50%);
}

/* Workflow output hotspots: tweak left/top percentages to align with the five output-result blocks in skills-workflow.png. */
.workflow-hotspot {
  position: absolute;
  z-index: 5;
  width: clamp(34px, 3.1vw, 44px);
  height: clamp(34px, 3.1vw, 44px);
  padding: 0;
  border: 1px solid rgba(224, 192, 138, 0.48);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.54);
  box-shadow: 0 0 12px rgba(201, 166, 107, 0.18), inset 0 0 14px rgba(224, 192, 138, 0.05);
  cursor: pointer;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease), box-shadow 0.24s var(--ease);
  animation: hotspotBreath 3.4s ease-in-out infinite;
}

.workflow-hotspot::before {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.workflow-hotspot::after {
  content: var(--workflow-tip, "查看素材");
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  padding: 5px 9px;
  color: rgba(246, 241, 232, 0.9);
  border: 1px solid rgba(224, 192, 138, 0.34);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-50%, 5px, 0);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  pointer-events: none;
}

.workflow-hotspot:hover,
.workflow-hotspot:focus-visible,
.workflow-hotspot.is-active {
  border-color: rgba(224, 192, 138, 0.68);
  background: rgba(224, 192, 138, 0.18);
  box-shadow:
    0 0 0 1px rgba(224, 192, 138, 0.12),
    0 0 28px rgba(224, 192, 138, 0.28),
    inset 0 0 22px rgba(224, 192, 138, 0.1);
  transform: translate3d(-50%, -50%, 0) scale(1.08);
}

.workflow-hotspot:hover::after,
.workflow-hotspot:focus-visible::after,
.workflow-hotspot.is-active::after {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.workflow-hotspot-material::after {
  left: auto;
  right: 0;
  transform: translate3d(0, 5px, 0);
}

.workflow-hotspot-material:hover::after,
.workflow-hotspot-material:focus-visible::after,
.workflow-hotspot-material.is-active::after {
  transform: translate3d(0, 0, 0);
}

.workflow-hotspot-poster { --workflow-tip: "查看海报"; left: 18.7%; top: 61.4%; }
.workflow-hotspot-ppt { --workflow-tip: "查看 PPT"; left: 36.6%; top: 61.4%; }
.workflow-hotspot-web { --workflow-tip: "查看网页"; left: 54.8%; top: 61.4%; }
.workflow-hotspot-motion { --workflow-tip: "查看动态"; left: 72.6%; top: 61.4%; }
.workflow-hotspot-material { --workflow-tip: "查看物料"; left: 90.2%; top: 61.4%; }

@keyframes hotspotBreath {
  0%, 100% {
    box-shadow:
      0 0 12px rgba(201, 166, 107, 0.2),
      0 0 0 0 rgba(224, 192, 138, 0),
      inset 0 0 14px rgba(224, 192, 138, 0.05);
  }
  52% {
    box-shadow:
      0 0 20px rgba(224, 192, 138, 0.34),
      0 0 0 8px rgba(224, 192, 138, 0.08),
      inset 0 0 18px rgba(224, 192, 138, 0.1);
  }
}

.workflow-hotspot-poster,
.business-proof-hotspot-education {
  animation-delay: 0s;
}

.workflow-hotspot-ppt,
.business-proof-hotspot-tech {
  animation-delay: 0.22s;
}

.workflow-hotspot-web,
.business-proof-hotspot-operation {
  animation-delay: 0.44s;
}

.workflow-hotspot-motion,
.business-proof-hotspot-presentation {
  animation-delay: 0.66s;
}

.workflow-hotspot-material,
.business-proof-hotspot-trade {
  animation-delay: 0.88s;
}

.workflow-preview-panel {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 20px;
  z-index: 7;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  width: min(82%, 980px);
  height: clamp(260px, 30vw, 340px);
  padding: 18px;
  border: 1px solid rgba(224, 192, 138, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(224, 192, 138, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(8, 8, 8, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translate3d(-50%, 34px, 0) scale(0.98);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.workflow-preview-panel.is-open {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
  pointer-events: auto;
}

.workflow-preview-header {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto 30px;
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.workflow-preview-copy {
  min-width: 0;
  padding-right: 0;
}

.workflow-preview-copy h3 {
  margin: 0 0 6px;
  color: var(--gold-light);
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.2;
}

.workflow-preview-copy p {
  margin: 0;
  color: rgba(246, 241, 232, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.workflow-preview-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.4vw, 18px);
  min-width: 0;
  padding: 5px 10px 0 0;
  white-space: nowrap;
}

.workflow-preview-tabs button {
  position: relative;
  padding: 6px 10px 8px;
  color: rgba(246, 241, 232, 0.7);
  border: 1px solid rgba(224, 192, 138, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.workflow-preview-tabs button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 1px;
  border-radius: 999px;
  background: rgba(224, 192, 138, 0.82);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.55);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.workflow-preview-tabs button:hover,
.workflow-preview-tabs button:focus-visible {
  color: rgba(246, 241, 232, 0.96);
  border-color: rgba(224, 192, 138, 0.28);
  background: rgba(224, 192, 138, 0.065);
}

.workflow-preview-tabs button.is-active {
  color: var(--gold-light);
  border-color: rgba(224, 192, 138, 0.38);
  background: rgba(224, 192, 138, 0.095);
}

.workflow-preview-tabs button.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.workflow-preview-close {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--gold-light);
  border: 1px solid rgba(224, 192, 138, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.workflow-preview-scroll-wrap {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.workflow-preview-scroll-wrap::before,
.workflow-preview-scroll-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 14px;
  z-index: 2;
  width: 34px;
  pointer-events: none;
}

.workflow-preview-scroll-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.72), transparent);
}

.workflow-preview-scroll-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(8, 8, 8, 0.72), transparent);
}

.workflow-preview-media {
  display: flex;
  gap: 14px;
  min-width: 0;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px 12px;
  cursor: grab;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 192, 138, 0.48) rgba(5, 5, 5, 0.38);
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.workflow-preview-media.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.workflow-preview-media.is-switching,
.business-proof-media.is-switching {
  opacity: 0.42;
  transform: translateY(4px);
}

.workflow-preview-media::-webkit-scrollbar {
  height: 6px;
}

.workflow-preview-media::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.42);
}

.workflow-preview-media::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(224, 192, 138, 0.46);
}

.workflow-preview-media::-webkit-scrollbar-thumb:hover {
  background: rgba(224, 192, 138, 0.68);
}

.workflow-preview-item {
  position: relative;
  flex: 0 0 clamp(220px, 25vw, 280px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 1px solid rgba(201, 166, 107, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.workflow-preview-item:hover,
.workflow-preview-item:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(224, 192, 138, 0.64);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.workflow-preview-item img,
.workflow-preview-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
}

.video-lightbox.is-open {
  display: grid;
}

body.gate-intro .lightbox,
body.gate-intro .video-lightbox,
body.is-gate-locked .lightbox,
body.is-gate-locked .video-lightbox {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.video-lightbox video {
  max-width: min(1080px, 92vw);
  max-height: 82vh;
  border: 1px solid rgba(224, 192, 138, 0.3);
  border-radius: 14px;
  background: #050505;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
}

.video-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.business-proof-wrapper {
  overflow: hidden;
}

.business-proof-hint {
  left: 50%;
  top: 23.2%;
  transform: translateX(-50%);
}

/* Business proof evidence hotspots: adjust left/top percentages if the source image is updated. */
.business-proof-hotspot {
  position: absolute;
  z-index: 7;
  width: clamp(34px, 3vw, 44px);
  height: clamp(34px, 3vw, 44px);
  padding: 0;
  border: 1px solid rgba(224, 192, 138, 0.55);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.52);
  box-shadow: 0 0 14px rgba(201, 166, 107, 0.18), inset 0 0 12px rgba(224, 192, 138, 0.04);
  cursor: pointer;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease), box-shadow 0.24s var(--ease);
  animation: hotspotBreath 3.4s ease-in-out infinite;
}

.business-proof-hotspot::before {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.business-proof-hotspot::after {
  content: var(--business-proof-tip, "查看证据");
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  padding: 5px 9px;
  color: rgba(246, 241, 232, 0.9);
  border: 1px solid rgba(224, 192, 138, 0.34);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-50%, 5px, 0);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  pointer-events: none;
}

.business-proof-hotspot:hover,
.business-proof-hotspot:focus-visible,
.business-proof-hotspot.is-active {
  border-color: rgba(224, 192, 138, 0.8);
  background: rgba(224, 192, 138, 0.16);
  box-shadow:
    0 0 0 1px rgba(224, 192, 138, 0.14),
    0 0 28px rgba(224, 192, 138, 0.3),
    inset 0 0 20px rgba(224, 192, 138, 0.1);
  transform: translate3d(-50%, -50%, 0) scale(1.08);
}

.business-proof-hotspot:hover::after,
.business-proof-hotspot:focus-visible::after,
.business-proof-hotspot.is-active::after {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.business-proof-hotspot-education::after,
.business-proof-hotspot-operation::after,
.business-proof-hotspot-trade::after {
  left: auto;
  right: 0;
  transform: translate3d(0, 5px, 0);
}

.business-proof-hotspot-education:hover::after,
.business-proof-hotspot-education:focus-visible::after,
.business-proof-hotspot-education.is-active::after,
.business-proof-hotspot-operation:hover::after,
.business-proof-hotspot-operation:focus-visible::after,
.business-proof-hotspot-operation.is-active::after,
.business-proof-hotspot-trade:hover::after,
.business-proof-hotspot-trade:focus-visible::after,
.business-proof-hotspot-trade.is-active::after {
  transform: translate3d(0, 0, 0);
}

.business-proof-hotspot-education {
  --business-proof-tip: "查看记录 →";
  /* 教育背景热区 */
  left: 94.1%;
  top: 40.8%;
}

.business-proof-hotspot-trade {
  --business-proof-tip: "查看记录 →";
  /* 04 外贸客户沟通热区 */
  left: 94.1%;
  top: 88.4%;
}

.business-proof-hotspot-tech {
  --business-proof-tip: "查看记录 →";
  /* 01 企业验收资料整理热区 */
  left: 45.2%;
  top: 64.5%;
}

.business-proof-hotspot-operation {
  --business-proof-tip: "查看记录 →";
  /* 02 产品宣讲材料热区 */
  left: 94.1%;
  top: 64.5%;
}

.business-proof-hotspot-presentation {
  --business-proof-tip: "查看记录 →";
  /* 03 企业侧汇报与商业展示热区 */
  left: 45.2%;
  top: 88.4%;
}

.business-proof-panel {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 8;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  width: min(76%, 920px);
  min-height: 250px;
  padding: 18px;
  border: 1px solid rgba(224, 192, 138, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(224, 192, 138, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(8, 8, 8, 0.86);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translate3d(-50%, 28px, 0) scale(0.985);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.business-proof-panel.is-open {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
  pointer-events: auto;
}

.business-proof-header {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto 30px;
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.business-proof-close {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--gold-light);
  border: 1px solid rgba(224, 192, 138, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.business-proof-copy {
  min-width: 0;
  padding-right: 0;
}

.business-proof-copy h3 {
  margin: 0 0 6px;
  color: var(--gold-light);
  font-size: clamp(19px, 1.5vw, 26px);
  line-height: 1.22;
}

.business-proof-copy p {
  margin: 0;
  color: rgba(246, 241, 232, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.business-proof-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.4vw, 18px);
  min-width: 0;
  padding: 5px 10px 0 0;
  white-space: nowrap;
}

.business-proof-tabs button {
  position: relative;
  padding: 6px 10px 8px;
  color: rgba(246, 241, 232, 0.7);
  border: 1px solid rgba(224, 192, 138, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.business-proof-tabs button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 1px;
  border-radius: 999px;
  background: rgba(224, 192, 138, 0.82);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.55);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.business-proof-tabs button:hover,
.business-proof-tabs button:focus-visible {
  color: rgba(246, 241, 232, 0.96);
  border-color: rgba(224, 192, 138, 0.28);
  background: rgba(224, 192, 138, 0.065);
}

.business-proof-tabs button.is-active {
  color: var(--gold-light);
  border-color: rgba(224, 192, 138, 0.38);
  background: rgba(224, 192, 138, 0.095);
}

.business-proof-tabs button.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.business-proof-media {
  display: flex;
  gap: 14px;
  min-width: 0;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px 12px;
  cursor: grab;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 192, 138, 0.48) rgba(5, 5, 5, 0.38);
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.business-proof-media.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.business-proof-media::-webkit-scrollbar {
  height: 6px;
}

.business-proof-media::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.42);
}

.business-proof-media::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(224, 192, 138, 0.46);
}

.business-proof-media::-webkit-scrollbar-thumb:hover {
  background: rgba(224, 192, 138, 0.68);
}

.business-proof-media-card {
  position: relative;
  flex: 0 0 clamp(220px, 25vw, 280px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 1px solid rgba(201, 166, 107, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.business-proof-media-card:hover,
.business-proof-media-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(224, 192, 138, 0.66);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.business-proof-media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.business-proof-media-card span {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 18px;
  color: rgba(246, 241, 232, 0.72);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(224, 192, 138, 0.16), transparent 34%),
    rgba(8, 8, 8, 0.84);
}

.business-proof-media-card.is-missing img {
  display: none;
}

.business-proof-media-card.is-missing span {
  display: grid;
}

.business-proof-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s var(--ease);
}

.business-proof-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.business-proof-drawer {
  position: fixed;
  top: 62px;
  left: 0;
  z-index: 90;
  width: min(480px, 92vw);
  height: calc(100svh - 62px);
  padding: clamp(22px, 3vw, 34px);
  overflow-y: auto;
  color: var(--text);
  border-right: 1px solid rgba(201, 166, 107, 0.26);
  background:
    radial-gradient(circle at 20% 0%, rgba(224, 192, 138, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(8, 8, 8, 0.98));
  box-shadow: 28px 0 80px rgba(0, 0, 0, 0.42), inset 1px 0 0 rgba(255, 255, 255, 0.06);
  transform: translateX(-104%);
  transition: transform 0.72s cubic-bezier(0.18, 0.9, 0.22, 1.08);
}

.business-proof-drawer.is-open {
  transform: translateX(0);
}

.business-proof-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 32px;
  color: var(--gold-light);
  border: 1px solid rgba(224, 192, 138, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.business-proof-drawer-head {
  padding-right: 62px;
  margin-bottom: 24px;
}

.drawer-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.business-proof-drawer-head h3 {
  margin: 0;
  color: var(--text);
  font-family: "Noto Serif SC", "Times New Roman", serif;
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.16;
}

.business-proof-drawer-section {
  padding: 18px 0;
  border-top: 1px solid rgba(201, 166, 107, 0.16);
}

.drawer-label {
  display: block;
  margin-bottom: 12px;
  color: rgba(224, 192, 138, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drawer-chip-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.drawer-chip-list li {
  padding: 9px 10px;
  color: rgba(246, 241, 232, 0.88);
  border: 1px solid rgba(224, 192, 138, 0.18);
  border-radius: 999px;
  background: rgba(224, 192, 138, 0.06);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.business-proof-drawer-media {
  display: grid;
  gap: 12px;
  cursor: grab;
}

.business-proof-drawer-media.is-dragging {
  cursor: grabbing;
}

.business-proof-drawer-media-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 1px solid rgba(201, 166, 107, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  opacity: 0;
  transform: translate3d(-18px, 12px, 0);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.business-proof-drawer.is-open .business-proof-drawer-media-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.business-proof-drawer.is-open .business-proof-drawer-media-card:nth-child(1) { transition-delay: 0.12s; }
.business-proof-drawer.is-open .business-proof-drawer-media-card:nth-child(2) { transition-delay: 0.22s; }
.business-proof-drawer.is-open .business-proof-drawer-media-card:nth-child(3) { transition-delay: 0.32s; }
.business-proof-drawer.is-open .business-proof-drawer-media-card:nth-child(4) { transition-delay: 0.42s; }

.business-proof-drawer-media-card:hover,
.business-proof-drawer-media-card:focus-visible {
  border-color: rgba(224, 192, 138, 0.68);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  transform: translate3d(0, -3px, 0);
}

.business-proof-drawer-media-card img,
.business-proof-drawer-media-card span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.business-proof-drawer-media-card img {
  object-fit: cover;
  object-position: center;
}

.business-proof-drawer-media-card span {
  display: none;
  place-items: center;
  padding: 18px;
  color: rgba(246, 241, 232, 0.72);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(224, 192, 138, 0.16), transparent 34%),
    rgba(8, 8, 8, 0.84);
}

.business-proof-drawer-media-card.is-missing img {
  display: none;
}

.business-proof-drawer-media-card.is-missing span {
  display: grid;
}

.business-proof-drawer-media-card.is-text-only {
  cursor: default;
}

.business-proof-drawer-media-card.is-text-only span {
  display: grid;
}

.drawer-proof-line {
  margin: 0;
  color: rgba(246, 241, 232, 0.9);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.7;
}

.drawer-tip {
  margin: 18px 0 0;
  color: rgba(246, 241, 232, 0.58);
  font-size: 12px;
  letter-spacing: 0.06em;
}

body.business-proof-open .business-proof-hotspot.is-dim {
  opacity: 0.36;
}

body.business-proof-open .business-proof-hotspot.is-active {
  opacity: 1;
}

.business-proof-frame .scholarship-hotspot {
  position: absolute;
  left: 5.15%;
  top: 37.1%;
  z-index: 6;
  width: 23.8%;
  height: 3.5%;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(201, 166, 107, 0);
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease), background 0.24s var(--ease), transform 0.24s var(--ease);
}

.business-proof-frame .scholarship-hotspot::before,
.business-proof-frame .scholarship-hotspot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.business-proof-frame .scholarship-hotspot::before {
  border: 1px solid rgba(224, 192, 138, 0.82);
  box-shadow:
    0 0 18px rgba(224, 192, 138, 0.34),
    0 0 42px rgba(201, 166, 107, 0.24),
    inset 0 0 18px rgba(224, 192, 138, 0.08);
}

.business-proof-frame .scholarship-hotspot::after {
  inset: -10px;
  background: radial-gradient(circle at 50% 50%, rgba(224, 192, 138, 0.2), transparent 68%);
  transform: scale(0.92);
}

.business-proof-frame .scholarship-hotspot:hover,
.business-proof-frame .scholarship-hotspot:focus-visible {
  border-color: rgba(224, 192, 138, 0.9);
  background: rgba(201, 166, 107, 0.055);
  box-shadow:
    inset 0 0 0 1px rgba(255, 238, 190, 0.16),
    0 0 22px rgba(224, 192, 138, 0.34),
    0 0 56px rgba(201, 166, 107, 0.28);
  transform: translateY(-1px);
}

.business-proof-frame .scholarship-hotspot:hover::before,
.business-proof-frame .scholarship-hotspot:focus-visible::before,
.business-proof-frame .scholarship-hotspot:hover::after,
.business-proof-frame .scholarship-hotspot:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.scholarship-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  justify-items: end;
  pointer-events: none;
  visibility: hidden;
}

.scholarship-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.scholarship-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}

.scholarship-drawer.is-open .scholarship-drawer-backdrop {
  opacity: 1;
}

.scholarship-drawer-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(430px, 88vw);
  height: 100%;
  padding: 28px;
  border-left: 1px solid rgba(224, 192, 138, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 18% 0%, rgba(224, 192, 138, 0.14), transparent 34%),
    rgba(7, 7, 7, 0.82);
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(18px);
  transform: translateX(104%);
  transition: transform 0.38s var(--ease);
}

.scholarship-drawer.is-open .scholarship-drawer-panel {
  transform: translateX(0);
}

.scholarship-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--gold-light);
  border: 1px solid rgba(201, 166, 107, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.scholarship-drawer-heading {
  padding-right: 42px;
  margin-bottom: 18px;
}

.scholarship-drawer-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 2vw, 30px);
}

.scholarship-viewer {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.scholarship-certificate {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  place-items: center;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 100%;
  margin: 0;
  border: 1px solid rgba(201, 166, 107, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 26% 18%, rgba(224, 192, 138, 0.15), transparent 34%),
    rgba(12, 12, 12, 0.92);
  transform: translate(-50%, -50%);
}

.scholarship-certificate.is-active {
  display: grid;
}

.scholarship-certificate img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scholarship-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.scholarship-controls button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--gold-light);
  border: 1px solid rgba(201, 166, 107, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.scholarship-counter {
  min-width: 44px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

#profile-skills .skills-reveal,
#profile-skills .problem-card,
#profile-skills .workflow-card,
#profile-skills .skills-tool-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

#profile-skills.is-visible .skills-reveal,
#profile-skills.is-visible .problem-card,
#profile-skills.is-visible .workflow-card,
#profile-skills.is-visible .skills-tool-card {
  opacity: 1;
  transform: translateY(0);
}

#profile-skills.is-visible .skills-heading { transition-delay: 0.04s; }
#profile-skills.is-visible .skills-problem-panel { transition-delay: 0.14s; }
#profile-skills.is-visible .problem-card:nth-child(1) { transition-delay: 0.2s; }
#profile-skills.is-visible .problem-card:nth-child(2) { transition-delay: 0.28s; }
#profile-skills.is-visible .problem-card:nth-child(3) { transition-delay: 0.36s; }
#profile-skills.is-visible .skills-workflow-panel { transition-delay: 0.18s; }
#profile-skills.is-visible .workflow-card:nth-child(1) { transition-delay: 0.34s; }
#profile-skills.is-visible .workflow-card:nth-child(2) { transition-delay: 0.42s; }
#profile-skills.is-visible .workflow-card:nth-child(3) { transition-delay: 0.5s; }
#profile-skills.is-visible .workflow-card:nth-child(4) { transition-delay: 0.58s; }
#profile-skills.is-visible .workflow-card:nth-child(5) { transition-delay: 0.66s; }
#profile-skills.is-visible .skills-flow-light { transition-delay: 0.74s; }
#profile-skills.is-visible .skills-tools-panel { transition-delay: 0.82s; }
#profile-skills.is-visible .skills-tool-card:nth-child(1) { transition-delay: 0.9s; }
#profile-skills.is-visible .skills-tool-card:nth-child(2) { transition-delay: 0.96s; }
#profile-skills.is-visible .skills-tool-card:nth-child(3) { transition-delay: 1.02s; }
#profile-skills.is-visible .skills-tool-card:nth-child(4) { transition-delay: 1.08s; }

#profile-skills.is-visible .problem-card:hover,
#profile-skills.is-visible .workflow-card:hover,
#profile-skills.is-visible .skills-tool-card:hover {
  transform: translateY(-4px);
}

#profile-skills.is-visible .workflow-card:hover {
  transform: translateY(-4px) scale(1.015);
}

@media (max-width: 1500px) {
  .skills-composition {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .workflow-track {
    grid-template-columns: repeat(5, minmax(170px, 1fr));
  }
}

@media (max-width: 1180px) {
  .skills-composition {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .workflow-track {
    grid-template-columns: repeat(5, minmax(178px, 1fr));
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 166, 107, 0.45) rgba(255, 255, 255, 0.04);
  }

  .workflow-card {
    min-width: 178px;
  }

  .skills-tools-panel {
    grid-template-columns: 1fr;
  }

  .skills-tools-intro {
    border-right: 0;
    border-bottom: 1px solid rgba(201, 166, 107, 0.16);
  }
}

@media (max-width: 720px) {
  .skills-system-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .skills-heading h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .problem-list {
    grid-template-columns: 1fr;
  }

  .problem-card {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: auto;
  }

  .workflow-track {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    margin-top: 10px;
    border-radius: var(--radius-lg);
  }

  .workflow-track::before {
    top: 28px;
    bottom: 28px;
    left: 31px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(224, 192, 138, 0.62), transparent);
  }

  .workflow-track::after {
    top: 28px;
    bottom: 28px;
    left: 31px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent 0%, rgba(224, 192, 138, 0.8) 50%, transparent 100%);
    background-size: 100% 230%;
    transform: none;
  }

  .workflow-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    justify-items: start;
    min-width: 0;
    min-height: auto;
    align-content: start;
    align-items: start;
    padding: 18px;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid rgba(201, 166, 107, 0.18);
  }

  .workflow-card:last-child {
    border-bottom: 0;
  }

  .workflow-card::after {
    display: none;
  }

  .workflow-number {
    width: 36px;
    height: 36px;
  }

  .workflow-card .line-icon {
    display: none;
  }

  .workflow-card p {
    max-width: none;
  }

  .workflow-card h4 {
    white-space: normal;
  }

  .skills-flow-light {
    height: 54px;
  }

  .skills-flow-light::before,
  .skills-flow-light::after {
    left: 28px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: 100%;
    transform: none;
    background: linear-gradient(180deg, transparent 0%, rgba(224, 192, 138, 0.84) 50%, transparent 100%);
    background-size: 100% 220%;
  }

  .skills-tool-strip {
    grid-template-columns: 1fr;
  }

  .skills-tool-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(201, 166, 107, 0.14);
  }

  .skills-tool-card:last-child {
    border-bottom: 0;
  }
}

.intro-video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 74%, rgba(201, 166, 107, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.48));
}

.intro-video-section.is-video-missing,
.intro-video-section.is-video-paused {
  background:
    radial-gradient(circle at 50% 35%, rgba(201, 166, 107, 0.18), transparent 30%),
    linear-gradient(135deg, #050505, #0b0805 55%, #050505);
}

.intro-enter-btn {
  position: absolute;
  left: 50%;
  bottom: clamp(42px, 8vh, 86px);
  z-index: 5;
  display: inline-grid;
  gap: 2px;
  min-width: 188px;
  padding: 14px 22px;
  color: #080808;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42), 0 0 26px rgba(201, 166, 107, 0.16);
  pointer-events: auto;
  transform: translateX(-50%);
  animation: introPulse 3.8s ease-in-out infinite;
}

.intro-enter-btn span {
  font-size: 15px;
  font-weight: 900;
}

.intro-enter-btn small {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes introPulse {
  0%,
  100% {
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42), 0 0 18px rgba(201, 166, 107, 0.12);
  }

  50% {
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.48), 0 0 30px rgba(201, 166, 107, 0.24);
  }
}

.hero-next-btn {
  min-width: 214px;
  border-color: rgba(224, 192, 138, 0.58);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.26), 0 0 18px rgba(201, 166, 107, 0.1);
}

.hero-next-btn span {
  margin-left: 8px;
  transition: transform 0.28s var(--ease);
}

.hero-next-btn:hover span,
.hero-next-btn:focus-visible span {
  transform: translateY(2px);
}

.contact-pills {
  align-items: stretch;
  margin-top: 24px;
}

.contact-pill,
.contact-method-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  color: var(--text);
  text-align: left;
  border: 1px solid rgba(201, 166, 107, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.2);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), background 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.contact-pill {
  min-width: min(100%, 218px);
  padding: 10px 13px;
  border-radius: 999px;
}

.contact-method-card {
  width: 100%;
  min-height: 112px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.contact-pill:hover,
.contact-pill:focus-visible,
.contact-method-card:hover,
.contact-method-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(224, 192, 138, 0.54);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), 0 0 20px rgba(201, 166, 107, 0.08);
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--gold-light);
  border: 1px solid rgba(201, 166, 107, 0.35);
  border-radius: 999px;
  background: rgba(201, 166, 107, 0.06);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-pill-text,
.contact-method-card > span:not(.contact-icon) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.contact-pill-text strong,
.contact-method-card strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
}

.contact-pill-text small,
.contact-method-card small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.contact-method-card em {
  grid-column: 1 / -1;
  color: var(--gold-light);
  font-size: 12px;
  font-style: normal;
}

.contact-resume-btn {
  margin-top: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact-section > div:first-child p {
  max-width: 520px;
}

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .intro-enter-btn {
    bottom: 34px;
    min-width: 168px;
    padding: 12px 18px;
  }

  .hero-actions {
    gap: 9px;
  }

  .contact-pills,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-pill {
    width: 100%;
    border-radius: var(--radius-md);
  }

  .contact-grid {
    display: grid;
  }

  .scholarship-drawer {
    align-items: end;
    justify-items: stretch;
  }

  .scholarship-drawer-panel {
    width: 100%;
    height: min(82vh, 680px);
    padding: 24px 18px 18px;
    border-top: 1px solid rgba(224, 192, 138, 0.34);
    border-left: 0;
    border-radius: 22px 22px 0 0;
    transform: translateY(104%);
  }

  .scholarship-drawer.is-open .scholarship-drawer-panel {
    transform: translateY(0);
  }

  .business-proof-frame .scholarship-hotspot {
    border-radius: 7px;
  }

  .business-proof-hotspot {
    width: 44px;
    height: 44px;
  }

  .business-proof-hotspot::after {
    bottom: calc(100% + 6px);
    font-size: 10px;
  }

  .business-proof-drawer {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(82svh, 720px);
    border-top: 1px solid rgba(201, 166, 107, 0.26);
    border-right: 0;
    border-radius: 18px 18px 0 0;
    transform: translateY(104%);
  }

  .business-proof-drawer.is-open {
    transform: translateY(0);
  }

  .drawer-chip-list {
    grid-template-columns: 1fr;
  }

  .business-proof-panel {
    bottom: 18px;
    width: 92%;
    min-height: 230px;
    padding: 16px 12px 12px;
  }

  .business-proof-header {
    grid-template-columns: 1fr 30px;
    gap: 10px 12px;
  }

  .business-proof-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .business-proof-tabs::-webkit-scrollbar {
    display: none;
  }

  .business-proof-close {
    grid-column: 2;
    grid-row: 1;
  }

  .business-proof-copy {
    padding-right: 0;
  }

  .business-proof-media {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(224, 192, 138, 0.46) rgba(5, 5, 5, 0.38);
    -webkit-overflow-scrolling: touch;
  }

  .business-proof-media-card {
    flex: 0 0 min(72vw, 280px);
  }

  .workflow-hotspot {
    width: 44px;
    height: 44px;
  }

  .workflow-hotspot::after {
    bottom: calc(100% + 6px);
    font-size: 10px;
  }

  .workflow-preview-panel {
    left: 50%;
    right: auto;
    bottom: 12px;
    width: 92%;
    height: clamp(300px, 58vw, 380px);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    padding: 16px 12px 12px;
    transform: translate3d(-50%, 28px, 0) scale(0.98);
  }

  .workflow-preview-panel.is-open {
    transform: translate3d(-50%, 0, 0) scale(1);
  }

  .workflow-preview-header {
    grid-template-columns: 1fr 30px;
    gap: 10px 12px;
  }

  .workflow-preview-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .workflow-preview-tabs::-webkit-scrollbar {
    display: none;
  }

  .workflow-preview-close {
    grid-column: 2;
    grid-row: 1;
  }

  .workflow-preview-media {
    gap: 10px;
    padding-bottom: 10px;
  }

  .workflow-preview-copy {
    padding-right: 0;
  }

  .workflow-preview-item {
    flex-basis: min(72vw, 280px);
  }
}

@media (max-width: 768px) {
  .selected-works-reveal {
    min-height: auto;
    --sw-heading-opacity: 1;
    --sw-heading-y: 0px;
    --sw-hero-opacity: 0;
    --sw-card-opacity: 1;
    --sw-card-scale: 1;
    --sw-card-y: 0px;
    --sw-card-spread: 0px;
    --sw-footnote-opacity: 1;
    --sw-footnote-y: 0px;
    --flip-1: 180deg;
    --flip-2: 180deg;
    --flip-3: 180deg;
  }

  .selected-works-sticky {
    position: relative;
    top: auto;
    min-height: auto;
    padding: 0;
    overflow: visible;
  }

  .selected-works-sticky::before,
  .works-hero-image {
    display: none;
  }

  .selected-works-heading {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    width: 100%;
    margin: 0 0 28px;
    text-align: left;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
  }

  .selected-works-title-panel {
    padding-right: 0;
    text-align: left;
  }

  .selected-works-desc-panel {
    max-width: 100%;
    margin-bottom: 16px;
    padding-top: 0;
    transform: none;
  }

  .selected-works-footnote {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 22px;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
  }

  .selected-works-heading h2 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .works-stage {
    display: block;
    min-height: auto;
    perspective: none;
  }

  .works-cards {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    pointer-events: auto;
    transform-style: flat;
    opacity: 1 !important;
    transform: none !important;
  }

  .work-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    opacity: 1;
    transform: none;
  }

  .work-card-inner {
    height: auto;
    transform: none !important;
    transform-style: flat;
  }

  .work-card-front {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    transform: none;
    backface-visibility: visible;
  }

  .work-card-back {
    position: relative;
    transform: none;
    backface-visibility: visible;
  }

  .work-card-back .case-card {
    height: auto;
    overflow: hidden;
  }

  .work-card-back .case-media {
    min-height: 168px;
    max-height: 220px;
  }

  .scholarship-drawer-backdrop,
  .scholarship-drawer-panel {
    transition: opacity 0.18s ease, transform 0.01s linear !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .intro-video {
    display: none;
  }

  .hero-light-rays {
    display: none;
  }

  .hero-tree-particles {
    display: none;
  }

  .hero-tree-bg {
    opacity: 0.48 !important;
    transform: translateX(-50%) scale(1.04) !important;
    filter: saturate(0.9) brightness(0.82) blur(0px) !important;
  }

  .workflow-preview-panel,
  .business-proof-panel {
    transition: opacity 0.18s ease !important;
  }

  .workflow-hotspot,
  .business-proof-hotspot,
  .more-ppt-hint,
  .more-ppt-hint::after {
    animation: none !important;
  }

  .skills-bg-video {
    display: none;
  }

  #profile-skills .skills-reveal,
  #profile-skills .problem-card,
  #profile-skills .workflow-card,
  #profile-skills .skills-tool-card {
    opacity: 1 !important;
    transform: none !important;
  }

  .skills-flow-light::before,
  .skills-flow-light::after {
    animation: none !important;
  }

  .works-ip-decoration img {
    animation: none;
  }

  #profile-skills {
    background:
      radial-gradient(circle at 16% 18%, rgba(201, 166, 107, 0.08), transparent 30%),
      linear-gradient(180deg, rgba(8, 8, 8, 0.96), rgba(5, 5, 5, 1));
  }

  .selected-works-reveal {
    min-height: auto;
    --sw-heading-opacity: 1;
    --sw-heading-y: 0px;
    --sw-hero-opacity: 0;
    --sw-card-opacity: 1;
    --sw-card-scale: 1;
    --sw-card-y: 0px;
    --sw-card-spread: 0px;
    --flip-1: 180deg;
    --flip-2: 180deg;
    --flip-3: 180deg;
  }

  .selected-works-sticky {
    position: relative;
    min-height: auto;
    padding: 0;
  }

  .works-hero-image {
    display: none;
  }

  .selected-works-heading,
  .works-cards,
  .work-card,
  .work-card-back {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
  }

  .works-cards {
    display: grid;
    gap: 18px;
    pointer-events: auto;
  }

  .work-card {
    width: 100%;
    height: auto;
  }

  .work-card-front {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    transform: none;
    backface-visibility: visible;
  }

  .work-card-inner {
    height: auto;
    transform: none !important;
    transform-style: flat;
  }

  .work-card-back {
    transform: none;
    backface-visibility: visible;
  }
}


/* Selective black-gold edge glow. Used only on key portfolio/case surfaces. */
.border-glow-card {
  --glow-x: 50%;
  --glow-y: 50%;
  --edge-opacity: 0;
  --border-glow-alpha: 0.52;
  position: relative;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
}

.border-glow-card::before,
.border-glow-card::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
  transition: opacity 0.28s var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1));
}

.border-glow-card::before {
  inset: -1px;
  z-index: 5;
  padding: 1px;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(224, 192, 138, 0.98), transparent 22%),
    radial-gradient(circle at calc(100% - var(--glow-x)) calc(100% - var(--glow-y)), rgba(141, 106, 53, 0.48), transparent 32%),
    linear-gradient(135deg, rgba(224, 192, 138, 0.42), rgba(201, 166, 107, 0.08));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: calc(var(--edge-opacity) * var(--border-glow-alpha));
}

.border-glow-card::after {
  inset: -14px;
  z-index: -1;
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(224, 192, 138, 0.18), transparent 38%);
  filter: blur(4px);
  opacity: calc(var(--edge-opacity) * 0.55);
}

.border-glow-card.border-glow-contact {
  --border-glow-alpha: 0.68;
}

.border-glow-card.border-glow-hero,
.border-glow-card.border-glow-media {
  --border-glow-alpha: 0.62;
}

.border-glow-card.border-glow-soft {
  --border-glow-alpha: 0.42;
}

@media (prefers-reduced-motion: reduce), (hover: none) {
  .border-glow-card::before,
  .border-glow-card::after {
    display: none;
  }
}


/* Hero Lanyard Identity Card - polished profile version */
.hero-lanyard-side {
  width: min(100%, 460px);
  min-height: clamp(500px, 58vh, 640px);
  margin-top: clamp(-52px, -4vh, -24px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  perspective: 1400px;
  overflow: visible;
}

.hero-lanyard {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  width: min(100%, 430px);
  min-height: 100%;
  padding-top: 0;
  isolation: isolate;
}

.lanyard-top-hook {
  position: relative;
  z-index: 5;
  width: 86px;
  height: 12px;
  border: 1px solid rgba(224, 192, 138, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(224, 192, 138, 0.92), rgba(88, 62, 28, 0.9));
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.lanyard-rope {
  position: relative;
  z-index: 4;
  width: 160px;
  height: clamp(118px, 14vh, 150px);
  transform-origin: top center;
  animation: lanyardRopeSwing 6.6s ease-in-out infinite;
}

.lanyard-rope::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -2px;
  width: 26px;
  height: 26px;
  transform: translateX(-50%);
  border: 1px solid rgba(224, 192, 138, 0.38);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.74);
  box-shadow: inset 0 0 0 5px rgba(201, 166, 107, 0.16), 0 10px 26px rgba(0, 0, 0, 0.36);
}

.lanyard-rope-band {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 18px;
  height: calc(100% - 22px);
  border-radius: 999px;
  transform-origin: top center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 24%, rgba(0, 0, 0, 0.35) 72%),
    repeating-linear-gradient(45deg, #120d07 0 8px, #c9a66b 8px 10px, #2d2111 10px 18px);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.09), 0 12px 32px rgba(0, 0, 0, 0.38);
}

.lanyard-rope-left {
  transform: translateX(-35px) rotate(13deg);
}

.lanyard-rope-right {
  transform: translateX(17px) rotate(-13deg);
}

.lanyard-clip {
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 86px;
  height: 38px;
  transform: translateX(-50%);
  border: 1px solid rgba(224, 192, 138, 0.52);
  border-radius: 16px 16px 10px 10px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.28), transparent 26%, rgba(0, 0, 0, 0.2) 70%),
    linear-gradient(135deg, rgba(224, 192, 138, 0.92), rgba(95, 67, 29, 0.98));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.lanyard-clip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 32px;
  height: 13px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.42);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.44);
}

.lanyard-card-swing {
  position: relative;
  z-index: 3;
  width: clamp(276px, 22vw, 352px);
  aspect-ratio: 3 / 4;
  margin-top: -2px;
  transform-origin: 50% -30px;
  animation: lanyardCardSwing 6.6s ease-in-out infinite;
}

.lanyard-card {
  position: absolute;
  inset: 0;
  cursor: grab;
  perspective: 1200px;
  transform: rotateX(var(--lanyard-tilt-x, 0deg)) rotateY(var(--lanyard-tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.22s ease;
}

.lanyard-card:active {
  cursor: grabbing;
}

.lanyard-card-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .lanyard-card:hover .lanyard-card-inner {
    transform: rotateY(180deg);
  }
}

.lanyard-card.is-flipped .lanyard-card-inner,
.lanyard-card:focus-visible .lanyard-card-inner {
  transform: rotateY(180deg);
}

.lanyard-card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 166, 107, 0.44);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 12%, rgba(224, 192, 138, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(7, 7, 7, 0.9);
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(201, 166, 107, 0.16);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.lanyard-card-face::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 4;
  pointer-events: none;
  border: 1px solid rgba(224, 192, 138, 0.18);
  border-radius: 16px;
}

.lanyard-card-face::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.2), transparent 22%, transparent 72%, rgba(224, 192, 138, 0.08)),
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.52));
  mix-blend-mode: screen;
  opacity: 0.52;
}

.lanyard-card-face img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.002);
}

.lanyard-card-front img {
  object-position: center center;
}

.lanyard-card-face.is-missing img {
  display: none;
}

.lanyard-card-front {
  transform: rotateY(0deg);
}

.lanyard-card-back {
  transform: rotateY(180deg);
}

.lanyard-card-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  display: grid;
  gap: 3px;
  padding: 14px 14px 13px;
  border: 1px solid rgba(201, 166, 107, 0.26);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(4, 4, 4, 0.28), rgba(4, 4, 4, 0.72));
  backdrop-filter: blur(10px);
}

.lanyard-mini {
  margin: 0 0 2px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lanyard-card-overlay strong {
  color: var(--text);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-size: 24px;
  line-height: 1.08;
}

.lanyard-card-overlay small {
  color: rgba(246, 241, 232, 0.82);
  font-size: 12px;
  line-height: 1.45;
}

.lanyard-card-face > span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background:
    radial-gradient(circle at 50% 20%, rgba(224, 192, 138, 0.18), transparent 35%),
    linear-gradient(135deg, rgba(201, 166, 107, 0.1), rgba(0, 0, 0, 0.84));
}

.lanyard-card-face:not(.is-missing) > span {
  display: none;
}

.lanyard-back-panel,
.lanyard-back-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.lanyard-back-overlay {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 30px 28px 24px;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(224, 192, 138, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(224, 192, 138, 0.11), rgba(201, 166, 107, 0.04) 38%, rgba(0, 0, 0, 0.2)),
    linear-gradient(180deg, rgba(18, 13, 7, 0.96), rgba(5, 5, 5, 0.94));
  border: 1px solid rgba(224, 192, 138, 0.18);
  border-radius: inherit;
  box-shadow:
    inset 0 0 46px rgba(224, 192, 138, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.lanyard-back-overlay::before {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 1px solid rgba(224, 192, 138, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(224, 192, 138, 0.07), transparent 36%),
    radial-gradient(circle at 78% 78%, rgba(224, 192, 138, 0.1), transparent 28%);
}

.lanyard-back-header,
.lanyard-back-info,
.lanyard-back-current,
.lanyard-back-type {
  position: relative;
  z-index: 1;
}

.lanyard-back-header {
  display: grid;
  gap: 6px;
  padding-top: 4px;
}

.lanyard-back-header strong {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.02;
  letter-spacing: 0.03em;
}

.lanyard-back-header span {
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.lanyard-back-info {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding: 16px 0;
  border-top: 1px solid rgba(224, 192, 138, 0.16);
  border-bottom: 1px solid rgba(224, 192, 138, 0.16);
}

.lanyard-back-info p,
.lanyard-back-current p {
  margin: 0;
  color: rgba(246, 241, 232, 0.86);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.lanyard-back-current {
  display: grid;
  gap: 5px;
  padding: 15px 14px;
  border: 1px solid rgba(224, 192, 138, 0.18);
  border-radius: 14px;
  background: rgba(224, 192, 138, 0.08);
  box-shadow: inset 0 0 24px rgba(224, 192, 138, 0.045);
}

.lanyard-back-current small {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lanyard-back-type {
  align-self: flex-end;
  padding: 5px 10px;
  color: rgba(224, 192, 138, 0.92);
  border: 1px solid rgba(224, 192, 138, 0.26);
  border-radius: 999px;
  background: rgba(224, 192, 138, 0.06);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.lanyard-hint {
  position: relative;
  z-index: 3;
  margin: 14px 0 0;
  color: rgba(246, 241, 232, 0.58);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes lanyardRopeSwing {
  0%, 100% { transform: rotate(-1.4deg); }
  50% { transform: rotate(1.4deg); }
}

@keyframes lanyardCardSwing {
  0%, 100% { transform: rotate(-1.1deg) translateY(0); }
  50% { transform: rotate(1.1deg) translateY(4px); }
}

/* Make the skills workflow section black full-bleed, while keeping the image centered */
#profile-skills.skills-system-section {
  max-width: none;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
  padding-right: 6vw;
  padding-left: 6vw;
  background: #050505 !important;
}

#profile-skills.skills-system-section::before {
  display: none !important;
}

#profile-skills.skills-system-section::after {
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.16)) !important;
}

#profile-skills .skills-image-frame {
  width: min(88vw, 1180px);
  background: #050505;
}

@media (prefers-reduced-motion: reduce) {
  .lanyard-rope,
  .lanyard-card-swing {
    animation: none !important;
  }

  .lanyard-card,
  .lanyard-card-inner {
    transition: none !important;
  }
}

@media (max-width: 1080px) {
  .hero-lanyard-side {
    width: min(100%, 380px);
    margin-top: -18px;
  }

  .lanyard-card-swing {
    width: clamp(246px, 28vw, 320px);
  }
}

@media (max-width: 920px) {
  .hero-side.hero-lanyard-side {
    justify-self: center;
    align-self: start;
    width: min(100%, 380px);
    max-width: 380px;
    min-height: auto;
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  .hero-lanyard-side {
    width: 100%;
    min-height: auto;
    margin-top: 24px;
  }

  .hero-lanyard {
    width: 100%;
    min-height: auto;
  }

  .lanyard-rope {
    height: 108px;
  }

  .lanyard-card-swing {
    width: min(76vw, 292px);
  }

  .lanyard-back-overlay {
    padding: 21px 18px 18px;
    gap: 16px;
  }

  .lanyard-back-header strong {
    font-size: 26px;
  }

  .lanyard-back-info p,
  .lanyard-back-current p {
    font-size: 14px;
  }

  .lanyard-hint {
    margin-top: 14px;
  }
}

@media (max-width: 920px) {
  .hero-scroll-sticky {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "side";
    min-height: auto;
    padding: 34px 5vw 44px;
  }

  .hero-content-stack {
    grid-area: content;
    max-width: 100%;
  }

  .hero-side {
    grid-area: side;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  #profile.hero-scroll-scene {
    min-height: auto;
  }

  .hero-scroll-sticky {
    position: relative;
    min-height: auto;
  }

  .hero-tree-dissolve-video {
    display: none;
  }

  .hero-scroll-sticky > .hero-tree-bg {
    transform: scale(1.04) !important;
  }

  .hero-content-stack,
  .hero-scroll-sticky > .hero-side,
  #profile-skills {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-tree-dissolve-video {
    display: none;
  }

  .hero-scroll-sticky > .hero-tree-bg {
    transform: scale(1.04) !important;
  }

  .hero-content-stack,
  .hero-scroll-sticky > .hero-side,
  #profile-skills {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Selected Works flip correctness guard */
.selected-works-reveal .work-card {
  perspective: 1500px;
}

.selected-works-reveal .work-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(var(--flip, 0deg));
  will-change: transform;
}

.selected-works-reveal .work-card-front,
.selected-works-reveal .work-card-back {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.selected-works-reveal .work-card-front {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: rotateY(0deg);
}

.selected-works-reveal .work-card-back {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: rotateY(180deg);
}

.selected-works-reveal .work-card.is-flipped .work-card-front {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

.selected-works-reveal .work-card.is-flipped .work-card-inner {
  transform: none !important;
}

.selected-works-reveal .work-card.is-flipped .work-card-back {
  z-index: 5;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto;
}

.selected-works-reveal .work-card-back .case-card {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(8, 8, 8, 0.92);
}

.selected-works-reveal .work-card-back .case-card:hover {
  transform: none !important;
}

.selected-works-reveal .work-card-back .case-media {
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.selected-works-reveal .work-card-back .case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.selected-works-reveal .work-card-back .case-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
}

.selected-works-reveal .work-card-back .case-tag {
  margin: 0;
  color: var(--gold, #c9a66b);
  font-size: 12px;
  line-height: 1.45;
}

.selected-works-reveal .work-card-back h3 {
  margin: 0;
  color: var(--text, #f6f1e8);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.35;
}

.selected-works-reveal .work-card-back .case-intro {
  margin: 0;
  color: var(--muted, #c9c1b4);
  font-size: 14px;
  line-height: 1.6;
}

.selected-works-reveal .work-card-back .case-actions {
  position: relative;
  z-index: 5;
  display: flex !important;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: auto;
}

.selected-works-reveal .work-card-back .case-actions .btn,
.selected-works-reveal .work-card-back .case-actions button,
.selected-works-reveal .work-card-back .case-actions a {
  display: inline-flex !important;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

.selected-works-reveal .work-card-front span,
.selected-works-reveal .work-card-back .case-media span {
  display: none !important;
}


/* Shared Home → Skills transition refinements */
.hero-skills-transition {
  --hero-tree-opacity: 0.72;
  --hero-tree-scale: 1.04;
  --hero-tree-y: 0px;
  --hero-tree-blur: 0px;
  --hero-tree-particle-opacity: 0;
  --hero-video-opacity: 0;
  --hero-content-opacity: 1;
  --hero-content-y: 0px;
  --skills-enter-opacity: 1;
  --skills-enter-y: 0px;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #050505;
}

.hero-transition-sticky-bg {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  margin-bottom: -100svh;
  overflow: hidden;
  pointer-events: none;
  background: #050505;
}

.hero-transition-sticky-bg .hero-tree-bg,
.hero-transition-sticky-bg .hero-tree-dissolve-video,
.hero-transition-sticky-bg .hero-tree-particles,
.hero-transition-sticky-bg .hero-light-rays {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-transition-sticky-bg .hero-tree-bg {
  left: 0;
  z-index: 0;
  opacity: var(--hero-tree-opacity, 0.72);
  transform: translate3d(0, var(--hero-tree-y, 0px), 0) scale(var(--hero-tree-scale, 1.04));
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.78), rgba(5, 5, 5, 0.26) 45%, rgba(5, 5, 5, 0.7)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.88)),
    url("assets/hero-transition-bg.webp");
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) brightness(0.82) blur(var(--hero-tree-blur, 0px));
  will-change: transform, opacity, filter;
}

.hero-transition-sticky-bg .hero-light-rays,
.hero-transition-sticky-bg .hero-orb {
  position: absolute;
  z-index: 1;
}

.hero-transition-sticky-bg .hero-tree-dissolve-video {
  z-index: 2;
  object-fit: cover;
  opacity: var(--hero-video-opacity, 0);
  filter: brightness(0.52) contrast(1.05) saturate(0.86);
  will-change: opacity;
}

.hero-transition-sticky-bg .hero-tree-particles {
  left: 0;
  z-index: 3;
  opacity: var(--hero-tree-particle-opacity, 0);
  transform: none;
  mix-blend-mode: screen;
  will-change: opacity;
}

.hero-skills-transition #profile.hero-scroll-scene {
  position: relative;
  z-index: 2;
  min-height: 124svh;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  scroll-margin-top: 0;
}

.hero-skills-transition .hero-scroll-sticky {
  position: relative;
  top: auto;
  min-height: 100svh;
  width: 100%;
  overflow: visible;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 420px);
  grid-template-areas: "content side";
  column-gap: clamp(44px, 5vw, 76px);
  align-items: center;
  align-content: center;
  padding: clamp(0px, 1vh, 12px) clamp(24px, 4vw, 56px) clamp(68px, 8vh, 96px);
}

.hero-skills-transition .hero-content-stack,
.hero-skills-transition #home .hero-side {
  position: relative;
  z-index: 4;
  opacity: var(--hero-content-opacity, 1);
  transform: translate3d(0, var(--hero-content-y, 0px), 0);
  will-change: transform, opacity;
}

.hero-skills-transition #profile-skills {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  margin-top: 0;
  margin-right: 0;
  margin-left: 0;
  border-top: 0 !important;
  min-height: 112svh;
  padding-top: clamp(6px, 1.8vw, 24px);
  padding-bottom: clamp(58px, 10vh, 128px);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, 0.92) 22%, rgba(5, 5, 5, 1) 100%);
  background-color: transparent !important;
  opacity: var(--skills-enter-opacity, 1);
  transform: translate3d(0, var(--skills-enter-y, 0px), 0);
  will-change: opacity, transform;
}

.hero-skills-transition #profile-skills.skills-system-section {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, 0.9) 24%, rgba(5, 5, 5, 1) 100%) !important;
}

.hero-skills-transition #profile-skills::after {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.62)),
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.36));
}

.hero-skills-transition #profile-skills.skills-system-section::after {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.58)),
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.34)) !important;
}

@media (max-width: 920px) {
  .hero-skills-transition .hero-scroll-sticky {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "side";
    min-height: auto;
    padding: 34px 5vw 44px;
  }

  .hero-skills-transition .hero-content-stack {
    grid-area: content;
    max-width: 100%;
  }

  .hero-skills-transition #home .hero-side {
    grid-area: side;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .hero-skills-transition {
    overflow: visible;
  }

  .hero-transition-sticky-bg {
    position: absolute;
    height: 100%;
    min-height: 100%;
    margin-bottom: 0;
  }

  .hero-transition-sticky-bg .hero-tree-dissolve-video,
  .hero-transition-sticky-bg .hero-tree-particles {
    display: none;
  }

  .hero-skills-transition #profile.hero-scroll-scene {
    min-height: auto;
  }

  .hero-skills-transition .hero-scroll-sticky {
    min-height: auto;
  }

  .hero-skills-transition .hero-content-stack,
  .hero-skills-transition #home .hero-side,
  .hero-skills-transition #profile-skills {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-transition-sticky-bg .hero-tree-dissolve-video,
  .hero-transition-sticky-bg .hero-tree-particles {
    display: none;
  }

  .hero-skills-transition .hero-content-stack,
  .hero-skills-transition #home .hero-side,
  .hero-skills-transition #profile-skills {
    opacity: 1 !important;
    transform: none !important;
  }
}



/* Workflow preview aspect ratio fix
   海报使用 A4 竖版比例；PPT / 网页 / 动态演示 / 展示物料统一使用 16:9 横版比例。 */
.workflow-preview-media {
  align-items: center;
}

.workflow-preview-media[data-workflow-layout="poster"] {
  align-items: center;
}

.workflow-preview-item {
  flex: 0 0 auto;
  height: 100%;
  max-height: 100%;
  position: relative;
  overflow: hidden;
}

.workflow-preview-media.is-poster .workflow-preview-item,
.workflow-preview-media[data-workflow-layout="poster"] .workflow-preview-item,
.workflow-preview-item[data-workflow-kind="poster"],
.workflow-preview-item-a4 {
  aspect-ratio: 210 / 297;
}

.workflow-preview-media.is-ppt .workflow-preview-item,
.workflow-preview-media.is-web .workflow-preview-item,
.workflow-preview-media.is-motion .workflow-preview-item,
.workflow-preview-media.is-material .workflow-preview-item,
.workflow-preview-media[data-workflow-layout="landscape"] .workflow-preview-item,
.workflow-preview-item[data-workflow-kind="ppt"],
.workflow-preview-item[data-workflow-kind="web"],
.workflow-preview-item[data-workflow-kind="motion"],
.workflow-preview-item[data-workflow-kind="material"],
.workflow-preview-item-16x9 {
  aspect-ratio: 16 / 9;
}

.workflow-preview-media.is-poster .workflow-preview-item img,
.workflow-preview-media.is-poster .workflow-preview-item video,
.workflow-preview-media[data-workflow-layout="poster"] .workflow-preview-item img,
.workflow-preview-media[data-workflow-layout="poster"] .workflow-preview-item video,
.workflow-preview-item[data-workflow-kind="poster"] img,
.workflow-preview-item[data-workflow-kind="poster"] video,
.workflow-preview-item-a4 img,
.workflow-preview-item-a4 video,
.workflow-preview-media.is-ppt .workflow-preview-item img,
.workflow-preview-media.is-ppt .workflow-preview-item video,
.workflow-preview-media.is-web .workflow-preview-item img,
.workflow-preview-media.is-web .workflow-preview-item video,
.workflow-preview-media.is-motion .workflow-preview-item img,
.workflow-preview-media.is-motion .workflow-preview-item video,
.workflow-preview-media.is-material .workflow-preview-item img,
.workflow-preview-media.is-material .workflow-preview-item video,
.workflow-preview-media[data-workflow-layout="landscape"] .workflow-preview-item img,
.workflow-preview-media[data-workflow-layout="landscape"] .workflow-preview-item video,
.workflow-preview-item[data-workflow-kind="ppt"] img,
.workflow-preview-item[data-workflow-kind="ppt"] video,
.workflow-preview-item[data-workflow-kind="web"] img,
.workflow-preview-item[data-workflow-kind="web"] video,
.workflow-preview-item[data-workflow-kind="motion"] img,
.workflow-preview-item[data-workflow-kind="motion"] video,
.workflow-preview-item[data-workflow-kind="material"] img,
.workflow-preview-item[data-workflow-kind="material"] video,
.workflow-preview-item-16x9 img,
.workflow-preview-item-16x9 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.workflow-preview-video {
  pointer-events: none;
}

@media (max-width: 720px) {
  .workflow-preview-item {
    height: min(58vw, 220px);
  }

  .workflow-preview-media[data-workflow-layout="poster"] .workflow-preview-item,
  .workflow-preview-item-a4 {
    height: min(70vw, 260px);
  }
}

/* Business Proof Drawer Refinement */
.business-proof-panel {
  display: none !important;
}

.business-proof-drawer {
  width: min(520px, 92vw);
  height: calc(100svh - 62px);
  padding: clamp(20px, 3vw, 30px);
  overflow-y: auto;
}

.business-proof-drawer-head {
  padding-right: 62px;
  margin-bottom: 14px;
}

.business-proof-drawer-head h3 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.business-record-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 16px;
}

.business-record-switcher button {
  min-width: 0;
  padding: 8px 8px;
  color: rgba(246, 241, 232, 0.78);
  border: 1px solid rgba(201, 166, 107, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.business-record-switcher button:hover,
.business-record-switcher button:focus-visible {
  color: var(--text);
  border-color: rgba(224, 192, 138, 0.46);
  background: rgba(224, 192, 138, 0.075);
}

.business-record-switcher button.is-active {
  color: #050505;
  border-color: rgba(228, 194, 126, 0.8);
  background: linear-gradient(135deg, #e4c27e, #b98b42);
}

.business-proof-drawer-section {
  padding: 12px 0;
}

.drawer-label {
  margin-bottom: 9px;
}

.drawer-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drawer-chip-list li {
  padding: 8px 12px;
  font-size: 13px;
}

.business-proof-drawer-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  cursor: default;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.business-proof-drawer-media.is-switching {
  opacity: 0.18;
  transform: translate3d(0, 8px, 0);
}

.business-proof-drawer-media.is-text-only-mode {
  grid-template-columns: 1fr;
  cursor: default;
}

.business-proof-drawer-media-card {
  aspect-ratio: 16 / 9;
  min-height: 0;
  opacity: 1;
  transform: none;
}

.business-proof-drawer.is-open .business-proof-drawer-media-card {
  opacity: 1;
  transform: none;
}

.business-proof-drawer.is-open .business-proof-drawer-media-card:nth-child(n) {
  transition-delay: 0s;
}

.business-proof-drawer-media-card:hover,
.business-proof-drawer-media-card:focus-visible {
  transform: translate3d(0, -2px, 0);
}

.business-proof-drawer-media.is-text-only-mode .business-proof-drawer-media-card.is-text-only {
  aspect-ratio: auto;
  min-height: 0;
  padding: 18px 20px;
  border-color: rgba(201, 166, 107, 0.26);
  background: linear-gradient(135deg, rgba(224, 192, 138, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: none;
}

.business-proof-drawer-media.is-text-only-mode .business-proof-drawer-media-card.is-text-only:hover,
.business-proof-drawer-media.is-text-only-mode .business-proof-drawer-media-card.is-text-only:focus-visible {
  transform: none;
}

.business-proof-drawer-media.is-text-only-mode .business-proof-drawer-media-card.is-text-only span {
  position: static;
  display: grid;
  gap: 6px;
  width: auto;
  height: auto;
  padding: 0;
  text-align: left;
  background: none;
}

.business-proof-drawer-media.is-text-only-mode .business-proof-drawer-media-card.is-text-only strong {
  color: var(--gold-light);
  font-size: 15px;
  line-height: 1.4;
}

.business-proof-drawer-media.is-text-only-mode .business-proof-drawer-media-card.is-text-only small {
  color: rgba(246, 241, 232, 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.drawer-proof-line {
  font-size: clamp(17px, 1.2vw, 22px);
  line-height: 1.5;
}

.drawer-tip {
  margin-top: 10px;
}

.scholarship-drawer {
  display: grid;
  place-items: center;
  justify-items: center;
  padding: 20px;
}

.scholarship-drawer-backdrop {
  backdrop-filter: blur(5px);
}

.scholarship-drawer-panel {
  width: min(720px, 92vw);
  height: auto;
  max-height: min(86svh, 720px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(224, 192, 138, 0.34);
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  transform: translate3d(0, 18px, 0) scale(0.96);
  overflow-y: auto;
}

.scholarship-drawer.is-open .scholarship-drawer-panel {
  transform: translate3d(0, 0, 0) scale(1);
}

.scholarship-drawer-heading {
  padding-right: 44px;
  margin-bottom: 16px;
}

.scholarship-drawer-heading p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.scholarship-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.scholarship-summary li {
  padding: 7px 10px;
  color: rgba(246, 241, 232, 0.86);
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: 999px;
  background: rgba(224, 192, 138, 0.055);
  font-size: 12px;
  font-weight: 800;
}

.scholarship-viewer {
  min-height: 240px;
}

.scholarship-certificate {
  aspect-ratio: 16 / 10;
  max-height: min(44svh, 360px);
}

@media (max-width: 768px) {
  .business-record-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .business-proof-drawer-media {
    grid-template-columns: 1fr;
  }

  .business-proof-drawer-media-card {
    aspect-ratio: 16 / 9;
    max-height: 190px;
  }

  .scholarship-drawer {
    align-items: center;
    padding: 14px;
  }

  .scholarship-drawer-panel {
    width: min(94vw, 720px);
    height: auto;
    max-height: 84svh;
    border: 1px solid rgba(224, 192, 138, 0.34);
    border-radius: 20px;
    transform: translate3d(0, 18px, 0) scale(0.96);
  }

  .scholarship-drawer.is-open .scholarship-drawer-panel {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Workflow example note */
.workflow-hotspot-hint {
  display: none !important;
}

/* Personal site finishing details */
.business-proof-simple {
  max-width: none;
  width: 100%;
  padding-top: clamp(54px, 6vw, 84px);
  padding-bottom: clamp(54px, 6vw, 84px);
  padding-right: 6vw;
  padding-left: 6vw;
  background: #050505;
}

.business-proof-image-only {
  width: min(88vw, 1180px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 166, 107, 0.24);
  border-radius: 18px;
  background: #050505;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

.business-proof-image-only img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.more-ppt-item {
  border-color: rgba(201, 166, 107, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.78);
}

.more-ppt-item:hover,
.more-ppt-item.is-active {
  border-color: rgba(224, 192, 138, 0.44);
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.34);
}

.more-ppt-link {
  width: fit-content;
  margin-top: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(224, 192, 138, 0.42);
}

.hero-actions .btn:first-child {
  box-shadow: 0 14px 34px rgba(201, 166, 107, 0.22);
}

.hero-actions .btn,
.more-ppt-link,
.case-actions .btn {
  letter-spacing: 0.02em;
}

.selected-works-title-panel .eyebrow,
.more-ppt-heading .eyebrow {
  color: rgba(224, 192, 138, 0.92);
}

@media (max-width: 640px) {
  .hero-actions .btn {
    width: 100%;
  }

  .more-ppt-content {
    padding-bottom: 2px;
  }

  .more-ppt-link {
    margin-top: 12px;
  }

  .business-proof-simple {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}

.workflow-example-note {
  max-width: 1100px;
  margin: 30px auto 0;
  padding: 0 24px;
  color: rgba(246, 241, 232, 0.72);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.8;
  text-align: center;
  letter-spacing: 0.03em;
}

.workflow-example-note::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: linear-gradient(90deg, rgba(224, 192, 138, 0.9), rgba(224, 192, 138, 0.15));
}

/* Hero first-screen balance after reducing resume-style content */
.hero-skills-transition #profile.hero-scroll-scene {
  min-height: 112svh;
}

.hero-skills-transition .hero-scroll-sticky {
  width: min(1320px, 100%);
  min-height: calc(100svh - 62px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 700px) minmax(290px, 390px);
  column-gap: clamp(78px, 9vw, 152px);
  align-items: center;
  padding: clamp(60px, 7.5vh, 88px) clamp(30px, 5vw, 72px) clamp(56px, 7vh, 82px);
}

.hero-skills-transition .hero-content-stack {
  justify-self: start;
  max-width: 700px;
  transform: translate3d(clamp(-16px, -1vw, -8px), calc(var(--hero-content-y, 0px) - clamp(10px, 1.8vh, 22px)), 0);
}

.hero-skills-transition #home .hero-side {
  justify-self: end;
  width: min(100%, 380px);
  transform: translate3d(clamp(10px, 1.8vw, 28px), calc(var(--hero-content-y, 0px) - clamp(8px, 1.4vh, 18px)), 0);
}

#home .hero-copy .eyebrow {
  margin-bottom: 18px;
}

#home .hero-copy h1 {
  margin-bottom: 16px;
  font-size: clamp(62px, 7.1vw, 96px);
  line-height: 0.98;
}

#home .hero-copy .role {
  margin-bottom: 28px;
  font-size: clamp(23px, 2.3vw, 31px);
}

#home .hero-main {
  max-width: 660px;
}

#home .hero-main .value {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(246, 241, 232, 0.74);
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.88;
}

#home .hero-tags {
  gap: 12px;
  margin-top: 0;
}

#home .hero-tags span {
  padding: 8px 12px;
  font-size: 14px;
  background: rgba(201, 166, 107, 0.075);
}

#home .hero-actions {
  gap: 18px;
  margin-top: 32px;
}

#home .hero-actions .btn {
  min-height: 46px;
  padding: 11px 20px;
}

#home .hero-lanyard-side {
  width: min(100%, 380px);
  min-height: clamp(430px, 52vh, 560px);
  margin-top: 0;
}

#home .hero-lanyard {
  width: min(100%, 380px);
}

#home .lanyard-rope {
  height: clamp(96px, 11vh, 128px);
}

#home .lanyard-card-swing {
  width: clamp(252px, 19vw, 310px);
}

#home .lanyard-hint {
  margin-top: 8px;
  opacity: 0.54;
}

@media (min-width: 921px) and (max-width: 1120px) {
  .hero-skills-transition .hero-scroll-sticky {
    width: min(1080px, 100%);
    grid-template-columns: minmax(0, 1fr) minmax(270px, 350px);
    column-gap: clamp(46px, 6vw, 76px);
  }

  .hero-skills-transition .hero-content-stack,
  .hero-skills-transition #home .hero-side {
    transform: translate3d(0, calc(var(--hero-content-y, 0px) - 10px), 0);
  }

  #home .hero-copy h1 {
    font-size: clamp(58px, 7vw, 82px);
  }

  #home .hero-main .value {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .hero-skills-transition #profile.hero-scroll-scene {
    min-height: auto;
  }

  .hero-skills-transition .hero-scroll-sticky {
    width: 100%;
    grid-template-columns: 1fr;
    padding: 34px 5vw 44px;
  }

  .hero-skills-transition .hero-content-stack,
  .hero-skills-transition #home .hero-side {
    transform: none !important;
  }

  #home .hero-copy h1 {
    font-size: clamp(52px, 16vw, 82px);
  }

  #home .hero-main .value {
    font-size: 15px;
    line-height: 1.72;
  }

  #home .hero-actions {
    margin-top: 20px;
  }

  .hero-target-direction {
    font-size: 14px;
    line-height: 1.6;
  }

  .business-proof-simple {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .business-proof-image-only {
    width: 100%;
  }

  .workflow-example-note {
    text-align: left;
    padding: 0 18px;
    margin-top: 22px;
  }
}

/* AIGC bridge narrative between capability workflow and representative projects */
.aigc-bridge-section {
  --problem-copy-opacity: 0;
  --problem-copy-y: 40px;
  --problem-card-1-opacity: 0;
  --problem-card-1-x: 0px;
  --problem-card-1-y: 70px;
  --problem-card-1-scale: 0.9;
  --problem-card-1-blur: 0px;
  --problem-card-2-opacity: 0;
  --problem-card-2-x: 0px;
  --problem-card-2-y: 70px;
  --problem-card-2-scale: 0.9;
  --problem-card-2-blur: 0px;
  --problem-card-3-opacity: 0;
  --problem-card-3-x: 0px;
  --problem-card-3-y: 70px;
  --problem-card-3-scale: 0.9;
  --problem-card-3-blur: 0px;
  --workflow-image-opacity: 0;
  --workflow-image-scale: 0.86;
  --workflow-image-y: 80px;
  --workflow-image-blur: 0px;
  --input-node-opacity: 0;
  --input-node-scale: 0.4;
  --output-node-opacity: 0;
  --output-node-scale: 0.4;
  --flow-beam-opacity: 0;
  --vertical-channel-opacity: 0;
  --vertical-channel-scale: 0.4;
  --portal-opacity: 0;
  --portal-scale: 0.6;
  --burst-1-opacity: 0;
  --burst-1-scale: 0.2;
  --burst-2-opacity: 0;
  --burst-2-scale: 0.2;
  --input-chip-opacity: 0;
  --input-chip-scale: 0.6;
  --input-chip-1-x: 0px;
  --input-chip-1-y: -74px;
  --input-chip-2-x: 0px;
  --input-chip-2-y: 0px;
  --input-chip-3-x: 0px;
  --input-chip-3-y: 74px;
  --output-chip-opacity: 0;
  --output-chip-scale: 0.58;
  --output-chip-1-x: 0px;
  --output-chip-1-y: 0px;
  --output-chip-2-x: 0px;
  --output-chip-2-y: 0px;
  --output-chip-3-x: 0px;
  --output-chip-3-y: 0px;
  --output-chip-4-x: 0px;
  --output-chip-4-y: 0px;
  --output-chip-5-x: 0px;
  --output-chip-5-y: 0px;
  --outputs-copy-opacity: 0;
  --outputs-copy-y: 36px;
  --deliverables-workflow-opacity: 0;
  --deliverables-workflow-y: 26px;
  --deliverables-workflow-scale: 0.98;
  --output-card-1-opacity: 0;
  --output-card-1-x: 0px;
  --output-card-1-y: 0px;
  --output-card-1-scale: 0.72;
  --output-card-1-reveal: 0%;
  --output-card-2-opacity: 0;
  --output-card-2-x: 0px;
  --output-card-2-y: 0px;
  --output-card-2-scale: 0.72;
  --output-card-2-reveal: 0%;
  --output-card-3-opacity: 0;
  --output-card-3-x: 0px;
  --output-card-3-y: 0px;
  --output-card-3-scale: 0.72;
  --output-card-3-reveal: 0%;
  --output-card-4-opacity: 0;
  --output-card-4-x: 0px;
  --output-card-4-y: 0px;
  --output-card-4-scale: 0.72;
  --output-card-4-reveal: 0%;
  --output-card-5-opacity: 0;
  --output-card-5-x: 0px;
  --output-card-5-y: 0px;
  --output-card-5-scale: 0.72;
  --output-card-5-reveal: 0%;
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 720vh;
  overflow: clip;
  isolation: isolate;
  background: #050505;
  border-top: 1px solid rgba(201, 166, 107, 0.1);
}

.aigc-bridge-sticky {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.aigc-bridge-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(224, 192, 138, 0.16), transparent 30%),
    radial-gradient(circle at 18% 26%, rgba(201, 166, 107, 0.09), transparent 28%),
    radial-gradient(circle at 82% 70%, rgba(94, 159, 216, 0.075), transparent 30%),
    linear-gradient(rgba(201, 166, 107, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 107, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, #050505, #080706 48%, #050505);
  background-size: auto, auto, auto, 28px 28px, 28px 28px, auto;
}

.aigc-bridge-panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(32px, 6vw, 84px);
  pointer-events: none;
}

.aigc-bridge-problems {
  z-index: 2;
}

.aigc-bridge-problems::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: calc(var(--problem-copy-opacity, 1) * 0.82);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.78), rgba(5, 5, 5, 0.22) 48%, rgba(5, 5, 5, 0.62)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.48), rgba(5, 5, 5, 0.18) 46%, rgba(5, 5, 5, 0.82)),
    url("assets/aigc-problem-bg.webp");
  background-position: center center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity 0.24s var(--ease);
}

.aigc-bridge-problems::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: calc(var(--problem-copy-opacity, 1) * 0.72);
  background:
    radial-gradient(circle at 50% 58%, rgba(224, 192, 138, 0.18), transparent 28%),
    linear-gradient(rgba(201, 166, 107, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 107, 0.024) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  mix-blend-mode: screen;
}

.aigc-bridge-problems .aigc-bridge-copy,
.aigc-bridge-problems .aigc-problem-grid {
  position: relative;
  z-index: 1;
}

.aigc-bridge-image-panel {
  z-index: 7;
}

.aigc-bridge-outputs {
  z-index: 6;
}

.aigc-bridge-copy {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
  opacity: var(--problem-copy-opacity);
  transform: translate3d(0, var(--problem-copy-y), 0);
  will-change: transform, opacity;
}

.aigc-bridge-outputs .aigc-bridge-copy {
  margin-bottom: clamp(18px, 2.2vh, 30px);
  opacity: var(--outputs-copy-opacity);
  transform: translate3d(0, var(--outputs-copy-y), 0);
}

.aigc-bridge-copy h2 {
  max-width: 940px;
  margin: 8px auto 16px;
  color: var(--text);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.aigc-bridge-copy p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.75;
}

.aigc-bridge-outputs .aigc-bridge-copy h2 {
  max-width: 760px;
  font-size: clamp(30px, 2.6vw, 42px);
  line-height: 1.16;
}

.aigc-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  width: min(88vw, 1120px);
  margin: 0 auto;
}

.aigc-problem-card,
.aigc-output-card {
  position: relative;
  min-height: 210px;
  padding: clamp(20px, 2.2vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(224, 192, 138, 0.24);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(8, 8, 8, 0.78);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.48);
  backdrop-filter: none;
  will-change: transform, opacity;
}

.aigc-problem-card::after,
.aigc-output-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 28% 20%, rgba(224, 192, 138, 0.12), transparent 34%);
}

.aigc-problem-card span,
.aigc-output-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border: 1px solid rgba(224, 192, 138, 0.42);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
}

.aigc-problem-card h3,
.aigc-output-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(20px, 1.45vw, 25px);
  line-height: 1.28;
}

.aigc-problem-card p,
.aigc-output-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(246, 241, 232, 0.68);
  font-size: 15px;
  line-height: 1.7;
}

.aigc-output-card {
  min-height: clamp(146px, 17vh, 184px);
  padding: clamp(16px, 1.35vw, 20px);
  backdrop-filter: none;
  will-change: transform, opacity;
}

.travel-card-1 {
  opacity: var(--problem-card-1-opacity);
  transform: translate3d(var(--problem-card-1-x), var(--problem-card-1-y), 0) scale(var(--problem-card-1-scale));
  filter: none;
}

.travel-card-2 {
  opacity: var(--problem-card-2-opacity);
  transform: translate3d(var(--problem-card-2-x), var(--problem-card-2-y), 0) scale(var(--problem-card-2-scale));
  filter: none;
}

.travel-card-3 {
  opacity: var(--problem-card-3-opacity);
  transform: translate3d(var(--problem-card-3-x), var(--problem-card-3-y), 0) scale(var(--problem-card-3-scale));
  filter: none;
}

.aigc-bridge-image-frame {
  position: relative;
  z-index: 4;
  width: min(86vw, 1180px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(224, 192, 138, 0.36);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 30px 120px rgba(0, 0, 0, 0.62),
    0 0 42px rgba(201, 166, 107, 0.16);
  opacity: var(--workflow-image-opacity);
  transform: translate3d(0, var(--workflow-image-y), 0) scale(var(--workflow-image-scale));
  filter: none;
  will-change: transform, opacity;
}

.aigc-bridge-image-float {
  width: 100%;
  height: 100%;
  animation: aigcBridgeFloat 3s ease-in-out infinite;
}

.aigc-bridge-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.aigc-bridge-image-frame span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(224, 192, 138, 0.86);
  text-align: center;
  background: linear-gradient(135deg, rgba(201, 166, 107, 0.08), rgba(255, 255, 255, 0.025));
}

.workflow-motion-stage {
  --workflow-ease-main: cubic-bezier(0.22, 1, 0.36, 1);
  --workflow-ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --workflow-ease-text: cubic-bezier(0.4, 0, 0.2, 1);
  display: grid;
  place-items: center;
  width: min(1180px, 88vw);
  pointer-events: auto;
}

.workflow-motion-copy {
  max-width: 850px;
  margin: 0 auto clamp(22px, 3vh, 34px);
  text-align: center;
  opacity: var(--workflow-image-opacity);
  transform: translate3d(0, calc(var(--workflow-image-y) * 0.32), 0);
}

.workflow-motion-copy h2 {
  margin: 8px auto 14px;
  color: var(--text);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.16;
  letter-spacing: 0;
}

.workflow-motion-copy p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.75;
}

.workflow-motion-visual.aigc-bridge-image-frame {
  width: min(980px, 78vw);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(224, 192, 138, 0.11), transparent 34%),
    linear-gradient(rgba(201, 166, 107, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 107, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, rgba(16, 16, 16, 0.96), rgba(5, 5, 5, 0.98));
  background-size: auto, 26px 26px, 26px 26px, auto;
}

.workflow-motion-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.32)),
    radial-gradient(circle at 50% 50%, rgba(224, 192, 138, calc(var(--aigc-portal-glow, 0) * 0.38)), transparent 30%);
}

.workflow-motion-video-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 0.56s var(--workflow-ease-main),
    transform 0.56s var(--workflow-ease-main);
}

.workflow-motion-video-layer.is-active {
  opacity: 1;
  transform: scale(1);
}

.workflow-motion-video-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.workflow-motion-video-layer:not(.is-missing) video {
  opacity: 1;
}

.workflow-motion-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  color: rgba(246, 241, 232, 0.78);
  text-align: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(224, 192, 138, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(224, 192, 138, 0.08), rgba(255, 255, 255, 0.025));
}

.workflow-motion-placeholder strong,
.workflow-motion-placeholder span {
  grid-area: 1 / 1;
}

.workflow-motion-placeholder strong {
  transform: translateY(-10px);
  color: var(--gold-light);
  font-size: clamp(18px, 1.8vw, 28px);
  letter-spacing: 0.04em;
}

.workflow-motion-placeholder span {
  transform: translateY(24px);
  color: rgba(246, 241, 232, 0.54);
  font-size: 13px;
}

.workflow-motion-video-layer:not(.is-missing) .workflow-motion-placeholder {
  opacity: 0;
}

/* Final #skills carousel reset: independent from the old .aigc-bridge-image-frame. */
#skills.aigc-bridge-image-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(18px, 3vh, 32px) 0 !important;
  overflow: visible;
}

#skills .workflow-hero-carousel {
  position: relative;
  width: 100vw;
  max-width: none;
  height: min(56.25vw, 72svh, calc(100svh - 96px));
  min-height: clamp(520px, 58vh, 680px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #050505;
  overflow: hidden;
  opacity: var(--workflow-image-opacity, 1);
  transform: translate3d(0, var(--workflow-image-y, 0px), 0);
  z-index: 8;
}

#skills .workflow-hero-bg,
#skills .workflow-hero-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#skills .workflow-hero-panel video,
#skills .workflow-hero-panel img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity 260ms ease;
}

#skills .workflow-hero-panel video {
  z-index: 2;
  opacity: 0;
}

#skills .workflow-hero-panel img {
  z-index: 1;
  opacity: 1;
}

#skills .workflow-hero-panel.is-video-ready video {
  opacity: 1;
}

#skills .workflow-hero-panel.is-video-ready img {
  opacity: 0;
}

#skills .workflow-hero-panel.is-missing video,
#skills .workflow-hero-panel:not(.is-video-ready) video {
  opacity: 0;
}

#skills .workflow-hero-panel.is-missing img,
#skills .workflow-hero-panel:not(.is-video-ready) img {
  opacity: 1;
}

#skills .workflow-hero-panel.is-video-ready .workflow-hero-fallback {
  opacity: 0;
}

#skills .workflow-hero-fallback span,
#skills .workflow-hero-fallback strong,
#skills .workflow-hero-thumb span,
#skills .workflow-hero-thumb strong,
#skills .workflow-hero-thumb small,
#skills .workflow-hero-controls span {
  position: relative;
  inset: auto;
  height: auto;
  opacity: 1;
  background: none;
}

#skills .workflow-hero-fallback span,
#skills .workflow-hero-fallback strong {
  display: block;
  text-align: center;
}

#skills .workflow-hero-copy {
  width: min(440px, 30vw);
  margin-left: clamp(42px, 5vw, 86px);
  padding-top: clamp(58px, 8vh, 110px);
}

#skills .workflow-hero-copy h2 {
  font-size: clamp(36px, 4vw, 62px);
  line-height: 1.04;
}

#skills .workflow-hero-copy span[data-workflow-hero-tags] {
  position: static;
  inset: auto;
  display: inline-flex;
  height: auto;
  opacity: 1;
  text-align: left;
  background: rgba(224, 192, 138, 0.08);
}

#skills .workflow-hero-card-track {
  position: absolute;
  z-index: 4;
  right: clamp(12px, 3vw, 54px);
  top: 50%;
  width: min(700px, 50vw);
  overflow: visible;
  transform: translateY(-38%);
}

#skills .workflow-hero-card-track.is-shifting {
  transform: translateY(-38%) translateX(-24px);
}

#skills .workflow-hero-thumb {
  flex: 0 0 clamp(120px, 10vw, 168px);
  height: clamp(170px, 24vh, 250px);
}

#skills .workflow-hero-controls {
  bottom: clamp(24px, 4vh, 44px);
}

@media (max-width: 768px) {
  #skills.aigc-bridge-image-panel {
    display: grid;
    padding: clamp(42px, 10vw, 76px) 0 !important;
    overflow: visible;
  }

  #skills .workflow-hero-carousel {
    width: min(100%, 92vw);
    height: auto;
    min-height: auto;
    margin: 0 auto;
    padding: 88px 20px 36px;
    border-radius: 24px;
    transform: none;
  }

  #skills .workflow-hero-bg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(224, 192, 138, 0.26);
    border-radius: 20px;
  }

  #skills .workflow-hero-card-track,
  #skills .workflow-hero-card-track.is-shifting {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: 4px;
    overflow-x: auto;
    transform: none;
  }
}

/* Final #skills aspect-ratio override: full-width video, not full-height. */
#skills.aigc-bridge-image-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  overflow: visible;
}

#skills .workflow-hero-carousel.aigc-bridge-image-frame {
  position: relative;
  left: 50%;
  inset: auto;
  width: 100vw !important;
  max-width: none !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100svh - 92px);
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #050505;
  overflow: hidden;
  opacity: var(--workflow-image-opacity, 1);
  transform: translate3d(-50%, var(--workflow-image-y, 0px), 0) scale(var(--workflow-image-scale, 1));
}

#skills .workflow-hero-panel video,
#skills .workflow-hero-panel img {
  transition: opacity 260ms ease;
}

#skills .workflow-hero-copy {
  width: min(460px, 31vw);
  margin-left: clamp(44px, 6vw, 96px);
  padding-top: clamp(76px, 10vh, 128px);
}

#skills .workflow-hero-copy h2 {
  font-size: clamp(38px, 4.2vw, 66px);
  line-height: 1.04;
}

#skills .workflow-hero-card-track {
  right: clamp(0px, 2vw, 36px);
  top: 50%;
  width: min(760px, 54vw);
  overflow: visible;
  transform: translateY(-38%);
}

#skills .workflow-hero-card-track.is-shifting {
  transform: translateY(-38%) translateX(-24px);
}

#skills .workflow-hero-controls {
  bottom: clamp(28px, 5vh, 52px);
}

@media (max-width: 768px) {
  #skills.aigc-bridge-image-panel {
    display: grid;
    overflow: visible;
  }

  #skills .workflow-hero-carousel.aigc-bridge-image-frame {
    left: auto;
    width: min(100%, 92vw) !important;
    max-height: none;
    margin: 0 auto !important;
    transform: none;
  }

  #skills .workflow-hero-card-track,
#skills .workflow-hero-card-track.is-shifting {
    transform: none;
  }
}

/* #skills interaction and lighter-overlay fixes. */
#skills.aigc-bridge-image-panel {
  pointer-events: auto !important;
}

#skills .workflow-hero-carousel {
  pointer-events: auto !important;
}

#skills .workflow-hero-bg,
#skills .workflow-hero-panel,
#skills .workflow-hero-panel video,
#skills .workflow-hero-panel img,
#skills .workflow-hero-carousel::after,
#skills .workflow-hero-thumb::after {
  pointer-events: none;
}

#skills .workflow-hero-card-track {
  z-index: 20;
  pointer-events: auto !important;
}

#skills .workflow-hero-thumb {
  position: relative;
  z-index: 21;
  pointer-events: auto !important;
  cursor: pointer;
}

#skills .workflow-hero-controls {
  z-index: 22;
  pointer-events: auto !important;
}

#skills .workflow-hero-controls button {
  pointer-events: auto !important;
  cursor: pointer;
}

#skills .workflow-hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.42) 0%,
      rgba(5, 5, 5, 0.22) 30%,
      rgba(5, 5, 5, 0.06) 58%,
      rgba(5, 5, 5, 0.20) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.12) 0%,
      rgba(5, 5, 5, 0.16) 48%,
      rgba(5, 5, 5, 0.30) 100%
    );
}

#skills .workflow-hero-copy {
  z-index: 10;
  padding: clamp(22px, 2.2vw, 34px);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.52), rgba(5, 5, 5, 0.16));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.20);
}

#skills .workflow-hero-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.05) 0%,
      rgba(5, 5, 5, 0.18) 46%,
      rgba(5, 5, 5, 0.62) 100%
    );
}

/* Final scoped override: #skills is an immersive video screen without a text card. */
#skills.aigc-bridge-image-panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 62px 0 0 !important;
  overflow: visible;
  pointer-events: auto !important;
}

#skills .workflow-hero-carousel {
  position: relative;
  width: 100vw;
  max-width: none;
  height: min(calc(100svh - 62px), max(64vw, 640px));
  min-height: min(640px, calc(100svh - 62px));
  max-height: calc(100svh - 62px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #050505;
  overflow: hidden;
  opacity: var(--workflow-image-opacity, 1);
  transform: translate3d(0, var(--workflow-image-y, 0px), 0);
  pointer-events: auto !important;
  z-index: 8;
}

#skills .workflow-hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.34) 0%,
      rgba(5, 5, 5, 0.18) 28%,
      rgba(5, 5, 5, 0.04) 58%,
      rgba(5, 5, 5, 0.14) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.08) 0%,
      rgba(5, 5, 5, 0.10) 52%,
      rgba(5, 5, 5, 0.24) 100%
    );
}

#skills .workflow-hero-bg,
#skills .workflow-hero-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#skills .workflow-hero-panel video,
#skills .workflow-hero-panel img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity 260ms ease;
  pointer-events: none;
}

#skills .workflow-hero-panel video {
  z-index: 2;
  opacity: 0;
}

#skills .workflow-hero-panel img {
  z-index: 1;
  opacity: 1;
}

#skills .workflow-hero-panel.is-video-ready video {
  opacity: 1;
}

#skills .workflow-hero-panel.is-video-ready img {
  opacity: 0;
}

#skills .workflow-hero-panel.is-missing video,
#skills .workflow-hero-panel:not(.is-video-ready) video {
  opacity: 0;
}

#skills .workflow-hero-panel.is-missing img,
#skills .workflow-hero-panel:not(.is-video-ready) img {
  opacity: 1;
}

#skills .workflow-hero-panel.is-video-ready .workflow-hero-fallback {
  opacity: 0;
}

#skills .workflow-hero-fallback span,
#skills .workflow-hero-fallback strong,
#skills .workflow-hero-thumb span,
#skills .workflow-hero-thumb strong,
#skills .workflow-hero-thumb small,
#skills .workflow-hero-controls span {
  position: relative;
  inset: auto;
  height: auto;
  opacity: 1;
  background: none;
}

#skills .workflow-hero-fallback span,
#skills .workflow-hero-fallback strong {
  display: block;
  text-align: center;
}

#skills .workflow-hero-copy {
  position: relative;
  z-index: 10;
  width: min(500px, 34vw);
  margin-left: clamp(52px, 6.5vw, 108px);
  padding: clamp(96px, 13vh, 150px) 0 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

#skills .workflow-hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -36px;
  top: calc(clamp(96px, 13vh, 150px) - 28px);
  width: min(560px, 38vw);
  height: calc(100% - clamp(96px, 13vh, 150px) + 56px);
  pointer-events: none;
  border-radius: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 5, 5, 0.42) 0%,
    rgba(5, 5, 5, 0.20) 48%,
    rgba(5, 5, 5, 0) 100%
  );
}

#skills .workflow-hero-copy h2,
#skills .workflow-hero-copy p,
#skills .workflow-hero-copy span {
  text-shadow:
    0 3px 16px rgba(0, 0, 0, 0.62),
    0 1px 2px rgba(0, 0, 0, 0.72);
}

#skills .workflow-hero-copy .eyebrow {
  margin-bottom: 10px;
}

#skills .workflow-hero-number {
  margin-bottom: 4px;
}

#skills .workflow-hero-copy h2 {
  margin-bottom: clamp(14px, 1.6vw, 24px);
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1.02;
}

#skills .workflow-hero-copy p[data-workflow-hero-desc] {
  max-width: 460px;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.72;
}

#skills .workflow-hero-copy span[data-workflow-hero-tags] {
  position: static;
  inset: auto;
  display: inline-flex;
  height: auto;
  opacity: 1;
  text-align: left;
  background: rgba(224, 192, 138, 0.08);
}

#skills .workflow-hero-card-track {
  position: absolute;
  z-index: 20;
  right: clamp(18px, 3vw, 58px);
  top: 50%;
  width: min(760px, 54vw);
  overflow: visible;
  transform: translateY(-38%);
  pointer-events: auto !important;
}

#skills .workflow-hero-card-track.is-shifting {
  transform: translateY(-38%) translateX(-24px);
}

#skills .workflow-hero-controls {
  z-index: 22;
  bottom: clamp(24px, 4vh, 44px);
  pointer-events: auto !important;
}

#skills .workflow-hero-thumb,
#skills .workflow-hero-controls button {
  pointer-events: auto !important;
}

#skills .workflow-hero-copy::before,
#skills .workflow-hero-thumb::after {
  pointer-events: none;
}

@media (max-width: 768px) {
  #skills.aigc-bridge-image-panel {
    display: grid;
    padding: clamp(42px, 10vw, 76px) 0 !important;
  }

  #skills .workflow-hero-carousel {
    width: min(100%, 92vw);
    max-height: none;
    height: auto;
    min-height: auto;
    margin: 0 auto;
    padding: 88px 20px 36px;
    border-radius: 24px;
    transform: none;
  }

  #skills .workflow-hero-copy {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #skills .workflow-hero-copy::before {
    display: none;
  }

  #skills .workflow-hero-bg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(224, 192, 138, 0.26);
    border-radius: 20px;
  }

  #skills .workflow-hero-card-track {
    position: relative;
    right: auto;
    top: auto;
    z-index: 4;
    width: 100%;
    margin-top: 4px;
    overflow-x: auto;
    padding-bottom: 8px;
    transform: none;
    scrollbar-width: thin;
  }

  #skills .workflow-hero-card-track.is-shifting {
    transform: none;
  }
}

/* Final #skills visual tuning: immersive video screen without a text card. */
#skills.aigc-bridge-image-panel {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 62px 0 0 !important;
  overflow: visible;
  pointer-events: auto !important;
}

#skills .workflow-hero-carousel {
  position: relative;
  width: 100vw;
  max-width: none;
  height: min(calc(100svh - 62px), max(64vw, 640px));
  min-height: min(640px, calc(100svh - 62px));
  max-height: calc(100svh - 62px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #050505;
  overflow: hidden;
  opacity: var(--workflow-image-opacity, 1);
  transform: translate3d(0, var(--workflow-image-y, 0px), 0);
  pointer-events: auto !important;
  z-index: 8;
}

#skills .workflow-hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.34) 0%,
      rgba(5, 5, 5, 0.18) 28%,
      rgba(5, 5, 5, 0.04) 58%,
      rgba(5, 5, 5, 0.14) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.08) 0%,
      rgba(5, 5, 5, 0.10) 52%,
      rgba(5, 5, 5, 0.24) 100%
    );
}

#skills .workflow-hero-bg,
#skills .workflow-hero-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#skills .workflow-hero-panel video,
#skills .workflow-hero-panel img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity 260ms ease;
  pointer-events: none;
}

#skills .workflow-hero-copy {
  position: relative;
  z-index: 10;
  width: min(500px, 34vw);
  margin-left: clamp(52px, 6.5vw, 108px);
  padding: clamp(96px, 13vh, 150px) 0 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

#skills .workflow-hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -36px;
  top: calc(clamp(96px, 13vh, 150px) - 28px);
  width: min(560px, 38vw);
  height: calc(100% - clamp(96px, 13vh, 150px) + 56px);
  pointer-events: none;
  border-radius: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 5, 5, 0.42) 0%,
    rgba(5, 5, 5, 0.20) 48%,
    rgba(5, 5, 5, 0) 100%
  );
}

#skills .workflow-hero-copy h2,
#skills .workflow-hero-copy p,
#skills .workflow-hero-copy span {
  text-shadow:
    0 3px 16px rgba(0, 0, 0, 0.62),
    0 1px 2px rgba(0, 0, 0, 0.72);
}

#skills .workflow-hero-copy .eyebrow {
  margin-bottom: 10px;
}

#skills .workflow-hero-number {
  margin-bottom: 4px;
}

#skills .workflow-hero-copy h2 {
  margin-bottom: clamp(14px, 1.6vw, 24px);
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1.02;
}

#skills .workflow-hero-copy p[data-workflow-hero-desc] {
  max-width: 460px;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.72;
}

#skills .workflow-hero-card-track {
  position: absolute;
  z-index: 20;
  right: clamp(18px, 3vw, 58px);
  top: 50%;
  width: min(760px, 54vw);
  overflow: visible;
  transform: translateY(-38%);
  pointer-events: auto !important;
}

#skills .workflow-hero-card-track.is-shifting {
  transform: translateY(-38%) translateX(-24px);
}

#skills .workflow-hero-thumb {
  pointer-events: auto !important;
}

#skills .workflow-hero-controls {
  z-index: 22;
  bottom: clamp(24px, 4vh, 44px);
  pointer-events: auto !important;
}

#skills .workflow-hero-controls button {
  pointer-events: auto !important;
}

#skills .workflow-hero-copy::before,
#skills .workflow-hero-thumb::after {
  pointer-events: none;
}

@media (max-width: 768px) {
  #skills.aigc-bridge-image-panel {
    display: grid;
    padding: clamp(42px, 10vw, 76px) 0 !important;
  }

  #skills .workflow-hero-carousel {
    width: min(100%, 92vw);
    height: auto;
    min-height: auto;
    max-height: none;
    margin: 0 auto;
    padding: 88px 20px 36px;
    border-radius: 24px;
    transform: none;
  }

  #skills .workflow-hero-copy {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #skills .workflow-hero-copy::before {
    display: none;
  }

  #skills .workflow-hero-card-track,
  #skills .workflow-hero-card-track.is-shifting {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    transform: none;
  }
}

/* Final #skills visual tuning: immersive video screen without a text card. */
#skills.aigc-bridge-image-panel {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 62px 0 0 !important;
  overflow: visible;
  pointer-events: auto !important;
}

#skills .workflow-hero-carousel {
  position: relative;
  width: 100vw;
  max-width: none;
  height: min(calc(100svh - 62px), max(64vw, 640px));
  min-height: min(640px, calc(100svh - 62px));
  max-height: calc(100svh - 62px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #050505;
  overflow: hidden;
  opacity: var(--workflow-image-opacity, 1);
  transform: translate3d(0, var(--workflow-image-y, 0px), 0);
  pointer-events: auto !important;
  z-index: 8;
}

#skills .workflow-hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.34) 0%,
      rgba(5, 5, 5, 0.18) 28%,
      rgba(5, 5, 5, 0.04) 58%,
      rgba(5, 5, 5, 0.14) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.08) 0%,
      rgba(5, 5, 5, 0.10) 52%,
      rgba(5, 5, 5, 0.24) 100%
    );
}

#skills .workflow-hero-bg,
#skills .workflow-hero-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#skills .workflow-hero-panel video,
#skills .workflow-hero-panel img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity 260ms ease;
  pointer-events: none;
}

#skills .workflow-hero-copy {
  position: relative;
  z-index: 10;
  width: min(500px, 34vw);
  margin-left: clamp(52px, 6.5vw, 108px);
  padding: clamp(96px, 13vh, 150px) 0 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

#skills .workflow-hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -36px;
  top: calc(clamp(96px, 13vh, 150px) - 28px);
  width: min(560px, 38vw);
  height: calc(100% - clamp(96px, 13vh, 150px) + 56px);
  pointer-events: none;
  border-radius: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 5, 5, 0.42) 0%,
    rgba(5, 5, 5, 0.20) 48%,
    rgba(5, 5, 5, 0) 100%
  );
}

#skills .workflow-hero-copy h2,
#skills .workflow-hero-copy p,
#skills .workflow-hero-copy span {
  text-shadow:
    0 3px 16px rgba(0, 0, 0, 0.62),
    0 1px 2px rgba(0, 0, 0, 0.72);
}

#skills .workflow-hero-copy .eyebrow {
  margin-bottom: 10px;
}

#skills .workflow-hero-number {
  margin-bottom: 4px;
}

#skills .workflow-hero-copy h2 {
  margin-bottom: clamp(14px, 1.6vw, 24px);
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1.02;
}

#skills .workflow-hero-copy p[data-workflow-hero-desc] {
  max-width: 460px;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.72;
}

#skills .workflow-hero-card-track {
  position: absolute;
  z-index: 20;
  right: clamp(18px, 3vw, 58px);
  top: 50%;
  width: min(760px, 54vw);
  overflow: visible;
  transform: translateY(-38%);
  pointer-events: auto !important;
}

#skills .workflow-hero-card-track.is-shifting {
  transform: translateY(-38%) translateX(-24px);
}

#skills .workflow-hero-thumb {
  pointer-events: auto !important;
}

#skills .workflow-hero-controls {
  z-index: 22;
  bottom: clamp(24px, 4vh, 44px);
  pointer-events: auto !important;
}

#skills .workflow-hero-controls button {
  pointer-events: auto !important;
}

#skills .workflow-hero-copy::before,
#skills .workflow-hero-thumb::after {
  pointer-events: none;
}

@media (max-width: 768px) {
  #skills.aigc-bridge-image-panel {
    display: grid;
    padding: clamp(42px, 10vw, 76px) 0 !important;
  }

  #skills .workflow-hero-carousel {
    width: min(100%, 92vw);
    height: auto;
    min-height: auto;
    max-height: none;
    margin: 0 auto;
    padding: 88px 20px 36px;
    border-radius: 24px;
    transform: none;
  }

  #skills .workflow-hero-copy {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #skills .workflow-hero-copy::before {
    display: none;
  }

  #skills .workflow-hero-card-track,
  #skills .workflow-hero-card-track.is-shifting {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    transform: none;
  }
}

/* Final #skills click + lighter-mask override. This must stay last because the
   file still contains historical #skills overrides from earlier iterations. */
#skills.aigc-bridge-image-panel {
  pointer-events: auto !important;
}

#skills .workflow-hero-carousel {
  pointer-events: auto !important;
}

#skills .workflow-hero-bg,
#skills .workflow-hero-panel,
#skills .workflow-hero-panel video,
#skills .workflow-hero-panel img,
#skills .workflow-hero-carousel::after,
#skills .workflow-hero-thumb::after {
  pointer-events: none;
}

#skills .workflow-hero-card-track {
  z-index: 20;
  pointer-events: auto !important;
}

#skills .workflow-hero-thumb {
  position: relative;
  z-index: 21;
  pointer-events: auto !important;
  cursor: pointer;
}

#skills .workflow-hero-controls {
  z-index: 22;
  pointer-events: auto !important;
}

#skills .workflow-hero-controls button {
  pointer-events: auto !important;
  cursor: pointer;
}

#skills .workflow-hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.42) 0%,
      rgba(5, 5, 5, 0.22) 30%,
      rgba(5, 5, 5, 0.06) 58%,
      rgba(5, 5, 5, 0.20) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.12) 0%,
      rgba(5, 5, 5, 0.16) 48%,
      rgba(5, 5, 5, 0.30) 100%
    );
}

#skills .workflow-hero-copy {
  z-index: 10;
  padding: clamp(22px, 2.2vw, 34px);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.52), rgba(5, 5, 5, 0.16));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.20);
}

#skills .workflow-hero-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.05) 0%,
      rgba(5, 5, 5, 0.18) 46%,
      rgba(5, 5, 5, 0.62) 100%
    );
}

/* #skills video carousel aspect-ratio correction: full-bleed width, not full-height. */
#skills.aigc-bridge-image-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  overflow: visible;
}

#skills .workflow-hero-carousel.aigc-bridge-image-frame {
  position: relative;
  left: 50%;
  inset: auto;
  width: 100vw !important;
  max-width: none !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100svh - 92px);
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #050505;
  overflow: hidden;
  opacity: var(--workflow-image-opacity, 1);
  transform: translate3d(-50%, var(--workflow-image-y, 0px), 0) scale(var(--workflow-image-scale, 1));
}

#skills .workflow-hero-bg,
#skills .workflow-hero-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#skills .workflow-hero-panel video,
#skills .workflow-hero-panel img {
  transition: opacity 260ms ease;
}

#skills .workflow-hero-copy {
  width: min(460px, 31vw);
  margin-left: clamp(44px, 6vw, 96px);
  padding-top: clamp(76px, 10vh, 128px);
}

#skills .workflow-hero-copy h2 {
  font-size: clamp(38px, 4.2vw, 66px);
  line-height: 1.04;
}

#skills .workflow-hero-card-track {
  right: clamp(0px, 2vw, 36px);
  top: 50%;
  width: min(760px, 54vw);
  overflow: visible;
  transform: translateY(-38%);
}

#skills .workflow-hero-card-track.is-shifting {
  transform: translateY(-38%) translateX(-24px);
}

#skills .workflow-hero-controls {
  bottom: clamp(28px, 5vh, 52px);
}

@media (max-width: 768px) {
  #skills.aigc-bridge-image-panel {
    display: grid;
    overflow: visible;
  }

  #skills .workflow-hero-carousel.aigc-bridge-image-frame {
    left: auto;
    width: min(100%, 92vw) !important;
    max-height: none;
    margin: 0 auto !important;
    transform: none;
  }

  #skills .workflow-hero-card-track,
  #skills .workflow-hero-card-track.is-shifting {
    transform: none;
  }
}

/* Final #skills full-bleed workflow carousel fixes. Keep these scoped so the
   old AIGC image-frame fallback rules do not leak into the video carousel. */
#skills.aigc-bridge-image-panel {
  padding: 0 !important;
  overflow: hidden;
}

#skills .workflow-hero-carousel.aigc-bridge-image-frame {
  position: absolute;
  inset: 0;
  width: 100vw !important;
  max-width: none !important;
  height: calc(100svh - 62px);
  min-height: calc(100svh - 62px);
  margin: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #050505;
  overflow: hidden;
  opacity: var(--workflow-image-opacity, 1);
  transform: translate3d(0, var(--workflow-image-y, 0px), 0) scale(var(--workflow-image-scale, 1));
  pointer-events: auto;
}

#skills .workflow-hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.42) 0%,
      rgba(5, 5, 5, 0.22) 30%,
      rgba(5, 5, 5, 0.06) 58%,
      rgba(5, 5, 5, 0.20) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.12) 0%,
      rgba(5, 5, 5, 0.16) 48%,
      rgba(5, 5, 5, 0.30) 100%
    );
}

#skills .workflow-hero-bg,
#skills .workflow-hero-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#skills .workflow-hero-panel video,
#skills .workflow-hero-panel img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity 260ms ease;
}

#skills .workflow-hero-panel video {
  z-index: 2;
  opacity: 0;
}

#skills .workflow-hero-panel img {
  z-index: 1;
  opacity: 1;
}

#skills .workflow-hero-panel.is-video-ready video {
  opacity: 1;
}

#skills .workflow-hero-panel.is-video-ready img {
  opacity: 0;
}

#skills .workflow-hero-panel.is-missing video,
#skills .workflow-hero-panel:not(.is-video-ready) video {
  opacity: 0;
}

#skills .workflow-hero-panel.is-missing img,
#skills .workflow-hero-panel:not(.is-video-ready) img {
  opacity: 1;
}

#skills .workflow-hero-panel.is-video-ready .workflow-hero-fallback {
  opacity: 0;
}

#skills .workflow-hero-fallback span,
#skills .workflow-hero-fallback strong {
  position: relative;
  inset: auto;
  display: block;
  height: auto;
  color: inherit;
  text-align: center;
  background: none;
  opacity: 1;
}

#skills .workflow-hero-fallback strong {
  color: var(--gold-light);
}

#skills .workflow-hero-copy {
  width: min(460px, 31vw);
  margin-left: clamp(44px, 6vw, 96px);
  padding-top: clamp(76px, 10vh, 128px);
}

#skills .workflow-hero-copy h2 {
  font-size: clamp(38px, 4.2vw, 66px);
  line-height: 1.04;
}

#skills .workflow-hero-copy span[data-workflow-hero-tags] {
  position: static;
  inset: auto;
  display: inline-flex;
  height: auto;
  opacity: 1;
  text-align: left;
  background: rgba(224, 192, 138, 0.08);
}

#skills .workflow-hero-card-track {
  right: clamp(0px, 2vw, 36px);
  top: 50%;
  width: min(760px, 54vw);
  overflow: visible;
  transform: translateY(-38%);
}

#skills .workflow-hero-card-track.is-shifting {
  transform: translateY(-38%) translateX(-24px);
}

#skills .workflow-hero-controls {
  bottom: clamp(28px, 5vh, 52px);
}

#skills .workflow-hero-thumb span,
#skills .workflow-hero-thumb strong,
#skills .workflow-hero-thumb small,
#skills .workflow-hero-controls span {
  position: relative;
  inset: auto;
  display: block;
  height: auto;
  opacity: 1;
  background: none;
}

#skills .workflow-hero-controls span {
  display: inline-block;
}

@media (max-width: 768px) {
  #skills.aigc-bridge-image-panel {
    display: grid;
    overflow: visible;
  }

  #skills .workflow-hero-carousel.aigc-bridge-image-frame {
    position: relative;
    left: auto;
    inset: auto;
    display: grid;
    gap: 16px;
    width: min(100%, 92vw) !important;
    max-height: none;
    height: auto;
    min-height: auto;
    margin: 0 auto !important;
    padding: 88px 20px 36px !important;
    border-radius: 24px !important;
    opacity: 1;
    transform: none;
  }

  #skills .workflow-hero-copy {
    width: 100%;
    margin: 0;
    padding-top: 0;
  }

  #skills .workflow-hero-bg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(224, 192, 138, 0.26);
    border-radius: 20px;
  }

  #skills .workflow-hero-card-track {
    position: relative;
    right: auto;
    top: auto;
    z-index: 4;
    width: 100%;
    margin-top: 4px;
    overflow-x: auto;
    padding-bottom: 8px;
    transform: none;
    scrollbar-width: thin;
  }

  #skills .workflow-hero-card-track.is-shifting {
    transform: none;
  }
}

.workflow-motion-caption {
  position: absolute;
  left: clamp(18px, 2.2vw, 28px);
  bottom: clamp(16px, 2vw, 26px);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(520px, 72%);
  padding: 13px 16px;
  border: 1px solid rgba(224, 192, 138, 0.28);
  border-radius: 16px;
  background: rgba(5, 5, 5, 0.64);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.38);
  transition: opacity 0.3s var(--workflow-ease-text), transform 0.3s var(--workflow-ease-text);
}

.workflow-motion-caption.is-switching {
  opacity: 0;
  transform: translate3d(0, -12px, 0);
}

.workflow-motion-caption > span {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(224, 192, 138, 0.48);
  border-radius: 999px;
  color: #080808;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 900;
}

.workflow-motion-caption h3 {
  margin: 0 0 3px;
  color: var(--text);
  font-size: clamp(17px, 1.4vw, 22px);
}

.workflow-motion-caption p {
  margin: 0;
  color: rgba(246, 241, 232, 0.68);
  font-size: 13px;
}

.workflow-motion-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: min(980px, 78vw);
  margin: clamp(16px, 2.2vh, 24px) auto 0;
}

.workflow-motion-steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 22px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(224, 192, 138, 0.26), transparent);
}

.workflow-motion-steps::after {
  content: "";
  position: absolute;
  left: 8%;
  top: 22px;
  width: calc(84% * var(--workflow-progress, 0));
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(224, 192, 138, 0.1), rgba(224, 192, 138, 0.88));
  box-shadow: 0 0 18px rgba(224, 192, 138, 0.2);
  transform-origin: left center;
  transition: width 0.42s var(--workflow-ease-soft), opacity 0.42s var(--workflow-ease-soft);
}

.workflow-motion-stage.is-complete .workflow-motion-steps::after {
  opacity: 0.84;
}

.workflow-motion-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 5px;
  min-height: 118px;
  padding: 14px 13px;
  color: rgba(246, 241, 232, 0.56);
  border: 1px solid rgba(201, 166, 107, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.032);
  cursor: default;
  opacity: 0.55;
  transform: scale(0.94);
  transition:
    opacity 0.24s var(--workflow-ease-main),
    transform 0.24s var(--workflow-ease-main),
    border-color 0.24s var(--workflow-ease-main),
    background 0.24s var(--workflow-ease-main),
    box-shadow 0.24s var(--workflow-ease-main);
}

.workflow-motion-step span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(224, 192, 138, 0.34);
  border-radius: 999px;
  color: rgba(224, 192, 138, 0.72);
  font-weight: 900;
}

.workflow-motion-step strong {
  color: rgba(246, 241, 232, 0.82);
  font-size: clamp(14px, 1vw, 16px);
}

.workflow-motion-step small {
  color: rgba(246, 241, 232, 0.5);
  font-size: 12px;
  line-height: 1.45;
}

.workflow-motion-step.is-active {
  opacity: 1;
  transform: scale(1.04);
  border-color: rgba(224, 192, 138, 0.52);
  background:
    radial-gradient(circle at 20% 16%, rgba(224, 192, 138, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.36), 0 0 24px rgba(224, 192, 138, 0.12);
}

.workflow-motion-step.is-active span {
  color: #080808;
  border-color: rgba(224, 192, 138, 0.82);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.workflow-hero-carousel.aigc-bridge-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: calc(100svh - 62px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #050505;
  box-shadow: none;
  opacity: var(--workflow-image-opacity);
  transform: translate3d(0, var(--workflow-image-y), 0) scale(var(--workflow-image-scale));
  pointer-events: auto;
}

.workflow-hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.42) 0%,
      rgba(5, 5, 5, 0.22) 30%,
      rgba(5, 5, 5, 0.06) 58%,
      rgba(5, 5, 5, 0.20) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.12) 0%,
      rgba(5, 5, 5, 0.16) 48%,
      rgba(5, 5, 5, 0.30) 100%
    );
}

.workflow-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.workflow-hero-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(36px, 0, 0) scale(1.06);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.workflow-hero-panel.is-active {
  z-index: 2;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.workflow-hero-panel video,
.workflow-hero-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workflow-hero-panel video {
  opacity: 0;
}

.workflow-hero-panel:not(.is-missing) video {
  opacity: 1;
}

.workflow-hero-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  color: rgba(246, 241, 232, 0.7);
  text-align: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(224, 192, 138, 0.16), transparent 30%),
    linear-gradient(rgba(201, 166, 107, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 107, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, rgba(10, 10, 10, 0.94), rgba(5, 5, 5, 0.98));
  background-size: auto, 28px 28px, 28px 28px, auto;
}

.workflow-hero-fallback strong,
.workflow-hero-fallback span {
  grid-area: 1 / 1;
}

.workflow-hero-fallback strong {
  transform: translateY(-12px);
  color: var(--gold-light);
  font-size: clamp(22px, 2.2vw, 34px);
}

.workflow-hero-fallback span {
  transform: translateY(28px);
  color: rgba(246, 241, 232, 0.52);
  font-size: 13px;
}

.workflow-hero-panel:not(.is-missing) .workflow-hero-fallback {
  opacity: 0;
}

.workflow-hero-copy {
  position: relative;
  z-index: 3;
  width: min(500px, 34vw);
  margin-left: clamp(56px, 7vw, 112px);
  padding-top: clamp(120px, 18vh, 190px);
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.workflow-hero-copy.is-switching {
  opacity: 0;
  transform: translate3d(0, -14px, 0);
}

.workflow-hero-number {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.workflow-hero-copy h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(46px, 5.4vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.workflow-hero-copy p[data-workflow-hero-desc] {
  max-width: 480px;
  margin: 0 0 20px;
  color: rgba(246, 241, 232, 0.78);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.78;
}

.workflow-hero-copy span[data-workflow-hero-tags] {
  display: inline-flex;
  padding: 8px 12px;
  color: rgba(224, 192, 138, 0.92);
  border: 1px solid rgba(224, 192, 138, 0.32);
  border-radius: 999px;
  background: rgba(224, 192, 138, 0.08);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.workflow-hero-card-track {
  position: absolute;
  z-index: 4;
  right: clamp(32px, 5vw, 82px);
  top: 50%;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 22px);
  width: min(700px, 49vw);
  overflow: visible;
  opacity: 1;
  transform: translateY(-42%);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.workflow-hero-card-track.is-shifting {
  opacity: 0.82;
  transform: translateY(-42%) translateX(-24px);
}

.workflow-hero-thumb {
  position: relative;
  flex: 0 0 clamp(132px, 11vw, 178px);
  height: clamp(190px, 28vh, 285px);
  overflow: hidden;
  color: var(--text);
  border: 1px solid rgba(224, 192, 138, 0.28);
  border-radius: 18px;
  background: rgba(8, 8, 8, 0.62);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms ease,
    border-color 360ms ease,
    box-shadow 360ms ease;
}

.workflow-hero-thumb:hover {
  transform: translateY(-10px) scale(1.035);
  border-color: rgba(224, 192, 138, 0.66);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.55);
}

.workflow-hero-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workflow-hero-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.05) 0%,
      rgba(5, 5, 5, 0.18) 46%,
      rgba(5, 5, 5, 0.62) 100%
    );
}

.workflow-hero-thumb span,
.workflow-hero-thumb strong,
.workflow-hero-thumb small {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 14px;
  text-align: left;
}

.workflow-hero-thumb span {
  margin-top: clamp(98px, 16vh, 172px);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.workflow-hero-thumb strong {
  margin-top: 5px;
  color: var(--text);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.25;
}

.workflow-hero-thumb small {
  margin-top: 5px;
  color: rgba(246, 241, 232, 0.64);
  font-size: 12px;
  line-height: 1.4;
}

.workflow-hero-controls {
  position: absolute;
  left: clamp(56px, 7vw, 112px);
  bottom: clamp(42px, 7vh, 74px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
}

.workflow-hero-controls button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: rgba(246, 241, 232, 0.86);
  border: 1px solid rgba(224, 192, 138, 0.3);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.42);
  cursor: pointer;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), background 0.28s var(--ease);
}

.workflow-hero-controls button:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 192, 138, 0.62);
  background: rgba(224, 192, 138, 0.1);
}

.workflow-hero-controls span {
  color: rgba(224, 192, 138, 0.86);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .workflow-hero-carousel.aigc-bridge-image-frame {
    display: grid;
    gap: 16px;
    width: min(100%, 92vw);
    height: auto;
    min-height: auto;
    padding: 88px 20px 36px;
    border-radius: 24px;
    opacity: 1;
    transform: none;
  }

  .workflow-hero-carousel::after {
    border-radius: inherit;
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.78));
  }

  .workflow-hero-copy {
    width: 100%;
    margin: 0;
    padding-top: 0;
  }

  .workflow-hero-copy h2 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .workflow-hero-bg {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(224, 192, 138, 0.26);
    border-radius: 20px;
  }

  .workflow-hero-card-track {
    position: relative;
    right: auto;
    top: auto;
    z-index: 4;
    width: 100%;
    margin-top: 4px;
    overflow-x: auto;
    padding-bottom: 8px;
    transform: none;
    scrollbar-width: thin;
  }

  .workflow-hero-card-track.is-shifting {
    transform: none;
  }

  .workflow-hero-thumb {
    flex-basis: 142px;
    height: 210px;
  }

  .workflow-hero-controls {
    position: relative;
    left: auto;
    bottom: auto;
    z-index: 4;
  }
}

.workflow-motion-visual .workflow-motion-placeholder span,
.workflow-motion-visual .workflow-motion-caption span,
.workflow-motion-visual .workflow-motion-step span {
  position: static;
  inset: auto;
  opacity: 1;
  display: inline-grid;
  background: none;
}

.workflow-motion-visual .workflow-motion-caption > span {
  display: inline-grid;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.workflow-motion-video-layer:not(.is-missing) .workflow-motion-placeholder {
  opacity: 0;
}

@media (max-width: 768px) {
  .workflow-motion-stage {
    width: min(100%, 92vw);
  }

  .workflow-motion-copy {
    opacity: 1;
    transform: none;
  }

  .workflow-motion-visual.aigc-bridge-image-frame {
    width: min(100%, 92vw);
    opacity: 1;
    transform: none;
  }

  .workflow-motion-caption {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin: 12px;
  }

  .workflow-motion-steps {
    width: min(100%, 92vw);
    grid-template-columns: 1fr;
  }

  .workflow-motion-steps::before,
  .workflow-motion-steps::after {
    display: none;
  }

  .workflow-motion-step {
    min-height: auto;
    transform: none;
  }
}

.aigc-bridge-flow {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.aigc-flow-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold-light);
  box-shadow:
    0 0 18px rgba(224, 192, 138, 0.68),
    0 0 42px rgba(224, 192, 138, 0.22);
  transform: translate(-50%, -50%) scale(0.4);
}

.input-node {
  opacity: var(--input-node-opacity);
  transform: translate(-50%, -50%) scale(var(--input-node-scale));
}

.output-node {
  opacity: var(--output-node-opacity);
  transform: translate(-50%, -50%) scale(var(--output-node-scale));
}

.input-node-1 { left: 44%; top: 48%; }
.input-node-2 { left: 50%; top: 52%; }
.input-node-3 { left: 56%; top: 48%; }
.output-node-1 { left: 38%; top: 36%; }
.output-node-2 { left: 62%; top: 36%; }
.output-node-3 { left: 50%; top: 50%; }
.output-node-4 { left: 38%; top: 64%; }
.output-node-5 { left: 62%; top: 64%; }

.aigc-flow-beam {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22vw;
  max-width: 300px;
  height: 1px;
  opacity: var(--flow-beam-opacity);
  background: linear-gradient(90deg, transparent, rgba(224, 192, 138, 0.75), transparent);
  filter: blur(0.2px);
  transform-origin: left center;
}

.beam-1 { transform: rotate(-143deg) scaleX(0.72); }
.beam-2 { transform: rotate(-37deg) scaleX(0.72); }
.beam-3 { transform: rotate(0deg) scaleX(0.24); }
.beam-4 { transform: rotate(143deg) scaleX(0.72); }
.beam-5 { transform: rotate(37deg) scaleX(0.72); }

.aigc-vertical-channel,
.aigc-split-layer {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}

.aigc-vertical-channel {
  opacity: var(--vertical-channel-opacity);
  transform: scaleY(var(--vertical-channel-scale));
  transform-origin: center center;
}

.channel-line {
  position: absolute;
  left: 50%;
  top: 25%;
  width: 1px;
  height: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(224, 192, 138, 0.72), transparent);
  box-shadow: 0 0 28px rgba(224, 192, 138, 0.22);
}

.channel-pulse {
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(224, 192, 138, 0.82);
  box-shadow: 0 0 20px rgba(224, 192, 138, 0.62);
  transform: translate(-50%, -50%);
}

.channel-pulse-1 { top: 39%; }
.channel-pulse-2 { top: 50%; }
.channel-pulse-3 { top: 61%; }

.aigc-portal-core,
.aigc-input-chip,
.aigc-output-chip,
.aigc-burst-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.aigc-portal-core {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(224, 192, 138, 0.36);
  border-radius: 999px;
  opacity: var(--portal-opacity);
  background:
    radial-gradient(circle, rgba(224, 192, 138, 0.24), rgba(224, 192, 138, 0.08) 38%, transparent 68%);
  box-shadow:
    0 0 34px rgba(224, 192, 138, 0.28),
    inset 0 0 24px rgba(224, 192, 138, 0.12);
  transform: translate(-50%, -50%) scale(var(--portal-scale));
}

.aigc-input-chip,
.aigc-output-chip {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(224, 192, 138, 0.5);
  border-radius: 999px;
  color: rgba(246, 241, 232, 0.92);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  background:
    linear-gradient(180deg, rgba(224, 192, 138, 0.18), rgba(10, 10, 10, 0.76)),
    rgba(8, 8, 8, 0.74);
  box-shadow: 0 0 22px rgba(224, 192, 138, 0.24);
}

.input-chip-1 {
  opacity: var(--input-chip-opacity);
  transform: translate(-50%, -50%) translate3d(var(--input-chip-1-x), var(--input-chip-1-y), 0) scale(var(--input-chip-scale));
}

.input-chip-2 {
  opacity: var(--input-chip-opacity);
  transform: translate(-50%, -50%) translate3d(var(--input-chip-2-x), var(--input-chip-2-y), 0) scale(var(--input-chip-scale));
}

.input-chip-3 {
  opacity: var(--input-chip-opacity);
  transform: translate(-50%, -50%) translate3d(var(--input-chip-3-x), var(--input-chip-3-y), 0) scale(var(--input-chip-scale));
}

.output-chip-1 {
  opacity: var(--output-chip-1-opacity, var(--output-chip-opacity));
  transform: translate(-50%, -50%) translate3d(var(--output-chip-1-x), var(--output-chip-1-y), 0) scale(var(--output-chip-scale));
}

.output-chip-2 {
  opacity: var(--output-chip-2-opacity, var(--output-chip-opacity));
  transform: translate(-50%, -50%) translate3d(var(--output-chip-2-x), var(--output-chip-2-y), 0) scale(var(--output-chip-scale));
}

.output-chip-3 {
  opacity: var(--output-chip-3-opacity, var(--output-chip-opacity));
  transform: translate(-50%, -50%) translate3d(var(--output-chip-3-x), var(--output-chip-3-y), 0) scale(var(--output-chip-scale));
}

.output-chip-4 {
  opacity: var(--output-chip-4-opacity, var(--output-chip-opacity));
  transform: translate(-50%, -50%) translate3d(var(--output-chip-4-x), var(--output-chip-4-y), 0) scale(var(--output-chip-scale));
}

.output-chip-5 {
  opacity: var(--output-chip-5-opacity, var(--output-chip-opacity));
  transform: translate(-50%, -50%) translate3d(var(--output-chip-5-x), var(--output-chip-5-y), 0) scale(var(--output-chip-scale));
}

.aigc-burst-ring {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(224, 192, 138, 0.42);
  border-radius: 999px;
  opacity: var(--burst-1-opacity);
  transform: translate(-50%, -50%) scale(var(--burst-1-scale));
  box-shadow: 0 0 28px rgba(224, 192, 138, 0.18);
}

.burst-ring-2 {
  width: 118px;
  height: 118px;
  opacity: var(--burst-2-opacity);
  transform: translate(-50%, -50%) scale(var(--burst-2-scale));
}

.aigc-output-layout {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, minmax(120px, 1fr));
  align-items: center;
  gap: clamp(14px, 1.8vw, 22px);
  width: min(92vw, 1180px);
  height: min(56vh, 540px);
  margin: clamp(12px, 2vh, 26px) auto 0;
}

.output-card-center {
  border-color: rgba(224, 192, 138, 0.38);
  background:
    radial-gradient(circle at 50% 0%, rgba(224, 192, 138, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(8, 8, 8, 0.82);
}

.output-card-1 {
  opacity: var(--output-card-1-opacity);
  transform: translate3d(var(--output-card-1-x), var(--output-card-1-y), 0) scale(var(--output-card-1-scale));
  filter: none;
}

.output-card-2 {
  opacity: var(--output-card-2-opacity);
  transform: translate3d(var(--output-card-2-x), var(--output-card-2-y), 0) scale(var(--output-card-2-scale));
  filter: none;
}

.output-card-3 {
  opacity: var(--output-card-3-opacity);
  transform: translate3d(var(--output-card-3-x), var(--output-card-3-y), 0) scale(var(--output-card-3-scale));
  filter: none;
}

.output-card-4 {
  opacity: var(--output-card-4-opacity);
  transform: translate3d(var(--output-card-4-x), var(--output-card-4-y), 0) scale(var(--output-card-4-scale));
  filter: none;
}

.output-card-5 {
  opacity: var(--output-card-5-opacity);
  transform: translate3d(var(--output-card-5-x), var(--output-card-5-y), 0) scale(var(--output-card-5-scale));
  filter: none;
}

@keyframes aigcBridgeFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

.aigc-bridge-section.is-static {
  min-height: auto;
}

.aigc-bridge-section.is-static .aigc-bridge-sticky {
  position: relative;
  height: auto;
  display: grid;
  gap: 42px;
  padding: clamp(48px, 8vw, 92px) 0;
}

.aigc-bridge-section.is-static .aigc-bridge-panel {
  position: relative;
  inset: auto;
  opacity: 1;
}

.aigc-bridge-section.is-static .aigc-bridge-copy,
.aigc-bridge-section.is-static .aigc-bridge-outputs .aigc-bridge-copy,
.aigc-bridge-section.is-static .aigc-problem-card,
.aigc-bridge-section.is-static .aigc-output-card,
.aigc-bridge-section.is-static .aigc-bridge-image-frame {
  opacity: 1;
  transform: none;
  filter: none;
}

.aigc-bridge-section.is-static .aigc-output-card {
}

.aigc-bridge-section.is-static .aigc-bridge-flow {
  display: none;
}

.aigc-bridge-section.is-static .aigc-vertical-channel,
.aigc-bridge-section.is-static .aigc-split-layer {
  display: none;
}

@media (max-width: 768px) {
  .aigc-bridge-section {
    min-height: auto;
    overflow: visible;
  }

  .aigc-bridge-sticky {
    position: relative;
    height: auto;
    display: grid;
    gap: 34px;
    padding: 54px 0;
  }

  .aigc-bridge-panel {
    position: relative;
    inset: auto;
    padding: 0 5vw;
    pointer-events: auto;
  }

  .aigc-bridge-copy,
  .aigc-bridge-outputs .aigc-bridge-copy {
    opacity: 1 !important;
    transform: none !important;
    margin-bottom: 22px;
  }

  .aigc-bridge-copy h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .aigc-problem-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .aigc-problem-card,
  .aigc-output-card,
  .aigc-bridge-image-frame {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .aigc-bridge-image-frame {
    width: 100%;
  }

  .aigc-bridge-image-float {
    animation: none;
  }

  .aigc-bridge-flow {
    display: none;
  }

  .aigc-vertical-channel,
  .aigc-split-layer {
    display: none;
  }

  .aigc-output-layout {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
  }

  .output-card-1,
  .output-card-2,
  .output-card-3,
  .output-card-4,
  .output-card-5 {
    grid-column: auto;
    grid-row: auto;
    min-height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aigc-bridge-image-float {
    animation: none;
  }
}

/* Education proof modal media */
.education-proof-media-grid.scholarship-viewer {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-height: 0;
  margin-top: 24px;
}

.education-proof-media-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(201, 166, 107, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.education-proof-media-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #050505;
}

.education-proof-media-card > span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  color: rgba(246, 241, 232, 0.88);
  font-size: 12px;
  line-height: 1.2;
}

.education-proof-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(246, 241, 232, 0.58);
  font-size: 14px;
}

@media (max-width: 768px) {
  .education-proof-media-grid.scholarship-viewer {
    grid-template-columns: 1fr;
  }

  .education-proof-media-card {
    aspect-ratio: 16 / 9;
  }
}

/* --- AIGC 首页三屏修复：问题卡钻入工作流，成果卡紧凑生成 --- */
.intro-video-section {
  position: relative;
  margin-bottom: 0;
}

.intro-video-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: 22vh;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, 0.72) 58%, rgba(5, 5, 5, 1));
}

.aigc-bridge-section {
  margin-top: -1px;
  background: #050505;
}

.aigc-bridge-bg {
  opacity: 1;
}

.aigc-problem-card,
.aigc-output-card {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.48), rgba(8, 8, 8, 0.88)),
    var(--card-image),
    linear-gradient(135deg, rgba(224, 192, 138, 0.12), rgba(8, 8, 8, 0.92));
  background-position: center;
  background-size: cover;
}

.aigc-problem-card::before,
.aigc-output-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.76)),
    radial-gradient(circle at 18% 12%, rgba(224, 192, 138, 0.18), transparent 38%);
  opacity: 1;
  transform: none;
}

.aigc-problem-card > *,
.aigc-output-card > * {
  position: relative;
  z-index: 1;
}

.aigc-problem-card::after {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(224, 192, 138, 0.2), transparent 62%);
  opacity: var(--problem-card-trail-opacity, 0);
  filter: blur(6px);
}

.travel-card-1 {
  z-index: var(--problem-card-1-z, 10);
  transform:
    translate3d(var(--problem-card-1-x), var(--problem-card-1-y), 0)
    scale(var(--problem-card-1-scale))
    rotate(var(--problem-card-1-rotate, 0deg));
  filter: none;
}

.travel-card-2 {
  z-index: var(--problem-card-2-z, 10);
  transform:
    translate3d(var(--problem-card-2-x), var(--problem-card-2-y), 0)
    scale(var(--problem-card-2-scale))
    rotate(var(--problem-card-2-rotate, 0deg));
  filter: none;
}

.travel-card-3 {
  z-index: var(--problem-card-3-z, 10);
  transform:
    translate3d(var(--problem-card-3-x), var(--problem-card-3-y), 0)
    scale(var(--problem-card-3-scale))
    rotate(var(--problem-card-3-rotate, 0deg));
  filter: none;
}

.travel-card-1::after { opacity: var(--problem-card-1-trail-opacity, 0); }
.travel-card-2::after { opacity: var(--problem-card-2-trail-opacity, 0); }
.travel-card-3::after { opacity: var(--problem-card-3-trail-opacity, 0); }

.aigc-bridge-image-panel {
  z-index: 14;
}

.aigc-bridge-image-frame,
.aigc-bridge-image-float {
  position: relative;
  z-index: 8;
}

.aigc-bridge-image-float {
  animation: none;
}

.aigc-bridge-image-frame {
  box-shadow:
    0 26px 82px rgba(0, 0, 0, 0.58),
    0 0 30px rgba(201, 166, 107, 0.14);
}

.aigc-bridge-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(224, 192, 138, 0.13), transparent 35%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.14));
  opacity: var(--aigc-portal-glow, 0);
}

.aigc-bridge-image-frame span {
  opacity: 0;
}

.aigc-output-layout {
  width: min(1180px, 86vw);
  min-height: auto;
  height: auto;
  margin: clamp(34px, 5vh, 54px) auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  grid-template-rows: 1fr;
  gap: clamp(14px, 1.35vw, 22px);
  align-items: stretch;
  justify-content: center;
  transform: none;
}

.aigc-output-card,
.output-card-1,
.output-card-2,
.output-card-3,
.output-card-4,
.output-card-5 {
  grid-column: auto;
  grid-row: auto;
  min-height: clamp(140px, 16vh, 176px);
  border-radius: 18px;
  transform-origin: center;
}

.output-card-center {
  border-color: rgba(224, 192, 138, 0.24);
}

.output-card-1 {
  z-index: var(--output-card-1-z, 5);
  transform:
    translate3d(var(--output-card-1-x), var(--output-card-1-y), 0)
    scale(var(--output-card-1-scale))
    rotate(var(--output-card-1-rotate, 0deg));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

.output-card-2 {
  z-index: var(--output-card-2-z, 5);
  transform:
    translate3d(var(--output-card-2-x), var(--output-card-2-y), 0)
    scale(var(--output-card-2-scale))
    rotate(var(--output-card-2-rotate, 0deg));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

.output-card-3 {
  z-index: var(--output-card-3-z, 5);
  transform:
    translate3d(var(--output-card-3-x), var(--output-card-3-y), 0)
    scale(var(--output-card-3-scale))
    rotate(var(--output-card-3-rotate, 0deg));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

.output-card-4 {
  z-index: var(--output-card-4-z, 5);
  transform:
    translate3d(var(--output-card-4-x), var(--output-card-4-y), 0)
    scale(var(--output-card-4-scale))
    rotate(var(--output-card-4-rotate, 0deg));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

.output-card-5 {
  z-index: var(--output-card-5-z, 5);
  transform:
    translate3d(var(--output-card-5-x), var(--output-card-5-y), 0)
    scale(var(--output-card-5-scale))
    rotate(var(--output-card-5-rotate, 0deg));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

.aigc-output-card[data-workflow-type]::before,
.aigc-output-card[data-workflow-type]:hover::before,
.aigc-output-card[data-workflow-type].is-active::before {
  opacity: 1;
  transform: none;
}

.aigc-output-card[data-workflow-type]::after {
  content: "查看示例";
  z-index: 4;
}

.aigc-output-card .hotspot-circle,
.aigc-output-card .reveal-circle {
  display: none !important;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .aigc-output-layout {
    width: min(1080px, 88vw);
    grid-template-columns: repeat(5, minmax(132px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .intro-video-section::after {
    height: 18vh;
  }

  .aigc-output-layout {
    width: min(100%, 92vw);
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .aigc-output-card,
  .output-card-1,
  .output-card-2,
  .output-card-3,
  .output-card-4,
  .output-card-5 {
    min-height: 160px;
    transform: none !important;
  }
}


/* --- 修复：AIGC 三屏前置，原首页/我能提供什么动态块后移 --- */
#aigc-bridge {
  display: contents;
}

.aigc-bridge-section#home {
  scroll-margin-top: 62px;
}

.aigc-bridge-section #skills,
.aigc-bridge-section #deliverables {
  scroll-margin-top: 62px;
}

.profile-transition {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

#profile.hero-scroll-scene {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-height: 185vh;
  margin: 0;
  padding: 0;
  overflow: visible;
  isolation: isolate;
  scroll-margin-top: 62px;
}

#profile .hero-scroll-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 420px);
  grid-template-areas: "content side";
  column-gap: clamp(44px, 5vw, 76px);
  align-items: center;
  align-content: center;
  padding: clamp(16px, 3vh, 32px) clamp(24px, 4vw, 56px);
}

#profile .hero-content-stack {
  grid-area: content;
}

#profile .hero-side {
  grid-area: side;
}

#profile-skills {
  scroll-margin-top: 62px;
}

/* AIGC 输出卡同时作为预览热区 */
.aigc-output-card[data-workflow-type] {
  cursor: pointer;
  pointer-events: auto;
}

.aigc-output-card[data-workflow-type]::after {
  content: "查看示例";
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 4;
  padding: 7px 10px;
  color: #080808;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  pointer-events: none;
}

.aigc-output-card[data-workflow-type]:hover::after,
.aigc-output-card[data-workflow-type].is-active::after {
  opacity: 1;
  transform: translateY(0);
}

.aigc-output-card[data-workflow-type]:hover,
.aigc-output-card[data-workflow-type].is-active {
  border-color: rgba(224, 192, 138, 0.58);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.55), 0 0 28px rgba(224, 192, 138, 0.08);
}

/* 预览面板固定在视口，避免原热区位置移动后看不到 */
.workflow-preview-panel {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 24px;
  z-index: 80;
}

/* 原“我能提供什么”被后移后，保证它仍然跟随动态首页块，不影响前置三屏 */
.profile-transition + .aigc-bridge-section {
  margin-top: 0;
}

@media (max-width: 768px) {
  #profile.hero-scroll-scene {
    min-height: auto;
  }

  #profile .hero-scroll-sticky {
    position: relative;
    top: auto;
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "side";
    row-gap: 28px;
  }

  .workflow-preview-panel {
    width: min(94vw, 980px);
    bottom: 16px;
  }
}


/* --- Step 2: 屏幕123 转换动效微调：3 张卡躲入屏幕2，5 张卡同时钻出成一排 --- */
.aigc-bridge-section {
  min-height: 560vh;
}

.aigc-bridge-problems {
  z-index: 4;
}

.aigc-bridge-image-panel {
  z-index: 8;
}

.aigc-bridge-outputs {
  z-index: 7;
  pointer-events: auto;
}

.aigc-bridge-flow {
  opacity: 0.26;
}

.aigc-flow-node,
.aigc-flow-beam,
.aigc-output-chip {
  display: none !important;
}

.aigc-split-layer {
  z-index: 9;
  pointer-events: none;
}

.aigc-input-chip {
  border-radius: 999px;
  backdrop-filter: none;
}

.aigc-output-layout {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: 1fr;
  align-items: stretch;
  gap: clamp(12px, 1.25vw, 18px);
  width: min(92vw, 1320px);
  height: auto;
  min-height: clamp(176px, 22vh, 230px);
  margin: clamp(20px, 3vh, 36px) auto 0;
}

.output-card-1,
.output-card-2,
.output-card-3,
.output-card-4,
.output-card-5 {
  grid-column: auto;
  grid-row: auto;
  min-height: clamp(176px, 22vh, 230px);
  transform-origin: center center;
  will-change: transform, opacity;
}

.output-card-center {
  border-color: rgba(224, 192, 138, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(8, 8, 8, 0.78);
}

.aigc-output-card[data-workflow-type] {
  pointer-events: auto;
}

.aigc-bridge-section.is-static {
  min-height: auto;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .aigc-output-layout {
    width: min(94vw, 1040px);
    gap: 12px;
  }

  .aigc-output-card {
    padding: 18px 16px;
  }

  .aigc-output-card h3 {
    font-size: 20px;
  }

  .aigc-output-card p {
    font-size: 13px;
  }
}


/* --- Step 3 refine: 成果卡统一从上方下落 + 热区正常尺寸 + 关于我抽拉上来 --- */
.aigc-bridge-section {
  min-height: 540vh;
}

.aigc-bridge-outputs {
  z-index: 12;
  pointer-events: auto;
}

.aigc-bridge-outputs .aigc-bridge-copy {
  margin-bottom: clamp(14px, 2vh, 24px);
}

.aigc-bridge-outputs .aigc-bridge-copy h2 {
  font-size: clamp(32px, 2.8vw, 44px);
  letter-spacing: 0.01em;
}

.aigc-bridge-outputs .aigc-bridge-copy p:last-child {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.72;
}

/* 输出页只保留轻量承接感，避免中间光核/竖线压住画面 */
.aigc-bridge-flow,
.aigc-flow-node,
.aigc-flow-beam,
.aigc-output-chip,
.aigc-burst-ring {
  display: none !important;
}

.aigc-bridge-outputs::before {
  content: "";
  position: absolute;
  left: 50%;
  top: clamp(310px, 43vh, 430px);
  width: min(72vw, 900px);
  height: 1px;
  transform: translateX(-50%) scaleX(var(--output-drop-line-scale, 0));
  transform-origin: center;
  opacity: var(--output-drop-line-opacity, 0);
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(224, 192, 138, 0.55), transparent);
  box-shadow: 0 0 22px rgba(224, 192, 138, 0.14);
}

.aigc-output-layout {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: 1fr;
  align-items: stretch;
  gap: clamp(12px, 1.18vw, 17px);
  width: min(91vw, 1280px);
  height: auto;
  min-height: clamp(164px, 20vh, 208px);
  margin: clamp(16px, 2.2vh, 26px) auto 0;
  transform: translateY(-1.8vh);
}

.aigc-output-card {
  min-height: clamp(164px, 20vh, 208px);
  padding: clamp(18px, 1.5vw, 22px);
  border-radius: 20px;
  transform-origin: top center;
  cursor: default;
  will-change: transform, opacity;
  backdrop-filter: none;
}

.output-card-1,
.output-card-2,
.output-card-3,
.output-card-4,
.output-card-5 {
  grid-column: auto;
  grid-row: auto;
  min-height: clamp(164px, 20vh, 208px);
  transform-origin: top center;
}

.output-card-1 {
  opacity: var(--output-card-1-opacity);
  transform: translate3d(var(--output-card-1-x, 0px), var(--output-card-1-y), 0) scale(var(--output-card-1-scale));
  filter: none;
}

.output-card-2 {
  opacity: var(--output-card-2-opacity);
  transform: translate3d(var(--output-card-2-x, 0px), var(--output-card-2-y), 0) scale(var(--output-card-2-scale));
  filter: none;
}

.output-card-3 {
  opacity: var(--output-card-3-opacity);
  transform: translate3d(var(--output-card-3-x, 0px), var(--output-card-3-y), 0) scale(var(--output-card-3-scale));
  filter: none;
}

.output-card-4 {
  opacity: var(--output-card-4-opacity);
  transform: translate3d(var(--output-card-4-x, 0px), var(--output-card-4-y), 0) scale(var(--output-card-4-scale));
  filter: none;
}

.output-card-5 {
  opacity: var(--output-card-5-opacity);
  transform: translate3d(var(--output-card-5-x, 0px), var(--output-card-5-y), 0) scale(var(--output-card-5-scale));
  filter: none;
}

/* 成果卡整张就是正常尺寸热区，不再叠加变形透明层 */
.aigc-output-card[data-workflow-type] {
  pointer-events: auto;
  cursor: pointer;
  position: relative;
}

.aigc-output-card[data-workflow-type]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, rgba(224, 192, 138, 0.12), transparent 45%);
  transition: opacity 0.25s var(--ease);
}

.aigc-output-card[data-workflow-type]::after {
  content: "查看示例";
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 6;
  padding: 6px 10px;
  color: #080808;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}

.aigc-output-card[data-workflow-type]:hover::before,
.aigc-output-card[data-workflow-type].is-active::before,
.aigc-output-card[data-workflow-type]:hover::after,
.aigc-output-card[data-workflow-type].is-active::after {
  opacity: 1;
  transform: translateY(0);
}

.aigc-output-card[data-workflow-type]:hover,
.aigc-output-card[data-workflow-type].is-active {
  border-color: rgba(224, 192, 138, 0.6);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.54), 0 0 24px rgba(224, 192, 138, 0.1);
}

.aigc-output-card h3 {
  font-size: clamp(20px, 1.38vw, 24px);
}

.aigc-output-card p {
  font-size: clamp(13px, 0.92vw, 15px);
  line-height: 1.62;
}

/* 成果输出结束后，关于我像被抽拉上来；不影响前面的 1/2/3 */
.profile-transition {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  opacity: var(--profile-pull-opacity, 1);
  transform: translate3d(0, var(--profile-pull-y, 0px), 0);
  will-change: transform, opacity;
}

.profile-transition #profile .hero-scroll-sticky {
  box-shadow: 0 -22px 80px rgba(0, 0, 0, 0.26);
}

.profile-transition #profile .hero-content-stack {
  transform: translate3d(
    clamp(-16px, -1vw, -8px),
    calc(var(--profile-content-y, 0px) - clamp(10px, 1.8vh, 22px)),
    0
  );
  will-change: transform;
}

.profile-transition #profile .hero-side {
  transform:
    translate3d(clamp(10px, 1.8vw, 28px), var(--profile-side-y, 0px), 0)
    scale(var(--profile-side-scale, 1));
  transform-origin: center center;
  will-change: transform;
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .profile-transition,
  .profile-transition #profile .hero-content-stack,
  .profile-transition #profile .hero-side {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .aigc-output-layout {
    width: min(94vw, 1040px);
    gap: 11px;
  }

  .aigc-output-card {
    padding: 16px 14px;
    min-height: 170px;
  }

  .aigc-output-card span {
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
  }
}

/* Final AIGC output motion: wrapper only, cards reverse-drill out of the workflow image */
.aigc-bridge-image-panel {
  z-index: 14;
}

.aigc-bridge-outputs {
  z-index: 12;
  perspective: 1200px;
}

.aigc-bridge-outputs::before {
  display: none;
}

.aigc-output-tray {
  position: relative;
  width: min(1080px, 84vw);
  margin: clamp(24px, 4vh, 42px) auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
  transform-origin: center top;
}

.aigc-output-tray::before {
  content: none;
}

.aigc-output-tray::after {
  content: none;
}

.aigc-output-tray .aigc-output-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(128px, 1fr));
  gap: clamp(10px, 1vw, 14px);
  width: 100%;
  min-height: auto;
  height: auto;
  margin: 0;
  transform: none;
}

.aigc-output-tray .aigc-output-card {
  grid-column: auto;
  grid-row: auto;
  min-height: clamp(132px, 15vh, 168px);
  padding: clamp(14px, 1.1vw, 18px);
  border-radius: 18px;
  filter: none;
  backdrop-filter: none;
  transform-origin: center center;
  will-change: transform, opacity;
}

.aigc-output-tray .output-card-1 {
  z-index: var(--output-card-1-z, 9);
  opacity: var(--output-card-1-opacity);
  transform:
    translate3d(var(--output-card-1-x, 0px), var(--output-card-1-y, 0px), 0)
    scale(var(--output-card-1-scale, 1))
    rotate(var(--output-card-1-rotate, 0deg));
}

.aigc-output-tray .output-card-2 {
  z-index: var(--output-card-2-z, 9);
  opacity: var(--output-card-2-opacity);
  transform:
    translate3d(var(--output-card-2-x, 0px), var(--output-card-2-y, 0px), 0)
    scale(var(--output-card-2-scale, 1))
    rotate(var(--output-card-2-rotate, 0deg));
}

.aigc-output-tray .output-card-3 {
  z-index: var(--output-card-3-z, 9);
  opacity: var(--output-card-3-opacity);
  transform:
    translate3d(var(--output-card-3-x, 0px), var(--output-card-3-y, 0px), 0)
    scale(var(--output-card-3-scale, 1))
    rotate(var(--output-card-3-rotate, 0deg));
}

.aigc-output-tray .output-card-4 {
  z-index: var(--output-card-4-z, 9);
  opacity: var(--output-card-4-opacity);
  transform:
    translate3d(var(--output-card-4-x, 0px), var(--output-card-4-y, 0px), 0)
    scale(var(--output-card-4-scale, 1))
    rotate(var(--output-card-4-rotate, 0deg));
}

.aigc-output-tray .output-card-5 {
  z-index: var(--output-card-5-z, 9);
  opacity: var(--output-card-5-opacity);
  transform:
    translate3d(var(--output-card-5-x, 0px), var(--output-card-5-y, 0px), 0)
    scale(var(--output-card-5-scale, 1))
    rotate(var(--output-card-5-rotate, 0deg));
}

@media (max-width: 768px) {
  .aigc-output-tray {
    width: min(100%, 92vw);
    transform: none;
  }

  .aigc-output-tray .aigc-output-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Final AIGC-only overrides: compact asset pack, image-backed cards, no yellow reveal circles */
.aigc-output-layout {
  width: min(1080px, 84vw);
  min-height: auto;
  height: auto;
  margin: clamp(28px, 4vh, 46px) auto 0;
  grid-template-columns: repeat(5, minmax(132px, 1fr));
  grid-template-rows: 1fr;
  gap: clamp(12px, 1.1vw, 16px);
  align-items: stretch;
  justify-content: center;
  transform: none;
}

.aigc-problem-card,
.aigc-output-card {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.48), rgba(8, 8, 8, 0.88)),
    var(--card-image),
    linear-gradient(135deg, rgba(224, 192, 138, 0.12), rgba(8, 8, 8, 0.92));
  background-position: center;
  background-size: cover;
}

.aigc-problem-card::before,
.aigc-output-card::before,
.aigc-output-card[data-workflow-type]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  transform: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.76)),
    radial-gradient(circle at 18% 12%, rgba(224, 192, 138, 0.18), transparent 38%);
}

.aigc-problem-card > *,
.aigc-output-card > * {
  position: relative;
  z-index: 1;
}

.aigc-problem-card::after {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(224, 192, 138, 0.2), transparent 62%);
  opacity: var(--problem-card-trail-opacity, 0);
  filter: blur(6px);
}

.travel-card-1 {
  z-index: var(--problem-card-1-z, 10);
  transform:
    translate3d(var(--problem-card-1-x), var(--problem-card-1-y), 0)
    scale(var(--problem-card-1-scale))
    rotate(var(--problem-card-1-rotate, 0deg));
}

.travel-card-2 {
  z-index: var(--problem-card-2-z, 10);
  transform:
    translate3d(var(--problem-card-2-x), var(--problem-card-2-y), 0)
    scale(var(--problem-card-2-scale))
    rotate(var(--problem-card-2-rotate, 0deg));
}

.travel-card-3 {
  z-index: var(--problem-card-3-z, 10);
  transform:
    translate3d(var(--problem-card-3-x), var(--problem-card-3-y), 0)
    scale(var(--problem-card-3-scale))
    rotate(var(--problem-card-3-rotate, 0deg));
}

.travel-card-1::after { opacity: var(--problem-card-1-trail-opacity, 0); }
.travel-card-2::after { opacity: var(--problem-card-2-trail-opacity, 0); }
.travel-card-3::after { opacity: var(--problem-card-3-trail-opacity, 0); }

.aigc-bridge-image-frame,
.aigc-bridge-image-float {
  position: relative;
  z-index: 8;
}

.aigc-bridge-image-float {
  animation: none;
}

.aigc-bridge-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(224, 192, 138, 0.13), transparent 35%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.14));
  opacity: var(--aigc-portal-glow, 0);
}

.aigc-bridge-image-frame span {
  opacity: 0;
}

.aigc-output-card,
.output-card-1,
.output-card-2,
.output-card-3,
.output-card-4,
.output-card-5 {
  grid-column: auto;
  grid-row: auto;
  min-height: clamp(146px, 17vh, 184px);
  border-radius: 18px;
  transform-origin: center;
  filter: none;
  will-change: transform, opacity;
}

.output-card-1 {
  z-index: var(--output-card-1-z, 5);
  transform: translate3d(var(--output-card-1-x), var(--output-card-1-y), 0) scale(var(--output-card-1-scale));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

.output-card-2 {
  z-index: var(--output-card-2-z, 5);
  transform: translate3d(var(--output-card-2-x), var(--output-card-2-y), 0) scale(var(--output-card-2-scale));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

.output-card-3 {
  z-index: var(--output-card-3-z, 5);
  transform: translate3d(var(--output-card-3-x), var(--output-card-3-y), 0) scale(var(--output-card-3-scale));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

.output-card-4 {
  z-index: var(--output-card-4-z, 5);
  transform: translate3d(var(--output-card-4-x), var(--output-card-4-y), 0) scale(var(--output-card-4-scale));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

.output-card-5 {
  z-index: var(--output-card-5-z, 5);
  transform: translate3d(var(--output-card-5-x), var(--output-card-5-y), 0) scale(var(--output-card-5-scale));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

.aigc-output-card[data-workflow-type]::after {
  content: "查看示例";
  z-index: 4;
}

.aigc-output-card .hotspot-circle,
.aigc-output-card .reveal-circle {
  display: none !important;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .aigc-output-layout {
    width: min(1080px, 88vw);
    grid-template-columns: repeat(5, minmax(132px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .aigc-output-layout {
    width: min(100%, 92vw);
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .aigc-output-card,
  .output-card-1,
  .output-card-2,
  .output-card-3,
  .output-card-4,
  .output-card-5 {
    min-height: 160px;
    transform: none !important;
  }
}

/* Final screen 3: card-stack reveal with peacock-style fan layout */
.aigc-output-tray {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.aigc-output-tray .aigc-output-layout,
.aigc-output-layout {
  position: relative;
  display: block;
  width: min(1120px, 88vw);
  height: clamp(430px, 56vh, 560px);
  min-height: 0;
  margin: clamp(28px, 4vh, 44px) auto 0;
  transform: none;
}

.aigc-output-tray .aigc-output-card,
.aigc-output-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(260px, 23vw, 350px);
  min-height: clamp(150px, 17vh, 188px);
  padding: clamp(18px, 1.45vw, 24px);
  transform-origin: center center;
  filter: none;
  backdrop-filter: none;
  will-change: transform, opacity;
}

.aigc-output-tray .output-card-1,
.output-card-1 {
  --card-content-opacity: var(--output-card-1-content-opacity, 0);
  width: clamp(300px, 26vw, 350px);
  min-height: clamp(166px, 20vh, 188px);
  z-index: var(--output-card-1-z, 15);
  opacity: var(--output-card-1-opacity, 0);
  transform:
    translate3d(calc(-50% + var(--output-card-1-x, 0px)), calc(-50% + var(--output-card-1-y, 0px)), 0)
    scale(var(--output-card-1-scale, 1))
    rotate(var(--output-card-1-rotate, 0deg));
}

.aigc-output-tray .output-card-2,
.output-card-2 {
  --card-content-opacity: var(--output-card-2-content-opacity, 0);
  width: clamp(280px, 24vw, 325px);
  min-height: clamp(158px, 18.5vh, 176px);
  z-index: var(--output-card-2-z, 13);
  opacity: var(--output-card-2-opacity, 0);
  transform:
    translate3d(calc(-50% + var(--output-card-2-x, 0px)), calc(-50% + var(--output-card-2-y, 0px)), 0)
    scale(var(--output-card-2-scale, 1))
    rotate(var(--output-card-2-rotate, 0deg));
}

.aigc-output-tray .output-card-3,
.output-card-3 {
  --card-content-opacity: var(--output-card-3-content-opacity, 0);
  width: clamp(280px, 24vw, 325px);
  min-height: clamp(158px, 18.5vh, 176px);
  z-index: var(--output-card-3-z, 13);
  opacity: var(--output-card-3-opacity, 0);
  transform:
    translate3d(calc(-50% + var(--output-card-3-x, 0px)), calc(-50% + var(--output-card-3-y, 0px)), 0)
    scale(var(--output-card-3-scale, 1))
    rotate(var(--output-card-3-rotate, 0deg));
}

.aigc-output-tray .output-card-4,
.output-card-4 {
  --card-content-opacity: var(--output-card-4-content-opacity, 0);
  width: clamp(260px, 22.5vw, 305px);
  min-height: clamp(150px, 17vh, 166px);
  z-index: var(--output-card-4-z, 11);
  opacity: var(--output-card-4-opacity, 0);
  transform:
    translate3d(calc(-50% + var(--output-card-4-x, 0px)), calc(-50% + var(--output-card-4-y, 0px)), 0)
    scale(var(--output-card-4-scale, 1))
    rotate(var(--output-card-4-rotate, 0deg));
}

.aigc-output-tray .output-card-5,
.output-card-5 {
  --card-content-opacity: var(--output-card-5-content-opacity, 0);
  width: clamp(260px, 22.5vw, 305px);
  min-height: clamp(150px, 17vh, 166px);
  z-index: var(--output-card-5-z, 11);
  opacity: var(--output-card-5-opacity, 0);
  transform:
    translate3d(calc(-50% + var(--output-card-5-x, 0px)), calc(-50% + var(--output-card-5-y, 0px)), 0)
    scale(var(--output-card-5-scale, 1))
    rotate(var(--output-card-5-rotate, 0deg));
}

.aigc-output-card h3,
.aigc-output-card p {
  opacity: var(--card-content-opacity, 1);
  transform: translate3d(0, calc((1 - var(--card-content-opacity, 1)) * 8px), 0);
}

.aigc-output-card h3 {
  font-size: clamp(22px, 1.55vw, 28px);
}

.aigc-output-card p {
  max-width: 92%;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.68;
}

@media (max-width: 768px) {
  .aigc-output-tray .aigc-output-layout,
  .aigc-output-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(100%, 92vw);
    height: auto;
    margin: 0 auto;
  }

  .aigc-output-tray .aigc-output-card,
  .aigc-output-card {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    opacity: 1 !important;
    transform: none !important;
  }

  .aigc-output-card h3,
  .aigc-output-card p {
    opacity: 1;
    transform: none;
  }
}

/* Final screen 3: reuse the mature workflow-hotspot module inside the AIGC bridge. */
.aigc-bridge-outputs {
  pointer-events: auto;
}

.aigc-bridge-outputs .skills-image-frame {
  width: min(88vw, 1180px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  opacity: var(--deliverables-workflow-opacity, 0);
  transform:
    translate3d(0, var(--deliverables-workflow-y, 26px), 0)
    scale(var(--deliverables-workflow-scale, 0.98));
  will-change: transform, opacity;
  pointer-events: auto;
  background: #050505;
}

.aigc-bridge-outputs .skills-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aigc-bridge-outputs .workflow-hotspot {
  pointer-events: auto;
}

.aigc-bridge-outputs .workflow-example-note {
  opacity: var(--deliverables-workflow-opacity, 0);
  transform: translate3d(0, var(--deliverables-workflow-y, 26px), 0);
}

.aigc-bridge-section.is-static .aigc-bridge-outputs .skills-image-frame {
  opacity: 1;
  transform: none;
}

.aigc-bridge-section.is-static .aigc-bridge-outputs .workflow-example-note {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .aigc-bridge-outputs .skills-image-frame,
  .aigc-bridge-outputs .workflow-example-note {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .aigc-bridge-outputs .skills-image-frame {
    width: min(100%, 92vw);
    opacity: 1;
    transform: none;
  }

  .aigc-bridge-outputs .workflow-example-note {
    opacity: 1;
    transform: none;
  }
}

/* Final overrides for the new second-screen workflow video stage. */
.workflow-motion-visual .workflow-motion-placeholder span,
.workflow-motion-visual .workflow-motion-caption span {
  position: static;
  inset: auto;
  opacity: 1;
  display: inline-grid;
  height: auto;
  color: inherit;
  text-align: inherit;
  letter-spacing: inherit;
  background: none;
}

.workflow-motion-visual .workflow-motion-caption > span {
  width: 42px;
  height: 42px;
  color: #080808;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.workflow-motion-video-layer:not(.is-missing) .workflow-motion-placeholder {
  opacity: 0;
}

/* Final #skills aspect-ratio override: full-width video, not full-height. */
#skills.aigc-bridge-image-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  overflow: visible;
}

#skills .workflow-hero-carousel.aigc-bridge-image-frame {
  position: relative;
  left: 50%;
  inset: auto;
  width: 100vw !important;
  max-width: none !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100svh - 92px);
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #050505;
  overflow: hidden;
  opacity: var(--workflow-image-opacity, 1);
  transform: translate3d(-50%, var(--workflow-image-y, 0px), 0) scale(var(--workflow-image-scale, 1));
}

#skills .workflow-hero-panel video,
#skills .workflow-hero-panel img {
  transition: opacity 260ms ease;
}

#skills .workflow-hero-copy {
  width: min(460px, 31vw);
  margin-left: clamp(44px, 6vw, 96px);
  padding-top: clamp(76px, 10vh, 128px);
}

#skills .workflow-hero-copy h2 {
  font-size: clamp(38px, 4.2vw, 66px);
  line-height: 1.04;
}

#skills .workflow-hero-card-track {
  right: clamp(0px, 2vw, 36px);
  top: 50%;
  width: min(760px, 54vw);
  overflow: visible;
  transform: translateY(-38%);
}

#skills .workflow-hero-card-track.is-shifting {
  transform: translateY(-38%) translateX(-24px);
}

#skills .workflow-hero-controls {
  bottom: clamp(28px, 5vh, 52px);
}

@media (max-width: 768px) {
  #skills.aigc-bridge-image-panel {
    display: grid;
    overflow: visible;
  }

  #skills .workflow-hero-carousel.aigc-bridge-image-frame {
    left: auto;
    width: min(100%, 92vw) !important;
    max-height: none;
    margin: 0 auto !important;
    transform: none;
  }

  #skills .workflow-hero-card-track,
  #skills .workflow-hero-card-track.is-shifting {
    transform: none;
  }
}

/* Final scoped override: #skills is an immersive video screen without a text card. */
#skills.aigc-bridge-image-panel {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 62px 0 0 !important;
  overflow: visible;
  pointer-events: auto !important;
}

#skills .workflow-hero-carousel {
  position: relative;
  width: 100vw;
  max-width: none;
  height: min(calc(100svh - 62px), max(64vw, 640px));
  min-height: min(640px, calc(100svh - 62px));
  max-height: calc(100svh - 62px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #050505;
  overflow: hidden;
  opacity: var(--workflow-image-opacity, 1);
  transform: translate3d(0, var(--workflow-image-y, 0px), 0);
  pointer-events: auto !important;
  z-index: 8;
}

#skills .workflow-hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.34) 0%,
      rgba(5, 5, 5, 0.18) 28%,
      rgba(5, 5, 5, 0.04) 58%,
      rgba(5, 5, 5, 0.14) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.08) 0%,
      rgba(5, 5, 5, 0.10) 52%,
      rgba(5, 5, 5, 0.24) 100%
    );
}

#skills .workflow-hero-bg,
#skills .workflow-hero-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#skills .workflow-hero-panel video,
#skills .workflow-hero-panel img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity 260ms ease;
  pointer-events: none;
}

#skills .workflow-hero-panel video {
  z-index: 2;
  opacity: 0;
}

#skills .workflow-hero-panel img {
  z-index: 1;
  opacity: 1;
}

#skills .workflow-hero-panel.is-video-ready video {
  opacity: 1;
}

#skills .workflow-hero-panel.is-video-ready img {
  opacity: 0;
}

#skills .workflow-hero-panel.is-missing video,
#skills .workflow-hero-panel:not(.is-video-ready) video {
  opacity: 0;
}

#skills .workflow-hero-panel.is-missing img,
#skills .workflow-hero-panel:not(.is-video-ready) img {
  opacity: 1;
}

#skills .workflow-hero-panel.is-video-ready .workflow-hero-fallback {
  opacity: 0;
}

#skills .workflow-hero-fallback span,
#skills .workflow-hero-fallback strong,
#skills .workflow-hero-thumb span,
#skills .workflow-hero-thumb strong,
#skills .workflow-hero-thumb small,
#skills .workflow-hero-controls span {
  position: relative;
  inset: auto;
  height: auto;
  opacity: 1;
  background: none;
}

#skills .workflow-hero-fallback span,
#skills .workflow-hero-fallback strong {
  display: block;
  text-align: center;
}

#skills .workflow-hero-copy {
  position: relative;
  z-index: 10;
  width: min(500px, 34vw);
  margin-left: clamp(52px, 6.5vw, 108px);
  padding: clamp(96px, 13vh, 150px) 0 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

#skills .workflow-hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -36px;
  top: calc(clamp(96px, 13vh, 150px) - 28px);
  width: min(560px, 38vw);
  height: calc(100% - clamp(96px, 13vh, 150px) + 56px);
  pointer-events: none;
  border-radius: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 5, 5, 0.42) 0%,
    rgba(5, 5, 5, 0.20) 48%,
    rgba(5, 5, 5, 0) 100%
  );
}

#skills .workflow-hero-copy h2,
#skills .workflow-hero-copy p,
#skills .workflow-hero-copy span {
  text-shadow:
    0 3px 16px rgba(0, 0, 0, 0.62),
    0 1px 2px rgba(0, 0, 0, 0.72);
}

#skills .workflow-hero-copy .eyebrow {
  margin-bottom: 10px;
}

#skills .workflow-hero-number {
  margin-bottom: 4px;
}

#skills .workflow-hero-copy h2 {
  margin-bottom: clamp(14px, 1.6vw, 24px);
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1.02;
}

#skills .workflow-hero-copy p[data-workflow-hero-desc] {
  max-width: 460px;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.72;
}

#skills .workflow-hero-copy span[data-workflow-hero-tags] {
  position: static;
  inset: auto;
  display: inline-flex;
  height: auto;
  opacity: 1;
  text-align: left;
  background: rgba(224, 192, 138, 0.08);
}

#skills .workflow-hero-card-track {
  position: absolute;
  z-index: 20;
  right: clamp(18px, 3vw, 58px);
  top: 50%;
  width: min(760px, 54vw);
  overflow: visible;
  transform: translateY(-38%);
  pointer-events: auto !important;
}

#skills .workflow-hero-card-track.is-shifting {
  transform: translateY(-38%) translateX(-24px);
}

#skills .workflow-hero-thumb {
  pointer-events: auto !important;
}

#skills .workflow-hero-controls {
  z-index: 22;
  bottom: clamp(24px, 4vh, 44px);
  pointer-events: auto !important;
}

#skills .workflow-hero-controls button {
  pointer-events: auto !important;
}

#skills .workflow-hero-copy::before,
#skills .workflow-hero-thumb::after {
  pointer-events: none;
}

@media (max-width: 768px) {
  #skills.aigc-bridge-image-panel {
    display: grid;
    padding: clamp(42px, 10vw, 76px) 0 !important;
  }

  #skills .workflow-hero-carousel {
    width: min(100%, 92vw);
    height: auto;
    min-height: auto;
    max-height: none;
    margin: 0 auto;
    padding: 88px 20px 36px;
    border-radius: 24px;
    transform: none;
  }

  #skills .workflow-hero-copy {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #skills .workflow-hero-copy::before {
    display: none;
  }

  #skills .workflow-hero-bg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(224, 192, 138, 0.26);
    border-radius: 20px;
  }

  #skills .workflow-hero-card-track,
  #skills .workflow-hero-card-track.is-shifting {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: 4px;
    overflow-x: auto;
    transform: none;
  }
}
/* Final homepage three-screen scroll lock.
   Kept at the very end so older #skills / AIGC bridge experiments above
   cannot stretch the sticky story back into a half-position scroll. */
.aigc-bridge-section {
  min-height: 330svh;
  overflow: clip;
}

.aigc-bridge-sticky {
  position: sticky;
  top: var(--nav-height, 62px);
  height: calc(100svh - var(--nav-height, 62px));
  overflow: hidden;
}

.aigc-bridge-panel {
  position: absolute;
  inset: 0;
  min-height: 0;
}

#skills.aigc-bridge-image-panel,
#deliverables.aigc-bridge-outputs {
  pointer-events: auto;
}

#skills .workflow-hero-carousel {
  width: 100vw;
  max-width: none;
  height: min(calc(100svh - var(--nav-height, 62px)), max(64vw, 640px));
  min-height: min(640px, calc(100svh - var(--nav-height, 62px)));
  max-height: calc(100svh - var(--nav-height, 62px));
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  transform: translate3d(0, var(--workflow-image-y, 0px), 0);
}

#deliverables .skills-image-frame {
  max-height: none;
}

#deliverables.is-deliverables-active .skills-image-frame,
#deliverables.is-deliverables-active .workflow-example-note {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 768px) {
  .aigc-bridge-section {
    min-height: auto;
  }

  .aigc-bridge-sticky {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
  }

  .aigc-bridge-panel {
    position: relative;
    inset: auto;
    min-height: auto;
  }

  #skills .workflow-hero-carousel {
    width: min(100%, 92vw);
    height: auto;
    min-height: auto;
    max-height: none;
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }
}

/* Final #deliverables hotspot map. One clear transparent layer over
   skills-workflow.png; enable body.debug-deliverables-hotspots to inspect it. */
#deliverables.aigc-bridge-outputs,
#deliverables .skills-image-frame,
#deliverables .workflow-hotspot-wrapper,
#deliverables .workflow-hotspot,
#deliverables .workflow-preview-panel,
#deliverables .workflow-preview-tabs button,
#deliverables .workflow-preview-close {
  pointer-events: auto;
}

#deliverables.aigc-bridge-outputs {
  z-index: 40;
}

#deliverables .skills-image-frame,
#deliverables .workflow-hotspot-wrapper {
  z-index: 45;
}

#deliverables .skills-image-frame {
  position: relative;
  overflow: hidden;
}

#deliverables .skills-image-frame > img,
#deliverables .skills-image-frame::before,
#deliverables .skills-image-frame::after {
  pointer-events: none;
}

#deliverables .workflow-hotspot {
  position: absolute;
  z-index: 30;
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(224, 192, 138, 0.01);
  box-shadow: none;
  cursor: pointer;
  opacity: var(--deliverables-workflow-opacity, 1);
  pointer-events: auto;
  transform: none;
  animation: none;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    transform 0.28s ease;
}

#deliverables .workflow-hotspot::before {
  content: "";
  display: none;
}

#deliverables .workflow-hotspot::after {
  content: var(--workflow-tip, "查看素材");
  left: 50%;
  right: auto;
  bottom: calc(100% + 8px);
  opacity: 0;
  transform: translate3d(-50%, 6px, 0);
}

#deliverables .workflow-hotspot-poster {
  --workflow-tip: "查看海报";
  left: 3.2%;
  top: 33.6%;
  width: 17.1%;
  height: 37.0%;
}

#deliverables .workflow-hotspot-ppt {
  --workflow-tip: "查看 PPT";
  left: 21.1%;
  top: 33.6%;
  width: 18.2%;
  height: 37.0%;
}

#deliverables .workflow-hotspot-web {
  --workflow-tip: "查看网页";
  left: 40.1%;
  top: 33.6%;
  width: 18.2%;
  height: 37.0%;
}

#deliverables .workflow-hotspot-motion {
  --workflow-tip: "查看动态";
  left: 59.2%;
  top: 33.6%;
  width: 18.2%;
  height: 37.0%;
}

#deliverables .workflow-hotspot-material {
  --workflow-tip: "查看物料";
  left: 78.2%;
  top: 33.6%;
  width: 19.8%;
  height: 37.0%;
}

#deliverables .workflow-hotspot:hover,
#deliverables .workflow-hotspot:focus-visible,
#deliverables .workflow-hotspot.is-active {
  border-color: rgba(224, 192, 138, 0.58);
  background: rgba(224, 192, 138, 0.06);
  box-shadow: 0 0 28px rgba(224, 192, 138, 0.16);
  transform: translateY(-1px);
}

body.debug-deliverables-hotspots #deliverables .workflow-hotspot {
  border-color: rgba(224, 192, 138, 0.72);
  background: rgba(224, 192, 138, 0.12);
  box-shadow: 0 0 22px rgba(224, 192, 138, 0.18);
}

#deliverables .workflow-hotspot:hover::after,
#deliverables .workflow-hotspot:focus-visible::after,
#deliverables .workflow-hotspot.is-active::after {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.workflow-preview-panel {
  z-index: 140;
  pointer-events: none;
}

.workflow-preview-panel.is-open {
  pointer-events: auto;
}

body:not(.is-workflow-preview-open) .workflow-preview-panel {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  #deliverables .workflow-hotspot {
    min-width: 44px;
    min-height: 44px;
    border-radius: 14px;
  }

  #deliverables .workflow-hotspot::after {
    display: none;
  }
}


/* --- Final safety: intro enter button must remain clickable and never trigger overlays --- */
.intro-enter-btn {
  z-index: 10020;
  pointer-events: auto;
}

body.gate-intro .intro-video-section,
body.is-gate-locked .intro-video-section {
  z-index: 10010;
}

body.gate-intro .intro-enter-btn,
body.is-gate-locked .intro-enter-btn {
  z-index: 10020;
  pointer-events: auto;
}

.intro-video-frame,
.intro-video,
.intro-video-section::before,
.intro-video-section::after {
  pointer-events: none;
}

.intro-video-section.is-video-ready .intro-video {
  opacity: 1;
}

body.gate-intro .lightbox,
body.gate-intro .video-lightbox,
body.gate-intro .workflow-preview-panel,
body.is-gate-locked .lightbox,
body.is-gate-locked .video-lightbox,
body.is-gate-locked .workflow-preview-panel,
body.is-entering-portfolio .lightbox,
body.is-entering-portfolio .video-lightbox,
body.is-entering-portfolio .workflow-preview-panel {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.is-entering-portfolio .video-lightbox *,
body.is-entering-portfolio .lightbox *,
body.is-entering-portfolio .workflow-preview-panel * {
  display: none !important;
}

/* Performance guard: legacy ambient layers are disabled by default in script.js. */
.hero-light-rays,
.hero-light-rays canvas,
.hero-tree-particles,
.hero-tree-dissolve-video,
.click-spark-canvas {
  display: none !important;
}

#skills .workflow-hero-carousel::after,
#skills .workflow-hero-copy::before {
  background: none !important;
}

/* Homepage three-screen performance pass: scroll-driven elements should update
   directly from JS variables, not chase those updates with CSS transitions or
   legacy decorative animations. */
.aigc-bridge-problems::before,
.aigc-bridge-problems::after,
.aigc-bridge-copy,
.aigc-bridge-outputs .aigc-bridge-copy,
.aigc-problem-card,
.travel-card-1,
.travel-card-2,
.travel-card-3,
#skills .workflow-hero-carousel,
#deliverables .skills-image-frame,
#deliverables .workflow-example-note {
  transition: none !important;
}

.aigc-bridge-problems::after {
  mix-blend-mode: normal !important;
}

.aigc-problem-card::after {
  filter: none !important;
}

.aigc-bridge-image-float,
.aigc-bridge-flow,
.aigc-vertical-channel,
.aigc-split-layer,
.aigc-flow-beam,
.aigc-input-chip,
.aigc-output-chip,
.aigc-burst-ring,
.input-node,
.output-node {
  display: none !important;
  animation: none !important;
}

/* --- More PPT coverflow carousel --- */
#more .more-ppt-carousel.is-coverflow {
  position: relative;
  max-width: none;
  min-height: clamp(380px, 48vh, 520px);
  margin: 0;
  overflow: hidden;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-viewport {
  position: relative;
  min-height: clamp(330px, 42vh, 460px);
  overflow: hidden;
  cursor: default;
  perspective: 1200px;
  scroll-behavior: auto;
  scroll-snap-type: none;
  touch-action: auto;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-viewport::before {
  content: "";
  position: absolute;
  inset: 5% 8%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 46%, rgba(224, 192, 138, 0.20), transparent 34%),
    radial-gradient(ellipse at 50% 78%, rgba(201, 166, 107, 0.16), transparent 48%);
  filter: blur(10px);
  opacity: 0.9;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.72), transparent 18%, transparent 82%, rgba(5, 5, 5, 0.72));
}

#more .more-ppt-carousel.is-coverflow .more-ppt-track {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 40vh, 440px);
  padding: 0;
  transform-style: preserve-3d;
  will-change: auto;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-item {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: var(--cf-z, 1);
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 0.52fr);
  gap: 16px;
  align-items: center;
  width: clamp(540px, 48vw, 660px);
  min-height: clamp(245px, 25vw, 310px);
  padding: 18px;
  overflow: hidden;
  border-color: rgba(201, 166, 107, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022)),
    rgba(5, 5, 5, 0.62);
  opacity: var(--cf-opacity, 0);
  filter: none;
  transform:
    translate3d(calc(-50% + var(--cf-x, 0px)), -50%, 0)
    scale(var(--cf-scale, 1))
    rotateY(var(--cf-rotate, 0deg));
  transform-origin: center center;
  transform-style: preserve-3d;
  transition:
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    box-shadow 260ms ease;
  will-change: transform, opacity;
  scroll-snap-align: none;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-item:hover {
  transform:
    translate3d(calc(-50% + var(--cf-x, 0px)), -50%, 0)
    scale(var(--cf-scale, 1))
    rotateY(var(--cf-rotate, 0deg));
}

#more .more-ppt-carousel.is-coverflow .more-ppt-item.is-active:hover {
  transform:
    translate3d(calc(-50% + var(--cf-x, 0px)), -50%, 0)
    scale(calc(var(--cf-scale, 1) + 0.01))
    rotateY(var(--cf-rotate, 0deg));
}

#more .more-ppt-carousel.is-coverflow .more-ppt-item.is-active {
  border-color: rgba(224, 192, 138, 0.56);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.58),
    0 0 38px rgba(224, 192, 138, 0.16);
}

#more .more-ppt-carousel.is-coverflow .more-ppt-item.is-hidden {
  pointer-events: none;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-cover {
  width: 100%;
  height: auto;
  min-height: 190px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(201, 166, 107, 0.24);
  border-radius: 14px;
  overflow: hidden;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.02), rgba(5, 5, 5, 0.38));
}

#more .more-ppt-carousel.is-coverflow .more-ppt-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 0;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-tag {
  margin-bottom: 8px;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-title {
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.3;
  -webkit-line-clamp: 2;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-content p:not(.more-ppt-tag):not(.more-ppt-level) {
  color: rgba(246, 241, 232, 0.72);
  -webkit-line-clamp: 3;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-tags,
#more .more-ppt-carousel.is-coverflow .more-ppt-link,
#more .more-ppt-carousel.is-coverflow .more-ppt-level,
#more .more-ppt-carousel.is-coverflow .more-ppt-content p:not(.more-ppt-tag):not(.more-ppt-level) {
  opacity: 0.55;
  transition: opacity 360ms ease, transform 360ms ease;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-item.is-active .more-ppt-tags,
#more .more-ppt-carousel.is-coverflow .more-ppt-item.is-active .more-ppt-link,
#more .more-ppt-carousel.is-coverflow .more-ppt-item.is-active .more-ppt-level,
#more .more-ppt-carousel.is-coverflow .more-ppt-item.is-active .more-ppt-content p:not(.more-ppt-tag):not(.more-ppt-level) {
  opacity: 1;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-item.is-active::before {
  content: "当前案例";
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  padding: 6px 10px;
  border: 1px solid rgba(224, 192, 138, 0.44);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(5, 5, 5, 0.62);
  font-size: 12px;
  font-weight: 900;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-controls {
  position: relative;
  z-index: 60;
  display: flex;
  margin-top: 14px;
  pointer-events: auto;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-arrow {
  position: relative;
  z-index: 61;
  display: grid;
  pointer-events: auto;
  cursor: pointer;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-progress {
  position: relative;
  z-index: 55;
  pointer-events: none;
}

#more .more-ppt-carousel.is-coverflow .more-ppt-progress span {
  transition: width 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

#more .more-ppt-carousel.is-coverflow:not(.is-inview) .more-ppt-item {
  opacity: 0;
  transform:
    translate3d(calc(-50% + var(--cf-x, 0px)), calc(-50% + 34px), 0)
    scale(calc(var(--cf-scale, 1) * 0.96))
    rotateY(var(--cf-rotate, 0deg));
}

@media (max-width: 768px) {
  #more .more-ppt-carousel.is-coverflow {
    min-height: auto;
    overflow: visible;
  }

  #more .more-ppt-carousel.is-coverflow .more-ppt-viewport {
    min-height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    perspective: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  #more .more-ppt-carousel.is-coverflow .more-ppt-viewport::before,
  #more .more-ppt-carousel.is-coverflow .more-ppt-viewport::after {
    display: none;
  }

  #more .more-ppt-carousel.is-coverflow .more-ppt-track {
    display: flex;
    gap: 14px;
    width: max-content;
    min-height: auto;
    padding: 2px 4vw 12px;
    transform-style: flat;
  }

  #more .more-ppt-carousel.is-coverflow .more-ppt-item,
  #more .more-ppt-carousel.is-coverflow .more-ppt-item:hover,
  #more .more-ppt-carousel.is-coverflow:not(.is-inview) .more-ppt-item {
    position: relative;
    left: auto;
    top: auto;
    flex: 0 0 82vw;
    display: grid;
    grid-template-columns: 1fr;
    width: auto;
    min-height: auto;
    padding: 14px;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    scroll-snap-align: center;
    pointer-events: auto;
  }

  #more .more-ppt-carousel.is-coverflow .more-ppt-cover {
    aspect-ratio: 16 / 9;
  }

  #more .more-ppt-carousel.is-coverflow .more-ppt-controls {
    display: flex;
  }

#more .more-ppt-carousel.is-coverflow .more-ppt-arrow {
    display: grid;
  }
}

/* Screen 2 workflow carousel: full hero image + bottom 16:9 mini navigation. */
#skills .workflow-hero-carousel {
  --workflow-copy-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.28));
  --workflow-copy-color: #fff;
  --workflow-copy-muted: rgba(246, 241, 232, 0.78);
  --workflow-copy-tag-bg: rgba(224, 192, 138, 0.1);
  --workflow-copy-tag-border: rgba(224, 192, 138, 0.34);
  --workflow-copy-tag-color: rgba(244, 213, 154, 0.96);
}

#skills .workflow-hero-carousel[data-workflow-theme="light-panel"] {
  --workflow-copy-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.48));
  --workflow-copy-color: #161411;
  --workflow-copy-muted: rgba(18, 17, 15, 0.76);
  --workflow-copy-tag-bg: rgba(132, 94, 35, 0.12);
  --workflow-copy-tag-border: rgba(132, 94, 35, 0.28);
  --workflow-copy-tag-color: #6f4a14;
}

#skills .workflow-hero-carousel[data-workflow-theme="dark-panel"] {
  --workflow-copy-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.34));
  --workflow-copy-color: #fff;
  --workflow-copy-muted: rgba(246, 241, 232, 0.78);
  --workflow-copy-tag-bg: rgba(224, 192, 138, 0.11);
  --workflow-copy-tag-border: rgba(224, 192, 138, 0.34);
  --workflow-copy-tag-color: rgba(244, 213, 154, 0.96);
}

#skills .workflow-hero-panel video,
#skills .workflow-hero-panel img {
  object-position: var(--workflow-object-position, center center);
}

#skills .workflow-hero-copy {
  z-index: 12;
  width: min(420px, 30vw);
  margin-left: clamp(42px, 5vw, 86px);
  padding: clamp(18px, 1.8vw, 28px);
  border: 1px solid rgba(224, 192, 138, 0.22);
  border-radius: 22px;
  color: var(--workflow-copy-color);
  background: var(--workflow-copy-bg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

#skills .workflow-hero-copy::before {
  display: none !important;
}

#skills .workflow-hero-copy h2 {
  color: var(--workflow-copy-color);
  font-size: clamp(32px, 3.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

#skills .workflow-hero-number,
#skills .workflow-hero-copy .eyebrow {
  color: var(--workflow-copy-tag-color);
}

#skills .workflow-hero-copy p[data-workflow-hero-desc] {
  color: var(--workflow-copy-muted);
  font-size: clamp(14px, 0.98vw, 16px);
}

#skills .workflow-hero-copy span[data-workflow-hero-tags] {
  color: var(--workflow-copy-tag-color);
  padding: 0;
  border-color: transparent;
  background: transparent;
}

#skills .workflow-hero-card-track,
#skills .workflow-hero-card-track.is-shifting {
  position: absolute;
  left: 58%;
  right: auto;
  bottom: clamp(20px, 3.4vh, 38px);
  top: auto;
  z-index: 22;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(10px, 0.9vw, 13px);
  width: min(1180px, 72vw);
  max-width: calc(100vw - 360px);
  overflow-x: auto;
  overflow-y: visible;
  padding: 7px 4px 10px;
  opacity: 1;
  transform: translateX(-50%);
  scrollbar-width: none;
  transition: none;
  pointer-events: auto;
}

#skills .workflow-hero-card-track::-webkit-scrollbar {
  display: none;
}

#skills .workflow-hero-thumb,
#skills .workflow-hero-thumb:hover {
  flex: 0 0 clamp(178px, 13.4vw, 248px);
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  opacity: 0.58;
  transform: translateY(0);
}

#skills .workflow-hero-thumb {
  border-color: rgba(224, 192, 138, 0.18);
  background: rgba(5, 5, 5, 0.56);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

#skills .workflow-hero-thumb video,
#skills .workflow-hero-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity 0.28s ease, filter 0.28s ease;
}

#skills .workflow-hero-thumb video {
  z-index: 0;
  opacity: 0;
}

#skills .workflow-hero-thumb img {
  z-index: 1;
}

#skills .workflow-hero-thumb.is-active.is-video-ready:not(.is-video-missing) video {
  opacity: 1;
}

#skills .workflow-hero-thumb.is-active.is-video-ready:not(.is-video-missing) img {
  opacity: 0;
}

#skills .workflow-hero-thumb:hover,
#skills .workflow-hero-thumb:focus-visible {
  opacity: 0.86;
  border-color: rgba(224, 192, 138, 0.48);
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42);
}

#skills .workflow-hero-thumb.is-active {
  opacity: 1;
  border-color: rgba(224, 192, 138, 0.76);
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.46), 0 0 22px rgba(224, 192, 138, 0.12);
}

#skills .workflow-hero-thumb::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 8px;
  z-index: 2;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(224, 192, 138, 0.92), transparent);
  opacity: 0;
  pointer-events: none;
}

#skills .workflow-hero-thumb.is-active::before {
  opacity: 1;
}

#skills .workflow-hero-thumb::after {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08) 0%, rgba(5, 5, 5, 0.18) 42%, rgba(5, 5, 5, 0.72) 100%);
}

#skills .workflow-hero-thumb:hover::after,
#skills .workflow-hero-thumb.is-active::after {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.02) 0%, rgba(5, 5, 5, 0.12) 42%, rgba(5, 5, 5, 0.58) 100%);
}

#skills .workflow-hero-thumb span,
#skills .workflow-hero-thumb strong,
#skills .workflow-hero-thumb small,
#skills .workflow-mini-number,
#skills .workflow-mini-kicker,
#skills .workflow-mini-title {
  position: relative;
  z-index: 3;
  display: block;
  margin-left: 10px;
  margin-right: 10px;
  text-align: left;
}

#skills .workflow-mini-number,
#skills .workflow-mini-kicker,
#skills .workflow-hero-thumb span {
  margin-top: calc(56.25% - 38px);
  color: rgba(224, 192, 138, 0.74);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

#skills .workflow-mini-title,
#skills .workflow-hero-thumb strong {
  margin-top: 2px;
  color: rgba(246, 241, 232, 0.72);
  font-size: clamp(11px, 0.74vw, 13px);
  line-height: 1.2;
}

#skills .workflow-hero-thumb.is-active .workflow-mini-number,
#skills .workflow-hero-thumb.is-active .workflow-mini-kicker,
#skills .workflow-hero-thumb.is-active span,
#skills .workflow-hero-thumb.is-active .workflow-mini-title,
#skills .workflow-hero-thumb.is-active strong {
  color: #fff;
}

#skills .workflow-hero-controls {
  z-index: 24;
  left: clamp(42px, 5vw, 86px);
  bottom: clamp(26px, 4.2vh, 48px);
}

@media (max-width: 768px) {
  #skills .workflow-hero-copy {
    width: 100%;
    margin: 0;
    padding: 16px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
  }

  #skills .workflow-hero-card-track,
  #skills .workflow-hero-card-track.is-shifting {
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin-top: 14px;
    padding: 4px 0 8px;
    transform: none;
    justify-content: flex-start;
  }

  #skills .workflow-hero-thumb,
  #skills .workflow-hero-thumb:hover {
    flex-basis: 136px;
  }

  #skills .workflow-hero-controls {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 12px;
  }
}

/* Screen 2 readability tuning: slide-specific copy contrast and mini-card legibility. */
#skills .workflow-hero-carousel {
  --workflow-copy-border: rgba(224, 192, 138, 0.26);
  --workflow-copy-shadow: 0 26px 88px rgba(0, 0, 0, 0.34);
  --workflow-copy-backdrop: blur(16px) saturate(1.05);
  --workflow-title-shadow: 0 3px 18px rgba(0, 0, 0, 0.74), 0 1px 2px rgba(0, 0, 0, 0.86);
  --workflow-body-shadow: 0 2px 14px rgba(0, 0, 0, 0.68), 0 1px 2px rgba(0, 0, 0, 0.78);
  --workflow-left-scrim: linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.16) 46%, rgba(0, 0, 0, 0) 100%);
  --workflow-left-scrim-opacity: 0.72;
  --workflow-thumb-overlay: linear-gradient(180deg, rgba(5, 5, 5, 0.16) 0%, rgba(5, 5, 5, 0.34) 44%, rgba(5, 5, 5, 0.78) 100%);
  --workflow-thumb-active-overlay: linear-gradient(180deg, rgba(5, 5, 5, 0.08) 0%, rgba(5, 5, 5, 0.22) 44%, rgba(5, 5, 5, 0.66) 100%);
}

#skills .workflow-hero-carousel[data-workflow-readability="bright-soft"] {
  --workflow-copy-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.44));
  --workflow-copy-muted: rgba(255, 250, 242, 0.86);
  --workflow-copy-border: rgba(224, 192, 138, 0.32);
  --workflow-copy-shadow: 0 30px 96px rgba(0, 0, 0, 0.42);
  --workflow-left-scrim: linear-gradient(90deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.22) 48%, rgba(0, 0, 0, 0) 100%);
  --workflow-left-scrim-opacity: 0.9;
}

#skills .workflow-hero-carousel[data-workflow-readability="mixed-contrast"] {
  --workflow-copy-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.40));
  --workflow-copy-muted: rgba(255, 250, 242, 0.84);
  --workflow-copy-border: rgba(224, 192, 138, 0.28);
  --workflow-copy-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --workflow-left-scrim-opacity: 0.78;
}

#skills .workflow-hero-carousel[data-workflow-readability="dark-texture"] {
  --workflow-copy-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.32));
  --workflow-copy-muted: rgba(246, 241, 232, 0.82);
  --workflow-left-scrim-opacity: 0.64;
}

#skills .workflow-hero-carousel[data-workflow-readability="dark-clean"] {
  --workflow-copy-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.24));
  --workflow-copy-muted: rgba(246, 241, 232, 0.80);
  --workflow-copy-border: rgba(224, 192, 138, 0.20);
  --workflow-copy-shadow: 0 22px 72px rgba(0, 0, 0, 0.28);
  --workflow-left-scrim-opacity: 0.44;
}

#skills .workflow-hero-carousel[data-workflow-readability="bright-strong"] {
  --workflow-copy-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.80), rgba(0, 0, 0, 0.54));
  --workflow-copy-muted: rgba(255, 250, 242, 0.88);
  --workflow-copy-border: rgba(224, 192, 138, 0.36);
  --workflow-copy-shadow: 0 34px 104px rgba(0, 0, 0, 0.50);
  --workflow-copy-backdrop: blur(18px) saturate(1.06);
  --workflow-title-shadow: 0 4px 22px rgba(0, 0, 0, 0.84), 0 1px 3px rgba(0, 0, 0, 0.92);
  --workflow-body-shadow: 0 3px 18px rgba(0, 0, 0, 0.82), 0 1px 3px rgba(0, 0, 0, 0.9);
  --workflow-left-scrim: linear-gradient(90deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.28) 50%, rgba(0, 0, 0, 0) 100%);
  --workflow-left-scrim-opacity: 1;
}

#skills .workflow-hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--workflow-left-scrim);
  opacity: var(--workflow-left-scrim-opacity);
}

#skills .workflow-hero-copy {
  border-color: var(--workflow-copy-border);
  box-shadow: var(--workflow-copy-shadow);
  backdrop-filter: var(--workflow-copy-backdrop);
}

#skills .workflow-hero-copy h2,
#skills .workflow-hero-number,
#skills .workflow-hero-copy .eyebrow {
  text-shadow: var(--workflow-title-shadow);
}

#skills .workflow-hero-copy p[data-workflow-hero-desc],
#skills .workflow-hero-copy span[data-workflow-hero-tags] {
  text-shadow: var(--workflow-body-shadow);
}

#skills .workflow-hero-thumb {
  opacity: 0.68;
  border-color: rgba(224, 192, 138, 0.22);
}

#skills .workflow-hero-thumb img {
  filter: saturate(0.9) brightness(0.84);
}

#skills .workflow-hero-thumb::after {
  background: var(--workflow-thumb-overlay);
}

#skills .workflow-hero-thumb:hover::after,
#skills .workflow-hero-thumb.is-active::after {
  background: var(--workflow-thumb-active-overlay);
}

#skills .workflow-hero-thumb:hover img,
#skills .workflow-hero-thumb.is-active img {
  filter: saturate(1) brightness(0.98);
}

#skills .workflow-mini-number,
#skills .workflow-mini-kicker,
#skills .workflow-mini-title,
#skills .workflow-hero-thumb span,
#skills .workflow-hero-thumb strong {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 0.95);
}

#skills .workflow-mini-number,
#skills .workflow-mini-kicker,
#skills .workflow-hero-thumb span {
  color: rgba(244, 213, 154, 0.92);
}

#skills .workflow-mini-title,
#skills .workflow-hero-thumb strong {
  color: rgba(255, 250, 242, 0.86);
}

#skills .workflow-hero-thumb.is-active .workflow-mini-number,
#skills .workflow-hero-thumb.is-active .workflow-mini-kicker,
#skills .workflow-hero-thumb.is-active span {
  color: rgba(255, 224, 164, 1);
}

/* Home -> workflow transition smoothing: keep the crossfade on compositor-friendly layers. */
.aigc-bridge-problems,
#skills.aigc-bridge-image-panel {
  backface-visibility: hidden;
  transform: translateZ(0);
}

#skills .workflow-hero-carousel {
  contain: layout paint;
  backface-visibility: hidden;
}

#skills .workflow-hero-bg,
#skills .workflow-hero-panel {
  transform: translateZ(0);
  backface-visibility: hidden;
}

#deliverables.is-deliverables-active {
  z-index: 80 !important;
  pointer-events: auto;
}

#deliverables.is-deliverables-active .skills-image-frame,
#deliverables.is-deliverables-active .workflow-hotspot-wrapper,
#deliverables.is-deliverables-active .workflow-hotspot {
  pointer-events: auto;
}

.aigc-bridge-sticky:has(#deliverables.is-deliverables-active) #skills .workflow-hero-carousel {
  pointer-events: none;
}

/* Stage 4H: mobile responsive guardrails. Keep the existing visual language,
   but prevent narrow screens from inheriting desktop-sized sticky layouts. */
@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

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

  .section,
  .compact-block,
  .hero,
  .selected-works-reveal,
  .more-ppt-section,
  .contact-section {
    max-width: 100%;
    overflow-x: clip;
  }

  #profile.hero-scroll-scene,
  .hero-scroll-sticky {
    min-height: auto;
  }

  .hero-scroll-sticky {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 68px 5vw 52px;
  }

  .hero-content-stack,
  .hero-main,
  .hero-copy,
  .hero-side {
    width: 100%;
    max-width: 100%;
  }

  .hero-side {
    justify-self: center;
  }

  .hero-actions,
  .hero-tags {
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    min-width: 0;
    white-space: normal;
  }

  .selected-works-sticky {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .selected-works-heading,
  .works-cards,
  .contact-section,
  .business-proof-drawer-section {
    grid-template-columns: 1fr;
  }

  .work-card,
  .case-card,
  .more-ppt-item,
  .contact-card-wrap,
  .business-proof-image-only {
    max-width: 100%;
  }

  #skills .workflow-hero-carousel {
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    transform: translate3d(0, var(--workflow-image-y, 0px), 0) !important;
  }

  #skills .workflow-hero-bg,
  #skills .workflow-hero-panel {
    width: 100%;
  }

  #skills .workflow-hero-panel img,
  #skills .workflow-hero-panel video,
  .workflow-preview-item img,
  .workflow-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .aigc-bridge-outputs .skills-image-frame img,
  .business-proof-image-only img,
  .skills-image-frame img,
  .works-hero-image img,
  .contact-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #skills .workflow-hero-copy {
    width: min(100%, 560px);
    left: 5vw;
    right: 5vw;
    max-width: calc(100vw - 10vw);
  }

  #skills .workflow-hero-card-track,
  #skills .workflow-hero-card-track.is-shifting {
    max-width: 100%;
    overflow-x: auto;
  }

  .workflow-preview-panel {
    width: min(100% - 24px, 720px);
    max-height: min(86svh, 760px);
  }

  .more-ppt-track {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .section,
  .hero {
    padding-left: 4.5vw;
    padding-right: 4.5vw;
  }

  .intro-video-section {
    min-height: min(620px, calc(100svh - 62px));
  }

  .hero-scroll-sticky {
    padding-top: 52px;
    padding-bottom: 44px;
  }

  .hero-copy h1,
  h1 {
    font-size: clamp(42px, 15vw, 64px);
    line-height: 0.95;
  }

  .hero-main .value,
  .value {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .btn,
  .hero-next-btn {
    width: 100%;
    min-width: 0;
  }

  .hero-lanyard,
  .lanyard-card-swing {
    width: min(100%, 320px);
    max-width: 88vw;
    margin-inline: auto;
  }

  .business-proof-image-only,
  .skills-image-frame,
  .works-hero-image,
  .more-ppt-cover,
  .contact-card-image {
    aspect-ratio: 16 / 9;
  }

  .more-ppt-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .business-proof-image-only img,
  .skills-image-frame img,
  .works-hero-image img,
  .contact-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .more-ppt-item {
    flex: 0 0 min(88vw, 380px);
    width: min(88vw, 380px);
    min-width: 0;
  }

  .more-ppt-content {
    min-width: 0;
  }

  .more-ppt-tags {
    gap: 6px;
  }

  .contact-modal-panel {
    width: min(100%, 420px);
    max-height: 88svh;
    overflow-y: auto;
  }

  .wechat-qr {
    width: min(100%, 260px);
    margin-inline: auto;
  }

  .workflow-preview-header,
  .workflow-preview-tabs {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .site-header {
    height: auto;
    min-height: 62px;
  }

  .logo {
    min-width: 0;
  }

  .section:not(.hero) {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .hero-copy h1,
  h1 {
    font-size: clamp(38px, 14vw, 56px);
  }

  .hero-tags span,
  .more-ppt-tags span,
  .case-meta span {
    white-space: normal;
  }

  #skills .workflow-hero-carousel {
    aspect-ratio: 4 / 5;
  }

  #skills .workflow-hero-copy {
    left: 12px;
    right: 12px;
    max-width: calc(100vw - 24px);
    padding: 14px;
  }

  #skills .workflow-hero-copy h2 {
    font-size: clamp(24px, 8vw, 32px);
  }

  #skills .workflow-hero-copy p[data-workflow-hero-desc] {
    font-size: 13px;
  }

  #skills .workflow-hero-thumb,
  #skills .workflow-hero-thumb:hover {
    min-width: 168px;
  }

  .more-ppt-viewport {
    overflow-x: visible;
  }

  .more-ppt-track,
  #more .more-ppt-carousel.is-coverflow .more-ppt-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    min-width: 0;
    transform: none !important;
  }

  .more-ppt-item,
  #more .more-ppt-carousel.is-coverflow .more-ppt-item,
  #more .more-ppt-carousel.is-coverflow .more-ppt-item:hover,
  #more .more-ppt-carousel.is-coverflow:not(.is-inview) .more-ppt-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: none;
    transform: none !important;
    opacity: 1;
  }

  .more-ppt-controls,
  #more .more-ppt-carousel.is-coverflow .more-ppt-controls {
    display: none;
  }
}
