/* Ivory paper, warm stone and blue-grey ink. Original artwork retains its colours. */
:root{--bg:#f5f1e9;--ink:#263c42;--muted:#58676a;--blue:#244f69;--warm:#805f37;--story-paper:#f5f1e9;--story-dark:#263c42;--story-muted:#58676a;--stone:#e9e4da;--white:#fffdf9}
body,.scene,.intro-scene,.season-scene,.system-scene,.care-scene,.equipment-scene{background:var(--bg);color:var(--ink)}
.masthead{background:#f5f1e9f5}.brand{background:transparent}.brand img{filter:none}
.film-footer,.static-mode .film-footer,.light-chapter .film-footer{background:#f5f1e9f5;color:var(--ink)}
.film-progress{background:#dcd7cb}.film-progress span,.light-chapter .film-progress span{background:var(--blue)}
.hero-title h1,.season-heading h2,.closing-brand{color:#183b50}
.scene-note,.muted,.care-list button,.journey-steps button,.equipment-tabs button,.venue-links button{color:var(--muted)}
.round-link,.contact-button,.submit,.system-links button{background:var(--blue);color:var(--white)}
.round-link:hover,.contact-button:hover,.submit:hover,.system-links button:hover{background:#183b50;color:var(--white)}
.season-controls button{background:var(--stone);color:var(--ink)}
.season-controls [aria-pressed=true]{background:var(--blue);color:var(--white)}
.season-controls .image-open{background:transparent;color:var(--ink)}
.care-list button.is-selected,.journey-steps button[aria-pressed=true]{color:var(--warm)}
.care-photo{z-index:-2}.care-photo img,.craft-visual img,.journey-visual img,.contact-photo img,.system-visual img{filter:none}
.side-scrim{background:linear-gradient(90deg,#f5f1e9f2 5%,#f5f1e9bd 58%,#f5f1e975)} /* taste-skill-ignore: neutral light scrim for readable titles over photographs. */
.contact-scrim{background:#f5f1e9d9}
.system-visual{z-index:-2}.system-scene:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f5f1e9f5,#f5f1e9a8 65%,#f5f1e933);pointer-events:none} /* taste-skill-ignore: neutral light scrim for readable system explanation. */
.system-detail button{background:transparent;color:var(--ink)}
.reel-frame{background:#fcf9f3;color:var(--ink)}
.reel-frame>img{left:44%;width:56%;filter:none;z-index:0}
.reel-frame.is-active>img,.static-mode .reel-frame>img{filter:none}
.reel-copy{right:auto;width:44%;padding:24px;background:#fcf9f3;justify-content:center;align-items:center;text-align:center;z-index:1}
.reel-description{margin-inline:auto}
.reel-services{justify-content:center}
.reel-consult,.reel-services button{text-align:center}
.reel-copy h3{font-size:clamp(26px,2.4vw,38px)}
.reel-family,.reel-description .reel-note{color:var(--muted)}
.reel-frame.is-expanded .reel-copy{width:100%;background:var(--white);justify-content:start}
.reel-services button{background:var(--blue);color:var(--white)}
.reel-services button:hover{background:#183b50;color:var(--white)}
dialog{background:var(--bg);color:var(--ink)}dialog::backdrop{background:#74716999}
input,select,textarea{background:var(--white);color:var(--ink);border-color:#9a9d92}
input::placeholder,textarea::placeholder{color:#647072}
.result-actions button{background:var(--stone);color:var(--ink)}.route{background:var(--stone)}
.skip{background:var(--blue);color:var(--white)}
#request-error{color:#963f2a}
@media(max-width:640px){
 .reel-frame>img{left:0;top:0;width:100%;height:51%}
 .reel-copy{top:51%;right:0;bottom:0;width:100%;padding:12px 18px;justify-content:center}
 .reel-family{display:none}.reel-copy h3{font-size:25px;margin:0 0 5px}.reel-summary{font-size:13px;line-height:1.5}
 .reel-copy summary,.reel-consult{font-size:12px;padding:4px 0;min-height:30px}
 .reel-frame.is-expanded .reel-copy{top:0;padding:18px}
 .side-scrim{background:#f5f1e9d9}
 .system-scene:before{background:#f5f1e9d9}
 .care-list button.is-selected{color:var(--warm)}
}

.care-list button,.journey-steps button{color:var(--ink)}.care-list button.is-selected,.journey-steps button[aria-pressed=true]{color:var(--warm)}.equipment-scene .scene-note{bottom:9.3vh}

.hero-visual{pointer-events:auto;padding:0;border:0;background:transparent;cursor:zoom-in}.hero-visual img{pointer-events:auto}

/* Phone-first opening: business, original artwork, then the closing slogan. */
.intro-scene{display:grid;grid-template-areas:"title" "proof" "picture" "bottom";grid-template-rows:auto auto minmax(0,1fr) auto;gap:12px;padding:calc(96px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom))}
.hero-proof{grid-area:proof;display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;text-align:center;width:min(100%,480px);justify-self:center;padding-top:4px}
.hero-stat{display:flex;flex-direction:column;gap:3px}
.hero-stat strong{font-size:clamp(30px,7.8vw,44px);line-height:1.1;font-weight:500;color:var(--blue);font-variant-numeric:tabular-nums}
.hero-stat strong span{font-size:.5em;margin-left:3px}
.hero-stat>span{font-size:12px;line-height:1.5;color:var(--muted)}
.contact-hours{display:grid;gap:8px;text-align:center;color:var(--ink)}
.contact-hours .contact-brand-name{font-size:clamp(20px,5.9vw,34px);line-height:1.2;font-weight:700;letter-spacing:.02em;margin-bottom:6px}
.contact-hours .contact-headline{font-size:clamp(20px,5.3vw,26px);line-height:1.4}
.contact-hours .contact-hours-note{font-size:clamp(12px,3.5vw,16px);line-height:1.6;color:var(--muted)}
@media(max-height:720px) and (max-width:767px){.hero-proof{gap:5px 16px;padding:0}.hero-stat strong{font-size:27px}.hero-bottom{gap:8px!important}}
.hero-title{grid-area:title;position:static;transform:none!important}
.hero-title h1{font-size:clamp(27px,7.5vw,34px);line-height:1.3;letter-spacing:-.045em}
.hero-title h1 span{display:block}
.hero-lead{grid-area:lead;font-size:14px;line-height:1.6;color:var(--muted)}
.hero-visual{grid-area:picture;position:relative;inset:auto;width:calc(100% + 40px);margin-left:-20px;min-height:0;height:100%;transform:none!important;z-index:0}
.hero-original{grid-area:zoom;position:static;justify-self:end;min-height:44px;padding:10px 0;font-size:13px}
.hero-bottom{grid-area:bottom;position:static;display:grid;grid-template-columns:1fr 48px;gap:18px 12px;align-items:end}
.hero-bottom .hero-services{grid-column:1/-1;font-size:14px;line-height:1.6}
.hero-bottom .hero-slogan{font-size:30px;line-height:1.25;letter-spacing:-.045em;color:#183b50}
.hero-slogan span,.hero-slogan strong{display:block}.hero-slogan strong{font-weight:600}
.hero-bottom .round-link{width:48px;height:48px;font-size:24px}
.film-progress{position:fixed;inset:auto 0 0;height:2px;z-index:60;pointer-events:none}
@media(min-width:768px){
 .intro-scene{padding:125px var(--gap) 35px;gap:12px}
 .hero-title h1{font-size:clamp(32px,3.3vw,52px)}.hero-title h1 span{display:inline}
 .hero-lead{font-size:16px}
 .hero-visual{width:100%;margin:0}
 .hero-original{font-size:14px}
 .hero-bottom{grid-template-columns:1fr auto 58px;gap:30px;align-items:center}
 .hero-bottom .hero-services{grid-column:auto;font-size:16px}
 .hero-bottom .hero-slogan{font-size:32px}.hero-slogan span,.hero-slogan strong{display:inline}
}
@media(max-width:767px){
 .masthead{height:86px;padding:12px 20px}.brand{width:185px;height:58px}
 .masthead nav>a{display:none}.masthead nav button{min-height:44px;font-size:13px;padding:8px 0}
 #request-form{grid-template-columns:1fr;gap:18px}.request-dialog input,.request-dialog select,.request-dialog textarea{font-size:16px;padding:14px 12px}
 .season-controls button,.system-links button,.journey-steps button,.reel-controls button,.reel-bottom button,.venue-links button{min-height:44px}
 .venue-links{gap:0 14px}.venue-links button{font-size:13px}
 .care-list button{min-height:44px}
}
@media(max-height:720px) and (max-width:767px){
 .intro-scene{padding-top:88px;padding-bottom:22px;gap:7px}
 .hero-title h1{font-size:27px}.hero-lead{font-size:13px}.hero-bottom{gap:10px}.hero-bottom .hero-slogan{font-size:27px}
}
@media(max-width:767px){
 .equipment-intro h2{font-size:30px}.equipment-intro p{font-size:12px;margin-top:10px}
 .reel-window{top:38vh;height:51vh}.reel-frame>img{height:48%}.reel-copy{top:48%;padding:10px 18px}
 .reel-copy summary,.reel-consult{min-height:44px;font-size:14px;display:flex;align-items:center;padding:4px 0}
 .reel-bottom{bottom:3vh}.closing-brand{bottom:4vh;font-size:10vw}
}

/* Center both closing lines independently of the scroll control. */
.hero-bottom{grid-template-columns:minmax(0,1fr);min-width:0;width:100%;justify-items:center;gap:16px;text-align:center}
.hero-bottom .hero-services{grid-column:1;font-size:clamp(22px,6.4vw,32px);font-weight:700;line-height:1.5;white-space:nowrap;display:flex;justify-content:center;align-items:center;gap:clamp(3px,.9vw,10px)}
.hero-bottom .hero-slogan{grid-column:1;font-size:clamp(18px,5vw,24px);font-weight:400;word-spacing:.3em;letter-spacing:0;line-height:1.3;white-space:nowrap;text-align:center}
.hero-slogan span,.hero-slogan strong{display:inline}
.hero-bottom .round-link{grid-column:1;justify-self:center}

.hero-services .service-dot{font-size:.65em;font-weight:400}

/* A centered closing contact panel, with two intentionally empty WeChat image slots. */
.contact-scene{display:grid;place-items:center;padding:110px 20px 40px}
.contact-panel{width:min(100%,560px);display:flex;flex-direction:column;align-items:center;gap:42px;text-align:center}
#phone-dialog{width:min(480px,calc(100% - 32px));text-align:center}
.phone-list{display:grid;gap:24px;margin-top:28px}
.phone-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px;text-align:left}
.phone-entry label{grid-column:1/-1;font-size:20px}
.phone-entry input{grid-column:1/-1;min-width:0;width:100%;font-size:24px;padding:4px 0;background:transparent;border:0;color:var(--ink)}
.phone-actions{grid-column:1/-1;display:flex;gap:12px}
.phone-actions a{flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;font-size:15px;text-decoration:none;text-align:center}
.phone-call{background:var(--blue);color:var(--white)}
.contact-people{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}
.contact-person{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}
.contact-person h3{font-size:22px;font-weight:500;letter-spacing:0}
.person-phone{display:block;font-size:21px;line-height:1.5;min-height:44px;padding:4px 0;letter-spacing:.03em}
.wechat-qr{width:100%;max-width:210px;aspect-ratio:1;border:1px solid #d8d2c4;border-radius:10px;display:block}.wechat-placeholder{width:100%;max-width:210px;aspect-ratio:1;background:#e6e1d6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#536365}
.wechat-placeholder span{font-size:17px}.wechat-placeholder small{font-size:13px}
@media(max-width:640px){.contact-scene{padding:96px 22px 32px}.contact-panel{gap:32px}.contact-people{gap:22px}.contact-person h3{font-size:20px}.person-phone{font-size:20px}.wechat-placeholder span{font-size:15px}}

/* Tianmen service atlas: local outline, floating place names and plain service sectors. */
.footprint-scene{--map-sage:#e3ebdd;display:grid;grid-template-columns:32% minmax(0,1fr);grid-template-rows:auto auto 1fr;grid-template-areas:"heading map" "metrics map" "venues map";gap:32px 36px;padding:125px var(--gap) 40px;align-content:center}
.footprint-heading{grid-area:heading}.footprint-heading h2{font-size:clamp(32px,3.6vw,54px);line-height:1.25;letter-spacing:-.04em}.footprint-heading p{font-size:14px;margin-top:16px;color:var(--muted)}
.footprint-metrics{grid-area:metrics;display:flex;gap:32px}.footprint-metrics strong{font-size:clamp(34px,3.4vw,52px);line-height:1.1;font-weight:400;letter-spacing:-.045em;color:var(--blue);font-variant-numeric:tabular-nums}.footprint-metrics strong span{font-size:.45em;margin-left:3px}.footprint-metrics p{font-size:14px;margin-top:6px;color:var(--muted)}
.footprint-map{grid-area:map;position:relative;align-self:center;width:100%;height:min(62vh,590px);isolation:isolate}.footprint-terrain{position:absolute;inset:0;width:100%;height:100%;overflow:visible;transform-origin:center;z-index:-1}.town-labels{position:absolute;inset:9% 0 7%}.town-label{position:absolute;left:var(--tx);top:var(--ty);transform:translate(-50%,-50%);min-height:44px;min-width:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:transparent;white-space:nowrap;color:var(--ink);font-size:clamp(13px,1.15vw,17px)}
.town-label span{background:var(--bg);padding:2px 5px;animation:town-drift 6s ease-in-out var(--delay) infinite}.town-label i{width:5px;height:5px;background:var(--blue);border-radius:50%}.town-label:hover span,.town-label:focus-visible span{background:var(--blue);color:var(--white)}.town-label:hover{z-index:2}.map-city{position:absolute;bottom:0;right:3%;font-size:clamp(32px,6vw,80px);color:#9eaf9e;letter-spacing:.14em;z-index:-1}
.footprint-venues{grid-area:venues;align-self:end}.footprint-venues h3{font-size:17px;line-height:1.5;font-weight:500;margin-bottom:14px}.footprint-venue-list{display:flex;flex-wrap:wrap;gap:2px 18px}.footprint-venue-list button{font-size:15px;min-height:44px;color:var(--ink);text-align:left}.footprint-venue-list button:hover{color:var(--blue);text-decoration:underline;text-underline-offset:5px}
@keyframes town-drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes map-pulse{0%,100%{opacity:.25}50%{opacity:.8}}
.map-pulse{animation:map-pulse 4s ease-in-out infinite}
@media(max-width:900px){.footprint-scene{grid-template-columns:1fr;grid-template-rows:auto auto minmax(230px,1fr) auto;grid-template-areas:"heading" "metrics" "map" "venues";gap:16px;padding:104px 20px 26px}.footprint-heading h2{font-size:30px;line-height:1.22}.footprint-heading p{margin-top:7px;font-size:13px}.footprint-metrics{gap:40px;justify-content:center}.footprint-metrics strong{font-size:37px}.footprint-metrics p{font-size:13px;margin-top:3px}.footprint-map{height:100%;min-height:230px}.town-labels{inset:3% -2% 6%}.town-label{font-size:13px}.town-label span{padding:2px 3px}.map-city{font-size:36px;right:4%;bottom:-4px}.footprint-venues h3{font-size:16px;text-align:center;margin-bottom:7px}.footprint-venue-list{justify-content:center;gap:0 16px}.footprint-venue-list button{font-size:14px;min-height:36px}.footprint-terrain{width:110%;left:-5%}}
@media(max-height:700px) and (max-width:900px){.footprint-scene{overflow-y:auto;align-content:start;padding-top:96px;padding-bottom:20px;grid-template-rows:auto auto 230px auto;gap:12px}.footprint-heading h2{font-size:26px}.footprint-metrics strong{font-size:32px}}
@media(prefers-reduced-motion:reduce){.town-label span,.map-pulse{animation:none}.footprint-terrain{transform:none!important}}
.static-mode .footprint-scene{height:auto;min-height:850px}
/* One shared SVG coordinate system: geographical dots never move with label avoidance. */
.footprint-map .footprint-terrain{inset:0;width:100%;height:100%;z-index:0;overflow:visible}
.map-town{cursor:pointer;outline:none}.town-anchor{fill:var(--blue);stroke:var(--white);stroke-width:2}
.town-leader{fill:none;stroke:#738f88;stroke-width:1.4}
.town-caption rect{fill:var(--bg);fill-opacity:.96;stroke:none}
.town-caption text{fill:var(--ink);font-family:inherit;font-weight:400}
.map-town:hover .town-caption rect,.map-town:focus-visible .town-caption rect{fill:var(--blue)}
.map-town:hover .town-caption text,.map-town:focus-visible .town-caption text{fill:var(--white)}
.map-town:focus-visible .town-anchor{stroke:var(--warm);stroke-width:4}
.map-north{color:var(--muted);font-size:22px}
/* Full official reference map, with forest overlays removed; no re-positioned labels. */
.footprint-map{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.official-map-open{display:block;width:100%;min-height:0;max-height:100%;padding:0;background:transparent;cursor:zoom-in}
.official-map-image{display:block;width:100%;height:auto;max-height:58vh;object-fit:contain;transform-origin:center}
.official-map-caption{font-size:14px;min-height:44px;padding:8px 16px;color:var(--blue)}
#image-dialog.map-zoom .zoom-area{max-height:70svh;overflow:auto;overscroll-behavior:contain}
#image-dialog.map-zoom .zoom-area img{width:1800px;min-width:1800px;max-width:none;height:auto}
@media(max-width:900px){.official-map-image{max-height:42vh}.footprint-map{min-height:230px;gap:6px}}
@media(prefers-reduced-motion:reduce){.official-map-image{transform:none!important}}

/* Keep the hands and wrench visible in the narrow mobile closing scene. */
.contact-photo img{object-position:72% center}

/* Two explicit title lines and three compact service figures on the opening. */
.hero-title h1{font-size:clamp(21px,6.8vw,34px);line-height:1.35;letter-spacing:-.035em}
.hero-title h1 span{display:block;white-space:nowrap}
.hero-title h1 span:first-child{font-size:.82em;font-weight:500;margin-bottom:3px}
.hero-title h1 span:last-child{font-weight:600}
.hero-proof{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;width:min(100%,660px);padding-top:8px}
.hero-stat{min-width:0}
.hero-stat strong{font-size:clamp(26px,7.6vw,42px);white-space:nowrap}
.hero-stat strong span{font-size:.45em;margin-left:2px}
@media(min-width:768px){.hero-title h1{font-size:clamp(32px,3.3vw,52px)}.hero-title h1 span{display:block}.hero-proof{gap:8px 30px}}
@media(max-height:720px) and (max-width:767px){.hero-proof{padding-top:3px;gap:5px 8px}}
.hero-stat>span{text-wrap:balance}

.hero-title{text-align:center}

#contact .person-phone{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;width:100%;max-width:210px;min-height:52px;padding:9px 14px;gap:12px;border:1px solid #ffffffd9;border-radius:999px;background:linear-gradient(135deg,#ffffffc7,#f5fcfd8c 50%,#e4f0f36b);backdrop-filter:blur(8px) saturate(1.3);-webkit-backdrop-filter:blur(8px) saturate(1.3);box-shadow:inset 0 1px 1px #fff,inset 0 -1px 2px #6094a32b,0 4px 10px -5px #527d8c40;color:#245c73;text-decoration:none;font-variant-numeric:tabular-nums;line-height:1.2;white-space:nowrap;transition:box-shadow .2s,transform .2s}
#contact .person-phone:before{content:"";position:absolute;z-index:-1;top:3px;left:7px;right:7px;height:34%;border-radius:999px;background:linear-gradient(#ffffffc9,#ffffff08);opacity:.6;pointer-events:none}
#contact .person-phone:after{content:"";position:absolute;z-index:-1;left:17%;right:17%;bottom:3px;height:18%;border-radius:50%;background:linear-gradient(90deg,transparent,#87bfd32b,#e4cba42e,transparent);opacity:.4;pointer-events:none}
#contact .person-phone svg{width:21px;height:21px;flex-shrink:0;stroke:#448a9c;stroke-width:1.35;stroke-linejoin:round;fill:none}
#contact .person-phone:hover{transform:translateY(-1px);box-shadow:inset 0 1px 1px #fff,inset 0 -1px 2px #6094a33b,0 6px 14px -5px #527d8c50}
#contact .person-phone:active{transform:translateY(1px)}
#contact .person-phone:focus-visible{outline:2px solid #1683a8;outline-offset:4px}
@media(max-width:640px){#contact .person-phone{min-height:48px;padding:8px 10px;gap:9px;font-size:20px}#contact .person-phone svg{width:19px;height:19px}}
@media(max-width:360px){#contact .person-phone{padding:8px;gap:7px;font-size:18px}#contact .person-phone svg{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){#contact .person-phone{transition:none}}
.contact-legal{display:grid;gap:10px;width:100%}
.contact-facts{display:grid;gap:5px;width:fit-content;margin-inline:auto;font-size:13.5px;line-height:1.7;color:var(--ink)}
.contact-facts p{display:flex;gap:10px;align-items:baseline}
.contact-facts span{flex:0 0 2.6em;font-size:11.5px;letter-spacing:.1em;color:var(--muted)}
.contact-copyright{margin:0;font-size:12px;line-height:1.65;color:var(--muted)}
@media(max-width:640px){.contact-legal{gap:8px}.contact-facts{gap:4px;font-size:13px}.contact-facts span{font-size:11px}.contact-copyright{font-size:11.5px}}

/* ===== 首页首屏：公司全称 ===== */
/* 与主标题同字号：放进 h1 内并独占一行。
   注意 ivory.css 有 .hero-title h1 span:first-child{font-size:.82em}（原本让「主营」小一号），
   公司名排在首位会吃到它，必须用同等权重、位置更靠后的选择器覆盖回 1em。 */
.hero-title h1 span.hero-company{display:block;font-size:1em;line-height:inherit;letter-spacing:inherit;font-weight:500;color:inherit}

/* ===== 首页首屏底部：服务项与标语字号 ===== */
/* 覆盖 ivory.css 原有 clamp(22px,6.4vw,32px) / clamp(18px,5vw,24px)，位置更靠后即生效 */
.hero-bottom .hero-services{font-size:clamp(16px,4.4vw,22px)}
.hero-bottom .hero-slogan{font-size:clamp(14px,3.5vw,17px)}

/* ===== 首页首屏：「主营」小一号 ===== */
.hero-title h1 .hero-label{font-size:.7em;line-height:1.3;font-weight:500}

/* ===== 首页首屏：公司名行楷 + logo 渐变 + 逐字打字机 ===== */
/* 首选系统自带行楷：Windows 华文行楷（STXingkai）、iOS/macOS 楷体-简（Kaiti SC）。
   安卓没有行楷类字体，落到最后的 TYBrand（自托管楷体带行意子集，5500 字节，
   Ma Shan Zheng 13 字 / 12 个唯一字），否则会直接退成黑体。
   font-display:block：品牌字宁可极短空白，也不要先闪一下黑体再跳字体。 */
@font-face{font-family:TYBrand;src:url(assets/fonts/brand-script.woff2) format("woff2");font-display:block}

.hero-title h1 span.hero-company{--grad:linear-gradient(92deg,#152a5b 0%,#0b4fa8 16%,#1e8fd8 32%,#35c3ff 50%,#f7982a 58%,#fd8501 76%,#e2660a 100%);--n:13;
  font-family:"华文行楷","STXingkai","Kaiti SC","楷体","KaiTi",TYBrand,"PingFang SC","Microsoft YaHei",sans-serif;
  display:block;width:fit-content;margin-inline:auto;
  font-size:1em;line-height:1.3;letter-spacing:-.015em;font-weight:400;color:inherit}

/* 移动端 13 字在 390 宽下已占满 340/350px，不能再放；宽屏留白充足，抬到 1.24em 更有招牌分量。
   320 宽只剩 1px 余量，真机字体略宽就会折行，收一档字距留出安全边。 */
@media(min-width:641px){.hero-title h1 span.hero-company{font-size:1.24em}}
@media(max-width:360px){.hero-title h1 span.hero-company{letter-spacing:-.035em}}

/* 渐变必须挂在每个字自己身上。
   实测：把 background-clip:text 放在父级、文字放进子 span，Chrome 只按父元素
   自身的字形裁剪（父级没有直接文字 → 裁出空白），整行会彻底消失。
   每个字的背景宽设成 13 倍字宽，再把 background-position 按 i/(n-1) 百分比推移，
   每字正好取到整幅渐变的第 [i/n,(i+1)/n] 段——与字宽无关，无需 JS。
   逐字打字机：循环播放，13 字每 130ms 落一个，末字停 3 秒后整行清零重打，
   一个周期 4.91s。逐字延迟写在各自的关键帧里（见下方 ht0..ht12），
   不用 animation-delay —— 那个只在第一轮生效，第二轮 13 个字会一起冒出来。
   font-size:1em 是必须的：ivory.css 有 .hero-title h1 span:first-child{font-size:.82em}
   （原来让「主营」小一号），拆字后第一个字「天」会被它命中，凭空小 18%。
   刻意不写 transform / filter，避免子元素独立成层影响背景裁剪。 */
.hero-title h1 span.hero-ch{display:inline-block;font-size:1em;
  background-image:var(--grad);background-repeat:no-repeat;
  background-size:calc(100% * var(--n)) 100%;
  background-position:calc(var(--i) * 100% / (var(--n) - 1)) 0;
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  opacity:0;animation-name:ht0;animation-duration:4.91s;
  animation-timing-function:linear;animation-iteration-count:infinite}
@keyframes ht0{0%,7.13%{opacity:0}7.14%,100%{opacity:1}}
@keyframes ht1{0%,9.78%{opacity:0}9.79%,100%{opacity:1}}
@keyframes ht2{0%,12.42%{opacity:0}12.43%,100%{opacity:1}}
@keyframes ht3{0%,15.07%{opacity:0}15.08%,100%{opacity:1}}
@keyframes ht4{0%,17.72%{opacity:0}17.73%,100%{opacity:1}}
@keyframes ht5{0%,20.37%{opacity:0}20.38%,100%{opacity:1}}
@keyframes ht6{0%,23.01%{opacity:0}23.02%,100%{opacity:1}}
@keyframes ht7{0%,25.66%{opacity:0}25.67%,100%{opacity:1}}
@keyframes ht8{0%,28.31%{opacity:0}28.32%,100%{opacity:1}}
@keyframes ht9{0%,30.96%{opacity:0}30.97%,100%{opacity:1}}
@keyframes ht10{0%,33.6%{opacity:0}33.61%,100%{opacity:1}}
@keyframes ht11{0%,36.25%{opacity:0}36.26%,100%{opacity:1}}
@keyframes ht12{0%,38.9%{opacity:0}38.91%,100%{opacity:1}}
.hero-title h1 span.hero-ch:nth-child(1){animation-name:ht0}
.hero-title h1 span.hero-ch:nth-child(2){animation-name:ht1}
.hero-title h1 span.hero-ch:nth-child(3){animation-name:ht2}
.hero-title h1 span.hero-ch:nth-child(4){animation-name:ht3}
.hero-title h1 span.hero-ch:nth-child(5){animation-name:ht4}
.hero-title h1 span.hero-ch:nth-child(6){animation-name:ht5}
.hero-title h1 span.hero-ch:nth-child(7){animation-name:ht6}
.hero-title h1 span.hero-ch:nth-child(8){animation-name:ht7}
.hero-title h1 span.hero-ch:nth-child(9){animation-name:ht8}
.hero-title h1 span.hero-ch:nth-child(10){animation-name:ht9}
.hero-title h1 span.hero-ch:nth-child(11){animation-name:ht10}
.hero-title h1 span.hero-ch:nth-child(12){animation-name:ht11}
.hero-title h1 span.hero-ch:nth-child(13){animation-name:ht12}
@media(prefers-reduced-motion:reduce){.hero-title h1 span.hero-ch{animation:none;opacity:1}}

/* ---- 首屏底部：两行字缩小，给「累计访客 / 电话咨询」腾位置 ---- */
.intro-scene .hero-bottom .hero-services{font-size:clamp(18px,4.6vw,22px);line-height:1.5}
.intro-scene .hero-bottom .hero-slogan{font-size:clamp(13px,3.2vw,15px);line-height:1.4}
@media(min-width:641px){
  .intro-scene .hero-bottom .hero-services{font-size:clamp(15px,1.5vw,18px);line-height:1.55}
  .intro-scene .hero-bottom .hero-slogan{font-size:clamp(12px,1.05vw,14px);line-height:1.45}
}
.hero-live{grid-column:1/-1;justify-self:center;display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:2px 8px;margin:0;color:var(--muted);font-variant-numeric:tabular-nums}
.hero-live[hidden]{display:none}
.hero-live-item{display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap}
.hero-live-label{font-size:11px;letter-spacing:.02em}
.hero-live strong{font-size:15px;font-weight:600;color:var(--blue);letter-spacing:0}
.hero-live-unit{font-size:11px}
.hero-live-dot{font-size:11px;opacity:.5}
@media(max-width:640px){
  .hero-live{gap:1px 6px}
  .hero-live-label,.hero-live-unit,.hero-live-dot{font-size:10px}
  .hero-live strong{font-size:14px}
}
