:root {
  --ink: #1b1d21;
  --text: #3c4148;
  --muted: #66707c;
  --header: #4e535a;
  --header-2: #454a50;
  --footer: #3c4148;
  --footer-2: #32363c;
  --red: #ee1c25;
  --red-deep: #d1131b;
  --gold: #f0c14d;
  --paper: #f3f4f6;
  --line: #e6e7ea;
  --white: #fff;
  --max: 1180px;
  --header-h: 74px;
  --shadow: 0 12px 32px rgba(22, 26, 32, 0.08);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--white);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3, p { margin: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { left: 12px; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid #eceef2;
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(20, 24, 32, .08); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  color: #2a2e34;
  font-size: 15px;
  padding: 8px 12px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--red); }

.search {
  display: flex;
  align-items: center;
  width: 168px;
  height: 36px;
  background: #fff;
  border: 1px solid #e3e5e9;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  transition: border-color .2s ease;
}
.search:focus-within { border-color: var(--red); }
.search input {
  border: 0;
  outline: 0;
  width: 100%;
  height: 100%;
  padding: 0 4px 0 14px;
  background: transparent;
  font-size: 13px;
  color: var(--ink);
}
.search button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #666;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.search-mobile { display: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #1b1d21;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  padding: 72px 20px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(8, 14, 24, 0.55), rgba(8, 14, 24, 0.38) 42%, rgba(8, 14, 24, 0.62)),
    url("../assets/stills/spring.jpg") center 42% / cover no-repeat;
}
.hero-frame {
  width: min(880px, 100%);
  border: 2px solid rgba(255,255,255,.94);
  text-align: center;
  padding: 46px 48px 36px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,.86);
}
.hero h1 {
  margin-top: 14px;
  font-size: 56px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.hero-line {
  margin-top: 18px;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0.04em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
}
.hero-line span { white-space: nowrap; }
.hero-line span:not(:last-child)::after { content: "｜"; margin: 0 0.45em; color: var(--gold); }
.hero-stats {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 16px;
}
.hero-stats span { position: relative; white-space: nowrap; }
.hero-stats span + span::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  transform: translateY(-50%);
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  padding: 42px 0 36px;
}
.icon-row a {
  text-align: center;
  color: var(--ink);
  padding: 8px 4px;
}
.icon-row svg { width: 42px; height: 42px; stroke: #3e4450; fill: none; stroke-width: 1.6; }
.icon-row strong { display: block; margin-top: 10px; font-size: 15px; font-weight: 650; }
.icon-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; letter-spacing: 0.02em; }
.icon-row a:hover svg { stroke: var(--red); }
.icon-row a:hover strong { color: var(--red); }

.section { padding: 78px 0; }
.section-paper { background: var(--paper); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head h2 { font-size: 32px; color: var(--ink); font-weight: 700; letter-spacing: 0.04em; }
.rule { display: block; width: 42px; height: 3px; background: var(--red); margin: 12px 0 10px; }
.section-head p, .lede { color: var(--muted); font-size: 15px; }
.section-actions { display: flex; gap: 18px; align-items: center; }
.lede a { color: var(--red); }
.still-card[hidden] { display: none; }
.still-play {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: #111;
  cursor: pointer;
}
.still-play .play { opacity: 1; }
.still-card figcaption b {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}
.more { color: var(--ink); font-size: 14px; white-space: nowrap; }
.more:hover { color: var(--red); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work-card { background: #fff; min-width: 0; }
.work-card[hidden] { display: none; }
.work-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d7dbe1;
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.work-card:hover .work-media img { transform: scale(1.045); }
.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.8);
  opacity: 0;
  transition: opacity .25s ease;
}
.play::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 16px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}
.work-card:hover .play { opacity: 1; }
.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 16px 0;
}
.work-meta h3 {
  border-left: 3px solid #dedede;
  padding-left: 12px;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.4;
}
.work-card:hover h3 { border-left-color: var(--red); }
.work-meta p { margin-top: 4px; padding-left: 15px; color: var(--muted); font-size: 13px; }
.bloop {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #666;
  background: #fff;
}
.bloop:hover { border-color: var(--red); color: var(--red); }

.filters { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 6px 0 26px; }
.filters button {
  border: 0;
  background: transparent;
  padding: 6px 0;
  cursor: pointer;
  color: var(--text);
  font-size: 15px;
  border-bottom: 2px solid transparent;
}
.filters button.is-on, .filters button:hover { color: var(--red); border-bottom-color: var(--red); }
.empty-note { display: none; padding: 28px 0 8px; color: var(--muted); }
.empty-note.is-show { display: block; }

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.client-grid li {
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 16px;
}
.client-grid { padding: 0; margin: 0; }
.client-grid img { max-height: 78px; width: auto; max-width: 78%; object-fit: contain; }

.trust-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background: #fff;
  box-shadow: var(--shadow);
}
.trust-photo { margin: 0; min-height: 460px; }
.trust-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.trust-copy { padding: 52px 46px; }
.trust-copy h2 { font-size: 32px; color: var(--ink); letter-spacing: 0.06em; }
.trust-sub { margin-top: 8px; font-size: 18px; color: var(--ink); font-weight: 650; }
.trust-copy ul { margin: 22px 0 28px; padding: 0; list-style: none; }
.trust-copy li {
  position: relative;
  padding: 8px 0 8px 16px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
}
.trust-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 650;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--red-deep); }
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid #c8ccd2;
}
.btn-line:hover { border-color: var(--red); color: var(--red); background: transparent; }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: #fff6f6; }

.news-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 22px;
}
.news-feature, .news-row { background: #fff; color: var(--ink); }
.news-feature img, .news-row img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-feature div, .news-copy { padding: 16px 18px 18px; }
.news-feature time, .news-row time { color: var(--red); font-size: 12px; letter-spacing: 0.08em; }
.news-feature h3, .news-row h3 { margin-top: 8px; font-size: 20px; line-height: 1.45; font-weight: 700; }
.news-feature p, .news-row p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.news-side { display: grid; gap: 22px; }
.news-row { display: grid; grid-template-columns: 210px 1fr; background: var(--paper); align-items: stretch; }
.news-row img { aspect-ratio: 16 / 10; height: 100%; object-fit: cover; }
.section-paper .news-row { background: #fff; }
.news-list { display: grid; gap: 18px; }
.news-list a {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
}
.news-list img { width: 100%; height: 180px; object-fit: cover; }
.news-list div { padding: 22px 22px 22px 0; }
.news-list h2 { font-size: 22px; color: var(--ink); line-height: 1.45; }
.news-list p { margin-top: 8px; color: var(--muted); line-height: 1.7; }

.site-footer { background: var(--footer); color: rgba(255,255,255,.82); padding-top: 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  gap: 36px;
  padding-bottom: 36px;
}
.footer-brand p { margin-top: 14px; max-width: 360px; line-height: 1.8; font-size: 14px; }
.footer-brand .btn { margin-top: 18px; }
.site-footer h2 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.contact-list { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.9; }
.contact-list a:hover { color: #fff; }
.qr-wrap { text-align: center; font-size: 13px; }
.qr-wrap img { width: 132px; margin: 0 auto 8px; background: #fff; }
.footer-bottom {
  background: var(--footer-2);
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.8;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.footer-bottom a:hover { color: #fff; }

.rail {
  position: fixed;
  right: 0;
  top: 46%;
  z-index: 45;
  display: grid;
}
.rail-btn {
  width: 74px;
  min-height: 74px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  font-size: 12px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.25);
  cursor: pointer;
  padding: 8px 4px;
}
.rail a.rail-btn { text-align: center; }
.rail-btn svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.7; }
.rail-btn:hover { background: var(--red-deep); }
.wechat-pop {
  position: absolute;
  right: 84px;
  top: 70px;
  width: 180px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  box-shadow: var(--shadow);
  display: none;
  text-align: center;
  font-size: 13px;
}
.wechat-pop.is-open { display: block; }
.wechat-pop img { width: 150px; margin: 0 auto 6px; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.modal-dialog { position: relative; width: min(960px, 100%); background: #000; }
.modal-dialog video { width: 100%; max-height: 78vh; background: #000; }
.modal-close {
  position: absolute;
  right: 0;
  top: -40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.pagehead { background: var(--paper); padding: 42px 0 28px; }
.pagehead h1 { font-size: 36px; color: var(--ink); letter-spacing: 0.06em; }
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.crumb a:hover { color: var(--red); }
.pagehead .lede { margin-top: 8px; }

.layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: start;
}
.poster { position: relative; background: #111; }
.poster img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.play-btn {
  position: absolute;
  left: 16px;
  bottom: 16px;
}
.kicker { color: var(--red); font-size: 13px; letter-spacing: 0.14em; }
.case-title { margin-top: 8px; font-size: 34px; line-height: 1.3; color: var(--ink); }
.case-slogan { margin-top: 8px; font-size: 18px; color: var(--text); }
.fact-list { margin: 18px 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; line-height: 1.9; }
.prose { max-width: 820px; }
.prose h2 { margin: 28px 0 10px; font-size: 22px; color: var(--ink); }
.prose p { margin: 0 0 14px; line-height: 1.9; font-size: 16px; }
.prose blockquote {
  margin: 18px 0;
  padding: 16px 18px;
  background: var(--paper);
  border-left: 3px solid var(--red);
  color: var(--ink);
  line-height: 1.8;
}
.related { margin-top: 36px; }

.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.service-block img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.service-block h2 { font-size: 26px; color: var(--ink); }
.service-block p { margin-top: 10px; line-height: 1.8; }
.service-block.reverse { grid-template-columns: 1.1fr 0.9fr; }
.service-block.reverse img { order: 2; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  background: #fff;
  border-top: 3px solid var(--red);
  padding: 22px 20px 18px;
}
.step b { display: block; color: var(--red); font-size: 13px; letter-spacing: 0.08em; }
.step h3 { margin: 8px 0; color: var(--ink); font-size: 20px; }
.step ol { margin: 0; padding-left: 18px; line-height: 1.8; color: var(--text); }

.equip-grid, .office-grid, .still-grid {
  display: grid;
  gap: 16px;
}
.equip-grid { grid-template-columns: repeat(4, 1fr); }
.office-grid { grid-template-columns: repeat(3, 1fr); }
.still-grid { grid-template-columns: repeat(3, 1fr); }
.equip-grid article, .office-grid article, .still-grid figure {
  background: #fff;
  border: 1px solid var(--line);
  margin: 0;
}
.equip-grid img, .still-grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #f7f7f7; }
.equip-grid h3, .office-grid h3, .still-grid figcaption {
  padding: 12px 14px 14px;
  color: var(--ink);
  font-size: 15px;
}
.office-grid article { padding: 22px 20px; }
.office-grid p { margin-top: 8px; color: var(--muted); line-height: 1.7; font-size: 14px; }
.still-grid figcaption { color: var(--text); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}
.panel { background: #fff; border: 1px solid var(--line); padding: 28px 26px; }
.panel h2 { color: var(--ink); font-size: 22px; }
.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input, textarea, select {
  width: 100%;
  border: 1px solid #d9dce1;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  font-size: 15px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(238,28,37,.25); border-color: var(--red); }
.form-note { min-height: 1.4em; color: var(--red); font-size: 14px; }

.split-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.about-lead { font-size: 18px; line-height: 1.8; color: var(--ink); }

@media (max-width: 1100px) {
  .icon-row { grid-template-columns: repeat(4, 1fr); row-gap: 22px; }
  .work-grid, .still-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid, .equip-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qr-wrap { grid-column: 1 / -1; text-align: left; }
  .qr-wrap img { margin: 0 0 8px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .search-desktop { display: none; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    margin: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(20, 24, 32, .08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--red); }
  .logo img { height: 38px; }
  .search-mobile { display: flex; width: auto; margin: 8px; }
  .site-header { position: sticky; }
  .header-inner { position: static; }
  .hero { min-height: 520px; padding: 48px 16px; }
  .hero-frame { padding: 28px 16px 22px; }
  .hero h1 { font-size: 34px; letter-spacing: 0.04em; }
  .hero-line { font-size: 14px; }
  .hero-stats { font-size: 14px; gap: 8px 16px; }
  .section { padding: 56px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-head h2, .pagehead h1, .case-title { font-size: 28px; }
  .work-grid, .client-grid, .news-grid, .trust-grid, .layout, .service-block,
  .service-block.reverse, .steps, .equip-grid, .office-grid, .still-grid,
  .contact-grid, .contact-layout, .contact-tiles, .office-row, .contact-qr, .split-copy, .news-list a, .footer-grid, .news-row, .about-split, .honor-grid {
    grid-template-columns: 1fr;
  }
  .service-block.reverse img { order: 0; }
  .news-list div { padding: 16px; }
  .trust-photo { min-height: 240px; }
  .trust-copy, .panel { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .rail { top: auto; bottom: 0; right: 0; left: 0; grid-auto-flow: column; }
  .rail-btn { width: auto; min-height: 52px; flex: 1; border-bottom: 0; border-right: 1px solid rgba(255,255,255,.25); }
  .wechat-pop { right: 12px; top: auto; bottom: 64px; }
  body { padding-bottom: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work-media img, .play, .pre-reveal, .hero-frame, .to-top { transition: none; animation: none; }
  .pre-reveal { opacity: 1; transform: none; }
}

.icon-row a svg {
  width: 54px;
  height: 54px;
  padding: 13px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.icon-row a:hover svg {
  transform: translateY(-4px);
  border-color: var(--red);
  background: #fff6f6;
  box-shadow: 0 8px 18px rgba(238, 28, 37, .12);
}

.work-card {
  border: 1px solid #eceef2;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.work-card:hover {
  transform: translateY(-5px);
  border-color: #f3d4d6;
  box-shadow: 0 16px 34px rgba(20, 24, 32, .09);
}
.work-meta { padding-right: 12px; }
.bloop { transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.bloop:hover { background: var(--red); color: #fff; border-color: var(--red); transform: scale(1.06); }
.play { transition: opacity .25s ease, transform .25s ease; }
.work-card:hover .play { transform: scale(1.05); }

.filters { gap: 10px; }
.filters button {
  border: 1px solid #e4e6ea;
  border-radius: 999px;
  padding: 7px 14px;
  background: #fff;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filters button.is-on, .filters button:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  border-bottom-color: var(--red);
}

.client-grid li {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.client-grid li:hover {
  transform: translateY(-3px);
  border-color: #f0d5d7;
  box-shadow: 0 10px 24px rgba(20, 24, 32, .06);
}

.pagehead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #16181c;
  background-position: center;
  background-size: cover;
  border-bottom: 0;
  padding: 78px 0 52px;
  color: #fff;
}
.pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, .82) 0%, rgba(8, 10, 14, .55) 58%, rgba(8, 10, 14, .4) 100%),
    linear-gradient(180deg, rgba(8, 10, 14, .15), rgba(8, 10, 14, .45));
}
.pagehead .container { position: relative; z-index: 1; }
.pagehead h1,
.pagehead .case-title { color: #fff; }
.pagehead .lede,
.pagehead .case-slogan,
.pagehead .crumb { color: rgba(255, 255, 255, .82); }
.pagehead .crumb a { color: #fff; }
.pagehead .crumb a:hover { color: var(--gold); }
.pagehead .kicker { color: var(--gold); }
.pagehead h1::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 12px;
  background: var(--red);
}
.pagehead .container::before,
.pagehead .container::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(255, 255, 255, .75);
  pointer-events: none;
}
.pagehead .container::before { left: 0; top: -16px; border-right: 0; border-bottom: 0; }
.pagehead .container::after { right: 0; bottom: -16px; border-left: 0; border-top: 0; }
.pagehead-works { background-image: url("../assets/works/shengke.jpg"); background-position: center 40%; }
.pagehead-case { background-image: url("../assets/works/robot.jpg"); background-position: center 30%; }
.pagehead-services { background-image: url("../assets/hero/set-suzhou.png"); background-position: center 35%; }
.pagehead-news { background-image: url("../assets/news/semi.jpg"); background-position: center 40%; }
.pagehead-article { background-image: url("../assets/news/ai.jpg"); background-position: center 45%; }
.pagehead-about { background-image: url("../assets/works/hitachi.jpg"); background-position: center 50%; }
.pagehead-contact { background-image: url("../assets/stills/changshu.jpg"); background-position: center 40%; }
.pagehead-stills { background-image: url("../assets/stills/spring.jpg"); background-position: center 42%; }
.crumb span { color: #c5c8ce; margin: 0 6px; }

.poster {
  border: 1px solid #1c1e22;
  box-shadow: 0 18px 40px rgba(20, 24, 32, .12);
  overflow: hidden;
}
.fact-list {
  border: 1px solid var(--line);
  padding: 8px 16px;
  background: #fafbfc;
}
.fact-list li { border-bottom: 1px solid #eef0f3; }
.fact-list li:last-child { border-bottom: 0; }

.service-block {
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 18px;
  margin: 0 0 16px;
  background: #fff;
  transition: box-shadow .3s ease, transform .3s ease;
}
.service-block:hover { box-shadow: 0 14px 32px rgba(20, 24, 32, .07); transform: translateY(-2px); }
.service-block img { box-shadow: 0 8px 20px rgba(20, 24, 32, .08); }

.step {
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  box-shadow: 0 8px 20px rgba(20, 24, 32, .04);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(20, 24, 32, .08); }
.step b {
  display: inline-block;
  border: 1px solid #f3c5c8;
  background: #fff5f5;
  padding: 2px 8px;
}

.equip-grid article, .office-grid article, .still-grid figure, .news-list a, .news-feature, .news-row, .panel {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.equip-grid article:hover, .office-grid article:hover, .still-grid figure:hover, .news-list a:hover, .news-feature:hover, .news-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(20, 24, 32, .08);
  border-color: #f0d4d6;
}
.panel { box-shadow: 0 10px 26px rgba(20, 24, 32, .04); }
.news-feature, .news-row { border: 1px solid var(--line); }
.still-grid img, .equip-grid img { transition: transform .5s ease; }
.still-grid figure, .equip-grid article { overflow: hidden; }
.still-grid figure:hover img, .equip-grid article:hover img { transform: scale(1.04); }
.office-grid article { border-top: 3px solid var(--red); }
.office-grid h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--red);
  vertical-align: 1px;
}

.btn { transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(238, 28, 37, .22); }
.btn-line:hover, .btn-light:hover { box-shadow: none; }

.footer-brand .logo { display: inline-flex; background: none; padding: 0; }
.footer-brand .logo img { height: 34px; width: auto; }
.rail-btn .icon-wx { width: 22px; height: 22px; fill: #fff; stroke: none; }
.qr-wrap img { border: 4px solid #fff; }

.contact-layout { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 28px; align-items: stretch; }
@media (max-width: 860px) {
  .contact-photo { min-height: 320px; }
}
.contact-photo { position: relative; margin: 0; min-height: 100%; overflow: hidden; border: 1px solid var(--line); }
.contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.contact-sheet { border: 1px solid var(--line); background: #fff; padding: 32px 34px; display: flex; flex-direction: column; }
.contact-sheet h2 { color: var(--red); font-size: 28px; letter-spacing: 0.04em; }
.contact-lead { margin-top: 8px; color: var(--muted); }
.contact-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.contact-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fafbfc;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.contact-tile:hover { border-color: #f0c9cc; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20,24,32,.06); }
.contact-tile small { display: block; color: var(--muted); font-size: 12px; }
.contact-tile strong { display: block; margin-top: 2px; color: var(--ink); font-size: 16px; font-weight: 650; }
.icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #f3d0d3;
  background: #fff5f6;
  color: var(--red);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.icon-bubble svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.icon-bubble .icon-wx { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.office-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.office-row article { display: flex; gap: 14px; padding: 20px 18px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); }
.office-row h3 { color: var(--ink); font-size: 18px; }
.office-row p { margin-top: 6px; color: var(--text); font-size: 14px; line-height: 1.7; }
.office-row a { display: inline-block; margin-top: 8px; color: var(--red); font-size: 14px; }
.contact-qr {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
}
.contact-qr img { width: 100%; height: auto; margin: 0; }
.contact-qr h2 { margin-top: 12px; color: var(--ink); font-size: 26px; }
.contact-qr p { margin-top: 8px; color: var(--text); line-height: 1.75; max-width: 460px; }
.contact-qr .wx-no { color: var(--red); font-weight: 650; }

.about-banner { width: 100%; height: auto; margin-bottom: 28px; border: 1px solid var(--line); }
.about-split { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: start; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; border: 1px solid var(--line); }
.about-slogan { width: min(420px, 100%); height: auto; margin-top: 8px; }
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.honor-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); }
.honor-grid img { width: 100%; height: 280px; object-fit: contain; background: #f7f5f0; }
.honor-grid figcaption { padding: 12px 14px 14px; color: var(--ink); font-size: 14px; line-height: 1.55; }

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 54px 12px;
  margin: 12px 0 0;
  padding: 28px 8px 8px;
  list-style: none;
}
.flow li { position: relative; display: grid; place-items: center; }
.flow li span {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 26px rgba(20, 24, 32, .14);
}
.flow li.is-gray span { background: #5e646c; }
.flow li.is-red span { background: var(--red); }
.flow li::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}
.flow li.arrow-right::after {
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--red);
}
.flow li.arrow-left::after {
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 9px 14px 9px 0;
  border-color: transparent var(--red) transparent transparent;
}
.flow li.arrow-down::after {
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%);
  border-width: 14px 9px 0 9px;
  border-color: var(--red) transparent transparent transparent;
}
.s1 { grid-area: 1 / 1; }
.s2 { grid-area: 1 / 2; }
.s3 { grid-area: 1 / 3; }
.s4 { grid-area: 1 / 4; }
.s5 { grid-area: 2 / 4; }
.s6 { grid-area: 2 / 3; }
.s7 { grid-area: 2 / 2; }
.s8 { grid-area: 2 / 1; }

.hero-frame { animation: frameIn .8s ease both; }
@keyframes frameIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.pre-reveal { opacity: 0; transform: translateY(22px); }
.pre-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .65s ease, transform .65s ease;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 46;
  width: 42px;
  height: 42px;
  border: 1px solid #e6e7ea;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20, 24, 32, .12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, border-color .2s ease, color .2s ease;
}
.to-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: var(--red); color: var(--red); }

.modal { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 860px) {
  .to-top { right: 14px; bottom: 68px; }
  .hero-frame { animation: none; }
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .s1, .s2, .s3, .s4, .s5, .s6, .s7, .s8 { grid-area: auto; }
  .flow li::after { display: none; }
  .flow li span { width: 104px; height: 104px; font-size: 16px; }
}
