:root {
  color-scheme: light;
  --ink: #f7f5ef;
  --panel: #ffffff;
  --panel-2: #eef1ff;
  --primary: #3157ff;
  --accent: #ff5b3d;
  --sun: #ffd43b;
  --violet: #a98bff;
  --text: #17191f;
  --muted: #636a78;
  --line: #d9dce6;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
section[id], #traffic-title { scroll-margin-top: 92px; }
body {
  margin: 0;
  background: var(--ink);
  background-image: linear-gradient(rgba(247,245,239,.9), rgba(247,245,239,.9)), url("assets/doodle-mural-v3.png");
  background-size: auto, min(1400px, 100vw) auto;
  background-position: center top;
  background-repeat: repeat;
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.mobile-only { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 100;
  padding: .65rem 1rem;
  background: var(--primary);
  color: #fff;
  transform: translateY(-120%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 96px;
  padding: 0 max(1.25rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(23,25,31,.12);
  background: rgba(247,245,239,.9);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; }
.brand-art { display: flex; align-items: stretch; width: 290px; aspect-ratio: 2635 / 737; flex: none; container-type: inline-size; mix-blend-mode: multiply; }
.brand-symbol { width: 30%; height: 100%; flex: none; overflow: hidden; }
.brand-symbol img { width: 333.333%; max-width: none; height: auto; }
.brand-wordmark { display: flex; flex-direction: column; justify-content: center; width: 67%; margin-left: 3%; white-space: nowrap; color: #000; }
.brand-chinese { font: 900 16.5cqw/1 "Songti SC", "Noto Serif CJK SC", "SimSun", serif; letter-spacing: -.05em; }
.brand-english { margin-top: .1em; font: 800 6.2cqw/1 Arial, sans-serif; letter-spacing: .055em; }
.brand-english span { color: #e00000; }
.brand-side { display: grid; line-height: 1.2; white-space: nowrap; }
.brand-side b { font-size: .72rem; letter-spacing: .06em; }
.brand-side small { margin-top: .3rem; color: var(--muted); font-size: .65rem; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.8rem); }
.site-nav a { color: #333743; font-size: .92rem; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--primary); }
.nav-cta { border: 1px solid var(--primary); padding: .55rem 1rem; background: var(--primary); color: #fff !important; }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; color: var(--text); padding: .45rem .8rem; }

.hero {
  min-height: calc(100svh - 96px);
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 8rem) max(1.25rem, calc((100vw - var(--max)) / 2));
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  overflow: hidden;
}
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.eyebrow, .section-kicker {
  margin: 0 0 1.3rem;
  color: var(--primary);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .19em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.35rem, 7vw, 6rem);
  line-height: .94;
  letter-spacing: -.065em;
}
h1 span { color: var(--accent); }
.hero-lead { max-width: 40rem; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.hero-capabilities { margin: 1.8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; }
.hero-capabilities li { padding: .42rem .75rem; border: 1px solid #c8ccda; background: rgba(255,255,255,.72); color: #373b46; font-size: .82rem; letter-spacing: .08em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.25rem; }
.button { min-height: 48px; padding: .7rem 1.25rem; border: 1px solid var(--primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.button-primary { background: var(--primary); color: #fff; }
.button-ghost { color: var(--text); }
.button:hover, .button:focus-visible { box-shadow: 0 0 0 4px rgba(49,87,255,.16); }
.hero-visual { min-height: 500px; position: relative; }
.visual-panel { min-height: 430px; padding: clamp(2rem, 5vw, 4rem); background: var(--primary); color: #fff; display: flex; flex-direction: column; justify-content: space-between; transform: rotate(2deg); box-shadow: 22px 22px 0 var(--sun); }
.visual-panel span { font-size: .8rem; font-weight: 800; letter-spacing: .2em; }
.visual-panel strong { font-size: clamp(3rem, 6vw, 5.4rem); line-height: .82; letter-spacing: -.07em; }
.visual-sticker { position: absolute; right: -1.5rem; top: -1.5rem; width: 145px; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; text-align: center; font-size: .8rem; font-weight: 900; line-height: 1.25; letter-spacing: .12em; transform: rotate(9deg); }
.visual-ribbon { position: absolute; left: -1.2rem; bottom: 1.5rem; padding: .8rem 1rem; background: #17191f; color: #fff; font-size: .72rem; letter-spacing: .12em; transform: rotate(-3deg); }
.hero-index { position: absolute; right: 1.4rem; bottom: 1rem; color: #7b8090; font-size: .75rem; letter-spacing: .14em; }

.section-pad { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 1.25rem; }
.manifesto { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: .65fr 2fr; gap: 2rem; border-top: 0; background: linear-gradient(135deg, #3157ff 0 61%, #ffd43b 61% 74%, #ff5b3d 74%); color: #fff; box-shadow: 0 24px 70px rgba(49,87,255,.2); }
.manifesto::before { content: ''; position: absolute; z-index: -1; width: 23rem; aspect-ratio: 1; right: -7rem; top: -10rem; border: 2.5rem solid rgba(255,255,255,.2); border-radius: 50%; }
.manifesto::after { content: 'HEQI'; position: absolute; z-index: -1; right: 2rem; bottom: -3rem; color: rgba(255,255,255,.12); font-size: clamp(8rem, 22vw, 18rem); font-weight: 1000; line-height: 1; letter-spacing: -.08em; }
.manifesto .section-kicker { color: #fff; }
.manifesto h2 { grid-column: 2; margin-bottom: 1rem; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1.02; letter-spacing: -.05em; }
.manifesto h2 span { color: #fff; background: linear-gradient(transparent 64%, rgba(255,212,59,.92) 64%); }
.manifesto-copy { grid-column: 2; max-width: 48rem; color: #fff; font-size: 1.18rem; font-weight: 650; }
.manifesto-tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: .6rem; }
.manifesto-tags span { padding: .42rem .72rem; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.12); font-size: .74rem; font-weight: 900; letter-spacing: .16em; backdrop-filter: blur(8px); }

.services { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-head h2, .partners h2 { max-width: 780px; margin-bottom: 0; font-size: clamp(2.25rem, 5vw, 4.6rem); line-height: 1.05; letter-spacing: -.045em; }
.section-head > p { max-width: 34rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
.service-card { position: relative; overflow: hidden; min-height: 390px; padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; box-shadow: 0 18px 38px rgba(23,25,31,.12); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px) rotate(-.35deg); box-shadow: 0 28px 48px rgba(23,25,31,.17); }
.service-card::before { position: absolute; right: 1.5rem; top: .4rem; color: rgba(255,255,255,.19); font-size: clamp(6rem, 13vw, 11rem); font-weight: 1000; line-height: 1; letter-spacing: -.08em; }
.service-card:nth-child(1)::before { content: '01'; }
.service-card:nth-child(2)::before { content: '02'; }
.service-card:nth-child(3)::before { content: '03'; color: rgba(23,25,31,.12); }
.service-card:nth-child(4)::before { content: '04'; }
.service-card:nth-child(1) { background: #3157ff; color: #fff; }
.service-card:nth-child(2) { background: #ff5b3d; color: #fff; }
.service-card:nth-child(3) { background: #ffd43b; color: #17191f; }
.service-card:nth-child(4) { background: #865cff; color: #fff; }
.service-label { position: relative; z-index: 1; width: fit-content; padding: .38rem .62rem; background: #17191f; color: #fff; font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.service-card h3 { max-width: 26rem; margin: 2rem 0 1.5rem; font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: .95; letter-spacing: -.055em; }
.service-items { margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.service-items li { position: relative; z-index: 1; padding: .52rem .82rem; border: 1px solid rgba(255,255,255,.62); border-radius: 999px; background: rgba(255,255,255,.15); color: inherit; font-weight: 800; backdrop-filter: blur(8px); }
.service-card:nth-child(3) .service-items li { border-color: rgba(23,25,31,.35); background: rgba(255,255,255,.38); }
.value-chain { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-chain span { padding: 1rem .7rem; background: var(--panel); color: #333743; text-align: center; font-size: .88rem; letter-spacing: .08em; }

.traffic { max-width: 1440px; background: #17191f; color: #fff; }
.traffic .section-kicker { color: var(--sun); }
.traffic-heading { display: grid; grid-template-columns: .5fr 1.55fr .8fr; gap: 2rem; align-items: end; }
.traffic-heading .section-kicker { align-self: start; }
.traffic-heading h2 { margin: 0; white-space: nowrap; font-size: clamp(2.8rem, 6vw, 6.5rem); line-height: .9; letter-spacing: -.065em; }
.traffic-heading > p:last-child { margin: 0; color: #c9cdd8; font-size: 1.05rem; }
.traffic-channels { margin-top: 4rem; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #444854; border-left: 1px solid #444854; }
.traffic-channels article { min-height: 250px; padding: 1.5rem; border-right: 1px solid #444854; border-bottom: 1px solid #444854; display: flex; flex-direction: column; }
.traffic-channels article:nth-child(1) { background: #3157ff; }
.traffic-channels article:nth-child(2) { background: #ff5b3d; }
.traffic-channels article:nth-child(3) { background: #865cff; }
.traffic-channels article:nth-child(4) { background: #f3c928; color: #17191f; }
.traffic-channels span { font-size: .74rem; font-weight: 800; letter-spacing: .14em; }
.traffic-channels h3 { margin: auto 0 .7rem; font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.traffic-channels p { margin: 0; opacity: .86; }
.traffic-proof { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.traffic-proof figure { margin: 0; border: 1px solid #444854; background: #fff; color: #17191f; overflow: hidden; }
.traffic-proof a { display: block; background: #e8e9ed; }
.traffic-proof img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; transition: transform .25s ease; }
.traffic-proof a:hover img, .traffic-proof a:focus-visible img { transform: scale(.985); }
.traffic-proof figcaption { padding: .75rem 1rem; display: flex; justify-content: space-between; gap: .8rem; font-weight: 800; }
.traffic-proof figcaption span { color: var(--primary); font-size: .72rem; white-space: nowrap; }
.traffic .source-note { margin: 1rem 0 0; color: #949aa8; }

.work { max-width: 1440px; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.case-card { min-width: 0; border: 1px solid var(--line); background: var(--panel); overflow: hidden; box-shadow: 0 14px 40px rgba(23,25,31,.07); }
.case-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.case-card:hover img { transform: scale(1.012); }
.case-copy { padding: clamp(1.4rem, 3vw, 2.2rem); }
.case-copy span { display: inline-block; padding: .35rem .6rem; background: #edf0ff; color: var(--primary); font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.case-copy h3 { margin: .45rem 0; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.case-copy p { margin-bottom: 0; color: var(--muted); }
.case-wide { grid-column: span 2; display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; }
.case-wide img { height: 100%; }
.case-wide { border-color: #17191f; background: #17191f; color: #fff; }
.case-wide .case-copy span { background: var(--sun); color: #17191f; }
.case-wide .case-copy p { color: #cfd3de; }
.case-tags { margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; }
.case-tags li { padding: .35rem .55rem; border: 1px solid var(--line); color: #555c6a; font-size: .78rem; }
.case-wide .case-tags li { border-color: #545965; color: #eef0f6; }

.case-showcase-head { margin: clamp(5rem, 9vw, 8rem) 0 0; padding: 2.5rem 0; border-top: 5px solid #17191f; display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem 3rem; align-items: end; }
.case-showcase-head .section-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.case-showcase-head h3 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.055em; }
.case-showcase-head > p:last-child { margin: 0; color: var(--muted); font-size: 1.05rem; }
.showcase-group { margin-top: clamp(5rem, 9vw, 8rem); padding-top: 2rem; border-top: 1px solid #aeb3bf; }
.showcase-group-head { display: grid; grid-template-columns: .8fr 1.4fr; gap: 1rem 3rem; align-items: end; margin-bottom: 2rem; }
.showcase-group-head .section-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.showcase-group-head h3 { margin: 0; font-size: clamp(2.2rem, 4.5vw, 4.2rem); line-height: 1; letter-spacing: -.045em; }
.showcase-group-head > p:last-child { margin: 0; color: #555c6a; font-weight: 700; line-height: 1.9; }
.showcase-gallery { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.showcase-gallery figure { margin: 0; border: 1px solid var(--line); background: #fff; box-shadow: 0 16px 42px rgba(23,25,31,.08); overflow: hidden; }
.showcase-gallery a { display: block; background: #f1f2f5; }
.showcase-gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.showcase-gallery figcaption { padding: .8rem 1rem; color: #555c6a; font-size: .88rem; }
.case-showcase-groups { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.case-index { position: sticky; top: 92px; max-height: calc(100vh - 112px); padding: 1rem; border: 1px solid var(--line); background: #fff; overflow: auto; }
.case-index > strong { display: block; margin-bottom: .8rem; color: var(--muted); font-size: .78rem; letter-spacing: .14em; }
.case-index button { width: 100%; padding: .75rem 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: #3e4450; display: flex; gap: .7rem; text-align: left; cursor: pointer; }
.case-index button span { color: #8b91a0; font-size: .78rem; }
.case-index button:hover, .case-index button:focus-visible, .case-index button[aria-expanded="true"] { color: var(--primary); font-weight: 800; }
.case-accordions { min-width: 0; border-top: 1px solid #aeb3bf; }
.showcase-details { scroll-margin-top: 92px; border-bottom: 1px solid #aeb3bf; }
.showcase-details summary { min-height: 120px; padding: 1.5rem 1rem; cursor: pointer; list-style: none; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; gap: 1rem; align-items: start; }
.showcase-details summary::-webkit-details-marker { display: none; }
.showcase-details summary > span { color: var(--primary); font-size: .82rem; font-weight: 900; }
.showcase-details summary h3 { margin: 0 0 .55rem; font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.05; letter-spacing: -.035em; }
.showcase-details summary p { margin: 0; color: #666d7a; line-height: 1.7; }
.showcase-details summary b { grid-column: 3; grid-row: 1; color: #757c89; font-size: .82rem; white-space: nowrap; }
.showcase-details summary::after { content: '+'; grid-column: 3; grid-row: 2; width: 2.2rem; height: 2.2rem; border: 1px solid #17191f; display: grid; place-items: center; font-size: 1.25rem; }
.showcase-details[open] summary::after { content: '−'; }
.showcase-details .showcase-gallery { padding: 1rem 0 3rem; }

.library-head { margin: clamp(5rem, 9vw, 8rem) 0 2rem; padding-top: 2rem; border-top: 5px solid #17191f; display: grid; grid-template-columns: 1fr 1.6fr; gap: 1rem 2rem; align-items: end; }
.library-head .section-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.library-head h3 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.055em; }
.library-head > p:last-child { margin: 0; color: var(--muted); }
.library-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.library-card { min-width: 0; border: 1px solid var(--line); background: #fff; }
.library-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.library-card > div { padding: 1.5rem; }
.library-card span { display: block; margin-bottom: 1rem; color: var(--primary); font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 900; line-height: 1.2; }
.library-card ul { columns: 2; column-gap: 2rem; margin: 0; padding-left: 1.2rem; }
.library-card li { break-inside: avoid; margin: 0 0 .6rem; color: #484e5a; }
.work > .source-note { margin-top: 1.25rem; }

.local { max-width: 1440px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 6vw; border-top: 1px solid var(--line); background: var(--primary); color: #fff; }
.local .section-kicker { color: var(--sun); }
.local h2 { margin: 0; font-size: clamp(3.3rem, 8vw, 7.2rem); line-height: .9; letter-spacing: -.065em; }
.local-lead { color: #fff; font-size: clamp(1.25rem, 2.8vw, 2.1rem); line-height: 1.4; }
.local-detail { max-width: 48rem; color: #d7dcff; }
@media (min-width: 861px) { .local-lead, .local-detail { max-width: calc(100% - 9rem); } }
.facts { margin: 3rem 0 1rem; }
.facts div { padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,.35); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.facts dt { color: var(--sun); font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 900; letter-spacing: -.04em; }
.facts dd { margin: 0; color: #e7eaff; text-align: right; }
.source-note { color: #7f8491; font-size: .85rem; }
.local .source-note { color: #c8d0ff; }

.partners { border-top: 1px solid var(--line); }
.partners-lead { max-width: 46rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.1rem; }
.logo-wall { margin: 3rem 0 1.5rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.logo-wall > img, .partner-lockup { width: 100%; height: 120px; padding: 1.35rem; border: 1px solid var(--line); background: #fff; object-fit: contain; box-shadow: 0 8px 22px rgba(23,25,31,.05); }
.partner-lockup { display: flex; align-items: center; justify-content: center; gap: .65rem; }
.partner-lockup img { flex: 0 0 auto; width: 48px; height: 48px; object-fit: contain; }
.partner-lockup b { color: #17191f; font-size: 1.45rem; white-space: nowrap; }
.logo-wall img[alt="恒星引力"], .logo-wall img[alt="曹操出行"] { background: #15171c; }
.logo-wall img[alt="中喜传媒"] { padding: .85rem; background: #15171c; }
.logo-wall img[alt="歌瑞尔 GAINREEL"] { padding: .55rem; }

.contact { max-width: 1440px; background: var(--accent); color: #fff; }
.contact .section-kicker { color: #2b0c06; }
.contact h2 { margin-bottom: 4rem; font-size: clamp(3.1rem, 8vw, 7.4rem); line-height: .93; letter-spacing: -.06em; }
.contact-bottom { display: flex; align-items: end; justify-content: space-between; gap: 2rem; border-top: 1px solid rgba(255,255,255,.45); padding-top: 2rem; }
.contact-bottom > p { max-width: 40rem; margin-bottom: 0; font-size: 1.15rem; }
.contact-phone { min-width: 250px; border: 1px solid rgba(255,255,255,.75); padding: 1rem 1.2rem; display: grid; }
.contact-phone span { font-size: .78rem; letter-spacing: .12em; }
.contact-phone strong { margin-top: .25rem; font-size: 1.35rem; }
.contact-links { display: grid; gap: .75rem; }

.site-footer { max-width: 1440px; min-height: 160px; margin: 0 auto; padding: 2rem 1.25rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: var(--muted); font-size: .86rem; }
.site-footer p { margin: 0; }

.chat-launcher { position: fixed; right: 1rem; top: 50%; transform: translateY(-50%); z-index: 30; width: 142px; padding: 0; border: 0; background: transparent; color: #fff; display: grid; justify-items: center; cursor: pointer; filter: drop-shadow(0 12px 18px rgba(49,87,255,.25)); }
.chat-launcher img { width: 136px; height: 128px; object-fit: contain; transition: transform .22s ease; }
.chat-launcher span { margin-top: -.15rem; padding: .4rem .8rem; border: 2px solid #fff; border-radius: 999px; background: var(--primary); color: #fff; font-size: .95rem; font-weight: 900; white-space: nowrap; box-shadow: 0 6px 16px rgba(49,87,255,.24); }
.chat-launcher:hover img, .chat-launcher:focus-visible img { transform: translateY(-4px) rotate(-3deg) scale(1.04); }
.chat-panel { position: fixed; right: calc(2.75rem + 142px); top: 50%; transform: translateY(-50%); z-index: 30; width: min(410px, calc(100vw - 13.5rem)); padding: 0; border: 1px solid var(--line); background: #fff; color: var(--text); box-shadow: 0 20px 60px rgba(23,25,31,.18); overflow: hidden; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.chat-head { padding: 1rem 1.1rem; background: var(--primary); color: #fff; }
.chat-close { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.chat-head .chat-close { color: #fff; }
.chat-messages { height: min(260px, calc(100dvh - 27.5rem)); min-height: 100px; padding: 1rem; background: #f4f5f9; overflow-y: auto; display: flex; flex-direction: column; gap: .7rem; }
.chat-message { max-width: 86%; margin: 0; padding: .7rem .85rem; border-radius: 1rem; line-height: 1.55; white-space: pre-wrap; }
.chat-message.is-assistant { align-self: flex-start; border-bottom-left-radius: .25rem; background: #fff; color: #333743; }
.chat-message.is-user { align-self: flex-end; border-bottom-right-radius: .25rem; background: var(--primary); color: #fff; }
.chat-suggestions { padding: .65rem .8rem; display: flex; gap: .45rem; overflow-x: auto; border-top: 1px solid var(--line); background: #fff; }
.chat-suggestions button { flex: 0 0 auto; border: 1px solid var(--primary); border-radius: 999px; padding: .42rem .68rem; background: #fff; color: var(--primary); font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; }
.chat-suggestions button:hover, .chat-suggestions button:focus-visible { background: var(--primary); color: #fff; }
.chat-form { padding: .8rem; display: grid; grid-template-columns: 1fr auto; gap: .6rem; border-top: 1px solid var(--line); }
.chat-form textarea { min-width: 0; resize: none; padding: .7rem .75rem; border: 1px solid var(--line); color: var(--text); font: inherit; line-height: 1.45; }
.chat-form button { border: 0; padding: .65rem 1rem; background: var(--accent); color: #fff; font-weight: 800; cursor: pointer; }
.chat-form button:disabled { opacity: .55; cursor: wait; }
.chat-status { min-height: 1.4rem; margin: 0; padding: 0 .9rem .6rem; color: var(--muted); font-size: .78rem; }
.chat-contact { padding: .65rem .9rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: .8rem; color: var(--primary); font-size: .78rem; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .site-header { min-height: 68px; }
  .brand-art { width: clamp(150px, 47vw, 205px); }
  .brand-side b { font-size: .62rem; }
  .brand-side small { font-size: .56rem; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .8rem 0; }
  .nav-cta { margin-top: .5rem; padding: .7rem 1rem !important; text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-visual { transform: none; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto h2, .manifesto-copy, .manifesto-tags { grid-column: 1; }
  .mobile-only { display: initial; }
  .section-head, .contact-bottom { display: block; }
  .section-head > p { margin-top: 1rem; }
  .service-card { min-height: 270px; }
  .case-wide { display: block; }
  .local { grid-template-columns: 1fr; }
  .value-chain { grid-template-columns: repeat(3, 1fr); }
  .traffic-heading { grid-template-columns: 1fr; align-items: start; }
  .traffic-heading h2 { font-size: clamp(2.7rem, 10.5vw, 5rem); }
  .traffic-channels { grid-template-columns: repeat(2, 1fr); }
  .traffic-proof { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .library-head { grid-template-columns: 1fr; }
  .library-head .section-kicker { grid-column: 1; }
  .contact-phone { display: inline-grid; margin-top: 2rem; }
  .contact-links { margin-top: 2rem; }
  .contact-links .contact-phone { margin-top: 0; }
  .case-showcase-head, .showcase-group-head { grid-template-columns: 1fr; }
  .case-showcase-head .section-kicker, .showcase-group-head .section-kicker { grid-column: 1; }
  .case-showcase-groups { grid-template-columns: 1fr; }
  .case-index { top: 68px; z-index: 5; max-height: none; padding: .7rem; display: flex; gap: .5rem; overflow-x: auto; }
  .case-index > strong { display: none; }
  .case-index button { flex: 0 0 auto; width: auto; padding: .55rem .75rem; border: 1px solid var(--line); background: #fff; white-space: nowrap; }
  .showcase-details { scroll-margin-top: 150px; }
}

@media (max-width: 580px) {
  .site-header { padding-left: .75rem; padding-right: .75rem; }
  h1 { font-size: clamp(3rem, 15vw, 3.8rem); }
  .hero-index { display: none; }
  .section-pad { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .service-grid, .case-grid, .library-grid { grid-template-columns: 1fr; }
  .value-chain { grid-template-columns: repeat(2, 1fr); }
  .traffic-channels { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-wall > img, .partner-lockup { height: 92px; padding: .65rem; }
  .partner-lockup { gap: .35rem; }
  .partner-lockup img { width: 34px; height: 34px; }
  .partner-lockup b { font-size: 1.2rem; }
  .partner-lockup[aria-label="华为"] b { font-size: .95rem; }
  .chat-launcher { right: .65rem; top: auto; bottom: 1rem; transform: none; width: 126px; }
  .chat-launcher img { width: 120px; height: 114px; }
  .chat-panel { right: .75rem; top: auto; bottom: .75rem; transform: none; width: calc(100vw - 1.5rem); }
  .chat-messages { height: min(320px, calc(100dvh - 20rem)); min-height: 120px; }
  .case-wide { grid-column: span 1; }
  .service-card { min-height: 250px; }
  .case-copy { padding: 1.2rem; }
  .library-card ul { columns: 1; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
