/* The supplied Framesbase clip stays unmodified; the image is a still-frame fallback. */
body.sanfu-case {
  --sanfu-ink: #102b4c;
  --sanfu-line: rgba(20, 70, 120, .16);
  position: relative;
  isolation: isolate;
  background: #fcfbff;
  color: var(--sanfu-ink);
}

body.sanfu-case::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: url('sanfu-purple-grid-poster.jpg');
  background-size: cover;
  background-position: center center;
}

body.sanfu-case > .sanfu-background-video {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

body.sanfu-case ::selection {
  color: #fff;
  background: #1e5280;
}

.sanfu-site-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 10px clamp(20px, 4.5vw, 76px);
  border-bottom: 1px solid var(--sanfu-line);
  background: rgba(245, 251, 255, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.sanfu-site-bar a {
  color: var(--sanfu-ink);
  text-decoration: none;
  text-underline-offset: 5px;
}

.sanfu-site-bar a:hover { text-decoration: underline; }
.sanfu-site-bar a:focus-visible,
.footer-return:focus-visible {
  outline: 2px solid #155b9a;
  outline-offset: 5px;
}

.sanfu-mark {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.sanfu-chapters {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 40px);
  margin-inline: auto;
}

.sanfu-chapters a {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.sanfu-back {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

body.sanfu-case > section { scroll-margin-top: 68px; }

body.sanfu-case .hero {
  min-height: calc(100dvh - 68px);
  padding: clamp(62px, 7vw, 112px) clamp(20px, 5vw, 80px);
  background: rgba(236, 248, 255, .15);
}

body.sanfu-case .hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 4vw, 58px);
  max-width: 1480px;
}

.hero-copy {
  width: 100%;
  padding: clamp(28px, 3.5vw, 52px);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 24px;
  background: rgba(248, 252, 255, .84);
  box-shadow: 0 24px 70px rgba(29, 89, 140, .12);
}

body.sanfu-case .hero-headline-en {
  max-width: none;
  margin-bottom: 28px;
  color: var(--sanfu-ink);
  font-size: clamp(46px, 5.3vw, 82px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
  white-space: nowrap;
}

body.sanfu-case .hero-body {
  max-width: none;
  margin: 0;
  color: #294e72;
  font-size: clamp(15px, 1.38vw, 19px);
  line-height: 1.8;
  white-space: nowrap;
}

body.sanfu-case .hero-image-wrapper {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(28, 83, 130, .21);
}

body.sanfu-case .section-question,
body.sanfu-case .section-answer,
body.sanfu-case .section-experience,
body.sanfu-case .section-reflection {
  padding: clamp(82px, 9vw, 136px) clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--sanfu-line);
}

body.sanfu-case .section-question { background: rgba(252, 251, 255, .72); }
body.sanfu-case .section-answer { background: rgba(248, 245, 255, .68); }
body.sanfu-case .section-experience { background: rgba(252, 251, 255, .69); }
body.sanfu-case .section-experience-touchpoints { background: rgba(246, 243, 255, .72); }
body.sanfu-case .section-reflection { background: rgba(248, 245, 255, .7); }

body.sanfu-case .section-inner { max-width: 1260px; }

body.sanfu-case .section-title {
  max-width: 15em;
  margin: 0 0 42px;
  color: var(--sanfu-ink);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}

body.sanfu-case .section-question .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1480px;
  align-items: start;
}

body.sanfu-case .section-question .section-title,
body.sanfu-case .question-body-cn,
body.sanfu-case .question-key-cn { grid-column: 1; }

body.sanfu-case .question-body-cn { margin-bottom: 28px; }
body.sanfu-case .question-body-cn p { line-height: 1.75; }
body.sanfu-case .question-key-cn {
  max-width: 12em;
  margin-bottom: 0;
  color: #155181;
  font-size: clamp(28px, 3.2vw, 43px);
}

body.sanfu-case .question-image {
  grid-column: 1;
  grid-row: auto;
  width: 100%;
  margin: clamp(32px, 4vw, 60px) 0 0;
  border: 1px solid rgba(255, 255, 255, .84);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(35, 91, 136, .16);
}

body.sanfu-case .answer-intro-cn { max-width: 45em; }
body.sanfu-case .answer-central-image {
  max-width: 760px;
  border-radius: 24px;
  box-shadow: 0 22px 58px rgba(35, 91, 136, .14);
}
body.sanfu-case .answer-closing-cn { max-width: 48em; }
body.sanfu-case .five-identities-label {
  margin-top: 76px;
  color: var(--sanfu-ink);
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -.025em;
  text-transform: none;
}

body.sanfu-case .identity-block {
  border: 1px solid rgba(196, 221, 239, .82);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 46px rgba(30, 91, 141, .13);
}

body.sanfu-case .identity-keywords {
  color: #456786;
  letter-spacing: .025em;
  text-transform: none;
}
body.sanfu-case .identity-keywords .kw + .kw::before { content: " / "; }

body.sanfu-case .section-experience-touchpoints { padding-top: 76px; }
body.sanfu-case .scene-grid { margin-bottom: 0; }

body.sanfu-case .sanfu-bag-world {
  background: rgba(248, 246, 255, .72);
}
body.sanfu-case .sanfu-bag-stage {
  border-radius: 26px;
  background: rgba(255, 255, 255, .72);
}
body.sanfu-case .sanfu-bag-caption { color: #325a7b; }

body.sanfu-case .sanfu-flow {
  padding: 46px 24px 90px;
  border-top: 1px solid var(--sanfu-line);
  background: rgba(252, 251, 255, .7);
}
body.sanfu-case .sanfu-flow-art {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(35, 91, 136, .13);
}

body.sanfu-case .section-reflection .section-inner { max-width: 900px; }
body.sanfu-case .reflection-body-cn { max-width: 720px; margin-bottom: 0; }
body.sanfu-case .reflection-body-cn p { line-height: 1.8; }

body.sanfu-case .footer-summary {
  padding: clamp(96px, 12vw, 170px) clamp(20px, 5vw, 80px);
  background: rgba(13, 45, 80, .90);
  color: #f5fbff;
}
body.sanfu-case .footer-inner { max-width: 900px; }
body.sanfu-case .footer-title {
  max-width: 10em;
  margin-bottom: 34px;
  color: #fff;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.footer-summary-copy {
  max-width: 34em;
  margin-bottom: 64px;
  color: #e6f4ff;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.75;
}
.footer-return {
  display: inline-block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .76);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.footer-return:hover { border-color: #fff; }
.footer-return:focus-visible { outline-color: #fff; }

@media (max-width: 900px) {
  .sanfu-site-bar { gap: 16px; }
  .sanfu-chapters { gap: 14px; }
  .sanfu-chapters a { font-size: 12px; }
  body.sanfu-case .hero-content { gap: 28px; }
  body.sanfu-case .hero-headline-en,
  body.sanfu-case .hero-body { white-space: normal; }
}

@media (max-width: 760px) {
  .sanfu-site-bar { min-height: 60px; padding-inline: 20px; }
  .sanfu-chapters { display: none; }
  .sanfu-back { margin-left: auto; }
  body.sanfu-case > section { scroll-margin-top: 60px; }
  body.sanfu-case .hero {
    min-height: 0;
    padding: 42px 20px 72px;
  }
  body.sanfu-case .hero-content { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { padding: 30px 24px; border-radius: 20px; }
  body.sanfu-case .hero-headline-en { font-size: clamp(42px, 10vw, 60px); }
  body.sanfu-case .hero-image-wrapper { border-radius: 20px; }
  body.sanfu-case .section-question,
  body.sanfu-case .section-answer,
  body.sanfu-case .section-experience,
  body.sanfu-case .section-reflection { padding: 80px 20px; }
  body.sanfu-case .section-title { margin-bottom: 34px; font-size: clamp(38px, 9vw, 54px); }
  body.sanfu-case .section-question .section-inner { display: block; }
  body.sanfu-case .question-key-cn { margin-bottom: 28px; }
  body.sanfu-case .question-image { margin-top: 0; border-radius: 18px; }
  body.sanfu-case .five-identities-label { margin-top: 56px; }
  body.sanfu-case .sanfu-bag-stage { border-radius: 16px; }
  body.sanfu-case .sanfu-flow { padding: 24px 12px 64px; }
  body.sanfu-case .sanfu-flow-art { border-radius: 12px; }
  body.sanfu-case .footer-summary { padding: 100px 20px; }
  .footer-summary-copy { margin-bottom: 42px; }
}

@media (prefers-reduced-transparency: reduce) {
  .sanfu-site-bar,
  .hero-copy { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: #f6fbff; }
}

@media (prefers-reduced-motion: reduce) {
  body.sanfu-case > .sanfu-background-video { display: none; }
}
