/* Qianying — luminous glass, restrained motion. */
:root {
  --bg: #050609;
  --blue: #acc9ff;
  --muted: #a8b0c1;
  --line: #bccfff20;
  --glass-edge: #d6e4ff30;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
body { background: #050609; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 85% 22%, #233c7b24, transparent 48%),
    radial-gradient(ellipse at 8% 75%, #3526651c, transparent 40%);
}
::selection { background: #8babf755; color: white; }
header {
  top: 18px;
  margin: 18px auto 0;
  width: calc(100% - 64px);
  max-width: 1440px;
  height: 76px;
  padding: 0 27px;
  border: 1px solid var(--glass-edge);
  border-radius: 24px;
  background: linear-gradient(125deg, #b3c6f313, #ffffff05 45%, #b6c8ef09), #0c101b99;
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  box-shadow: inset 0 1px 0 #ffffff13, 0 14px 45px #00000030;
  transition: background .4s, box-shadow .4s;
}
header.is-scrolled { background-color: #0a0e18dd; box-shadow: inset 0 1px 0 #ffffff12, 0 15px 50px #00000055; }
.brand-mark { border-color: #b6ceff60; box-shadow: inset 0 0 14px #b7cfff12, 0 0 15px #628bfb0c; }
nav { gap: 5px; }
nav a { padding: 8px 16px; border-radius: 20px; transition: color .25s, background .25s; }
nav a:hover, nav a[aria-current="location"] { color: white; background: #bacfff13; }
.nav-contact {
  align-items: center;
  gap: 20px;
  padding: 9px 17px;
  border: 1px solid #e0eaff2b;
  border-radius: 30px;
  background: linear-gradient(140deg, #ffffff13, #ffffff03);
  box-shadow: inset 0 1px 0 #ffffff12;
  transition: border-color .3s, background .3s;
}
.nav-contact:hover { border-color: #d0e0ff77; background-color: #93b4ff17; }
.nav-contact span { transition: transform .4s var(--ease-out); }
.nav-contact:hover span { transform: translate(2px, -2px); }
.hero { min-height: 820px; padding-top: 38px; overflow: clip; }
.hero-top { font-size: 12px; letter-spacing: 1.8px; }
.hero-glow {
  inset: -20% -10% -12%;
  background: radial-gradient(ellipse at 77% 48%, #3769c455, transparent 35%),
    radial-gradient(ellipse at 89% 65%, #52bad344, transparent 30%),
    radial-gradient(ellipse at 52% 63%, #673da24d, transparent 37%);
  transform-origin: 65% 55%;
  animation: aurora-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .065;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.8' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}
.hero-copy { padding-top: 76px; padding-bottom: 96px; width: 55%; }
.hero-copy > .eyebrow { display: inline-block; padding: 7px 13px; border: 1px solid #bbd1ff29; border-radius: 20px; background: #b2caff08; font-size: 12px; }
.hero h1 { font-weight: 550; letter-spacing: -4px; line-height: 1.21; margin-top: 18px; }
.hero h1 span {
  background: linear-gradient(120deg, #f4f7ff 5%, #b5d3ff 55%, #8c9ffa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc { max-width: 480px; line-height: 1.95; color: #b5bed0; }
.hero-copy > * { animation: first-reveal 1.05s var(--ease-out) backwards; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .18s; }
.hero-copy > :nth-child(4) { animation-delay: .28s; }
.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 15px 23px;
  border-radius: 32px;
  border-color: #dce7ff50;
  background: linear-gradient(135deg, #d0ddff25, #cedcff08 70%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 #ffffff2b, 0 8px 32px #00000020;
  transition: background .3s, border-color .3s, box-shadow .3s, transform .4s var(--ease-out);
}
.button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -80% -20%;
  background: linear-gradient(115deg, transparent 40%, #edf4ff20 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease-out);
}
.button:hover { transform: translateY(-2px); background-color: #9bbfff14; border-color: #e2ecff80; box-shadow: inset 0 1px 0 #ffffff38, 0 10px 40px #526fad22; }
.button:hover::before { transform: translateX(100%); }
.button span { transition: transform .45s var(--ease-out); }
.button:hover span { transform: translate(3px, -3px); }
.hero-image {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --lift: 0px;
  top: 175px;
  width: 47%;
  right: 4.4%;
  padding: 13px;
  border-radius: 30px;
  border: 1px solid #deebff45;
  background: linear-gradient(145deg, #e2edff21, #d2e2ff05 48%, #9db9ff12);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  box-shadow: inset 0 1px 0 #ffffff38, inset 0 -1px 0 #ffffff0c, 0 35px 85px #00000060, 0 0 80px #6488de16;
  transform: perspective(1200px) translateY(var(--lift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotate(-3deg);
  transition: transform .65s var(--ease-out), box-shadow .65s;
  animation: glass-enter 1.6s var(--ease-out) backwards;
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: -20px 24px 20px -20px;
  z-index: -1;
  border: 1px solid #bbd0ff28;
  border-radius: 34px;
  background: linear-gradient(140deg, #7e9ed01a, #9cb8ff04);
  transform: rotate(-3deg);
  pointer-events: none;
}
.hero-image::after { border-radius: inherit; background: radial-gradient(circle at var(--spot-x, 30%) var(--spot-y, 10%), #eff5ff20, transparent 45%), linear-gradient(140deg, #ffffff08, transparent 35%); }
.hero-image img { aspect-ratio: 1.65; opacity: 1; border-radius: 19px; border: 1px solid #02061160; }
.hero-image figcaption { padding: 18px 8px 7px; color: #d0d9ee; font-size: 12px; gap: 18px; }
.hero-bottom { position: relative; border-color: #c7d9ff25; font-size: 12px; color: #a8b4cb; }
.hero-bottom a { transition: color .3s; }
.hero-bottom a:hover { color: white; }
.section { border-color: #bccfff12; position: relative; }
.section-label { color: #9ebbea; letter-spacing: 2.2px; }
h2 { font-weight: 500; letter-spacing: -1.5px; }
.about { padding-top: 115px; padding-bottom: 115px; }
.about-facts { gap: 20px; }
.about-facts > div { padding: 22px; border-radius: 18px; border: 1px solid #d4e1ff18; background: linear-gradient(130deg, #c3d6ff09, #c3d6ff03); }
.about-facts b { margin-bottom: 7px; }
.service-list { display: grid; gap: 12px; }
.service-list article {
  position: relative;
  isolation: isolate;
  padding: 27px 24px;
  border: 1px solid #c4d4f523;
  border-radius: 20px;
  background: linear-gradient(120deg, #a6bfe410, #a6bfe403 70%);
  box-shadow: inset 0 1px 0 #ffffff08;
  transition: border-color .4s, background .4s, transform .45s var(--ease-out);
}
.service-list article::after, .work::after, .drama::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(450px circle at var(--spot-x, 50%) var(--spot-y, 0%), #b2ccff12, transparent 75%);
  opacity: 0;
  transition: opacity .4s;
}
.service-list article:hover { transform: translateX(4px); background-color: #678bb009; border-color: #b6d0ff50; }
.service-list article:hover::after, .work:hover::after, .drama:hover::after { opacity: 1; }
.number { color: #a9bfe3; }
.service-tag { color: #95a7c5; }
#works { background: radial-gradient(ellipse at 90% 28%, #25376128, transparent 60%); }
.works-grid { gap: 26px; }
.work {
  position: relative;
  border-radius: 26px;
  border: 1px solid #cddfff32;
  padding: 10px;
  background: linear-gradient(145deg, #d0dfff14, #cedcff04 50%, #91aeff0a);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: inset 0 1px 0 #ffffff19, 0 15px 50px #00000025;
  transition: transform .6s var(--ease-out), border-color .4s, box-shadow .6s;
}
.work > img { border-radius: 17px; border: 0; }
.work figcaption { padding: 23px 15px 18px; }
.work h3 { font-size: 21px; }
.work figcaption > span { color: #b4c9ec; border: 1px solid #d7e5ff26; border-radius: 50%; min-width: 32px; height: 32px; text-align: center; line-height: 30px; font-size: 12px; }
.work:hover { transform: translateY(-7px); border-color: #d2e3ff61; box-shadow: inset 0 1px 0 #ffffff30, 0 22px 65px #00000050; }
.drama { position: relative; border-radius: 24px; background: linear-gradient(145deg, #a8c2eb10, #b9d2ff04); border-color: #c7d9fc24; box-shadow: inset 0 1px 0 #ffffff0a; }
.drama > img { border-radius: 12px; }
.metric { color: #e8efff; letter-spacing: -2px; font-weight: 350; }
.metric span { letter-spacing: 0; }
.process { background: radial-gradient(ellipse at 0 40%, #253a651f, transparent 55%), linear-gradient(155deg, #1117226b, #07090e30); }
.pipeline { border-color: #adc8fa33; }
.pipeline li { position: relative; }
.pipeline li::before { content: ""; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #bdcfff; box-shadow: 0 0 13px #a9c4ff66; }
.quality span { font-size: 13px; border: 1px solid #c6d9ff1c; border-radius: 20px; padding: 6px 13px; background: #9cbbf507; }
.quality { gap: 12px; }
details { border: 1px solid #bdcfff28; border-radius: 18px; background: linear-gradient(120deg, #abc4ff0c, transparent); padding: 0 23px; }
summary { min-height: 68px; align-items: center; }
.advantages { gap: 34px; }
.advantages article { border-color: #94b7fd44; }
.training-photos { gap: 17px; }
.training-photos img { border-radius: 20px; border: 1px solid #cbdcff36; box-shadow: 0 15px 50px #00000045; }
.training-photos img:last-child { transform: translateY(20px); }
.tags span { background: linear-gradient(120deg, #c3d7ff0e, #c3d7ff04); border-color: #c4d8ff24; border-radius: 20px; padding: 7px 13px; }
.founder { background: linear-gradient(130deg, #11192870, #10101a20); }
.founder-photo { border-radius: 26px; border: 1px solid #bbd3ff25; box-shadow: 0 20px 60px #00000040; }
.founder-photo img { height: 140%; top: -16%; }
.roadmap-grid { gap: 22px; }
.roadmap-grid article { border: 1px solid #bdd2ff24; border-radius: 24px; padding: 30px; background: linear-gradient(150deg, #d2dfff10, #d2dfff03); box-shadow: inset 0 1px 0 #ffffff0b; }
.roadmap-grid article:nth-child(2) { background-color: #739fed05; }
.roadmap-grid article:nth-child(3) { background-color: #739fed0a; }
.contact { background: radial-gradient(ellipse at 75% 110%, #2e44705c, transparent 65%), radial-gradient(ellipse at 10% 80%, #48367420, transparent 60%); }
.contact h2 span { color: #bcd4ff; }
.cooperation { gap: 32px; }
.contact-grid { padding: 28px; border: 1px solid #cedfff30; border-radius: 24px; background: linear-gradient(120deg, #cbdcff10, #b0cfff04); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 #ffffff14; }
footer { border-color: #bccfff1c; }
@keyframes aurora-drift { from { transform: translate3d(-1.5%, -1%, 0) scale(.96) rotate(-3deg); } to { transform: translate3d(2%, 2%, 0) scale(1.08) rotate(4deg); } }
@keyframes first-reveal { from { opacity: 0; transform: translateY(23px); filter: blur(8px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes glass-enter { from { opacity: 0; translate: 35px 28px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@media (min-width: 1600px) { .hero-image { width: 640px; right: max(5%, calc((100vw - 1440px) / 2)); } }
@media (max-width: 1100px) {
  header { width: calc(100% - 40px); padding: 0 20px; }
  nav a { padding: 8px 10px; }
  .hero h1 { font-size: 76px; }
  .hero-image { top: 210px; width: 46%; }
  .hero-desc { max-width: 440px; }
  .service-list article { grid-template-columns: 42px 1.1fr 1.1fr; gap: 15px; }
  .service-tag { display: none; }
}
@media (max-width: 900px) {
  .hero { min-height: 755px; }
  .hero-copy { width: 57%; padding-top: 65px; }
  .hero h1 { font-size: 64px; }
  .hero-desc { max-width: 370px; }
  .hero-image { width: 44%; right: 3%; opacity: 1; top: 230px; padding: 9px; }
  .hero-image figcaption { display: flex; flex-wrap: wrap; gap: 4px; font-size: 10px; }
  .hero-image::before { inset: -13px 15px 13px -13px; }
  .hero-top span:last-child { letter-spacing: .5px; }
  .about { padding-top: 80px; padding-bottom: 80px; }
  .roadmap-grid article { padding: 22px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 140px; }
  header { top: 10px; width: calc(100% - 24px); margin-top: 10px; height: auto; min-height: 98px; padding: 12px 16px 9px; flex-wrap: wrap; gap: 10px; border-radius: 22px; }
  .brand strong { font-size: 21px; }
  .brand-mark { width: 31px; height: 31px; line-height: 29px; font-size: 20px; }
  .nav-contact { font-size: 12px; padding: 6px 12px; gap: 13px; }
  nav { order: 3; width: 100%; justify-content: space-between; gap: 2px; font-size: 12px; }
  nav a { padding: 5px 8px; }
  .hero { min-height: 0; padding-top: 29px; }
  .hero-top { font-size: 10px; letter-spacing: 1.1px; }
  .hero-top span:last-child { display: none; }
  .hero-copy { width: 100%; padding: 38px 0 8px; }
  .hero-copy > .eyebrow { font-size: 11px; letter-spacing: 1.2px; }
  .hero h1 { font-size: clamp(54px, 10.5vw, 74px); letter-spacing: -2.8px; }
  .hero-desc { font-size: 15px; max-width: 480px; }
  .hero-glow { background: radial-gradient(ellipse at 70% 67%, #4276ca4a, transparent 44%), radial-gradient(ellipse at 7% 69%, #5b3c7f40, transparent 40%); }
  .hero-image { position: relative; top: auto; right: auto; width: calc(100% - 8px); margin: 44px 0 30px 8px; padding: 9px; border-radius: 22px; transform: rotate(-2deg); }
  .hero-image img { border-radius: 14px; aspect-ratio: 1.7; }
  .hero-image figcaption { flex-wrap: nowrap; padding: 13px 5px 5px; font-size: 10px; }
  .hero-image::before { border-radius: 24px; }
  .hero-bottom { font-size: 10px; letter-spacing: .2px; }
  .button { margin-top: 17px; padding: 13px 22px; }
  .section { padding-top: 66px; padding-bottom: 66px; }
  .about { gap: 20px; }
  .about-facts > div { padding: 20px; }
  .service-list article { grid-template-columns: 30px 1fr; padding: 22px 18px; gap: 8px 14px; border-radius: 18px; }
  .service-list h3 { font-size: 19px; }
  .service-list p { grid-column: 2; font-size: 14px; }
  .works-grid, .drama-grid { grid-template-columns: 1fr; }
  .work { border-radius: 22px; padding: 8px; }
  .work figcaption { padding: 18px 10px 14px; }
  .work h3 { font-size: 19px; }
  .drama { gap: 17px; padding: 18px; }
  .quality { gap: 8px; }
  .quality span { font-size: 12px; padding: 5px 10px; }
  .advantages { gap: 26px 18px; }
  .training-photos { gap: 12px; margin-bottom: 20px; }
  .training-photos img { border-radius: 16px; }
  .founder-photo { border-radius: 22px; }
  .roadmap-grid, .cooperation { grid-template-columns: 1fr; gap: 18px; }
  .contact-grid { padding: 22px 18px; gap: 25px 15px; }
  .contact-grid b { font-size: 14px; }
}
@media (hover: none), (pointer: coarse) {
  .hero-image { transition: none; }
  .hero-glow { animation: none; will-change: auto; }
  .work:hover, .service-list article:hover, .button:hover { transform: none; }
}
@supports not (backdrop-filter: blur(1px)) {
  header { background-color: #0c111bf5; }
  .hero-image, .work, .contact-grid { background-color: #141c2cf0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-image { transform: rotate(-2deg); }
  .hero-glow { will-change: auto; }
}
/* Supplied Qianying brand artwork; preserve the original image files. */
[hidden] { display: none !important; }
.work-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.work-filters button { font: inherit; font-size: 14px; color: #b9c5db; cursor: pointer; border: 1px solid #cddfff29; border-radius: 28px; padding: 11px 20px; background: linear-gradient(135deg,#d0ddff10,#cedcff04); transition: color .25s, background .25s, border-color .25s; }
.work-filters button:hover { color: white; border-color: #cfddff68; }
.work-filters button[aria-pressed="true"] { color: #f4f7ff; background: linear-gradient(135deg,#b8d1ff33,#92b9ff14); border-color: #c1d6ff70; box-shadow: inset 0 1px 0 #ffffff20; }
.works-grid[hidden] + .drama-grid { margin-top: 0; }
.work-empty { min-height: 220px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px solid #cddfff25; border-radius: 24px; background: linear-gradient(145deg,#d0dfff0d,#cedcff03); text-align: center; padding: 30px; }
.work-empty p { font-size: 20px; margin-bottom: 8px; color: #dfe9ff; }
.work-empty span { color: var(--muted); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media(max-width:600px) { .work-filters { gap: 8px; margin-bottom: 25px; } .work-filters button { padding: 10px 14px; font-size: 13px; } }
.brand-logo { display:block; position:relative; width:222px; height:52px; overflow:hidden; flex-shrink:0; mix-blend-mode:screen; }
.brand-logo img { position:absolute; width:330px; height:82.5px; max-width:none; left:-53px; top:-16px; object-fit:contain; }
@media(max-width:900px) { .brand-logo { width:180px; height:44px; } .brand-logo img { width:270px; height:67.5px; left:-43px; top:-13px; } }
@media(max-width:380px) { header .brand-logo { width:163px; height:40px; } header .brand-logo img { width:246px; height:61.5px; left:-39px; top:-12px; } }
