:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #12141b;
  --muted: #525965;
  --line: #c8cbd1;
  --blue: #214bea;
  --edge: clamp(24px, 5.7vw, 98px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
h1, h2, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #5984ff; outline-offset: 5px; }
::selection { background: #c1ceff; color: #101323; }
.shell { position: relative; z-index: 1; }
.wrap { width: min(calc(100% - 2 * var(--edge)), 1480px); margin-inline: auto; }
.skip-link { position: absolute; top: 10px; left: var(--edge); z-index: 5; padding: 10px 20px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.topbar { min-height: 90px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark, .topbar nav, .primary, .contact-pill, .product, .foot, .legal, .legal a, .foot-mail { display: flex; align-items: center; }
.wordmark { gap: 9px; }
.wordmark img { width: 42px; height: 42px; object-fit: contain; mix-blend-mode: multiply; }
.wordmark span { display: grid; gap: 3px; }
.wordmark strong { font-size: 22px; letter-spacing: .025em; line-height: 1.1; }
.wordmark small { font-size: 8px; font-weight: 750; line-height: 1; letter-spacing: .15em; }
.topbar nav { gap: clamp(18px, 3vw, 52px); font-size: 14px; font-weight: 600; }
.topbar nav > a { padding-block: 10px; }
.topbar nav .contact-pill { padding: 9px 19px; gap: 11px; border-radius: 30px; background: var(--ink); color: white; }
.contact-pill::after, .product::after, .service-links a::after {
  content: "↗"; font-family: Arial, sans-serif; font-weight: 400; line-height: 1;
}
.contact-pill::after { font-size: 16px; }

/* 全幅交互画布与静态模型共用右栏的取景位置。 */
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 72% 46%, #142136, #080b12 76%); color: #f4f6fb; }
.hero-scene, .hero-still { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero-still { object-fit: contain; }
/* 左侧暗化：保证标题在任何光效下都清晰 */
.hero::before {
  content: ""; position: absolute; inset: 0 42% 0 0; z-index: 1; pointer-events: none;
  background: radial-gradient(76% 104% at 14% 46%, rgba(6, 9, 15, .95), rgba(6, 9, 15, .6) 40%, rgba(6, 9, 15, 0) 70%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 14%; z-index: 1; pointer-events: none;
  background: linear-gradient(rgba(8, 11, 18, 0), rgba(8, 11, 18, .5));
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; min-height: clamp(555px, calc(83svh - 48px), 785px); }
.hero-copy { padding: 38px 0 55px; }
.hero-art { position: relative; align-self: stretch; min-height: 1px; }
.discipline { display: flex; align-items: center; gap: 11px; margin-bottom: 25px; color: #8d9bb5; font-size: 13px; font-weight: 650; letter-spacing: .08em; }
.discipline::before { content: ""; width: 23px; height: 3px; background: #5d8dff; }
.hero h1 { font-size: clamp(24px, 3vw, 44px); line-height: 1.26; font-weight: 760; letter-spacing: -.045em; color: #f8faff; text-wrap: pretty; }
.full-stop, .contact-intro h2 span { color: var(--blue); }
.hero .full-stop { color: #6f9bff; }
.intro { margin-top: 25px; font-size: clamp(15px, 1.1vw, 19px); line-height: 1.85; color: #a9b4c9; text-wrap: pretty; }
.primary { display: inline-flex; gap: 13px; margin-top: 26px; border-radius: 99px; padding: 13px 22px; font-size: 14px; font-weight: 650; background: var(--blue); color: white; }
.grid-icon { width: 5px; height: 5px; margin: -7px 7px 0 0; background: currentColor; box-shadow: 7px 0, 0 7px, 7px 7px; }
@media (pointer: coarse) {
  .desktop-hint { display: none; }
  .touch-hint { display: inline; }
}

.products { border-top: 1px solid var(--line); padding: clamp(33px, 3.4vw, 60px) 0 clamp(30px, 4vw, 68px); }
.products h2, .fold h2 { font-size: clamp(28px, 2.6vw, 46px); line-height: 1.2; font-weight: 700; letter-spacing: -.055em; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
.product { min-width: 0; gap: clamp(12px, 1.2vw, 22px); padding: 8px clamp(14px, 2vw, 36px); border-left: 1px solid var(--line); }
.product:first-child { border-left: 0; padding-left: 0; }
.product:last-child { padding-right: 0; }
.product-icon { display: block; flex: 0 0 auto; width: clamp(44px, 4.1vw, 64px); height: auto; aspect-ratio: 1; border-radius: 16%; }
.product strong, .product small { display: block; }
.product strong { font-size: clamp(19px, 1.6vw, 26px); line-height: 1.45; }
.product small { margin-top: 2px; color: var(--muted); font-size: clamp(12px, .91vw, 15px); }
.product::after { margin-left: auto; font-size: 22px; }
.services { border-top: 1px solid var(--line); }
details > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; list-style: none; }
summary::-webkit-details-marker { display: none; }
.fold > summary { padding-block: clamp(28px, 3.3vw, 55px); }
.fold-icon { position: relative; display: inline-block; height: 17px; width: 17px; flex: 0 0 auto; }
.fold-icon::before, .fold-icon::after { content: ""; position: absolute; inset: calc(50% - 1px) 0 auto; height: 2px; background: currentColor; }
.fold-icon::after { transform: rotate(90deg); }
details[open] > summary .fold-icon::after { transform: rotate(0); }
.service-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 80px); padding-bottom: 42px; }
.service-links { align-content: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.service-links a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.service-notes { display: grid; align-content: start; gap: 12px; }
.service-notes div { scroll-margin-top: 16px; }
.service-notes dt { font-size: 14px; font-weight: 700; }
.service-notes dd { font-size: 13px; color: var(--muted); }

.contact-section, footer { color: #f4f5f9; background: #141720; }
.contact-section { padding: clamp(48px, 6vw, 94px) 0 clamp(40px, 5vw, 82px); }
.contact-intro { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 35px; }
.contact-intro h2 { font-size: clamp(42px, 4.6vw, 78px); line-height: 1.2; font-weight: 700; letter-spacing: -.06em; }
.contact-intro h2 span { color: #7693ff; }
.business-email { color: #dce0ef; font-size: clamp(16px, 1.5vw, 24px); }
.contact-actions { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.contact-form-wrap > summary, .wechat-trigger, .send { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 44px; padding: 9px 20px; border: 1px solid #737785; border-radius: 50px; background: transparent; color: inherit; font-weight: 600; font-size: 14px; }
.contact-form-wrap > summary { border-color: #f2f3f7; background: #f2f3f7; color: var(--ink); }
.contact-form-wrap[open] { width: min(100%, 600px); }
.contact-form-wrap .fold-icon { width: 12px; height: 12px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 24px; }
.contact-form label { display: grid; gap: 5px; min-width: 0; font-size: 13px; color: #e0e3ee; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; padding: 9px 12px; border: 1px solid #646979; border-radius: 6px; background: #202430; color: #f4f5f9; font-size: 16px; }
.contact-form textarea { resize: vertical; }
.contact-form textarea::placeholder { color: #b5b9c7; }
.contact-form .wide { grid-column: 1 / -1; }
.contact-form .hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.send { justify-self: start; border: 0; background: #3257eb; color: white; }
.send:disabled { opacity: .65; }
.wechat-contact { position: relative; }
.wechat-contact-card { top: auto; bottom: 100%; right: auto; left: 0; padding: 0 0 9px; }
.foot { min-height: 78px; padding-block: 19px; gap: 14px 25px; flex-wrap: wrap; border-top: 1px solid #3a3d47; color: #bec1ce; font-size: 12px; }
.foot-mail, .legal { gap: 12px 18px; flex-wrap: wrap; }
.legal { margin-left: auto; }
.legal a { gap: 4px; }

@media (hover: hover) {
  .topbar nav > a:not(.contact-pill):hover, .product:hover, .fold > summary:hover, .service-links a:hover { color: var(--blue); }
  .primary:hover { background: #183ac7; }
  .contact-pill:hover { background: #303441; }
  .foot a:hover, .business-email:hover { text-decoration: underline; text-underline-offset: .22em; }
  .wechat-trigger:hover { border-color: white; }
}
@media (max-width: 800px) {
  :root { --edge: clamp(20px, 4.5vw, 36px); }
  .topbar { min-height: 73px; }
  .hero-inner { min-height: clamp(480px, 68svh, 650px); }
  .hero h1 { font-size: clamp(18px, 2.9vw, 32px); }
  .hero-art { align-self: center; height: clamp(300px, 44svh, 420px); }
  .product { padding-inline: 14px; gap: 9px; }
  .product::after { font-size: 17px; }
  .legal { margin-left: 0; }
}
@media (max-width: 620px) {
  .topbar { min-height: 67px; }
  .wordmark { gap: 5px; }
  .wordmark img { width: 32px; height: 32px; }
  .wordmark strong { font-size: 17px; }
  .wordmark small { font-size: 6.5px; }
  .topbar nav { gap: clamp(10px, 3.1vw, 18px); font-size: 12px; }
  .topbar nav .contact-pill { padding: 8px 12px; gap: 4px; }
  .contact-pill::after { font-size: 13px; }
  .hero::before { inset: 0 0 48%; background: linear-gradient(rgba(6, 9, 15, .72), transparent); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 34px 0 40px; row-gap: 0; }
  .hero-copy { padding: 0; }
  .discipline { font-size: 12px; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(23px, 6.4vw, 30px); line-height: 1.32; letter-spacing: -.03em; }
  .intro { margin-top: 17px; font-size: 14px; line-height: 1.7; }
  .primary { margin-top: 17px; padding: 10px 18px; font-size: 13px; }
  .hero-art { height: clamp(232px, 70vw, 360px); }
  .products { padding: 26px 0 15px; }
  .product-grid { grid-template-columns: 1fr; margin-top: 14px; }
  .product, .product:first-child, .product:last-child { border: 0; padding: 13px 0; gap: 16px; }
  .product + .product { border-top: 1px solid var(--line); }
  .product-icon { width: 44px; }
  .product strong { font-size: 19px; }
  .product small { font-size: 13px; }
  .product::after { font-size: 21px; }
  .service-body { grid-template-columns: 1fr; }
  .service-links { column-gap: 16px; }
  .contact-form { grid-template-columns: 1fr; }
  .wechat-contact-card { left: auto; right: 0; }
  .contact-form-wrap[open] + .wechat-contact .wechat-contact-card { left: 0; right: auto; }
  .foot { align-items: flex-start; }
  .foot-mail { margin-left: auto; }
  .legal { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) {
    .product::after, .fold-icon::after { transition: transform .18s ease; }
    .product:hover::after { transform: translate(2px, -2px); }
  }
}

/* ── 关于我们 ── */
.about-hero { position: relative; overflow: hidden; background: #080b12; color: #f4f6fb; }
/* 水墨大雁底纹：右侧大面积淡墨，四周用径向遮罩化开 */
.about-hero::after {
  content: ""; position: absolute; right: 1%; top: 48%; z-index: 0;
  width: clamp(340px, 40vw, 600px); aspect-ratio: 1; transform: translateY(-50%);
  background: url("/assets/ink-goose.webp") center / contain no-repeat;
  opacity: .12; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 42%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 50%, #000 42%, transparent 76%);
}
.about-hero > .wrap { position: relative; z-index: 1; }
.about-hero .wrap { padding: clamp(52px, 6.4vw, 96px) 0 clamp(42px, 5vw, 74px); }
.about-eyebrow { display: flex; align-items: center; gap: 11px; color: #8d9bb5; font-size: 13px; font-weight: 650; letter-spacing: .08em; }
.about-eyebrow::before { content: ""; width: 23px; height: 3px; background: #5d8dff; }
.about-hero h1 { margin-top: 22px; max-width: 20ch; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.2; font-weight: 760; letter-spacing: -.045em; color: #f8faff; text-wrap: pretty; }
.about-hero .full-stop { color: #6f9bff; }
.about-hero p { margin-top: 20px; max-width: 56ch; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.85; color: #a9b4c9; }
.about-main { padding: clamp(40px, 5vw, 82px) 0 clamp(34px, 4vw, 64px); }
.about-block + .about-block { margin-top: clamp(32px, 3.8vw, 54px); }
.about-block h2 { font-size: clamp(21px, 1.9vw, 30px); line-height: 1.3; font-weight: 700; letter-spacing: -.04em; }
.about-block > p { margin-top: 12px; max-width: 64ch; color: var(--muted); font-size: 15px; line-height: 1.85; }
.about-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.about-card { border-left: 1px solid var(--line); padding: 4px clamp(14px, 2vw, 30px); }
.about-card:first-child { border-left: 0; padding-left: 0; }
.about-card:last-child { padding-right: 0; }
.about-card strong { display: block; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; }
.about-card small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.about-tag { display: inline-block; margin-left: 8px; border: 1px solid #d3d8e2; border-radius: 4px; padding: 1px 6px; color: #6b768c; font-size: 11px; font-weight: 500; line-height: 1.6; letter-spacing: 0; vertical-align: 2px; }
.about-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px clamp(24px, 4vw, 56px); margin: 22px 0 0; padding: 0; list-style: none; }
.about-skills li { border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.about-skills b { display: block; margin-bottom: 3px; color: var(--ink); font-size: 14px; font-weight: 700; }
.about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: clamp(34px, 4vw, 58px); border-top: 1px solid var(--line); padding-top: 26px; }
.about-cta p { color: var(--muted); font-size: 14px; }
.about-cta .primary { margin-top: 0; }
.about-cta .contact-pill { padding: 9px 19px; border-radius: 30px; background: #141720; color: #fff; font-size: 14px; font-weight: 600; }
.about-cta .contact-pill::after { font-size: 16px; }
@media (max-width: 800px) {
  .about-skills { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .about-hero::after { right: -22%; top: 36%; width: clamp(240px, 46vw, 330px); opacity: .075; }
}
@media (max-width: 620px) {
  .about-cards { grid-template-columns: 1fr; margin-top: 18px; }
  .about-card, .about-card:first-child, .about-card:last-child { border-left: 0; padding: 12px 0; }
  .about-card + .about-card { border-top: 1px solid var(--line); }
  .about-tag { display: block; margin: 5px 0 0; width: fit-content; vertical-align: 0; }
}
