:root {
  --ink: #f8fafc;
  --muted: #94a3b8;
  --muted-deep: #64748b;
  --accent: #7388df;
  --accent-deep: #333da7;
  --accent-cyan: #7388df;
  --accent-blue: #333da7;
  --accent-purple: #7388df;
  --accent-pink: #5b459f;
  --accent-gold: #f4c456;
  --bg-deep: #050508;
  --bg: #0a0a12;
  --bg-elevated: #12121c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --surface-active: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(115, 136, 223, 0.15);
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 20px;
  --font-display: "Inter", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "SF Pro Text", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg-deep);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.7;
}

body.is-modal-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}

body::after {
  position: fixed;
  left: var(--pointer-x, 50%);
  top: var(--pointer-y, 50%);
  z-index: 30;
  width: 400px;
  height: 400px;
  pointer-events: none;
  content: "";
  opacity: 0;
  background:
    radial-gradient(circle, rgba(59, 130, 246, 0.14), rgba(168, 85, 247, 0.08) 38%, transparent 70%);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transition: opacity 220ms ease;
}

body.has-pointer::after {
  opacity: 1;
}

body.is-modal-open::after {
  opacity: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 3.2vw, 40px) clamp(20px, 4.5vw, 80px);
  font-family: var(--font-display);
  letter-spacing: 0;
  transition: background 220ms ease, padding 220ms ease, border-color 220ms ease;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.site-header.is-scrolled {
  padding-block: 14px;
  background: rgba(3, 3, 7, 0.78);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  gap: 12px;
  font-size: clamp(15px, 1.1vw, 20px);
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease, filter 180ms ease;
}

.brand:hover {
  color: #fff;
  filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.35));
  transform: translateY(-2px);
}

.brand-dots {
  display: inline-flex;
  gap: 5px;
}

.brand-dots i {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.brand-dots i:first-child {
  background: rgba(255, 255, 255, 0.82);
}

.brand:hover .brand-dots i {
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(115, 136, 223, 0.4);
}

.brand:hover .brand-dots i:first-child {
  transform: translateX(4px);
  background: var(--accent);
}

.brand:hover .brand-dots i:last-child {
  background: var(--accent-pink);
  transform: translateX(-4px);
}

.quick-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled .quick-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.quick-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  font-size: clamp(12px, 0.85vw, 14px);
  font-weight: 700;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.quick-nav a::after {
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 50%;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: left 420ms ease;
}

.quick-nav a:hover::after,
.quick-nav a:focus-visible::after {
  left: 120%;
}

.quick-nav a:hover,
.quick-nav a:focus-visible,
.quick-nav a.is-active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.quick-nav a.is-active::before {
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  box-shadow: 0 0 12px rgba(115, 136, 223, 0.7);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.18), transparent 32%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.14), transparent 35%),
    linear-gradient(180deg, #0a0a18 0%, #050510 100%);
  transform: scale(1.02) translateZ(0);
  animation: slow-breathe 14s ease-in-out infinite alternate;
  overflow: hidden;
  will-change: transform;
  backface-visibility: hidden;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02) translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 3, 7, 0.82), transparent 36%, transparent 58%, rgba(3, 3, 7, 0.62)),
    linear-gradient(180deg, rgba(3, 3, 7, 0.28), transparent 42%, rgba(3, 3, 7, 0.86));
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.16), transparent 40%),
    radial-gradient(circle at 30% 40%, rgba(168, 85, 247, 0.12), transparent 35%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(56vw, 860px);
  margin-left: clamp(22px, 5vw, 96px);
  transition: transform 950ms cubic-bezier(0.65, 0, 0.35, 1), opacity 700ms ease;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--accent);
  background: rgba(115, 136, 223, 0.1);
  border: 1px solid rgba(115, 136, 223, 0.25);
  border-radius: 999px;
  margin-bottom: 24px;
  font-family: var(--font-display);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-size: clamp(40px, 5.5vw, 76px);
}

.text-gradient {
  display: block;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-en {
  display: block;
  margin-top: 10px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.55);
}

/* GradientText 渐变文字动效 */
.gradient-text {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #5b459f, #bc8cb9, #e3d0f1, #5b459f);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-text-flow 3s ease-in-out infinite;
  text-shadow: 0 0 32px rgba(91, 69, 159, 0.25);
}

@keyframes gradient-text-flow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* 兼容旧 DepthText 类名（如存在则隐藏） */
.depth-text-scene,
.depth-text {
  display: none;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.75;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 500;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(115, 136, 223, 0.4);
  transform: translateY(-2px);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary {
  color: #050508;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 12px 32px rgba(115, 136, 223, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(115, 136, 223, 0.35);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.scroll-cue,
.profile-scroll,
.catalog-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
  animation: cue 1.8s ease-in-out infinite;
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.scroll-cue:hover,
.profile-scroll:hover,
.catalog-scroll:hover {
  color: #fff;
  border-color: var(--accent);
  filter: drop-shadow(0 0 18px rgba(115, 136, 223, 0.55));
  transform: translateX(-50%) scale(1.12);
}

/* Reveal animations */
.reveal-ready .hero-copy,
.reveal-ready .scroll-cue,
.reveal-ready .profile-heading,
.reveal-ready .profile-lead,
.reveal-ready .strength-card,
.reveal-ready .profile-tools,
.reveal-ready .profile-experience,
.reveal-ready .catalog-heading,
.reveal-ready .catalog-card,
.reveal-ready .catalog-scroll,
.reveal-ready .project-sidebar,
.reveal-ready .project-artboard,
.reveal-ready .project-jump,
.reveal-ready .contact-content,
.reveal-ready .footer {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.98);
  transition:
    opacity 460ms ease,
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-ready .scroll-cue,
.reveal-ready .profile-scroll,
.reveal-ready .catalog-scroll {
  transform: translate3d(-50%, 34px, 0) scale(0.98);
}

.reveal-ready .project-sidebar {
  transform: translate3d(-34px, 0, 0) scale(0.98);
}

.reveal-ready .project-jump {
  transform: translate3d(34px, 0, 0) scale(0.98);
}

.reveal-ready .is-revealed .hero-copy,
.reveal-ready .is-revealed .scroll-cue,
.reveal-ready .is-revealed .profile-heading,
.reveal-ready .is-revealed .profile-lead,
.reveal-ready .is-revealed .strength-card,
.reveal-ready .is-revealed .profile-tools,
.reveal-ready .is-revealed .profile-experience,
.reveal-ready .is-revealed .catalog-heading,
.reveal-ready .is-revealed .catalog-card,
.reveal-ready .is-revealed .project-sidebar,
.reveal-ready .is-revealed .project-artboard,
.reveal-ready .is-revealed .project-jump,
.reveal-ready .is-revealed .contact-content,
.reveal-ready .is-revealed .footer {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-ready .is-revealed .scroll-cue,
.reveal-ready .is-revealed .profile-scroll,
.reveal-ready .is-revealed .catalog-scroll {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
}

.reveal-ready .is-revealed .hero-copy,
.reveal-ready .is-revealed .profile-heading,
.reveal-ready .is-revealed .catalog-heading,
.reveal-ready .is-revealed .project-sidebar {
  transition-delay: 40ms;
}

.reveal-ready .is-revealed .profile-lead,
.reveal-ready .is-revealed .catalog-card:nth-child(1),
.reveal-ready .is-revealed .project-artboard {
  transition-delay: 120ms;
}

.reveal-ready .is-revealed .strength-card:nth-child(1),
.reveal-ready .is-revealed .strength-card:nth-child(2),
.reveal-ready .is-revealed .catalog-card:nth-child(2),
.reveal-ready .is-revealed .project-jump {
  transition-delay: 200ms;
}

.reveal-ready .is-revealed .strength-card:nth-child(3),
.reveal-ready .is-revealed .strength-card:nth-child(4),
.reveal-ready .is-revealed .catalog-card:nth-child(3),
.reveal-ready .is-revealed .profile-tools,
.reveal-ready .is-revealed .profile-experience {
  transition-delay: 280ms;
}

.reveal-ready .is-revealed .scroll-cue,
.reveal-ready .is-revealed .profile-scroll,
.reveal-ready .is-revealed .catalog-scroll,
.reveal-ready .is-revealed .footer {
  transition-delay: 360ms;
}

/* Profile */
.profile-screen,
.catalog-screen,
.contact-screen {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.profile-screen,
.contact-screen {
  min-height: 100vh;
  min-height: 100svh;
}

.profile-bg,
.catalog-bg,
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-bg {
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.12), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.1), transparent 35%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 50%, var(--bg-deep) 100%);
}

.profile-shade,
.catalog-shade,
.contact-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 3, 7, 0.2) 0%, rgba(3, 3, 7, 0.55) 52%, rgba(3, 3, 7, 0.82) 100%);
}

.catalog-bg {
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(236, 72, 153, 0.08), transparent 32%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.contact-bg {
  background:
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 40%),
    linear-gradient(180deg, var(--bg-deep) 0%, #000 100%);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.profile-content {
  padding: clamp(110px, 14vh, 170px) clamp(22px, 5vw, 96px) clamp(80px, 10vh, 130px);
  max-width: 1400px;
  margin: 0 auto;
}

.profile-lead {
  max-width: 820px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.75;
}

.profile-identity {
  margin-top: 32px;
  padding: 28px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.profile-name {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
}

.profile-name-en {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--muted);
}

.profile-role {
  margin: 0 0 16px;
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--accent);
  font-weight: 500;
}

.profile-summary {
  max-width: 820px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.8;
}

.profile-pills {
  flex-wrap: wrap;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.strength-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.strength-card:hover {
  background: var(--surface-hover);
  border-color: var(--line-strong);
  transform: translateY(-6px);
}

.strength-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--accent);
  background: rgba(115, 136, 223, 0.1);
  border-radius: 12px;
}

.strength-icon svg {
  width: 22px;
  height: 22px;
}

.strength-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.strength-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.profile-tools {
  margin-top: 40px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tool-label {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-tags span {
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  transition: background 180ms ease, border-color 180ms ease;
}

.tool-tags span:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.35);
}

.profile-experience {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 96px) clamp(80px, 10vh, 130px);
}

.profile-experience h3,
.profile-edu h3 {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  position: relative;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 180ms ease, border-color 180ms ease;
}

.timeline-item:hover {
  background: var(--surface-hover);
  border-color: var(--line-strong);
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.timeline-date {
  padding: 4px 10px;
  background: rgba(115, 136, 223, 0.1);
  border: 1px solid rgba(115, 136, 223, 0.2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

.timeline-company {
  font-size: 17px;
  font-weight: 700;
}

.timeline-role {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
}

.timeline-item > p {
  margin: 0;
  color: var(--muted-deep);
  font-size: 14px;
}

.profile-edu {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 clamp(22px, 5vw, 96px);
}

.profile-edu p {
  margin: 0;
  color: var(--muted);
}

/* Catalog */
.catalog-heading {
  padding: clamp(110px, 14vh, 170px) clamp(22px, 5vw, 96px) 40px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.catalog-heading p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.7;
}

.catalog-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 96px) clamp(100px, 12vh, 160px);
}

.catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease-out, border-color 220ms ease, box-shadow 220ms ease;
}

.catalog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(115, 136, 223, 0.3);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4), 0 0 32px rgba(115, 136, 223, 0.1);
}

.card-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.12), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.1), transparent 45%);
  transition: opacity 220ms ease;
}

.catalog-card:hover .card-glow {
  opacity: 1;
}

/* BorderGlow 边缘发光动效 */
.catalog-card {
  --bglow-x: 50%;
  --bglow-y: 50%;
  --bglow-opacity: 0;
}

.catalog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--bglow-x) var(--bglow-y),
    rgba(192, 132, 252, calc(0.9 * var(--bglow-opacity))),
    rgba(244, 114, 182, calc(0.55 * var(--bglow-opacity))),
    rgba(56, 189, 248, calc(0.25 * var(--bglow-opacity))),
    transparent 40px
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: source-out;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.card-tag {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--accent);
  background: rgba(115, 136, 223, 0.08);
  border: 1px solid rgba(115, 136, 223, 0.18);
  border-radius: 999px;
  width: fit-content;
}

.catalog-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.catalog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.card-meta span {
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.view-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  transition: gap 180ms ease;
}

.catalog-card:hover .view-link {
  gap: 14px;
}

.view-link svg {
  transition: transform 180ms ease;
}

.catalog-card:hover .view-link svg {
  transform: translateX(4px);
}

/* Project screens */
.project-screen {
  position: relative;
  display: grid;
  grid-template-columns: clamp(200px, 17vw, 300px) minmax(0, 1fr) clamp(64px, 7vw, 120px);
  gap: clamp(20px, 2.5vw, 42px);
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(90px, 10vh, 140px) clamp(22px, 4vw, 80px) clamp(40px, 5vh, 70px);
  background: var(--bg);
}

.project-sidebar {
  position: sticky;
  top: clamp(40px, 7vh, 90px);
  align-self: start;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - clamp(80px, 14vh, 180px));
  max-height: calc(100svh - clamp(80px, 14vh, 180px));
  padding-top: 8px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 14px;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 600;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.back-link:hover {
  color: #fff;
  border-color: rgba(115, 136, 223, 0.4);
  transform: translateX(-4px);
}

.project-toc {
  display: grid;
  gap: 8px;
  overflow-y: auto;
  padding-right: 8px;
  font-family: var(--font-display);
  scrollbar-width: thin;
  scrollbar-color: rgba(115, 136, 223, 0.45) rgba(255, 255, 255, 0.06);
}

.project-toc::-webkit-scrollbar {
  width: 5px;
}

.project-toc::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.project-toc::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(115, 136, 223, 0.45);
}

.project-toc a {
  position: relative;
  display: block;
  padding: 11px 14px 11px 22px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 600;
  line-height: 1.2;
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease, background 180ms ease;
}

.project-toc a::before {
  position: absolute;
  left: 8px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: translateY(-50%) scale(0.4);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.project-toc a:hover,
.project-toc a.is-current {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
  text-shadow: 0 0 18px rgba(115, 136, 223, 0.22);
}

.project-toc a:hover::before,
.project-toc a.is-current::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  box-shadow: 0 0 14px rgba(115, 136, 223, 0.6);
}

.project-artboard {
  align-self: start;
  display: grid;
  gap: 28px;
}

.project-panel {
  padding: clamp(32px, 4vh, 54px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.project-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.panel-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(115, 136, 223, 0.14), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(132, 101, 255, 0.1), transparent 30%);
}

.project-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--accent);
  background: rgba(115, 136, 223, 0.08);
  border: 1px solid rgba(115, 136, 223, 0.18);
  border-radius: 999px;
  font-family: var(--font-display);
}

.project-hero h2 {
  margin-bottom: 8px;
  font-size: clamp(32px, 4vw, 56px);
}

.project-subtitle {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 500;
}

.project-lead {
  max-width: 820px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.75;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.project-meta {
  padding: 18px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.project-meta strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.project-meta span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 26px;
}

.num {
  min-width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(115, 136, 223, 0.25);
  flex-shrink: 0;
}

.section-head h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.panel-text {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.8;
}

.triple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.panel-card {
  padding: 22px 24px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: background 180ms ease, border-color 180ms ease;
}

.panel-card:hover {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.14);
}

.panel-card h4 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
}

.panel-card ul,
.panel-card ol {
  padding-left: 18px;
  margin: 10px 0 0;
}

.panel-card li {
  margin: 6px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.panel-card.soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.goal-board {
  display: grid;
  grid-template-columns: 0.5fr 1fr 1fr 1fr;
  overflow: hidden;
  margin-top: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.goal-col {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.goal-col:last-child {
  border-right: none;
}

.goal-col.dark {
  background: linear-gradient(180deg, #1e3a8a, #1e1b4b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}

.goal-col h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.goal-col p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.principles span {
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.research-strip,
.process-steps,
.ai-board {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px;
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.research-strip div,
.process-steps div,
.ai-node {
  flex: 1;
  padding: 16px;
  text-align: center;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
}

.ai-node {
  background: linear-gradient(135deg, rgba(115, 136, 223, 0.15), rgba(132, 101, 255, 0.12));
  border-color: rgba(115, 136, 223, 0.18);
}

.arrow {
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
}

.quote-card {
  padding: 28px 32px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(115, 136, 223, 0.12), rgba(132, 101, 255, 0.1));
  border: 1px solid rgba(115, 136, 223, 0.2);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

.quote-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pain-item {
  padding: 22px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease;
}

.pain-item:hover {
  transform: translateY(-4px);
  border-color: rgba(132, 101, 255, 0.3);
}

.pain-item h4 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--accent-pink);
}

.pain-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.solution-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.solution-card {
  padding: 26px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(115, 136, 223, 0.25);
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.8px;
  color: var(--accent);
  background: rgba(115, 136, 223, 0.08);
  border: 1px solid rgba(115, 136, 223, 0.15);
  border-radius: 999px;
}

.solution-card h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.before-after .panel-card:first-child h4 {
  color: var(--muted);
}

.before-after .panel-card:last-child h4 {
  color: var(--accent);
}

.value-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.value-metric {
  padding: 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(115, 136, 223, 0.12), rgba(132, 101, 255, 0.1));
  border: 1px solid rgba(115, 136, 223, 0.15);
  border-radius: var(--radius);
}

.value-metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.value-metric span {
  font-size: 13px;
  color: var(--muted);
}

.project-jump {
  position: sticky;
  top: 45%;
  align-self: start;
  display: grid;
  gap: 16px;
  justify-items: center;
  padding-top: 45vh;
}

.project-jump a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.project-jump a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(115, 136, 223, 0.35);
  transform: translateY(-4px) scale(1.08);
}

/* Contact */
.contact-content {
  padding: clamp(110px, 14vh, 170px) clamp(22px, 5vw, 96px) 60px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact-heading h2 {
  margin-bottom: 16px;
}

.contact-lead {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.3vw, 20px);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 48px auto 0;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(115, 136, 223, 0.3);
  background: var(--surface-hover);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(115, 136, 223, 0.1);
  border-radius: 14px;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.contact-card span {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px clamp(22px, 5vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer strong {
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
}

/* Modal */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.contact-modal-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 460px);
  padding: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: translateY(18px) scale(0.96);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-modal.is-open .contact-modal-panel {
  transform: translateY(0) scale(1);
}

.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-heading h3 {
  margin: 0;
  font-size: 22px;
}

.contact-modal-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.modal-body p {
  margin: 0 0 24px;
  color: var(--muted);
}

.modal-contact-list {
  display: grid;
  gap: 12px;
}

.modal-contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 180ms ease, border-color 180ms ease;
}

.modal-contact-item:hover {
  background: var(--surface-hover);
  border-color: rgba(115, 136, 223, 0.25);
}

.modal-contact-item span {
  color: var(--muted);
  font-size: 14px;
}

.modal-contact-item strong {
  color: #fff;
  font-size: 15px;
}

/* Keyframes */
@keyframes slow-breathe {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-0.5%, -0.4%, 0);
  }
}

@keyframes cue {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  body::after {
    display: none;
  }

  .catalog-card:hover,
  .strength-card:hover,
  .project-jump a:hover {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .triple-grid,
  .solution-stack,
  .pain-grid,
  .value-metrics,
  .project-meta-grid,
  .goal-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .goal-col.dark {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding: 18px 24px;
  }

  .goal-col {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .goal-col:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    gap: 16px;
  }

  .quick-nav {
    max-width: min(65vw, 520px);
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .quick-nav::-webkit-scrollbar {
    display: none;
  }

  .quick-nav a {
    flex: 0 0 auto;
    min-height: 32px;
    padding-inline: 12px;
  }

  .hero-copy {
    width: calc(100% - 44px);
    margin: 0 22px;
    align-self: end;
    padding-bottom: 110px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .profile-content,
  .profile-experience,
  .profile-edu,
  .catalog-heading,
  .catalog-cards,
  .contact-content {
    padding-left: 22px;
    padding-right: 22px;
  }

  .strength-grid,
  .catalog-cards,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .project-screen {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 80px 18px 24px;
  }

  .project-sidebar {
    position: static;
    display: grid;
    min-height: 0;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding-top: 0;
  }

  .project-toc {
    display: flex;
    max-height: none;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 2px;
  }

  .project-toc a {
    flex: 0 0 auto;
    padding: 10px 14px 10px 20px;
    font-size: 14px;
  }

  .back-link {
    width: auto;
  }

  .project-jump {
    position: fixed;
    right: 16px;
    bottom: 24px;
    top: auto;
    z-index: 12;
    gap: 12px;
    padding-top: 0;
  }

  .footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-header nav,
  .quick-nav {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: 760px;
  }

  .hero-bg {
    background-position: 50% center;
  }

  .hero-bg-video {
    object-position: 50% center;
  }

  h1 {
    font-size: clamp(36px, 10vw, 56px);
  }

  .title-en {
    font-size: 16px;
  }

  .lead {
    font-size: 16px;
  }

  .triple-grid,
  .solution-stack,
  .pain-grid,
  .value-metrics,
  .project-meta-grid {
    grid-template-columns: 1fr;
  }

  .goal-board {
    grid-template-columns: 1fr;
  }

  .goal-col {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .goal-col:last-child {
    border-bottom: none;
  }

  .research-strip,
  .process-steps,
  .ai-board {
    flex-direction: column;
  }

  .research-strip div,
  .process-steps div,
  .ai-node {
    width: 100%;
  }

  .arrow {
    transform: rotate(90deg);
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .project-panel {
    padding: 24px;
  }

  .contact-card {
    padding: 18px;
  }
}


/* Smooth reveal animations - default visible, animate in on scroll */
.reveal-ready .profile-screen,
.reveal-ready .catalog-screen,
.reveal-ready .contact-screen {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-ready .profile-screen.is-revealed,
.reveal-ready .catalog-screen.is-revealed,
.reveal-ready .contact-screen.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero and project screens are always visible */
.reveal-ready .hero,
.reveal-ready .project-screen {
  opacity: 1;
  transform: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .profile-screen,
  .reveal-ready .catalog-screen,
  .reveal-ready .contact-screen {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Reference layout extras ---------- */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(18px, 3vw, 36px) clamp(22px, 5vw, 96px);
  pointer-events: none;
}

.top-bar-left {
  font-family: var(--font-display);
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.top-bar-left strong {
  display: block;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 3px;
  color: #fff;
  font-weight: 700;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.top-bar-right::after {
  content: ">>>";
  letter-spacing: 2px;
  color: var(--accent);
}

.hero-copy {
  align-self: center;
  text-align: left;
}

.hero-copy h1 {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-category-tags span {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(28px, 4vw, 60px);
  margin-top: 36px;
}

.profile-photo-card {
  display: grid;
  gap: 18px;
  align-content: start;
  justify-items: center;
}

.profile-photo {
  width: 100%;
  max-width: 168px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  outline: 2px solid rgba(115, 136, 223, 0.22);
  outline-offset: 6px;
  background: #ffffff;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 300ms ease;
}

.profile-photo:hover img {
  transform: scale(1.04);
}

.profile-quick-info {
  display: grid;
  gap: 10px;
  width: 100%;
}

.profile-quick-info div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.profile-quick-info strong {
  color: #fff;
  font-weight: 500;
}

.profile-wechat {
  display: grid;
  gap: 14px;
  justify-items: center;
  width: 100%;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}

.profile-wechat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.profile-wechat img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

.wechat-label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.profile-main h3 {
  margin: 0 0 16px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
}

.profile-experience-compact {
  display: grid;
  gap: 14px;
}

.exp-compact-item {
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.exp-compact-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.exp-compact-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.software-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.software-skills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.software-skills svg {
  width: 16px;
  height: 16px;
}

.catalog-number {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.catalog-card h3 {
  margin-top: 0;
}

.thanks-screen {
  position: relative;
  min-height: 60vh;
  min-height: 60svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-deep);
}

.thanks-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 20%, rgba(115, 136, 223, 0.1), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(132, 101, 255, 0.08), transparent 40%);
}

.thanks-content {
  text-align: left;
  width: min(90vw, 1200px);
  padding: clamp(60px, 10vh, 120px) clamp(22px, 5vw, 96px);
}

.thanks-content h2 {
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
}

.thanks-content h2 span {
  display: block;
}

.thanks-arc {
  position: absolute;
  right: -5vw;
  bottom: -10vw;
  width: 40vw;
  height: 40vw;
  border: 3vw solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(-45deg);
  pointer-events: none;
}

@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-photo-card {
    max-width: 280px;
    margin: 0 auto;
  }

  .profile-photo {
    max-width: 148px;
  }

  .profile-wechat img {
    max-width: 200px;
  }
}

/* ===== Catalog groups: B 端 / C 端 / AIGC ===== */
.catalog-groups {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 96px) clamp(100px, 12vh, 160px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vh, 72px);
}

.catalog-group {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.catalog-group + .catalog-group {
  padding-top: clamp(32px, 4vh, 56px);
  border-top: 1px solid var(--line);
}

.catalog-group-head {
  margin-bottom: 0;
}

.group-index {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.catalog-group-head h3 {
  margin: 10px 0 8px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.3;
}

.catalog-group-head p {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.7;
}

.catalog-group .catalog-cards {
  padding: 0;
}

.catalog-cards.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-cards.cols-1 {
  grid-template-columns: 1fr;
}

.catalog-card-static {
  cursor: default;
}

.catalog-card-static:hover {
  transform: none;
}

.catalog-card-static:hover .view-link {
  gap: 8px;
}

.view-link.static-hint {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

@media (max-width: 1200px) {
  .catalog-group {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .catalog-group-head {
    margin-bottom: 0;
  }
}

@media (max-width: 900px) {
  .catalog-groups {
    padding-left: 22px;
    padding-right: 22px;
  }

  .catalog-cards.cols-2 {
    grid-template-columns: 1fr;
  }
}

/* ===== 顶部导航下拉：B 端 / C 端 / AIGC ===== */
.nav-item.has-dropdown {
  position: relative;
  display: inline-flex;
}

.nav-item.has-dropdown > a .nav-caret {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  transition: transform 200ms ease;
}

.nav-item.has-dropdown:hover > a .nav-caret,
.nav-item.has-dropdown:focus-within > a .nav-caret {
  transform: rotate(180deg);
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 300px;
  max-height: min(60vh, 430px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 12px 12px;
  background: rgba(14, 16, 26, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 200ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1), visibility 200ms;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.nav-panel::-webkit-scrollbar {
  width: 4px;
}

.nav-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.nav-item.has-dropdown:hover .nav-panel,
.nav-item.has-dropdown:focus-within .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* 卡片：随面板整体展开（面板自身有渐入+上移动画，卡片不做逐张动画，避免层叠错位） */
.nav-card {
  display: block;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

/* 覆盖 .quick-nav a 的胶囊样式 */
.quick-nav a.nav-card {
  display: block;
  min-height: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
  white-space: normal;
  font-weight: 400;
  text-align: left;
}

.quick-nav a.nav-card::after {
  content: none;
}

.quick-nav a.nav-card:hover,
.quick-nav a.nav-card:focus-visible {
  color: #fff;
  border-color: rgba(115, 136, 223, 0.45);
  background: rgba(115, 136, 223, 0.1);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(115, 136, 223, 0.12);
  transform: translateY(-2px);
}

.nav-card .nav-card-tag {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.nav-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.nav-card p {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.nav-card.is-here {
  border-color: rgba(115, 136, 223, 0.5);
  background: rgba(115, 136, 223, 0.08);
}

.nav-card.is-here .nav-card-tag::after {
  content: "· 当前案例";
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.45);
}

.nav-card.is-static {
  cursor: default;
}

@media (max-width: 900px) {
  .nav-panel {
    display: none;
  }
}

/* ===== 作品目录：自动轮动卡片流 ===== */
.group-count {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

.work-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.work-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: work-scroll var(--dur, 30s) linear infinite;
}

.work-track.is-reverse {
  animation-direction: reverse;
}

.work-marquee:hover .work-track,
.work-marquee:focus-within .work-track {
  animation-play-state: paused;
}

@keyframes work-scroll {
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.work-card {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  min-height: 168px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 180ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

a.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(115, 136, 223, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4), 0 0 24px rgba(115, 136, 223, 0.08);
}

.work-card-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.work-card strong {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.work-card p {
  flex: 1;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.work-card-arrow {
  margin-top: 12px;
  font-size: 14px;
  color: var(--accent);
  transition: transform 180ms ease;
}

a.work-card:hover .work-card-arrow {
  transform: translateX(4px);
}

.work-card.is-ghost {
  align-items: center;
  justify-content: center;
  text-align: center;
  border-style: dashed;
  background: transparent;
  cursor: default;
}

.work-card.is-ghost p {
  flex: 0;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 900px) {
  .work-card {
    width: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-track {
    animation: none;
  }

  .work-marquee {
    overflow-x: auto;
  }
}

/* ===== 详情页侧栏「联系我」：参考首页查看作品按钮 ===== */
.project-sidebar .back-link.contact-trigger {
  color: #050508;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(115, 136, 223, 0.25);
  font-weight: 700;
}

.project-sidebar .back-link.contact-trigger:hover {
  color: #050508;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(115, 136, 223, 0.38);
}

/* ===== 导航下拉分组标签 ===== */
.nav-panel-label {
  display: block;
  flex: 0 0 auto;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.38);
}

.nav-panel-label:not(:first-child) {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== 案例页 · 监管上报（Figma 内容替换）新增样式 ===== */

/* Hero 四宫格：项目概述 / 用户痛点 / 市场机会 / 业务目标 */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.hero-fact {
  padding: 22px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease;
}

.hero-fact:hover {
  transform: translateY(-4px);
  border-color: rgba(115, 136, 223, 0.3);
}

.hero-fact-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(115, 136, 223, 0.18), rgba(132, 101, 255, 0.12));
  border: 1px solid rgba(115, 136, 223, 0.22);
  border-radius: 12px;
}

.hero-fact-icon svg {
  width: 20px;
  height: 20px;
}

.hero-fact h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.hero-fact p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* 截图框 */
.shot-hero,
.shot-frame {
  margin: 0;
}

.shot-hero {
  margin-top: 32px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.shot-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--line);
}

.shot-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.shot-dot:nth-child(1) {
  background: rgba(255, 120, 120, 0.6);
}

.shot-dot:nth-child(2) {
  background: rgba(255, 200, 110, 0.6);
}

.shot-dot:nth-child(3) {
  background: rgba(120, 220, 160, 0.55);
}

.shot-url {
  margin-left: 8px;
  padding: 4px 14px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 999px;
  font-size: 12px;
}

.shot-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-hero figcaption,
.shot-frame figcaption {
  padding: 14px 18px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
}

.shot-frame {
  justify-self: center;
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 200ms ease, border-color 200ms ease;
}

.shot-frame:hover {
  transform: translateY(-3px);
  border-color: rgba(115, 136, 223, 0.3);
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-frame.is-wide {
  margin-bottom: 24px;
}

.shot-frame.is-narrow {
  max-width: 792px;
}

/* 设计目标：中心环 + 四象限目标 */
.goal-ring {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  margin: 10px 0 22px;
  background:
    radial-gradient(circle at 18% 50%, rgba(115, 136, 223, 0.14), transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.goal-ring-center {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  width: 100%;
  aspect-ratio: 1;
  text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(115, 136, 223, 0.3), rgba(51, 61, 167, 0.2) 58%, transparent 74%);
  border: 1px solid rgba(115, 136, 223, 0.28);
  border-radius: 999px;
  box-shadow: var(--shadow-glow);
}

.goal-ring-center span {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.goal-ring-center strong {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
}

.goal-ring-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.goal-node {
  padding: 20px 22px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease;
}

.goal-node:hover {
  transform: translateY(-4px);
  border-color: rgba(115, 136, 223, 0.32);
}

.goal-code {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.goal-node h4 {
  margin: 0 0 8px;
  font-size: 17px;
}

.goal-node p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* 用户画像 */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.persona-card {
  padding: 24px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease;
}

.persona-card:hover {
  transform: translateY(-5px);
  border-color: rgba(132, 101, 255, 0.3);
}

.persona-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.persona-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(115, 136, 223, 0.2), rgba(132, 101, 255, 0.14));
  border: 1px solid rgba(115, 136, 223, 0.24);
  border-radius: 999px;
}

.persona-avatar svg {
  width: 22px;
  height: 22px;
}

.persona-head strong {
  display: block;
  font-size: 17px;
}

.persona-head span {
  color: var(--muted);
  font-size: 13px;
}

.persona-rows {
  display: grid;
  gap: 12px;
  margin: 0;
}

.persona-rows > div {
  display: grid;
  gap: 4px;
}

.persona-rows dt {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.persona-rows dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  line-height: 1.65;
}

/* 体验地图四阶段 */
.journey-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.journey-card {
  padding: 22px;
  background: linear-gradient(180deg, rgba(115, 136, 223, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(115, 136, 223, 0.16);
  border-radius: var(--radius);
}

.journey-idx {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.journey-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.journey-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.sub-label {
  margin: 30px 0 14px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* 旅程地图表格 */
.jm-scroll {
  overflow-x: auto;
  padding-bottom: 6px;
  border-radius: var(--radius);
  scrollbar-width: thin;
  scrollbar-color: rgba(115, 136, 223, 0.45) rgba(255, 255, 255, 0.06);
}

.jm-scroll::-webkit-scrollbar {
  height: 6px;
}

.jm-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.jm-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(115, 136, 223, 0.45);
}

.jm-table {
  width: 100%;
  min-width: 940px;
  border-collapse: separate;
  border-spacing: 6px;
}

.jm-table th,
.jm-table td {
  padding: 14px 16px;
  border-radius: 12px;
  text-align: left;
  vertical-align: top;
  font-size: 13.5px;
  line-height: 1.6;
}

.jm-table thead th {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.jm-table thead th:first-child {
  background: linear-gradient(135deg, #1e1b4b, var(--accent-deep));
}

.jm-table tbody th {
  width: 96px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(115, 136, 223, 0.14);
  border: 1px solid rgba(115, 136, 223, 0.2);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}

.jm-table tbody td {
  color: var(--muted);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.jm-table tbody tr:hover td {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(115, 136, 223, 0.24);
}

.jm-table .jm-emotion td {
  text-align: center;
}

.mood {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}

.mood.up {
  color: #7ee0b8;
  background: rgba(110, 231, 183, 0.12);
  border: 1px solid rgba(110, 231, 183, 0.28);
}

.mood.down {
  color: var(--accent-gold);
  background: rgba(244, 196, 86, 0.12);
  border: 1px solid rgba(244, 196, 86, 0.28);
}

.mood.low {
  color: #ff9a9a;
  background: rgba(255, 120, 120, 0.12);
  border: 1px solid rgba(255, 120, 120, 0.28);
}

.jm-table .jm-opp td {
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, rgba(115, 136, 223, 0.12), rgba(0, 0, 0, 0.22));
}

/* 解决方案区块（文案 + 截图） */
.sol-block {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  margin-bottom: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.sol-block.is-reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.sol-copy h4 {
  margin: 0 0 12px;
  font-size: 22px;
}

.sol-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

/* AI 可信填报闭环 */
.ai-loop {
  padding: 26px 28px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(115, 136, 223, 0.14), rgba(132, 101, 255, 0.1));
  border: 1px solid rgba(115, 136, 223, 0.2);
  border-radius: var(--radius);
}

.ai-loop-label {
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
}

.ai-loop-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ai-loop-flow span {
  padding: 9px 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(115, 136, 223, 0.24);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.ai-loop-flow i {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

.ai-loop p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

/* Key Screens 页面展示 */
.key-screen {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  margin-bottom: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.key-screen.is-reverse {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

/* 宽幅截图（如填报项分配列表）：图上文下，避免窄列把宽图压到看不清 */
.key-screen.is-stacked {
  grid-template-columns: 1fr;
  gap: 22px;
}

.key-screen-copy h4 {
  margin: 0 0 12px;
  font-size: 21px;
}

.key-screen-copy ul {
  padding-left: 18px;
  margin: 0;
}

.key-screen-copy li {
  margin: 7px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* 案例收尾 */
.case-closing {
  text-align: center;
}

.closing-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.case-closing h3 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 40px);
}

.closing-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 18px);
}

.closing-contact a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 180ms ease;
}

.closing-contact a:hover {
  color: var(--accent);
}

.closing-sign {
  margin: 0;
  color: var(--muted-deep);
  font-size: 13px;
}

/* 监管报送全流程（六步链路） */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-step {
  position: relative;
  padding: 20px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease;
}

.flow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(115, 136, 223, 0.3);
}

/* 步骤之间的连接线 */
.flow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 14px;
  height: 1px;
  background: rgba(115, 136, 223, 0.34);
}

.flow-step:last-child::after {
  display: none;
}

.flow-idx {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.flow-step h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

/* 设计规范与组件 */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.spec-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* 三列表格/字阶用自定义列表，需覆盖 .panel-card ul/li 默认缩进 */
.panel-card .swatch-list,
.panel-card .type-scale {
  padding: 0;
  margin: 0;
  list-style: none;
}

.panel-card .swatch-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 9px 0;
  font-size: 13px;
}

.swatch {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
}

.swatch-list span {
  flex: 1 1 auto;
  color: var(--muted);
}

.swatch-list code {
  color: rgba(255, 255, 255, 0.62);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
}

.panel-card .type-scale li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  margin: 0;
  color: var(--muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
}

.panel-card .type-scale li:last-child {
  border-bottom: 0;
}

.type-scale span {
  min-width: 34px;
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
}

.comp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comp-tags span {
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(115, 136, 223, 0.1);
  border: 1px solid rgba(115, 136, 223, 0.2);
  border-radius: 999px;
  font-size: 12.5px;
}

/* 横向溢出修复：grid / flex 子项默认 min-width:auto，
   会被宽内容（旅程地图表格 min-width、横向目录条、宽截图）撑破容器，
   导致整页出现横向滚动。统一把这类全宽容器的最小宽度放开。 */
.project-screen,
.project-sidebar,
.project-artboard,
.project-panel,
.project-toc,
.jm-scroll,
.sol-block,
.sol-copy,
.key-screen,
.key-screen-copy,
.goal-ring,
.persona-grid,
.journey-strip,
.hero-facts,
.flow-steps,
.flow-step,
.spec-grid,
.comp-tags {
  min-width: 0;
}

/* 案例页新增模块响应式 */
@media (max-width: 1200px) {
  .hero-facts,
  .journey-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .persona-grid,
  .goal-ring {
    grid-template-columns: 1fr;
  }

  .goal-ring-center {
    max-width: 240px;
    margin: 0 auto;
  }

  /* 六步链路换行后连接线会悬空，直接隐藏 */
  .flow-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-step::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .sol-block,
  .sol-block.is-reverse,
  .key-screen,
  .key-screen.is-reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-facts,
  .journey-strip,
  .goal-ring-grid {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .goal-ring,
  .sol-block,
  .key-screen {
    padding: 20px;
  }

  .shot-url {
    display: none;
  }
}

/* ===== 案例页 · 监管上报（对齐 Group 14 定稿） ===== */

/* 封面：左文右图 */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

/* 覆盖首页 .hero-copy 的宽度/外边距，避免文案溢出压到主视觉上 */
.hero-split .hero-copy {
  width: auto;
  margin-left: 0;
}

/* 封面主视觉（品牌插画，非界面截图，不做浏览器外框） */
.hero-visual {
  margin: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual figcaption {
  padding: 14px 18px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
}

/* 01 项目背景 · 设计依据（痛点）标签 */
.basis-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.basis-item {
  position: relative;
  max-width: 100%;
  padding: 14px 20px 14px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13.5px;
  line-height: 1.6;
  transition: transform 180ms ease, border-color 180ms ease;
}

.basis-item:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 196, 86, 0.4);
}

.basis-item::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 10px;
  width: 3px;
  border-radius: 2px;
  background: var(--accent-gold);
}

/* 03 调研与洞察 · 洞察图 */
.insight-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 26px;
}

.insight-col {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.insight-col h5 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 16px;
}

.insight-col h5 span {
  padding: 2px 9px;
  color: var(--accent);
  background: rgba(115, 136, 223, 0.1);
  border: 1px solid rgba(115, 136, 223, 0.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.insight-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.insight-chips span {
  padding: 7px 13px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.insight-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 22px 16px;
  text-align: center;
  background: linear-gradient(160deg, rgba(115, 136, 223, 0.2), rgba(132, 101, 255, 0.12));
  border: 1px solid rgba(115, 136, 223, 0.28);
  border-radius: var(--radius);
}

.insight-eyebrow {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.insight-center strong {
  font-size: 26px;
  letter-spacing: 0.06em;
}

.insight-center em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.insight-axis {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 22px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* 07 页面展示 · 子板块（标题 + 导语 + 截图 + ⚡要点） */
.key-block {
  padding: 26px;
  margin-bottom: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.key-block-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.key-dot {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--accent), #8465ff);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(115, 136, 223, 0.14);
}

.key-block-head h4 {
  margin: 0;
  font-size: 21px;
}

.key-block-lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.key-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 22px;
  align-items: start;
}

.key-grid.is-reverse {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

.key-extra {
  margin-top: 18px;
}

.anno-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.anno {
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.anno:hover {
  transform: translateX(3px);
  border-color: rgba(115, 136, 223, 0.3);
}

.anno h5 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  font-size: 14.5px;
  line-height: 1.4;
}

.anno h5 i {
  flex: 0 0 auto;
  color: var(--accent-gold);
  font-style: normal;
  font-size: 13px;
}

.anno p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* 新增模块不撑破容器 */
.hero-split,
.hero-visual,
.basis-list,
.insight-map,
.insight-col,
.insight-chips,
.insight-axis,
.key-block,
.key-grid,
.anno-list {
  min-width: 0;
}

@media (max-width: 1200px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .insight-map {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .insight-center {
    grid-column: 1 / -1;
    order: -1;
    flex-direction: row;
    gap: 14px;
  }

  .key-grid,
  .key-grid.is-reverse {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .insight-map {
    grid-template-columns: 1fr;
  }

  .key-block {
    padding: 20px;
  }
}

/* ===== 案例页 · AI 可信填报（新增章节） ===== */

/* AI 能力边界三档卡片 */
.panel-card.ai-scope {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel-card.ai-scope .badge {
  align-self: flex-start;
  margin-bottom: 0;
}

.panel-card.ai-scope.is-auto .badge {
  color: #7ee0b8;
  background: rgba(110, 231, 183, 0.1);
  border-color: rgba(110, 231, 183, 0.26);
}

.panel-card.ai-scope.is-assist .badge {
  color: var(--accent);
  background: rgba(115, 136, 223, 0.1);
  border-color: rgba(115, 136, 223, 0.26);
}

.panel-card.ai-scope.is-human .badge {
  color: var(--accent-gold);
  background: rgba(244, 196, 86, 0.1);
  border-color: rgba(244, 196, 86, 0.26);
}

.panel-card.ai-scope h4 {
  margin: 0;
}

.panel-card.ai-scope p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.68;
}

.panel-card.ai-scope ul {
  padding-left: 16px;
  margin: 0;
}

.panel-card.ai-scope li {
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.6;
}

/* AI 功能设计自查五问 */
.ai-check {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.ai-check li {
  display: grid;
  grid-template-columns: minmax(112px, 168px) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.ai-check li:hover {
  transform: translateX(3px);
  border-color: rgba(115, 136, 223, 0.3);
}

.ai-check strong {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ai-check span {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.68;
}

.ai-scope,
.ai-check,
.ai-check li {
  min-width: 0;
}

/* 竖版截图：改为图上文下，避免窄列把图压到看不清 */
.key-grid.is-stacked {
  grid-template-columns: 1fr;
  gap: 18px;
}

.key-grid.is-stacked .anno-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .key-grid.is-stacked .anno-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .ai-check li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ============================================================
   风险管控平台案例页 · 三层递进框架（PART 01 / 02 / 03）
   ============================================================ */

/* PART 分节带 */
.part-band {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vh, 62px) clamp(32px, 4vh, 54px);
  text-align: center;
  background: linear-gradient(180deg, rgba(115, 136, 223, 0.1), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(115, 136, 223, 0.18);
  border-radius: var(--radius-lg);
}

.part-ghost {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 7.4vw, 106px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.1em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(115, 136, 223, 0.42);
}

.part-band strong {
  position: relative;
  display: inline-block;
  margin-top: -0.46em;
  padding: 0 22px;
  background: #0b0b13;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.06em;
}

.part-band em {
  display: block;
  margin-top: 10px;
  color: var(--muted-deep);
  font-family: var(--font-display);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* 目录分组标签 */
.project-toc .toc-part {
  display: block;
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--muted-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-toc .toc-part:first-of-type {
  margin-top: 2px;
}

/* 封面主视觉 */
.hero-shot {
  position: relative;
  overflow: hidden;
  margin: 28px 0 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: clamp(220px, 30vw, 400px);
  object-fit: cover;
  object-position: 60% 50%;
}

.hero-shot::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #0b0b13 0%, rgba(11, 11, 19, 0.88) 26%, rgba(11, 11, 19, 0.3) 62%, rgba(11, 11, 19, 0.08) 100%),
    linear-gradient(0deg, rgba(6, 6, 12, 0.88) 0%, rgba(6, 6, 12, 0.24) 40%, transparent 68%);
}

.hero-shot figcaption {
  position: absolute;
  left: clamp(18px, 2.4vw, 34px);
  bottom: clamp(16px, 2vw, 30px);
  z-index: 1;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  font-size: 13px;
  line-height: 1.7;
}

/* 网格扩展 */
.persona-grid.is-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* 四列画像：头像上置，避免姓名在窄列里被折行 */
.persona-grid.is-4 .persona-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.persona-grid.is-4 .persona-head strong {
  font-size: 16px;
}

.persona-grid.is-4 .persona-head span {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
}

.flow-steps.is-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* 调研方法 chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.chip-row span {
  padding: 7px 15px;
  color: var(--accent);
  border: 1px dashed rgba(115, 136, 223, 0.4);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

/* 观察清单 */
.obs-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.obs-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.7;
}

.obs-list li::before {
  position: absolute;
  left: 0;
  top: 12px;
  width: 9px;
  height: 1.5px;
  background: var(--accent);
  content: "";
}

/* 信息架构站点图 */
.ia-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.ia-col > strong {
  display: block;
  padding: 10px 6px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px dashed rgba(115, 136, 223, 0.36);
  font-family: var(--font-display);
  font-size: 14px;
  text-align: center;
}

.ia-node {
  padding: 10px 12px;
  margin-bottom: 9px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
}

.ia-node.is-key {
  color: #c8d5f7;
  background: rgba(115, 136, 223, 0.14);
  border-color: rgba(115, 136, 223, 0.3);
}

/* 状态图例 */
.legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.legend-row b {
  padding: 5px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.legend-row b.is-run {
  color: #b9c8f0;
  background: rgba(115, 136, 223, 0.14);
  border-color: rgba(115, 136, 223, 0.34);
}

.legend-row b.is-warn {
  color: #f0be8c;
  background: rgba(245, 163, 92, 0.12);
  border-color: rgba(245, 163, 92, 0.32);
}

.legend-row b.is-ok {
  color: #8fdcb6;
  background: rgba(78, 203, 143, 0.12);
  border-color: rgba(78, 203, 143, 0.32);
}

.legend-row b.is-hold {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
}

/* ---------- 界面重建（深色适配） ---------- */
.ui-mock {
  overflow: hidden;
  background: #0b0c15;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.ui-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--line);
}

.ui-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ui-dot.r { background: #ff5f57; }
.ui-dot.y { background: #febc2e; }
.ui-dot.g { background: #28c840; }

.ui-bar > span {
  margin-left: 10px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.05em;
}

.ui-body {
  padding: 20px;
}

.ui-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  color: var(--muted-deep);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.ui-tabs .is-on {
  position: relative;
  color: #cbd7f7;
  font-weight: 600;
}

.ui-tabs .is-on::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  content: "";
}

.ui-tabs .ui-btn {
  padding: 7px 15px;
  margin-left: auto;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
}

.ui-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px 88px 92px;
  gap: 10px;
  align-items: center;
  padding: 12px 6px;
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.ui-row:last-child {
  border-bottom: 0;
}

.ui-row.is-head {
  padding-bottom: 10px;
  color: var(--muted-deep);
  border-bottom: 1px solid var(--line-strong);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.ui-st {
  padding: 4px 0;
  border: 1px solid transparent;
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
}

.ui-st.is-warn {
  color: #f0be8c;
  background: rgba(245, 163, 92, 0.12);
  border-color: rgba(245, 163, 92, 0.32);
}

.ui-st.is-run {
  color: #b9c8f0;
  background: rgba(115, 136, 223, 0.14);
  border-color: rgba(115, 136, 223, 0.34);
}

.ui-st.is-ok {
  color: #8fdcb6;
  background: rgba(78, 203, 143, 0.12);
  border-color: rgba(78, 203, 143, 0.32);
}

.ui-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.ui-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-deep);
  font-size: 12.5px;
}

.ui-step i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--muted-deep);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 11px;
}

.ui-step.is-on {
  color: #cbd7f7;
}

.ui-step.is-on i {
  color: #0b0c15;
  background: var(--accent);
  border-color: transparent;
  font-weight: 700;
}

.ui-linex {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.ui-field {
  padding: 15px 18px;
  margin-bottom: 11px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.ui-field small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

.ui-field strong {
  display: block;
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.1;
}

.ui-field em {
  display: block;
  color: var(--muted-deep);
  font-size: 12px;
  font-style: normal;
}

.ui-chk {
  float: right;
  color: #8fdcb6;
  font-size: 12px;
}

.ui-ai {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 16px;
  margin-top: 14px;
  background: linear-gradient(90deg, rgba(115, 136, 223, 0.13), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(115, 136, 223, 0.26);
  border-radius: var(--radius-sm);
}

.ui-ai b {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.ui-ai p {
  margin: 0;
  color: #c3cee8;
  font-size: 12.5px;
  line-height: 1.65;
}

.ui-rec {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.ui-rec > div {
  flex: 1;
}

.ui-rec small {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.ui-rec strong {
  font-family: var(--font-display);
  font-size: 17px;
}

.ui-conf {
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11.5px;
}

.ui-conf.h { color: #8fdcb6; background: rgba(78, 203, 143, 0.12); border-color: rgba(78, 203, 143, 0.3); }
.ui-conf.m { color: #f0be8c; background: rgba(245, 163, 92, 0.12); border-color: rgba(245, 163, 92, 0.3); }
.ui-conf.l { color: var(--muted); background: rgba(255, 255, 255, 0.05); border-color: var(--line-strong); }

.ui-take {
  padding: 5px 13px;
  color: #b9c8f0;
  background: rgba(115, 136, 223, 0.14);
  border: 1px solid rgba(115, 136, 223, 0.34);
  border-radius: 7px;
  font-size: 12px;
}

.ui-track {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.ui-track-step {
  flex: 1;
  text-align: center;
  color: var(--muted-deep);
  font-size: 11.5px;
}

.ui-track-step i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0 auto 8px;
  color: var(--muted-deep);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 11px;
}

.ui-track-step.is-done i {
  color: #8fdcb6;
  background: rgba(78, 203, 143, 0.16);
  border-color: rgba(78, 203, 143, 0.4);
}

.ui-track-step.is-now i {
  color: #0b0c15;
  background: var(--accent);
  border-color: transparent;
  font-weight: 700;
}

.ui-track-bar {
  flex: 0 0 24px;
  height: 1px;
  margin-bottom: 26px;
  background: var(--line);
}

.ui-opinion {
  padding: 14px 18px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.ui-opinion header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ui-opinion header strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.ui-opinion header .ui-st {
  padding: 4px 12px;
  margin-left: auto;
}

.ui-opinion p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

.ui-opinion > span {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 11.5px;
}

/* 三层框架新增容器不撑破布局 */
.part-band,
.part-ghost,
.ia-grid,
.ia-col,
.ui-mock,
.ui-body,
.ui-tabs,
.ui-row,
.ui-opinion,
.chip-row,
.obs-list,
.legend-row,
.hero-shot {
  min-width: 0;
}

@media (max-width: 1200px) {
  .persona-grid.is-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ia-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-steps.is-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-steps.is-5 .flow-step::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .persona-grid.is-4 {
    grid-template-columns: 1fr;
  }

  .ia-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-steps.is-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-shot img {
    height: 240px;
  }
}

@media (max-width: 620px) {
  .ia-grid {
    grid-template-columns: 1fr;
  }

  .flow-steps.is-5 {
    grid-template-columns: 1fr;
  }

  .ui-row {
    grid-template-columns: minmax(0, 1fr) 58px 72px;
  }

  .ui-row > span:nth-child(3) {
    display: none;
  }

  .hero-shot::after {
    background: linear-gradient(180deg, rgba(11, 11, 19, 0.55) 0%, rgba(11, 11, 19, 0.9) 100%);
  }
}

/* ============================================================
   GRC 重构新增（风险管控平台 · 治理 / 风险 / 合规）
   ============================================================ */

/* --- 痛点证据行 --- */
.pain-ev {
  margin: 12px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(242, 86, 91, 0.1);
  border: 1px solid rgba(242, 86, 91, 0.2);
  font-size: 12.5px;
  color: #f7a8ab;
  line-height: 1.65;
}

/* --- 界面稿顶栏右侧 --- */
.ui-bar-right {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted-deep);
}
.ui-note {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* --- GRC 三域卡片 --- */
.grc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}
.grc-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.grc-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: var(--accent);
}
.grc-card:nth-child(1)::before { background: #4d8ef7; }
.grc-card:nth-child(2)::before { background: #f0a63a; }
.grc-card:nth-child(3)::before { background: #3fc79a; }
.grc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.grc-head strong {
  display: block;
  font-size: 15.5px;
  color: var(--ink);
}
.grc-head span:not(.grc-badge) {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted-deep);
}
.grc-badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  font-size: 16px;
  font-weight: 800;
  color: #050508;
  border-radius: 10px;
}
.grc-card:nth-child(1) .grc-badge { background: #4d8ef7; }
.grc-card:nth-child(2) .grc-badge { background: #f0a63a; }
.grc-card:nth-child(3) .grc-badge { background: #3fc79a; }
.grc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.grc-list li {
  position: relative;
  padding-left: 15px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.95;
}
.grc-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}
.grc-card:nth-child(1) .grc-list li::before { background: #4d8ef7; }
.grc-card:nth-child(2) .grc-list li::before { background: #f0a63a; }
.grc-card:nth-child(3) .grc-list li::before { background: #3fc79a; }

/* --- 三道防线 --- */
.ln-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}
.ln-col {
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.ln-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.ln-head strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.35;
}
.ln-head span:not(.ln-badge) {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted-deep);
}
.ln-badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  font-size: 13px;
  font-weight: 800;
  color: #050508;
  border-radius: 9px;
}
.ln-col:nth-child(1) .ln-badge { background: #3fc79a; }
.ln-col:nth-child(2) .ln-badge { background: #f0a63a; }
.ln-col:nth-child(3) .ln-badge { background: #9a7cf0; }
.ln-body {
  padding: 4px 20px 18px;
}
.ln-item {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.ln-item:last-child { border-bottom: 0; }
.ln-item h5 {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted-deep);
  text-transform: uppercase;
}
.ln-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* --- 驾驶舱 --- */
.dash {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.dash-left {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(115, 136, 223, 0.14), rgba(255, 255, 255, 0.02));
}
.dash-left > span {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted-deep);
  text-transform: uppercase;
}
.dash-v {
  margin: 6px 0 2px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.dash-v small {
  font-size: 17px;
  font-weight: 600;
  color: var(--muted-deep);
}
.dash-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}
.dash-grade {
  padding: 3px 11px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(115, 136, 223, 0.18);
  border: 1px solid rgba(115, 136, 223, 0.3);
  border-radius: 8px;
}
.dash-delta {
  font-size: 12.5px;
  color: #7fdcb9;
}
.dash-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: var(--muted-deep);
  line-height: 1.65;
}
.dash-right {
  min-width: 0;
}
.dash-bars {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 20px;
}
.bar-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 56px;
  gap: 12px;
  align-items: center;
}
.bar-name {
  overflow: hidden;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.bar-track {
  display: block;
  height: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
}
.bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.bar-val {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

/* --- 风险登记册表格 --- */
.reg-head,
.reg-row {
  display: grid;
  grid-template-columns: 2.1fr 0.8fr 1fr 0.9fr 0.9fr;
  gap: 12px;
  align-items: center;
}
.reg-head {
  padding: 9px 12px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted-deep);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.reg-row {
  padding: 11px 12px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.reg-row:last-child { border-bottom: 0; }
.reg-name {
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.reg-name small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted-deep);
}
.reg-sla.is-late { color: #f79aa0; font-weight: 600; }
.reg-sla.is-warn { color: #f5c67e; font-weight: 600; }

/* --- 等级标签 --- */
.rlv {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 7px;
}
.rlv.h {
  color: #f79aa0;
  background: rgba(242, 86, 91, 0.16);
  border: 1px solid rgba(242, 86, 91, 0.3);
}
.rlv.m {
  color: #f5c67e;
  background: rgba(240, 166, 58, 0.16);
  border: 1px solid rgba(240, 166, 58, 0.3);
}
.rlv.l {
  color: #7fdcb9;
  background: rgba(63, 199, 154, 0.16);
  border: 1px solid rgba(63, 199, 154, 0.3);
}

/* --- 风险热力图 --- */
.hm {
  display: grid;
  grid-template-columns: 88px repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}
.hm-cell {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 14px 10px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  border-radius: 10px;
  line-height: 1.5;
}
.hm-cell small {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 500;
  opacity: 0.75;
}
.hm-axis {
  min-height: 0;
  padding: 6px 4px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted-deep);
  background: transparent;
}
.hm-cell.hc1 {
  color: #8fe3c0;
  background: rgba(63, 199, 154, 0.2);
  border: 1px solid rgba(63, 199, 154, 0.3);
}
.hm-cell.hc2 {
  color: #f5c67e;
  background: rgba(240, 166, 58, 0.2);
  border: 1px solid rgba(240, 166, 58, 0.3);
}
.hm-cell.hc3 {
  color: #f8b489;
  background: rgba(240, 120, 58, 0.2);
  border: 1px solid rgba(240, 120, 58, 0.32);
}
.hm-cell.hc4 {
  color: #f79aa0;
  background: rgba(242, 86, 91, 0.22);
  border: 1px solid rgba(242, 86, 91, 0.34);
}

/* --- 详情标题 --- */
.reg-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.reg-title strong {
  font-size: 16px;
  color: var(--ink);
}
.reg-title > span {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted-deep);
}

/* --- 处置决策四路径 --- */
.dec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.dec-item {
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--accent);
}
.dec-item.d1 { border-top-color: #f2565b; }
.dec-item.d2 { border-top-color: #f0a63a; }
.dec-item.d3 { border-top-color: #9a7cf0; }
.dec-item.d4 { border-top-color: #3fc79a; }
.dec-item h5 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--ink);
}
.dec-item p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}
.dec-item > span {
  display: block;
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--muted-deep);
}

/* --- 合规控制项 --- */
.ctrl {
  padding: 14px 16px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.ctrl:last-child { margin-bottom: 0; }
.ctrl-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.ctrl-top > span {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted-deep);
}
.ctrl-top strong {
  font-size: 13.5px;
  color: var(--ink);
}
.ctrl-top > b { margin-left: auto; }
.ctrl-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}
.ctrl-side {
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--line);
  border-radius: 10px;
  line-height: 1.65;
}
.ctrl-side b {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted-deep);
  text-transform: uppercase;
}
.ctrl-arrow {
  font-size: 16px;
  color: var(--accent);
  text-align: center;
}

/* --- 三段管控 --- */
.seg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.seg-item {
  padding: 15px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.seg-item.s1 { border-left-color: #4d8ef7; }
.seg-item.s2 { border-left-color: #f0a63a; }
.seg-item.s3 { border-left-color: #3fc79a; }
.seg-item h5 {
  margin: 0 0 5px;
  font-size: 13.5px;
  color: var(--ink);
}
.seg-item p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* --- AI 建议行 --- */
.ai-line {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ai-line li {
  padding: 10px 0;
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
  line-height: 1.8;
}
.ai-line li:last-child { border-bottom: 0; }
.ai-line b {
  color: var(--ink);
}
.ai-line li > span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted-deep);
}
.conf {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
}
.conf.hi { color: #7fdcb9; background: rgba(63, 199, 154, 0.16); }
.conf.md { color: #f5c67e; background: rgba(240, 166, 58, 0.16); }
.conf.lo { color: #f79aa0; background: rgba(242, 86, 91, 0.16); }

/* --- IA 表头小标签 --- */
.ia-node.is-head {
  font-weight: 700;
  color: var(--ink);
}
.ia-node.is-head span {
  display: inline-block;
  padding: 1px 7px;
  margin-left: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(115, 136, 223, 0.14);
  border-radius: 6px;
}

@media (max-width: 1200px) {
  .grc-grid,
  .ln-grid,
  .seg-grid {
    grid-template-columns: 1fr;
  }

  .dash {
    grid-template-columns: 1fr;
  }

  .dec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ctrl-map {
    grid-template-columns: 1fr;
  }

  .ctrl-arrow {
    display: none;
  }
}

@media (max-width: 900px) {
  .dec-grid {
    grid-template-columns: 1fr;
  }

  .reg-head,
  .reg-row {
    grid-template-columns: minmax(0, 1fr) 70px;
  }

  .reg-head > span:nth-child(n + 3),
  .reg-row > span:nth-child(n + 3) {
    display: none;
  }

  .hm {
    grid-template-columns: 74px repeat(3, minmax(0, 1fr));
  }

  .bar-row {
    grid-template-columns: 96px minmax(0, 1fr) 48px;
  }
}

/* ===== 案例页 · 风险管控 AI 合规助手（对齐 SP-AI-内外规 设计稿） ===== */

.ai-cap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.ai-cap {
  padding: 18px 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  min-width: 0;
}

.ai-cap-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4a95fc, #7b5bf2);
  color: #fff;
  font-size: 16px;
}

.ai-cap h5 {
  margin: 0 0 6px;
  font-size: 14.5px;
  color: var(--ink);
}

.ai-cap p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted-deep);
}

/* 浅色界面重建稿（标注式交互稿的"图"） */
.aimock {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: #fff;
  color: #333;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.aimock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: #f7f8fa;
  border-bottom: 1px solid #ececf1;
}

.aimock-crumb {
  font-size: 12px;
  color: #98a2b3;
}

.aimock-crumb b {
  color: #1f2937;
  font-weight: 600;
}

.aimock-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.aimock-steps b {
  padding: 3px 10px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #3188ff;
  font-weight: 600;
}

.aimock-steps i {
  padding: 3px 10px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #98a2b3;
  font-style: normal;
}

.aimock-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
}

.aimock-tabs i {
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #e4e7ec;
  background: #fff;
  color: #667085;
  font-style: normal;
}

.aimock-tabs b.is-on {
  border-color: #bcd7ff;
  background: #eaf2ff;
  color: #3188ff;
  font-weight: 600;
}

.aimock-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #667085;
}

.ai-check {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
}

.ai-check.is-on {
  border-color: #3188ff;
  background: #3188ff;
}

.ai-check.is-on::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.aimock-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-width: 0;
}

.aimock-body.is-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}

.aimock-body.is-rpt {
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
}

.aimock-pane {
  min-width: 0;
  padding: 14px;
}

.aimock-pane.is-src {
  background: #fcfcfd;
  border-right: 1px solid #ececf1;
}

.aimock-pane-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
}

.ai-chip {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}

.ai-chip.is-run {
  background: #fff7e8;
  color: #b25e09;
}

.ai-chip.is-auto {
  background: #f0f5ff;
  color: #3188ff;
}

.ai-chip.is-sim {
  background: #f0f5ff;
  color: #2456c8;
}

.ai-chip.is-dis {
  background: #f7f8fa;
  border: 1px dashed #d0d5dd;
  color: #98a2b3;
}

.ai-pdf {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
}

.ai-pdf-ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #feecec;
  color: #d92d20;
  font-size: 10px;
  font-weight: 700;
}

.ai-pdf b {
  display: block;
  font-size: 12.5px;
  color: #1f2937;
  word-break: break-all;
}

.ai-pdf span {
  font-size: 11px;
  color: #98a2b3;
}

.ai-skel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-skel i {
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, #eef0f3 25%, #f7f8fa 37%, #eef0f3 63%);
  background-size: 400% 100%;
  animation: aiShimmer 1.4s ease infinite;
}

@keyframes aiShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

.ai-hint {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: #98a2b3;
}

.ai-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  min-width: 0;
}

.ai-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ai-field.is-full {
  grid-column: 1 / -1;
}

.ai-field label {
  font-size: 11px;
  color: #667085;
}

.ai-field label i {
  margin-right: 2px;
  color: #d92d20;
  font-style: normal;
}

.ai-in {
  display: block;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  line-height: 1.5;
  color: #1f2937;
  word-break: break-all;
}

.ai-in.is-select {
  background: #fafcff;
  color: #3188ff;
}

.ai-in.is-area {
  min-height: 52px;
  color: #475467;
}

.ai-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  vertical-align: 1px;
}

.ai-tag.is-ok {
  background: #e8f8f1;
  color: #12805c;
}

.ai-tag.is-law {
  margin: 0;
  padding: 3px 7px;
  background: #eaf2ff;
  color: #2456c8;
  font-weight: 600;
}

.ai-fail {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 14px;
  border-top: 1px dashed #f2c1c1;
  background: #fff8f8;
  font-size: 12px;
  color: #b42318;
}

.ai-fail b {
  font-size: 12px;
}

.ai-retry {
  padding: 3px 10px;
  border: 1px solid #f0a9a9;
  border-radius: 8px;
  color: #b42318;
  font-size: 11.5px;
}

.ai-ext {
  padding: 12px 14px;
  background: #f7f9ff;
  border: 1px solid #dbe7ff;
  border-radius: 10px;
  min-width: 0;
}

.ai-ext-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ai-ext-head strong {
  font-size: 13px;
  line-height: 1.6;
  color: #1f2937;
}

.ai-ext-meta {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: #98a2b3;
}

.ai-rec-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ai-rec-head h5 {
  margin: 0;
  font-size: 14px;
  color: #1f2937;
}

.ai-rec-head h5 b {
  color: #3188ff;
}

.ai-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.ai-btn {
  padding: 5px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-size: 12px;
  font-weight: 500;
}

.ai-btn.is-ai {
  border: none;
  background: linear-gradient(90deg, #4a95fc, #7b5bf2);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(74, 149, 252, 0.35);
}

.ai-rec {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  min-width: 0;
}

.ai-rec.is-check {
  border-color: #ffd9a8;
  background: #fffaf3;
}

.ai-rec-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 340px;
  min-width: 0;
}

.ai-code {
  flex: 0 0 auto;
  margin-top: 1px;
  padding: 3px 7px;
  border-radius: 6px;
  background: #eaf2ff;
  color: #2456c8;
  font-size: 11px;
  font-weight: 700;
}

.ai-rec-txt {
  min-width: 0;
}

.ai-rec-txt strong {
  display: block;
  font-size: 13px;
  color: #1f2937;
}

.ai-rec-txt p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 3px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #667085;
}

.ai-sim {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.ai-sim.is-hi {
  background: #e8f8f1;
  color: #12805c;
}

.ai-sim.is-md {
  background: #fff3e0;
  color: #b25e09;
}

.ai-sim.is-lo {
  background: #f2f4f7;
  color: #98a2b3;
}

.ai-rec-side {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.ai-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #667085;
}

.ai-switch i {
  position: relative;
  width: 30px;
  height: 17px;
  border-radius: 999px;
  background: #cbd5e1;
}

.ai-switch.is-on i {
  background: #3188ff;
}

.ai-switch i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
}

.ai-switch.is-on i::after {
  left: 15px;
}

.ai-more {
  color: #3188ff;
  font-size: 11.5px;
}

.ai-disclaimer {
  margin: 2px 0 0;
  font-size: 11px;
  color: #98a2b3;
  text-align: center;
}

/* 标注圆点（图片交互说明的编号钉） */
.aimark {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff6b35;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.25), 0 4px 10px rgba(0, 0, 0, 0.35);
}

.aimock .aimark.is-inline {
  position: static;
  width: 18px;
  height: 18px;
  font-size: 10.5px;
  vertical-align: middle;
  flex: 0 0 auto;
  box-shadow: 0 0 0 2.5px rgba(255, 107, 53, 0.25);
}

.ai-note-list .n {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: #ff6b35;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}

/* 标注清单（图片交互说明的"说明"） */
.ai-note-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.ai-note-list li {
  display: flex;
  gap: 9px;
  padding: 11px 13px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted-deep);
  min-width: 0;
}

.ai-note-list li b {
  color: var(--ink);
}

/* 解读报告 */
.aimock-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-rpt-idx {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 14px;
  background: #fcfcfd;
  border-right: 1px solid #ececf1;
}

.ai-rpt-idx b {
  margin-bottom: 4px;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ai-rpt-idx span {
  padding: 6px 9px;
  border-radius: 8px;
  color: #667085;
  font-size: 12px;
}

.ai-rpt-idx span.is-on {
  background: #eaf2ff;
  color: #3188ff;
  font-weight: 600;
}

.ai-rpt-doc {
  min-width: 0;
  padding: 16px 18px;
}

.ai-rpt-doc h5 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #1f2937;
}

.ai-rpt-meta {
  margin: 0 0 12px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #98a2b3;
}

.ai-rpt-sec {
  margin-bottom: 12px;
}

.ai-rpt-sec h6 {
  margin: 0 0 6px;
  font-size: 13px;
  color: #1f2937;
}

.ai-rpt-sec p {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.8;
  color: #475467;
}

.ai-rpt-sec p b {
  color: #2456c8;
  font-weight: 600;
}

/* 状态与防错 */
.ai-state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.ai-state {
  min-width: 0;
  padding: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.ai-state h5 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ink);
}

.ai-state-demo {
  margin-bottom: 10px;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
}

.ai-state-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  color: #667085;
}

.ai-dot-run {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a95fc, #7b5bf2);
  animation: aiPulse 1.2s ease infinite;
}

@keyframes aiPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.ai-guard {
  padding: 8px 10px;
  border: 1px solid #ffd9a8;
  border-radius: 8px;
  background: #fff7e8;
  color: #b25e09;
  font-size: 11.5px;
  line-height: 1.6;
}

.ai-guard.is-err {
  border-color: #f2c1c1;
  background: #fff8f8;
  color: #b42318;
}

.ai-state > p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted-deep);
}

@media (max-width: 1200px) {
  .ai-cap-grid,
  .ai-state-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aimock-body,
  .aimock-body.is-rpt {
    grid-template-columns: 1fr;
  }

  .aimock-pane.is-src {
    border-right: none;
    border-bottom: 1px solid #ececf1;
  }

  .ai-rpt-idx {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid #ececf1;
  }

  .ai-rpt-idx b {
    width: 100%;
  }

  .ai-note-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .ai-cap-grid {
    grid-template-columns: 1fr;
  }

  .ai-form {
    grid-template-columns: 1fr;
  }

  .ai-btns {
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .ai-state-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 案例页 · 风险管控封面整版背景（盾牌主视觉） ===== */

.hero-cover {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.hero-cover-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-cover-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.78) 0%, rgba(5, 5, 8, 0.6) 34%, rgba(5, 5, 8, 0.3) 64%, rgba(5, 5, 8, 0.82) 100%),
    linear-gradient(90deg, rgba(5, 5, 8, 0.72), rgba(5, 5, 8, 0.18) 62%);
}

.hero-cover-inner {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 4.5vw, 58px);
  min-width: 0;
}

.hero-cover-inner .project-eyebrow {
  background: rgba(5, 5, 8, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.hero-cover-inner .project-meta {
  background: rgba(5, 5, 8, 0.58);
  border-color: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-cover-tag {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13.5px;
  line-height: 1.9;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

/* ===== 案例页 · 11/15 章节左右结构（图左文右） ===== */

.lr-split {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  gap: 22px;
  align-items: start;
  min-width: 0;
}

.lr-split > * {
  min-width: 0;
}

.lr-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.lr-side .panel-text {
  margin: 0;
}

.ai-note-list.is-side {
  grid-template-columns: 1fr;
  margin: 0;
}

@media (max-width: 1200px) {
  .lr-split {
    grid-template-columns: 1fr;
  }
}


/* ---------- 整图式案例页（监管报送 / 银行App，figma-figure 模式） ---------- */
/* Regulatory case study imported from the supplied Figma design. */
.figma-case {
  display: grid;
  grid-template-columns: clamp(250px, 23vw, 350px) minmax(0, 1fr);
  gap: 0;
  align-items: start;
  padding: 62px 0 0;
  background: #edf5ff;
}

.figma-case .project-sidebar {
  position: sticky;
  top: 62px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  height: calc(100vh - 62px);
  height: calc(100svh - 62px);
  max-height: none;
  padding: clamp(38px, 5vh, 60px) clamp(22px, 2.4vw, 36px);
  background: radial-gradient(circle at 80% 45%, #1d1928 0, #111116 68%);
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.figma-case .project-toc {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
}

.figma-case .project-toc a {
  padding: 9px 18px 9px 28px;
  border-radius: 12px;
  color: #9c9ba1;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
}

.figma-case .project-toc a:hover,
.figma-case .project-toc a.is-current {
  color: #f5f4f7;
  background: #25222d;
  transform: none;
  text-shadow: none;
}

.figma-case .project-toc a::before {
  left: 11px;
  width: 5px;
  height: 5px;
  background: #9bafff;
}

.figma-case .project-sidebar .back-link {
  flex: 0 0 auto;
  font-size: 15px;
}

.figma-case .project-sidebar .back-link.contact-trigger {
  margin-top: 2px;
  align-self: flex-start;
  padding: 12px 22px;
  color: #0c1030;
  background: linear-gradient(120deg, #a8baff, #506ccf);
}

.figma-artboard {
  display: block;
  grid-column: 2;
  width: 100%;
  margin: 0;
  gap: 0;
}

.figma-figure {
  position: relative;
  margin: 0;
  scroll-margin-top: 80px;
  background: #edf5ff;
}

.figma-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.regulatory-figure:last-child {
  aspect-ratio: 1438 / 475;
  overflow: hidden;
}

.regulatory-figure:last-child img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.figma-case .project-jump { display: none; }

.figma-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.figma-swipe-hint { display: none; }

.reveal-ready .figma-case .project-sidebar,
.reveal-ready .figma-case .figma-artboard,
.reveal-ready .figma-case .project-jump {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .figma-case { display: block; padding-top: 58px; }
  .figma-case .project-sidebar {
    top: 54px;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    height: auto;
    padding: 8px 12px;
    border-right: 0;
  }
  .figma-case .project-toc {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
  }
  .figma-case .project-toc a { flex: 0 0 auto; padding: 8px 13px 8px 20px; font-size: 13px; }
  .figma-case .project-toc a::before { left: 8px; }
  .figma-case .project-sidebar .back-link.contact-trigger { display: none; }
}

@media (max-width: 620px) {
  .figma-case { padding-top: 104px; }
  .figma-case .project-sidebar { top: 96px; gap: 7px; }
  .figma-case .project-toc a { font-size: 12px; padding: 8px 12px; }
  .figma-swipe-hint {
    display: block;
    margin: 0;
    padding: 8px 16px;
    color: #4969af;
    background: #edf5ff;
    font-size: 12px;
    text-align: center;
  }
  .figma-artboard { width: 100%; overflow: visible; }
  .figma-figure { overflow-x: auto; scroll-margin-top: 150px; }
  .figma-figure img { width: 960px; max-width: none; }
  .regulatory-figure:last-child { aspect-ratio: auto; height: 317px; }
  .regulatory-figure:last-child img { height: 317px; }
}

.bank-screen, .bank-screen .figma-figure { background: #000; }
.bank-screen .figma-swipe-hint { background: #000; color: #a0a0ac; }
.bank-figure:last-child { aspect-ratio: 1800 / 1110; overflow: hidden; }
.bank-figure:last-child img { height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 620px) {
  .bank-figure:last-child { aspect-ratio: auto; height: 592px; }
  .bank-figure:last-child img { height: 592px; }
}


/* ---------- GRC 01 项目背景：挑战 → 五环流程 → 成果 版式 ---------- */
.ctx-flow { margin-top: 18px; padding: clamp(22px, 3vw, 40px); background: radial-gradient(900px 420px at 78% -10%, rgba(115,136,223,.12), transparent 62%), linear-gradient(180deg, #0c0c15, #07070d); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); min-width: 0; }
.ctx-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: clamp(20px, 3vh, 34px); }
.ctx-title strong { display: block; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .02em; color: #f2f2f8; }
.ctx-title span { display: block; margin-top: 6px; font-size: clamp(15px, 1.4vw, 19px); color: rgba(255,255,255,.72); }
.ctx-side { text-align: right; flex: 0 0 auto; }
.ctx-side strong { display: block; font-size: 13px; color: rgba(255,255,255,.85); }
.ctx-side span { display: block; margin-top: 4px; font-size: 10px; color: rgba(255,255,255,.4); letter-spacing: .04em; }
.ctx-track { display: flex; align-items: center; }
.ctx-col { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; min-width: 0; }
.ctx-link { flex: 1 1 12px; min-width: 8px; border-top: 2px dotted rgba(255,255,255,.28); }
.ctx-cap { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 auto; padding: 0 6px; }
.ctx-cap-ico { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; color: #0c1030; background: linear-gradient(150deg, #93a4f2, #5a6fd6); box-shadow: 0 8px 26px rgba(115,136,223,.4); }
.ctx-cap-ico.is-sm { width: 30px; height: 30px; }
.ctx-cap strong { font-size: 13px; color: #ececf4; }
.ctx-cap em { font-style: normal; font-size: 10px; color: rgba(255,255,255,.42); letter-spacing: .06em; }
.ctx-float { display: block; min-height: 66px; text-align: center; }
.ctx-float strong { display: block; font-size: 13.5px; color: #eef0ff; }
.ctx-float em { display: block; font-style: normal; font-size: 9.5px; color: rgba(255,255,255,.42); letter-spacing: .05em; margin-top: 2px; }
.ctx-float i { display: block; width: 0; height: 22px; border-left: 2px dotted rgba(255,255,255,.35); margin: 7px auto 0; }
.ctx-step { width: clamp(112px, 10.6vw, 148px); aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px; gap: 3px; }
.ctx-step .ctx-num { font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.55); }
.ctx-step strong { font-size: 15px; color: #f2f3fa; }
.ctx-step p { margin: 2px 0 0; font-size: 10.5px; line-height: 1.55; color: rgba(255,255,255,.6); }
.ctx-step.is-hl { background: linear-gradient(155deg, #8ea0f2, #5567cf); border-color: transparent; box-shadow: 0 14px 42px rgba(115,136,223,.38); }
.ctx-step.is-hl .ctx-num { color: rgba(12,16,48,.62); }
.ctx-step.is-hl strong { color: #0c1030; }
.ctx-step.is-hl p { color: rgba(12,16,48,.72); }
.ctx-team { display: block; min-height: 82px; text-align: center; }
.ctx-team .tl { display: block; width: 0; height: 20px; border-left: 2px dotted rgba(255,255,255,.35); margin: 9px auto 7px; }
.ctx-crew { display: flex; justify-content: center; gap: 2px; }
.ctx-team strong { display: block; margin-top: 5px; font-size: 12.5px; color: #ececf4; }
.ctx-team em { display: block; font-style: normal; font-size: 9.5px; color: rgba(255,255,255,.42); letter-spacing: .05em; margin-top: 1px; }
.ctx-outcome { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.ctx-outcome strong { font-size: 13px; color: #ececf4; }
.ctx-outcome em { font-style: normal; font-size: 10px; color: rgba(255,255,255,.42); letter-spacing: .06em; }
.ctx-foot { margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.12); font-size: 12px; line-height: 1.8; color: rgba(255,255,255,.48); }
@media (max-width: 900px) {
  .ctx-head { flex-direction: column; gap: 8px; }
  .ctx-side { text-align: left; }
  .ctx-track { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .ctx-link { display: none; }
  .ctx-cap { flex: 0 0 100%; flex-direction: row; gap: 12px; padding: 6px 0; }
  .ctx-col { flex: 0 0 33.33%; }
}
@media (max-width: 620px) {
  .ctx-col { flex: 0 0 50%; }
  .ctx-step { width: 118px; }
  .ctx-float, .ctx-team { min-height: 0; }
  .ctx-float i, .ctx-team .tl { display: none; }
}


/* ---------- GRC 02 设计目标：三联高卡片 ---------- */
.g2-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 18px; }
.g2-card { display: flex; flex-direction: column; min-height: 380px; padding: 22px 24px 26px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); min-width: 0; }
.g2-top { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.18); font-size: 10.5px; letter-spacing: .12em; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.g2-spec { display: flex; flex-direction: column; }
.g2-spec div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; }
.g2-spec span { color: rgba(255,255,255,.45); flex: 0 0 auto; }
.g2-spec b { color: #e8eaf6; text-align: right; font-weight: 600; }
.g2-title { display: block; margin-top: auto; padding-top: 26px; font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: .02em; color: #f4f5fb; }
.g2-desc { margin: 10px 0 0; font-size: 12.5px; line-height: 1.75; color: rgba(255,255,255,.62); }
.g2-card.is-hl { background: linear-gradient(165deg, #8ea0f2, #5a6fd6); border-color: transparent; box-shadow: 0 18px 48px rgba(115,136,223,.3); }
.g2-card.is-hl .g2-top { border-color: rgba(12,16,48,.25); color: rgba(12,16,48,.62); }
.g2-card.is-hl .g2-title { color: #0c1030; }
.g2-card.is-hl .g2-desc { color: rgba(12,16,48,.8); }
.g2-card.is-hl .g2-desc b { color: #0c1030; }
.g2-card.is-hl .is-dim { color: rgba(12,16,48,.58); }
.g2-pill { margin-top: auto; align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: #0c1030; color: #c6d0ff; font-size: 10.5px; letter-spacing: .08em; }
.g2-stats { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; overflow: hidden; }
.g2-stats div { background: #0d0e18; padding: 13px 14px; display: flex; flex-direction: column; gap: 4px; }
.g2-stats b { font-size: 17px; color: #c9d2ff; font-weight: 800; }
.g2-stats span { font-size: 10.5px; color: rgba(255,255,255,.45); }
.g2-card .g2-desc + .g2-stats { margin-top: 18px; }
@media (max-width: 900px) {
  .g2-grid { grid-template-columns: 1fr; }
  .g2-card { min-height: 0; }
}

/* ---------- GRC 03 调研与洞察：深色横幅 4 列 ---------- */
.obs-banner { position: relative; margin-top: 18px; padding: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) calc(clamp(24px, 3vw, 44px) + 5px); border-radius: var(--radius-lg); background: radial-gradient(1000px 460px at 18% -10%, rgba(115,136,223,.14), transparent 60%), linear-gradient(180deg, #0c0c16, #07070c); border: 1px solid rgba(255,255,255,.08); overflow: hidden; min-width: 0; }
.obs-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, #8ea0f2, #5567cf); }
.obs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 26px; margin-bottom: clamp(26px, 4vh, 44px); }
.obs-title strong { display: block; font-size: clamp(24px, 2.4vw, 34px); color: #f4f5fb; letter-spacing: .02em; }
.obs-title span { display: block; margin-top: 6px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.obs-pill { flex: 0 0 auto; padding: 10px 16px; background: linear-gradient(135deg, #8ea0f2, #5a6fd6); color: #0c1030; font-size: 12.5px; font-weight: 700; line-height: 1.6; border-radius: 4px; }
.obs-cols { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.obs-item { padding: 0 22px; border-left: 1px solid rgba(255,255,255,.12); min-width: 0; }
.obs-item:first-child { padding-left: 0; border-left: 0; }
.obs-num { font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.5); }
.obs-ico { display: block; margin: 16px 0 14px; color: #aeb9f5; }
.obs-item strong { display: block; font-size: 16.5px; color: #f2f3fa; margin-bottom: 8px; }
.obs-item p { margin: 0; font-size: 12px; line-height: 1.75; color: rgba(255,255,255,.58); }
.obs-item em { display: block; margin-top: 8px; font-style: normal; font-size: 10.5px; color: rgba(255,255,255,.38); }
@media (max-width: 1200px) {
  .obs-cols { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .obs-item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 620px) {
  .obs-cols { grid-template-columns: 1fr; row-gap: 24px; }
  .obs-item { border-left: 0; padding: 0; }
  .obs-head { flex-direction: column; gap: 14px; }
}

/* ---------- GRC 05 用户画像：浅色区块 ---------- */
.persona-light { margin-top: 18px; padding: clamp(20px, 2.6vw, 34px); border-radius: var(--radius-lg); background: linear-gradient(180deg, #e9eefb, #dde6f8); color: #1d2338; min-width: 0; }
.pl-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.pl-card { background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 10px 30px rgba(30,42,90,.08); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pl-head { display: flex; gap: 12px; align-items: center; }
.pl-ava { width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(150deg, #8ea0f2, #5567cf); font-size: 15px; }
.pl-head strong { display: block; font-size: 14.5px; color: #161b30; }
.pl-head span { display: block; font-size: 11px; color: #6a7494; margin-top: 2px; }
.pl-rows { display: flex; flex-direction: column; gap: 9px; margin: 0; }
.pl-rows div { display: flex; flex-direction: column; gap: 2px; }
.pl-rows dt { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: #5567cf; }
.pl-rows dd { margin: 0; font-size: 12px; line-height: 1.65; color: #3a4160; }
.pl-label { margin: 22px 0 12px; font-size: 10.5px; letter-spacing: .14em; color: #6a7494; font-weight: 700; }
.pl-jgrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.pl-jcard { background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 10px 30px rgba(30,42,90,.08); min-width: 0; }
.pl-num { display: block; font-size: 17px; font-weight: 800; color: #5567cf; letter-spacing: .06em; }
.pl-jcard strong { display: block; margin-top: 8px; font-size: 15px; color: #161b30; }
.pl-jcard p { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: #3a4160; }
@media (max-width: 1200px) {
  .pl-grid, .pl-jgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .pl-grid, .pl-jgrid { grid-template-columns: 1fr; }
}

/* ---------- GRC 08 产品结构框架：3D 层叠圆盘 ---------- */
.ia5 { margin-top: 22px; min-width: 0; }
.ia5-row { display: grid; grid-template-columns: 1fr min(600px, 56vw) 1fr; align-items: center; }
.ia5-row + .ia5-row { margin-top: -13px; }
.ia5-disc-col { min-width: 0; }
.ia5-disc { width: var(--w); margin: 0 auto; height: clamp(52px, 5.6vw, 66px); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 3px 0 rgba(255,255,255,.3), inset 0 -12px 20px rgba(0,0,0,.3), 0 16px 30px -10px rgba(0,0,0,.55); }
.ia5-disc span { font-weight: 800; font-size: clamp(13px, 1.25vw, 16px); color: #fff; text-shadow: 0 1px 5px rgba(0,0,0,.4); letter-spacing: .03em; white-space: nowrap; }
.ia5-disc.is-1 { background: linear-gradient(180deg, #a7b6f7 0%, #8ea0f2 55%, #7a8ce6 100%); }
.ia5-disc.is-2 { background: linear-gradient(180deg, #93a4f2 0%, #7a8ce8 55%, #6879dc 100%); }
.ia5-disc.is-3 { background: linear-gradient(180deg, #7e90ec 0%, #6678da 55%, #5567cf 100%); }
.ia5-disc.is-4 { background: linear-gradient(180deg, #6879dc 0%, #5263c8 55%, #4353b6 100%); }
.ia5-disc.is-5 { background: linear-gradient(180deg, #4d5cc0 0%, #3a47a8 55%, #333da7 100%); }
.ia5-side { display: flex; align-items: center; gap: 0; min-width: 0; }
.ia5-side.is-l { justify-content: flex-end; text-align: right; }
.ia5-side.is-r { justify-content: flex-start; text-align: left; }
.ia5-note { max-width: 300px; }
.ia5-note strong { font-size: 13.5px; color: #eef0ff; }
.ia5-note strong em { font-style: normal; font-size: 10px; color: rgba(255,255,255,.45); letter-spacing: .08em; margin-left: 4px; }
.ia5-note p { margin: 5px 0 0; font-size: 11.5px; line-height: 1.75; color: rgba(255,255,255,.52); }
.ia5-wire { position: relative; flex: 0 0 38px; border-top: 2px dotted rgba(255,255,255,.3); margin: 0 10px; }
.ia5-wire::after { content: ""; position: absolute; top: -4px; width: 6px; height: 6px; border-radius: 50%; background: #aeb9f5; }
.ia5-side.is-l .ia5-wire::after { right: -3px; }
.ia5-side.is-r .ia5-wire::after { left: -3px; }
@media (max-width: 900px) {
  .ia5-row { grid-template-columns: 1fr; row-gap: 8px; }
  .ia5-row + .ia5-row { margin-top: 14px; }
  .ia5-disc-col { order: -1; }
  .ia5-disc { width: calc(var(--w) * 0.92); }
  .ia5-side.is-l, .ia5-side.is-r { justify-content: center; text-align: center; }
  .ia5-wire { display: none; }
  .ia5-note { max-width: none; }
}


/* ---------- 联系区：在线链接二维码 ---------- */
.contact-qr { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 26px auto 0; max-width: 900px; padding: 16px 22px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.contact-qr img { width: 104px; height: 104px; border-radius: 10px; background: #fff; padding: 5px; flex: 0 0 auto; display: block; }
.contact-qr strong { display: block; font-size: 15px; color: #f0f1f8; }
.contact-qr span { display: block; margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .04em; word-break: break-all; }
@media (max-width: 620px) {
  .contact-qr { flex-direction: column; text-align: center; gap: 12px; }
}

/* ---------- 案例整图放大查看（Lightbox） ---------- */
.figma-figure img { cursor: zoom-in; }
.lb-overlay { position: fixed; inset: 0; z-index: 90; display: none; background: rgba(4,4,9,.93); }
.lb-overlay.is-open { display: block; }
.lb-inner { position: absolute; inset: 0; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; align-items: flex-start; justify-content: center; padding: 18px; }
.lb-inner img { width: min(1100px, 92vw); height: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-close { position: fixed; top: 14px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(10,10,18,.8); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }

/* ---------- 移动端适配增强 ---------- */
@media (max-width: 900px) {
  /* 首页顶部导航不再等滚动才出现（触屏没有明显的「先滚动」引导） */
  .site-header .quick-nav { opacity: 1; pointer-events: auto; transform: none; }
  /* 横向目录里的分组标签不再被挤成竖排窄块 */
  .project-toc .toc-part { display: inline-flex; align-items: center; flex: 0 0 auto; margin: 0; padding: 10px 8px 10px 14px; white-space: nowrap; }
}
@media (max-width: 620px) {
  .site-header { padding: 12px 16px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .quick-nav { gap: 6px; }
  .quick-nav a { min-height: 36px; padding: 0 12px; font-size: 12.5px; }
  .project-screen { padding-top: 96px; }
  .footer { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
}
@media (hover: none) {
  body::after { display: none; }
  .quick-nav a::after { display: none; }
}

/* iOS 字号防自动放大 */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* ---------- 修复：≤620 两行头部与吸顶目录条高度对齐（头部实测约 107px，原设 96px 会压住 11px） ---------- */
@media (max-width: 620px) {
  .project-screen.figma-case { padding-top: 112px; }
  .figma-case .project-sidebar { top: 108px; }
  .figma-case .figma-figure { scroll-margin-top: 176px; }
}

/* ---------- 整图自适应：等比铺满、不拉伸、不横向平移 ---------- */
/* 底色与设计稿一致，宽屏留白无接缝 */
.security-screen .figma-figure,
.security-screen .figma-artboard { background: #e0f0ff; }

/* 宽屏：不放大超过设计稿原生 1440，居中留白 */
.security-figure img { max-width: 1440px; margin-inline: auto; }

@media (max-width: 620px) {
  /* 关键：图片按视口宽度等比缩放，去掉 960px 固定宽与横向滚动 */
  .figma-case .figma-figure { overflow-x: visible; }
  .figma-case .figma-figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-inline: 0;
    object-fit: contain;
  }
  /* 上一版的裁切兜底（regulatory 末图）在自适应下会压扁，改为自然高度 */
  .figma-case .regulatory-figure:last-child { aspect-ratio: auto; height: auto; }
  .figma-case .regulatory-figure:last-child img { height: auto; object-fit: contain; }
  /* 提示语：不再需要左右滑动 */
  .figma-swipe-hint { padding: 7px 16px 9px; font-size: 11.5px; letter-spacing: .04em; }
}

/* Lightbox：手机端按原生 1440 展示，可拖动/双指放大看细节 */
@media (max-width: 620px) {
  .lb-inner { padding: 10px; }
  .lb-inner img { width: 1440px; max-width: none; border-radius: 4px; }
}

/* Lightbox 修正：超宽大图必须左对齐，否则居中溢出会让左半幅滚不到 */
@media (max-width: 620px) {
  .lb-inner { justify-content: flex-start; align-items: flex-start; }
  .lb-inner img { margin: 0; }
}

/* ---------- 案例画布分层：中性底 + 独立卡片（解决浅色互相糊在一起、边界不清） ---------- */
.figma-case { --case-max: 1280px; }

.figma-case .figma-artboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 22px clamp(12px, 1.8vw, 26px) 40px;
  background: #d9e5f6;
}
.figma-case .figma-figure {
  width: 100%;
  max-width: var(--case-max);
  background: #fff;
  border: 1px solid rgba(20, 44, 84, .08);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(20, 44, 84, .07);
  overflow: hidden;
}
/* 卡片内图片与卡片同宽、圆角内裁切 */
.figma-case .figma-figure img { display: block; width: 100%; height: auto; }

/* 银行 C 端：深色画布，卡片用暗色边框区分 */
.bank-screen .figma-artboard { background: #08080d; }
.bank-screen .figma-figure {
  background: #000;
  border-color: rgba(255, 255, 255, .09);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}

/* 手机端提示条与画布同色，避免出现色带 */
.figma-swipe-hint { background: #d9e5f6; color: #3f5f92; }
.bank-screen .figma-swipe-hint { background: #08080d; }

@media (max-width: 900px) {
  .figma-case .figma-artboard { padding: 12px 10px 28px; gap: 10px; }
  .figma-case .figma-figure { border-radius: 10px; }
}

/* ---------- 工作经历：卡片内职责要点 ---------- */
.exp-compact-item { padding: 20px 22px; }

.exp-compact-item .exp-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.exp-points {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.exp-points li {
  position: relative;
  padding-left: 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  text-wrap: pretty;
}

.exp-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(115, 136, 223, .9);
}

.exp-points strong {
  color: #e9ebf7;
  font-weight: 600;
}

@media (max-width: 620px) {
  .exp-compact-item { padding: 16px 16px; }
  .exp-points li, .exp-compact-item .exp-meta { font-size: 12.5px; line-height: 1.7; }
}

/* ---------- 个人介绍：自我评价 ---------- */
.profile-summary {
  max-width: none;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .74);
  font-size: 15px;
  line-height: 1.95;
  text-wrap: pretty;
}

.profile-main h3.profile-subhead { margin-top: 0; }

@media (max-width: 620px) {
  .profile-summary { margin-bottom: 26px; font-size: 13.5px; line-height: 1.85; }
}

/* ---------- 手机端：用静态底图替代视频（避免浏览器注入"网盘/播放器"提示条） ---------- */
.hero-bg-still {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .hero-bg-video { display: none !important; }
  .hero-bg-still { display: block; }
}

/* ---------- 个人介绍栏：作品集在线二维码 ---------- */
.profile-site-qr .site-url {
  color: rgba(255, 255, 255, .45);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .01em;
  text-align: center;
  word-break: break-all;
}

/* ---------- 手机端页脚改为文档流，避免与内容重叠 ---------- */
@media (max-width: 900px) {
  .contact-screen .footer {
    position: static;
    margin-top: 34px;
    padding-top: 22px;
  }
}

/* ---------- 作品集链接一键复制 ---------- */
.profile-site-qr .site-copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  margin: 0;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .5);
  font: inherit;
  font-size: 11px;
  line-height: 1.5;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.profile-site-qr .site-copy .site-url {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-site-qr .site-copy:hover {
  color: #dfe4ff;
  border-color: rgba(115, 136, 223, .55);
  background: rgba(115, 136, 223, .12);
}
.profile-site-qr .site-copy.is-copied {
  color: #9fe3c0;
  border-color: rgba(88, 214, 160, .45);
}
.site-copy-tip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  background: #101528;
  color: #fff;
  font-size: 10.5px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity .18s ease;
}
.profile-site-qr .site-copy.is-copied .site-copy-tip { opacity: 1; }

/* ---------- 联系区：去掉撑满一屏造成的大片空白，页脚回归文档流 ---------- */
.contact-screen { min-height: 0; }
.contact-screen .footer {
  position: static;
  margin-top: 0;
  padding-top: 26px;
}
.contact-screen .contact-content { padding-bottom: 30px; }

/* ---------- 导航下拉：收紧留白 ---------- */
.nav-panel {
  gap: 6px;
  min-width: 276px;
  max-height: none;
  padding: 10px;
}
.nav-card { padding: 11px 13px; }
.nav-panel-label { padding: 1px 4px; }
.nav-panel-label:not(:first-child) { margin-top: 4px; padding-top: 8px; }

/* 导航下拉二次收紧：缩小卡片内边距与描述行距 */
.nav-panel { gap: 4px; min-width: 268px; max-height: min(68vh, 460px); padding: 8px; }
.nav-card { padding: 9px 12px; border-radius: 10px; }
.nav-card p { margin-top: 3px; font-size: 12px; line-height: 1.5; }
.nav-panel-label { font-size: 10.5px; padding: 0 4px; }
.nav-panel-label:not(:first-child) { margin-top: 2px; padding-top: 6px; }

/* ================================================================
   2026-10-22 · 第四轮微调
   ① 页脚与正文栏左对齐（此前页脚比联系区内容左突 120px）
   ② 手机端页脚品牌行不再把 Experience 甩成孤行
   ③ 联系区上下留白收紧
   ④ 导航下拉改成紧凑单行式（标题 / 标签同行，描述一行）
   ================================================================ */

/* ---------- ① 页脚横向对齐到 .contact-content 的内容栏 ---------- */
.contact-screen .footer {
  --footer-pad: clamp(22px, 5vw, 96px);
  /* (100% - 1200px)/2 是 .contact-content 的居中留白，再叠加它自身的左右内边距 */
  padding-inline: max(var(--footer-pad), calc((100% - 1200px) / 2 + var(--footer-pad)));
}

/* ---------- ② 品牌行断行处理 ---------- */
.footer > div { text-wrap: pretty; }
.footer > div:first-child { text-wrap: balance; }

@media (max-width: 900px) {
  .contact-screen .footer {
    --footer-pad: 20px;
    padding-inline: var(--footer-pad);
    text-align: center;
  }
  .footer .footer-note { text-wrap: balance; }
}

/* 联系区引导语：避免「～」单独掉到下一行 */
.contact-lead { text-wrap: pretty; }

@media (max-width: 430px) {
  .contact-lead { font-size: 14px; }
}

/* ---------- ③ 联系区上下留白收紧 ---------- */
.contact-screen .contact-content {
  padding-top: clamp(60px, 7.5vh, 96px);
}

/* ---------- ④ 导航下拉：紧凑单行式 ---------- */
.nav-panel {
  gap: 2px;
  min-width: 356px;
  max-width: 372px;
  max-height: none;
  overflow: visible;
  padding: 8px 8px 9px;
  border-radius: 15px;
}

.quick-nav a.nav-card,
a.nav-card {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 1px;
  padding: 9px 11px;
  border-radius: 10px;
}

a.nav-card strong {
  order: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
}

.nav-card .nav-card-tag {
  order: 2;
  margin: 0 0 0 auto;
  font-size: 10px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.nav-card p {
  order: 3;
  flex: 0 0 100%;
  margin: 2px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-panel-label {
  font-size: 10px;
  letter-spacing: .12em;
  padding: 1px 4px;
}

.nav-panel-label:not(:first-child) {
  margin-top: 3px;
  padding-top: 5px;
}

/* 页脚品牌行：末段「AI Product Experience」整体换行，避免单词孤立 */
.footer-role-nowrap { white-space: nowrap; }

@media (max-width: 900px) {
  .contact-screen .footer { --footer-pad: 22px; }
}

/* 页脚品牌副标题：桌面一行用「·」连接，手机断成两行且不带尾随分隔符 */
.footer-role { display: inline; }
.footer-role + .footer-role::before { content: " \00b7 "; }

@media (max-width: 900px) {
  .footer-role { display: block; }
  .footer-role + .footer-role::before { content: none; }
}

/* 修正：CSS 转义会把尾随空格吃掉，改用 margin 控制「·」两侧间距 */
.footer-role + .footer-role::before {
  content: "\00b7";
  margin: 0 .4em 0 .35em;
}

/* 手机端不再需要行首分隔符（覆盖上面后写的 content 规则） */
@media (max-width: 900px) {
  .footer-role + .footer-role::before { content: none; margin: 0; }
}

/* 复制失败提示：橙色边框 + 如实文案（区别于绿色「已复制」） */
.profile-site-qr .site-copy.is-fail {
  color: #ffd9a8;
  border-color: rgba(255, 183, 77, .5);
  background: rgba(255, 183, 77, .1);
}
.profile-site-qr .site-copy.is-fail .site-copy-tip {
  opacity: 1;
  white-space: normal;
  width: max-content;
  max-width: 200px;
  line-height: 1.45;
  text-align: center;
  background: #241a0d;
  border-color: rgba(255, 183, 77, .35);
}

/* ---------- 银行页新版整图：取消旧版最后一块的 cover 裁剪（新版为完整内容块） ---------- */
.bank-figure:last-child { aspect-ratio: auto; overflow: visible; }
.bank-figure:last-child img { height: auto; object-fit: contain; object-position: center; }
@media (max-width: 620px) {
  .bank-figure:last-child { height: auto; }
  .bank-figure:last-child img { height: auto; }
}
