/* Localized-only additions. The parent Japanese stylesheet remains authoritative. */
.riz-english h1,
.riz-english h2,
.riz-english h3,
.riz-english strong { text-wrap: balance; }
.riz-english .brand-identities { gap: 3px; font-size: 10px; letter-spacing: 0; }
.riz-english .brand-identities__company { font-size: 8.5px; letter-spacing: 0; }
.riz-english .site-nav ul { gap: clamp(11px, 1.2vw, 22px); }
.riz-english .site-nav a { font-size: 11px; letter-spacing: .025em; }
.site-nav .language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(11, 26, 47, .14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,249,252,.98));
  box-shadow: 0 8px 22px rgba(11, 26, 47, .08);
  white-space: nowrap;
}
.site-nav .language-switcher a {
  min-width: 0;
  padding: 7px 12px;
  border-left: 0;
  border-radius: 999px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.1;
  color: var(--riz-ink-soft);
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.site-nav .language-switcher a:first-child { border-left: 0; }
.site-nav .language-switcher a:hover,
.site-nav .language-switcher a:focus-visible {
  color: var(--riz-ink);
  background: rgba(11, 26, 47, .05);
}
.site-nav .language-switcher a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, var(--riz-blue-deep), var(--riz-blue));
  box-shadow: 0 7px 16px rgba(35, 110, 179, .24);
}
.site-nav .language-switcher a::after { display: none; }

@media (min-width: 1021px) {
  .riz-english .site-nav,
  .riz-chinese .site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
  }

  .riz-english .site-nav .language-switcher,
  .riz-chinese .site-nav .language-switcher {
    flex: 0 0 auto;
    margin-left: 0;
  }
}
.riz-english .hero-identity { width: min(100%, 880px); }
.riz-english .hero-identity h1 {
  font-size: clamp(35px, 4.2vw, 61px);
  line-height: 1.15;
  white-space: normal;
}
.riz-english .hero-identity__company strong { max-width: 620px; letter-spacing: 0; }
.riz-english .cinematic-hero__headline { max-width: 900px; font-size: clamp(55px, 6.5vw, 96px); line-height: 1.03; }
.riz-english .cinematic-hero__sub { max-width: 690px; letter-spacing: 0; }
.riz-english .lower-hero h1 { font-size: clamp(48px, 6vw, 84px); line-height: 1.12; letter-spacing: -.035em; }
.riz-english .concern-page-hero h1 { font-size: clamp(47px, 5.8vw, 78px); line-height: 1.12; }
.riz-english .contact-hero h1 { max-width: 1040px; font-size: clamp(49px, 5.9vw, 80px); line-height: 1.12; }
.riz-english .section-kicker { letter-spacing: .16em; }
.riz-english .profile-card__title,
.riz-english .member-detail__title,
.riz-english .footer-org p { line-height: 1.6; }
.riz-english .organization-data dt { min-width: 105px; }
.riz-english .contract-map__destinations strong { font-size: 13px; }

@media (max-width: 1180px) and (min-width: 1021px) {
  .riz-english .brand-identities,
  .riz-chinese .brand-identities { display: none; }
}

@media (max-width: 760px) {
  .riz-english .brand-identities { max-width: 185px; white-space: normal; }
  .riz-english .brand-identities__office,
  .riz-english .brand-identities__company { line-height: 1.18; }
  .riz-english .site-nav a { font-size: 14px; }
  .riz-english .site-nav .menu-language,
  .riz-chinese .site-nav .menu-language { padding-top: 12px; border-bottom: 0; }
  .site-nav .language-switcher {
    width: 100%;
    padding: 4px;
    box-shadow: none;
  }
  .site-nav .language-switcher a { flex: 1 1 0; padding: 11px 8px; font-size: 12px; }
  .riz-english .hero-identity h1 { font-size: clamp(30px, 9vw, 42px); }
  .riz-english .cinematic-hero__headline { font-size: clamp(44px, 13vw, 62px); }
  .riz-english .lower-hero h1,
  .riz-english .contact-hero h1,
  .riz-english .concern-page-hero h1 { font-size: clamp(42px, 12vw, 58px); line-height: 1.08; }
}

/* Simplified Chinese edition */
.riz-chinese {
  --riz-body: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --riz-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  line-height: 1.85;
}
.riz-chinese h1,
.riz-chinese h2,
.riz-chinese h3,
.riz-chinese strong {
  letter-spacing: .01em;
  text-wrap: balance;
}
.riz-chinese .brand-identities { gap: 3px; font-size: 10px; letter-spacing: 0; }
.riz-chinese .brand-identities__company { font-size: 9px; letter-spacing: 0; }
.riz-chinese .site-nav ul { gap: clamp(11px, 1.25vw, 22px); }
.riz-chinese .site-nav > ul > li > a { font-size: 12px; letter-spacing: .02em; }
.riz-chinese .hero-identity h1 {
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.22;
  white-space: normal;
}
.riz-chinese .hero-identity__company strong { max-width: 620px; letter-spacing: .01em; }
.riz-chinese .cinematic-hero__headline { max-width: 860px; font-size: clamp(58px, 6.8vw, 98px); line-height: 1.22; }
.riz-chinese .cinematic-hero__sub { max-width: 690px; letter-spacing: .04em; }
.riz-chinese .lower-hero h1 { font-size: clamp(52px, 6.2vw, 86px); line-height: 1.28; }
.riz-chinese .concern-page-hero h1 { font-size: clamp(50px, 6vw, 80px); line-height: 1.3; }
.riz-chinese .contact-hero h1 { max-width: 1040px; font-size: clamp(52px, 6vw, 82px); line-height: 1.3; }
.riz-chinese .section-kicker { letter-spacing: .14em; }
.riz-chinese .profile-card__title,
.riz-chinese .member-detail__title,
.riz-chinese .footer-org p { line-height: 1.75; }
.riz-chinese .organization-data dt { min-width: 92px; }
.riz-chinese .organization-data__original { display: block; margin-top: 4px; color: var(--riz-ink-soft); font-size: 12px; font-weight: 500; }
.riz-chinese .contract-map__destinations strong { font-size: 14px; }

@media (max-width: 760px) {
  .riz-chinese .brand-identities { max-width: 188px; white-space: normal; }
  .riz-chinese .brand-identities__office,
  .riz-chinese .brand-identities__company { line-height: 1.2; }
  .riz-chinese .site-nav > ul > li > a { font-size: 15px; }
  .riz-chinese .hero-identity h1 { font-size: clamp(34px, 10vw, 46px); }
  .riz-chinese .cinematic-hero__headline { font-size: clamp(43px, 12.5vw, 60px); line-height: 1.22; }
  .riz-chinese .lower-hero h1,
  .riz-chinese .contact-hero h1,
  .riz-chinese .concern-page-hero h1 { font-size: clamp(40px, 11.5vw, 56px); line-height: 1.25; }
}


/* Localized concern/process layout fixes.
   These only affect EN/ZH virtual pages and leave the Japanese pages untouched. */
.riz-english.page-template-page-services .concern-page-hero h1,
.riz-chinese.page-template-page-services .concern-page-hero h1 {
  max-width: 13ch;
}
.riz-english.page-template-page-services .concern-page-hero h1 span,
.riz-chinese.page-template-page-services .concern-page-hero h1 span,
.riz-english.page-template-page-services .concern-intro__title > span,
.riz-chinese.page-template-page-services .concern-intro__title > span {
  white-space: normal;
}
.riz-english.page-template-page-services .concern-intro__grid,
.riz-chinese.page-template-page-services .concern-intro__grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(42px, 5vw, 74px);
  padding-right: clamp(28px, 7vw, 110px);
}
.riz-english.page-template-page-services .concern-intro__title,
.riz-chinese.page-template-page-services .concern-intro__title {
  font-size: clamp(42px, 4.1vw, 60px);
  line-height: 1.14;
}
.riz-chinese.page-template-page-services .concern-intro__title {
  line-height: 1.26;
}
.riz-english.page-template-page-services .concern-intro__copy,
.riz-chinese.page-template-page-services .concern-intro__copy {
  padding-top: 14px;
}
.riz-english.page-template-page-process .process-quickstart__item strong,
.riz-chinese.page-template-page-process .process-quickstart__item strong {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
}
@media (max-width: 760px) {
  .riz-english.page-template-page-services .concern-page-hero h1,
  .riz-chinese.page-template-page-services .concern-page-hero h1 {
    max-width: none;
  }
  .riz-english.page-template-page-services .concern-page-hero h1 span,
  .riz-chinese.page-template-page-services .concern-page-hero h1 span {
    white-space: normal;
  }
  .riz-english.page-template-page-services .concern-intro__grid,
  .riz-chinese.page-template-page-services .concern-intro__grid {
    padding-right: 0;
  }
}
