/* Service overview: site-specific layout and lightweight scroll effects. */
.cxy-service-hero {
  background: #fff;
  color: #101d38;
}
.cxy-hero-layout {
  width: calc(100% - 2 * var(--edge));
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px) 0 clamp(70px, 8vw, 115px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  grid-template-areas: "intro art" "services art";
  column-gap: clamp(48px, 6vw, 100px);
}
.cxy-hero-intro { grid-area: intro; align-self: end; }
.cxy-hero-breadcrumb { color: #52647a; font-size: 14px; line-height: 1.5; }
.cxy-hero-breadcrumb a:hover { color: #1558e9; }
.cxy-hero-breadcrumb span[aria-hidden='true'] { margin: 0 8px; color: #c0ccdb; }
.cxy-hero-breadcrumb span[aria-current='page'] { color: #64758d; }
.cxy-hero-intro h1 { margin-top: clamp(32px, 3.6vw, 52px); color: #0a1835; font-size: clamp(38px, 3.5vw, 56px); font-weight: 600; letter-spacing: -.035em; line-height: 1.25; }
.cxy-hero-description { margin-top: 20px; color: #52647a; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.7; }
.cxy-hero-art { --cxy-art-x: 0px; --cxy-art-y: 0px; --cxy-art-rx: 0deg; --cxy-art-ry: 0deg; grid-area: art; align-self: center; margin: 0; }
.cxy-hero-art img { width: 100%; height: auto; transform: perspective(1100px) translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) scale(1); transform-origin: 50% 55%; transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) and (pointer: fine) {
  .cxy-hero-art:hover img { transform: perspective(1100px) translate3d(var(--cxy-art-x), calc(var(--cxy-art-y) - 4px), 0) rotateX(var(--cxy-art-rx)) rotateY(var(--cxy-art-ry)) scale(1.018); }
}
.cxy-hero-services { grid-area: services; margin-top: 28px; }
.cxy-hero-services a {
  min-height: 69px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e7edf5;
  color: #172844;
}
.cxy-hero-number { color: #1558e9; font-size: 14px; font-variant-numeric: tabular-nums; }
.cxy-hero-service-copy { display: flex; align-items: baseline; gap: 16px; min-width: 0; }
.cxy-hero-service-copy strong { font-size: clamp(16px, 1.25vw, 19px); font-weight: 500; }
.cxy-hero-service-copy small { color: #52647a; font-size: 14px; line-height: 1.4; }
.cxy-hero-service-arrow { justify-self: end; color: #1558e9; font-size: 20px; transition: transform .3s ease; }
.cxy-hero-services a:hover .cxy-hero-service-arrow,
.cxy-hero-services a:focus-visible .cxy-hero-service-arrow { transform: translate(3px, -3px); }
.cxy-hero-services a:hover strong, .cxy-hero-services a:focus-visible strong { color: #1558e9; }

.cxy-reference { color: #20304b; font-family: CXY Sans, 'Microsoft YaHei', sans-serif; }
.cxy-ref-section {
  position: relative;
  background: radial-gradient(ellipse at 12% 25%, #e4f7ff 0, transparent 40%),
              radial-gradient(ellipse at 92% 65%, #dbeaff 0, transparent 48%),
              linear-gradient(180deg, #f8fcff, #eff7ff 65%, #f7faff);
}
.cxy-ref-content { padding: clamp(70px, 8vw, 115px) 0 clamp(80px, 9vw, 130px); }
.cxy-ref-container { width: calc(100% - 2 * var(--edge)); max-width: 1440px; margin: 0 auto; }
.cxy-ref-heading { text-align: center; color: #101d38; }
.cxy-ref-heading h2 { font-size: clamp(29px, 2.8vw, 42px); font-weight: 500; letter-spacing: -.025em; line-height: 1.35; transform-origin: center; }
.cxy-ref-heading h2 span { color: #1558e9; }
.cxy-ref-arrow { display: flex; justify-content: center; margin-top: 36px; }
.cxy-ref-arrow a { display: grid; place-items: center; width: 44px; height: 44px; color: #1558e9; }
.cxy-ref-arrow a > span { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #8cb9f5; border-radius: 50%; }
.cxy-ref-arrow a > span::after { position: absolute; inset: -1px; border: 1px solid #82b8f3; border-radius: 50%; content: ''; animation: cxy-overview-ring 2s ease-out infinite; }
.cxy-ref-arrow svg { width: 15px; height: 15px; fill: currentColor; }
.cxy-ref-list { margin-top: clamp(52px, 6vw, 82px); }
.cxy-ref-list > ul { display: grid; gap: clamp(28px, 4vw, 60px); padding: 0; margin: 0; list-style: none; }
.cxy-ref-list > ul > li {
  scroll-margin-top: calc(var(--header-height) + 20px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(45px, 6vw, 90px);
  padding: clamp(30px, 4.1vw, 58px);
  border: 1px solid #e8f0fa;
  border-radius: 12px;
  background: rgba(255, 255, 255, .97);
}
.cxy-ref-list > ul > li.is-revealed { animation: cxy-overview-reveal .65s ease both; }
.cxy-ref-copy, .cxy-ref-related { min-width: 0; }
.cxy-ref-badge span { display: inline-block; padding: 5px 12px; border-radius: 18px; background: #eaf3ff; color: #1558e9; font-size: 14px; line-height: 1.4; }
.cxy-ref-problem { margin: 20px 0 0; color: #52647a; font-size: clamp(22px, 1.9vw, 29px); font-weight: 400; line-height: 1.5; }
.cxy-ref-problem span, .cxy-ref-copy .cxy-ref-ts2 span { color: #172844; }
.cxy-ref-copy > .cxy-ref-autoheight > .cxy-ref-ts { margin-top: 34px; }
.cxy-ref-copy .cxy-ref-ts1 { color: #52647a; font-size: 14px; line-height: 1.5; }
.cxy-ref-copy .cxy-ref-ts2 { margin-top: 14px; color: #52647a; font-size: clamp(21px, 1.8vw, 28px); line-height: 1.5; }
.cxy-ref-services { margin-top: 38px; }
.cxy-ref-services > .cxy-ref-ts1 { padding: 0 0 14px; border-bottom: 1px solid #e6edf6; background: linear-gradient(110deg, #f6faff, #fff); }
.cxy-ref-links { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 24px; }
.cxy-ref-links a { display: inline-flex; align-items: center; gap: 9px; color: #1558e9; font-size: 15px; }
.cxy-ref-links a > span { position: relative; }
.cxy-ref-links a > span::after { position: absolute; right: 100%; bottom: -3px; left: 0; height: 1px; background: currentColor; content: ''; transition: right .3s ease; }
.cxy-ref-links a:hover > span::after, .cxy-ref-links a:focus-visible > span::after { right: 0; }
.cxy-ref-links a i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #1558e9; transition: transform .3s ease; }
.cxy-ref-links a:hover i, .cxy-ref-links a:focus-visible i { transform: translate(2px, -2px); }
.cxy-ref-links svg { width: 10px; height: 10px; fill: #fff; }
.cxy-ref-mobile-links { display: none; }
.cxy-ref-tips { color: #52647a; font-size: 14px; font-weight: 600; line-height: 1.5; }
.cxy-ref-cases > .cxy-ref-ts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.cxy-ref-cases > .cxy-ref-ts > a { min-width: 0; overflow: hidden; border: 1px solid #eef2f7; border-radius: 6px; background: #f6f8fb; }
.cxy-ref-img { position: relative; overflow: hidden; aspect-ratio: 178 / 88; background: #fff; }
.cxy-ref-img > img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 12%; object-fit: contain; transition: transform .4s ease; }
.cxy-ref-img > img.cxy-ref-square-logo { padding: 0; object-fit: cover; }
.cxy-ref-img > svg { position: absolute; top: 50%; left: 50%; width: 38%; height: 52%; color: #1763e8; transform: translate(-50%, -50%); }
.cxy-ref-txt { min-height: 48px; padding: 10px 8px; color: #52647a; font-size: 14px; line-height: 1.45; text-align: center; transition: color .3s ease; }
.cxy-ref-cases a:hover .cxy-ref-img img, .cxy-ref-cases a:focus-visible .cxy-ref-img img { transform: scale(1.04); }
.cxy-ref-cases a:hover .cxy-ref-txt, .cxy-ref-cases a:focus-visible .cxy-ref-txt { color: #1558e9; }
.overview-project-media img { transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.overview-project-card > a:focus-visible .overview-project-media img { transform: scale(1.025); }
@media (hover: hover) { .overview-project-card > a:hover .overview-project-media img { transform: scale(1.025); } }
.cxy-ref-more { margin-top: 38px; }
.cxy-ref-more > .cxy-ref-ts { display: grid; gap: 10px; margin-top: 15px; }
.cxy-ref-more a { color: #334662; font-size: 14px; line-height: 1.55; transition: color .3s ease; }
.cxy-ref-more a:hover, .cxy-ref-more a:focus-visible { color: #1558e9; }
.cxy-ref-note { color: #52647a; font-size: 14px; line-height: 1.6; }
@keyframes cxy-overview-reveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cxy-overview-ring { from { opacity: .6; transform: scale(1); } to { opacity: 0; transform: scale(1.4); } }

@media (max-width: 1050px) {
  .cxy-hero-service-copy { flex-direction: column; gap: 3px; }
}
@media (max-width: 880px) {
  .cxy-hero-layout { grid-template-columns: 1fr; grid-template-areas: "intro" "art" "services"; padding-top: 36px; padding-bottom: 66px; }
  .cxy-hero-intro h1 { margin-top: 30px; }
  .cxy-hero-intro h1 { font-size: clamp(34px, 7vw, 48px); }
  .cxy-hero-description { font-size: 15px; }
  .cxy-hero-art { width: min(100%, 480px); justify-self: center; margin-top: 22px; }
  .cxy-hero-services { margin-top: 18px; }
  .cxy-ref-list > ul > li { grid-template-columns: 1fr; gap: 38px; }
  .cxy-ref-copy .cxy-ref-ts2 { font-size: 22px; }
}
@media (max-width: 600px) {
  .cxy-hero-layout { padding-bottom: 52px; }
  .cxy-hero-intro h1 { font-size: clamp(32px, 8vw, 40px); }
  .cxy-hero-services a { min-height: 66px; grid-template-columns: 26px minmax(0, 1fr) 24px; gap: 8px; }
  .cxy-ref-content { padding: 68px 0 76px; }
  .cxy-ref-heading h2 { font-size: clamp(25px, 6vw, 33px); }
  .cxy-ref-list > ul > li { padding: 28px 22px; border-radius: 10px; }
  .cxy-ref-problem, .cxy-ref-copy .cxy-ref-ts2 { font-size: 21px; }
  .cxy-ref-cases > .cxy-ref-ts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cxy-ref-links { flex-direction: column; gap: 0; }
  .cxy-ref-links a { min-height: 46px; justify-content: space-between; border-bottom: 1px solid #eef2f7; }
}
@media (prefers-reduced-motion: reduce) {
  .cxy-hero-service-arrow, .cxy-ref-links a > span::after, .cxy-ref-links a i, .cxy-ref-img > img, .cxy-ref-txt, .cxy-ref-more a { transition: none; }
  .cxy-hero-art img, .overview-project-media img { transform: none !important; transition: none; }
  .cxy-ref-heading h2, .cxy-ref-arrow { transform: none !important; opacity: 1 !important; }
  .cxy-ref-arrow a > span::after, .cxy-ref-list > ul > li { animation: none !important; }
}
html[data-motion='paused'] .cxy-ref-heading h2, html[data-motion='paused'] .cxy-ref-arrow { transform: none !important; opacity: 1 !important; }
html[data-motion='paused'] .cxy-ref-arrow a > span::after, html[data-motion='paused'] .cxy-ref-list > ul > li { animation: none !important; }
html[data-motion='paused'] .cxy-hero-service-arrow, html[data-motion='paused'] .cxy-ref-img > img, html[data-motion='paused'] .cxy-ref-txt { transition: none; }
html[data-motion='paused'] .cxy-hero-art img, html[data-motion='paused'] .overview-project-media img { transform: none !important; transition: none; }

/* Background and scroll behavior for the overview's own artwork. */
.cxy-ref-entry-bridge { height: clamp(65px, 9vh, 100px); margin-top: -1px; background: #fff; }
.cxy-ref-entry-bridge svg { display: block; width: 100%; height: 100%; }
.cxy-reference .cxy-ref-bg { position: sticky; top: 0; height: 100vh; overflow: hidden; pointer-events: none; }
.cxy-reference .cxy-ref-bg img { display: block; width: 100%; height: calc(100% + 990px); max-width: none; object-fit: cover; object-position: center top; will-change: transform; }
.cxy-reference .cxy-ref-content { position: relative; z-index: 1; margin-top: -100vh; }
.cxy-reference .cxy-ref-copy, .cxy-reference .cxy-ref-related { min-width: 0; }
.cxy-reference .cxy-ref-img > img.cxy-ref-square-logo { padding: 0; object-fit: cover; }
.cxy-reference .cxy-ref-list > ul > li { scroll-margin-top: calc(var(--header-height, 80px) + 20px); }
@media (prefers-reduced-motion: reduce) { .cxy-reference .cxy-ref-bg img { transform: none !important; } }
html[data-motion='paused'] .cxy-reference .cxy-ref-bg img { transform: none !important; }

