/* Shared hero text rhythm. Preserve each page's media, alignment and composition. */
:root{--hero-label-gap:24px;--hero-lead-gap:24px;--hero-action-gap:28px;--hero-note-gap:16px;--hero-title-leading:1.25;--hero-lead-leading:1.8}

body[data-page] :is(.about-hero.about-hero--split,.ch-head,.ct-head,.cp-head,.news-head) :is(.about-hero-copy,.ch-head-copy,.ct-head-copy,.cp-head-copy,.news-head-copy){
  padding-block:clamp(56px,6.5vw,96px);
  padding-inline: max(24px,(100vw - 1180px)/2) clamp(44px,4.6vw,76px);
}
body[data-page] :is(.about-hero.about-hero--split,.ch-head,.ct-head,.cp-head,.news-head) :is(.about-hero-copy,.ch-head-copy,.ct-head-copy,.cp-head-copy,.news-head-copy)>:is(.eyebrow,.cp-eyebrow,.news-eyebrow){margin:0;line-height:1.6}
body[data-page] :is(.about-hero.about-hero--split,.ch-head,.ct-head,.cp-head,.news-head) h1{
  margin:var(--hero-label-gap) 0 0;
  font:500 clamp(44px,5.2vw,72px)/var(--hero-title-leading) var(--serif);
}
body[data-page] :is(.about-hero.about-hero--split,.ch-head,.ct-head,.cp-head,.news-head) :is(.about-hero-copy>p,.ch-head-lead,.ct-head-lead,.cp-head-lead,.news-head-lead){
  margin:var(--hero-lead-gap) 0 0;max-width:22em;
  font:400 clamp(17px,1.5vw,21px)/var(--hero-lead-leading) var(--serif);text-wrap:wrap;
}
body[data-page] :is(.ch-head,.cp-head) p:is(.ch-head-note,.cp-head-note){margin:var(--hero-note-gap) 0 0;font:400 var(--text-caption)/1.8 var(--sans);text-wrap:wrap}
body[data-page=cooperation] .cp-head .cp-head-copy>.cp-text-link{margin-top:var(--hero-action-gap)}

/* The immersive homepage keeps its own size formula and sans-serif subtitle. */
body[data-page=home] .hero .hero-inner>h1{margin:var(--hero-label-gap) 0 0;line-height:var(--hero-title-leading)}
body[data-page=home] .hero .hero-inner>.sub{margin:var(--hero-lead-gap) auto 0;max-width:36em;font:400 clamp(17px,1.5vw,21px)/var(--hero-lead-leading) var(--sans);text-wrap:wrap}
body[data-page=home] .hero .hero-inner>.hero-cta{margin-top:var(--hero-action-gap)}
@media(min-width:901px){body[data-page=home] .hero .hero-inner>h1{font-size:clamp(42px,4.6vw,72px)}}

/* Long article titles are reading headers, not four-character category labels. */
body[data-page=news] .news-article-head h1{margin-block:var(--hero-label-gap) 0;font-size:clamp(30px,3vw,44px);line-height:1.35}
body[data-page=news] .news-article-head p.news-article-summary{margin-block:var(--hero-lead-gap) 0;font-size:var(--text-reading);line-height:1.95;text-wrap:wrap}

@media(max-width:900px){
  /* Match DOM/reading order: category copy first, media or information second. */
  body[data-page] :is(.about-hero.about-hero--split,.ch-head,.ct-head,.cp-head,.news-head) :is(.about-hero-copy,.ch-head-copy,.ct-head-copy,.cp-head-copy,.news-head-copy){order:0}
  body[data-page] :is(.about-hero.about-hero--split,.ch-head,.ct-head,.cp-head,.news-head) :is(.about-hero-media,.ch-head-media,.ct-head-info,.cp-head-media,.news-head-info){order:1}
  body[data-page] :is(.about-hero.about-hero--split,.ch-head,.ct-head,.cp-head,.news-head) :is(.about-hero-copy,.ch-head-copy,.ct-head-copy,.cp-head-copy,.news-head-copy){padding-block:56px;padding-inline:max(20px,(100vw - 680px)/2)}
}
@media(max-width:640px){
  :root{--hero-label-gap:16px;--hero-lead-gap:16px;--hero-action-gap:24px;--hero-note-gap:12px}
  body[data-page] :is(.about-hero.about-hero--split,.ch-head,.ct-head,.cp-head,.news-head) :is(.about-hero-copy,.ch-head-copy,.ct-head-copy,.cp-head-copy,.news-head-copy){padding-block:48px;padding-inline:20px}
  body[data-page] :is(.about-hero.about-hero--split,.ch-head,.ct-head,.cp-head,.news-head) h1{font-size:clamp(34px,10vw,44px)}
  body[data-page] :is(.about-hero.about-hero--split,.ch-head,.ct-head,.cp-head,.news-head) :is(.about-hero-copy>p,.ch-head-lead,.ct-head-lead,.cp-head-lead,.news-head-lead),
  body[data-page=home] .hero .hero-inner>.sub{font-size:var(--text-reading)}
  body[data-page=news] .news-article-head h1{font-size:clamp(24px,6vw,30px)}
}
