/* Keep the bilingual wordmark and replace only its former 雨 character icon. */
.site-header>.brand-logo-link{display:flex;width:auto;height:auto;flex:0 0 auto}
.site-header .brand-icon{width:50px;height:50px;flex:0 0 50px;object-fit:cover;border-radius:11px}
/* Full-bleed homepage hero: the editorial image is the backdrop while CMS copy stays intact. */
.hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:clamp(720px,82vh,860px);padding:64px 0;overflow:hidden;background:#29423d;color:#fff}
.hero-background{position:absolute;z-index:-2;inset:0}
.hero-background img{width:100%;height:100%;object-fit:cover;object-position:center 52%}
.hero:after{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(13,36,34,.88) 0%,rgba(18,42,39,.72) 34%,rgba(18,42,39,.28) 62%,rgba(18,42,39,.06) 100%)}
.hero-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(440px,.82fr);gap:clamp(42px,6vw,96px);align-items:center}
.hero-content{width:auto;padding:0;text-shadow:0 2px 18px rgba(7,24,22,.2)}
.hero-content .eyebrow{color:#fff;margin-bottom:22px}
.hero-content .eyebrow>span{background:#d7b46a}
.hero h1{font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:clamp(42px,4.5vw,66px);font-weight:500;line-height:1.24;letter-spacing:.025em;color:#fff;margin:0 0 24px;max-width:610px}
.hero-description{max-width:570px;font-size:17px;line-height:1.9;margin-bottom:34px;color:rgba(255,255,255,.9)}
.hero-actions{gap:14px}
.hero-actions .button{min-width:154px;box-shadow:0 10px 28px rgba(7,24,22,.18)}
.hero-actions .button.secondary{color:#fff;border-color:rgba(255,255,255,.7);background:rgba(255,255,255,.12);backdrop-filter:blur(8px)}
.hero-actions .button.secondary:hover{color:#193331;background:#fff}
.hero-assurance{margin-top:40px;text-shadow:none}
.hero-assurance p{font-size:13px;color:#fff}
.hero-assurance small{font-size:12px;color:rgba(255,255,255,.75)}
.assurance-mark{color:#fff;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(8px)}
.hero-form-card{padding:30px;border:1px solid rgba(255,255,255,.28);border-radius:18px;background:rgba(19,48,45,.52);box-shadow:0 28px 80px rgba(7,24,22,.24);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.hero-form-heading{margin-bottom:22px}
.hero-form-heading .eyebrow{margin-bottom:8px;font-size:11px;color:rgba(255,255,255,.78)}
.hero-form-heading h2{margin:0 0 7px;font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:27px;letter-spacing:.02em;color:#fff}
.hero-form-heading>p:last-child{margin:0;color:rgba(255,255,255,.76);font-size:12px;line-height:1.6}
.hero-form-card .form-grid{gap:13px 12px}
.hero-form-card label{gap:4px;color:rgba(255,255,255,.88);font-size:11px;line-height:1.45}
.hero-form-card input,.hero-form-card select{min-height:43px;padding:8px 11px;border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.9);color:#193331;box-shadow:none}
.hero-form-card input:focus,.hero-form-card select:focus{outline-color:#fff}
.hero-form-card .consent{align-items:flex-start;margin:16px 0 14px;color:rgba(255,255,255,.8);line-height:1.55}
.hero-form-card .consent input{min-height:0;margin-top:2px;background:#fff}
.hero-form-card .consent a{color:#fff;text-underline-offset:3px}
.hero-form-card .button{width:100%;min-height:46px}
.hero-form-card [data-form-status]{min-height:18px;margin:8px 0 0;color:#fff;font-size:12px;line-height:1.5}
.hero-form-card .form-error{color:#ffe0dc}
@media(max-width:1120px){.hero-layout{grid-template-columns:minmax(0,1fr) minmax(400px,.86fr);gap:34px}.hero h1{font-size:46px}.hero-form-card{padding:24px}.hero:after{background:linear-gradient(90deg,rgba(13,36,34,.91) 0%,rgba(18,42,39,.7) 52%,rgba(18,42,39,.32) 100%)}}
@media(max-width:900px){.hero{min-height:auto;padding:64px 0}.hero-layout{grid-template-columns:minmax(0,1fr);gap:44px}.hero-content{max-width:650px}.hero-form-card{width:min(100%,680px)}.hero:after{background:rgba(12,32,30,.72)}}
@media(max-width:767px){.hero{min-height:auto;padding:56px 0 44px}.hero-background img{object-position:57% center}.hero:after{background:linear-gradient(180deg,rgba(12,32,30,.62) 0%,rgba(12,32,30,.88) 55%,rgba(12,32,30,.96) 100%)}.hero-content{width:100%;padding:0}.hero-content .eyebrow{margin-bottom:14px}.hero h1{max-width:540px;font-size:clamp(36px,10vw,46px);line-height:1.2;margin-bottom:18px}.hero-description{font-size:15px;line-height:1.7;margin-bottom:24px}.hero-actions .button{min-width:0}.hero-assurance{margin-top:24px}.hero-form-card{padding:24px 20px}.hero-form-card .form-grid{grid-template-columns:1fr}}
@media(max-width:440px){.hero{min-height:690px}.hero-actions{display:grid;grid-template-columns:1fr}.hero-actions .button{width:100%}}

/* English copy needs tighter navigation and wider text measures than Chinese. */
html[lang="en"]{--font-heading:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;--font-body:Inter,"Segoe UI",Arial,sans-serif}
html[lang="en"] #main-nav{gap:12px}
html[lang="en"] #main-nav>a{font-size:12.5px;letter-spacing:-.01em}
html[lang="en"] .hero h1{max-width:640px;font-size:clamp(42px,3.8vw,58px);line-height:1.12;letter-spacing:-.035em}
html[lang="en"] .hero-description{max-width:570px;line-height:1.75}
html[lang="en"] .hero-assurance{max-width:570px;align-items:flex-start}
html[lang="en"] .service-ribbon>.container{gap:20px}
html[lang="en"] .service-ribbon .container>span{font-size:13px;letter-spacing:0;line-height:1.45;text-align:center}
html[lang="en"] .section-heading>p{max-width:420px;line-height:1.65}
@media(min-width:1051px){.site-header{justify-content:flex-start;padding-inline:24px;gap:18px}.site-header #main-nav{margin-left:auto;justify-content:flex-end}}
@media(min-width:1701px){html[lang="en"] .site-header{height:82px;align-items:center}html[lang="en"] #main-nav{position:static;transform:none;display:flex;flex:1;min-width:0;width:auto;max-width:none;justify-content:flex-end;gap:4px}html[lang="en"] #main-nav>a:not(.button){padding-inline:4px;font-size:11.5px;letter-spacing:-.02em}html[lang="en"] #main-nav>.button{min-height:42px;padding-inline:14px;font-size:12px;white-space:nowrap}html[lang="en"] .language-switcher{margin-left:4px}html[lang="en"] .site-header>.brand{max-width:none;margin:0;font-size:16px;white-space:nowrap}html[lang="en"] .site-header>.brand small{font-size:7.5px;letter-spacing:.03em}}
@media(max-width:1700px){html[lang="en"] .nav-toggle{display:block}html[lang="en"] #main-nav{display:none;position:absolute;top:82px;left:0;right:0;background:var(--color-bg);padding:28px 40px;border-bottom:1px solid var(--color-line);align-items:stretch;gap:14px}html[lang="en"] #main-nav.open{display:flex;flex-direction:column}html[lang="en"] #main-nav>a{font-size:16px}html[lang="en"] .language-switcher{padding:3px;align-self:flex-start}}
@media(max-width:1500px){html[lang="zh-hans"] .nav-toggle{display:block}html[lang="zh-hans"] #main-nav{display:none;position:absolute;top:82px;left:0;right:0;background:var(--color-bg);padding:28px 40px;border-bottom:1px solid var(--color-line);align-items:stretch;gap:14px}html[lang="zh-hans"] #main-nav.open{display:flex;flex-direction:column}html[lang="zh-hans"] #main-nav>a{font-size:16px}html[lang="zh-hans"] .language-switcher{padding:3px;align-self:flex-start}}
@media(max-width:700px){html[lang="en"] .hero h1{font-size:38px;line-height:1.15}}
@media(max-width:1050px){.site-header .brand-icon{width:46px;height:46px;flex-basis:46px}}
@media(max-width:700px){.site-header .brand-icon{width:42px;height:42px;flex-basis:42px;border-radius:9px}}

/* Keep the current section visible across index and detail pages. */
#main-nav>a:not(.button){position:relative;padding:12px 0;color:var(--color-ink-secondary);font-weight:600;transition:color .2s ease}
#main-nav>a:not(.button)::after{content:"";position:absolute;left:0;right:0;bottom:4px;height:2px;border-radius:999px;background:var(--color-primary);transform:scaleX(0);transform-origin:center;transition:transform .2s ease}
#main-nav>a:not(.button):hover,#main-nav>a:not(.button)[aria-current="page"]{color:var(--color-primary)}
#main-nav>a:not(.button)[aria-current="page"]::after{transform:scaleX(1)}
@media(max-width:1700px){html[lang="en"] #main-nav>a:not(.button){padding:8px 0}html[lang="en"] #main-nav>a:not(.button)::after{right:auto;bottom:3px;width:38px}}
@media(max-width:1050px){#main-nav>a:not(.button){padding:8px 0}#main-nav>a:not(.button)::after{right:auto;bottom:3px;width:38px}}

/* Laptops keep the navigation visible on a second line instead of collapsing it. */
@media(min-width:1100px) and (max-width:1700px){
  .site-header{height:auto;min-height:96px;flex-wrap:wrap;row-gap:0;padding-block:10px}
  html[lang="en"] .site-header .nav-toggle,html[lang="zh-hans"] .site-header .nav-toggle{display:none}
  html[lang="en"] #main-nav,html[lang="zh-hans"] #main-nav{display:flex;position:static;flex-direction:row;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 16px;width:100%;margin:0;padding:0;border:0;background:transparent}
  html[lang="en"] #main-nav>a,html[lang="zh-hans"] #main-nav>a{font-size:12px}
  html[lang="en"] #main-nav>a:not(.button),html[lang="zh-hans"] #main-nav>a:not(.button){padding:5px 0}
  html[lang="en"] #main-nav>.button,html[lang="zh-hans"] #main-nav>.button{min-height:38px;padding:7px 12px;font-size:12px}
  html[lang="en"] #main-nav .language-switcher,html[lang="zh-hans"] #main-nav .language-switcher{padding:2px;align-self:auto}
}
