/* r17 brand pass (owner: copy/SEO/brand helper). Loaded after style.css by tools/build_r16.py.
   1. Chinese name lockup "Gongpany 共攀逆" (nav on /zh/, footer on both pages, hero line 1 on /zh/).
   2. Hero headline: exactly two lines, never wrapping inside a line (1024-1920 and phones).
   3. Tour heading + descriptive subline. */

/* 1. Lockup: the Chinese name sits after the wordmark in PingFang/YaHei, slightly lighter, same line */
.r17-cn{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif;font-weight:600;
  letter-spacing:.06em;margin-left:.18em;white-space:nowrap}
.brand-t{white-space:nowrap}
.nav .brand-t .r17-cn{font-size:.86em;color:rgba(255,255,255,.82)}
.foot .r17-lockup .r17-cn{font-size:.9em;color:rgba(255,255,255,.78)}

/* 2. Hero headline. The copy column is min(520px,35vw) wide at >=1081px; the longest line
   ("In good company", ~8.75em in Paytone One; "Gongpany 共攀逆", ~8.6em) must fit inside it, so the
   size follows the column width rather than the viewport height. nowrap keeps each line whole. */
.hero h1 .ln{display:block;white-space:nowrap}
.hero h1{font-size:clamp(34px,3.6vw,58px)}
.hero h1 .r17-l1 .r17-cn{font-weight:700;letter-spacing:.04em;margin-left:.22em}
@media (max-width:1080px){
  /* column is min(440px,38vw); 38vw / 8.8em ≈ 4.2vw */
  .hero h1{font-size:clamp(28px,4.1vw,44px)}
}
@media (max-width:760px){
  /* phones: full-width column (100vw - 40px); 2 lines still, scaled to fit */
  .hero h1{font-size:min(9.6vw,40px)}
}
@media (max-width:360px){
  .hero h1{font-size:min(9.4vw,30px)}
}

/* 3. Tour heading: longer, descriptive, so it gets a measure and a subline */
.tour-head{max-width:min(560px,44vw)}
.tour-head h2.r17-tour-h{font-size:clamp(21px,1.75vw,28px);line-height:1.14;text-wrap:balance}
.r17-tour-sub{margin-top:10px;font-size:clamp(13.5px,.95vw,15.5px);line-height:1.5;color:var(--mute,#A9A8B3);max-width:48ch;text-wrap:pretty}
@media (max-width:1080px){.tour-head{max-width:min(520px,60vw)}}
@media (max-width:760px){
  .tour-head{max-width:calc(100vw - 40px)}
  .tour-head h2.r17-tour-h{font-size:19px}
  .r17-tour-sub{display:none}
}
