:root {
  --site-font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --text-body: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
  --text-label: clamp(.75rem, .72rem + .15vw, .875rem);
  --text-card: clamp(1.0625rem, .98rem + .45vw, 1.4375rem);
  --text-section: clamp(1.75rem, 1.35rem + 1.65vw, 2.75rem);
  --text-page: clamp(1.875rem, 1.25rem + 2.25vw, 3.75rem);
  --text-hero: clamp(1.875rem, 1rem + 3.55vw, 4.75rem);
}

body, button, input, textarea, select { font-family: var(--site-font); }
body { font-size: var(--text-body); }

.brand.ystr-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: clamp(6.25rem, 9vw, 8.5rem);
  height: auto;
  min-height: 44px;
}
.ystr-brand img { display: block; width: 100%; height: auto; }
.ystr-brand .brand-image-light,
.is-home .header .ystr-brand .brand-image-dark { display: none; }
.is-home .header .ystr-brand .brand-image-light { display: block; }

.desktop-nav a, .header-contact, .language-switcher summary,
.cinema-actions .button, .cinema-project, .text-link, .card-link,
.product-tabs button, .footer-links a, .footer-address {
  font-size: clamp(.8125rem, .76rem + .22vw, .9375rem);
}

.cinema-hero .cinema-content { padding-block: 76px 92px; }
.cinema-content .cinema-eyebrow {
  margin-bottom: clamp(.875rem, 1.35vw, 1.5rem);
  gap: 12px;
  font-size: var(--text-label);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .1em;
}
.cinema-eyebrow > span, .eyebrow > span:first-child { flex-shrink: 0; }
.cinema-hero #cinema-title {
  max-width: min(100%, 49rem);
  font-size: var(--text-hero);
  font-weight: 650;
  line-height: 1.13;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.locale-zh .cinema-hero #cinema-title {
  max-width: 100%;
  font-size: clamp(1.875rem, 1.15rem + 3.05vw, 4.375rem);
  line-height: 1.22;
  letter-spacing: .018em;
}
.locale-ru .cinema-hero #cinema-title { font-size: clamp(1.8125rem, 1rem + 3.1vw, 4.25rem); }
.cinema-title-line:nth-child(2) > span { color: #e1eaf0; }
.cinema-content .cinema-description { max-width: 33rem; min-height: 3.45em; margin-top: 1.125rem; }
.cinema-description p {
  color: #e1e9ee;
  font-size: clamp(1rem, .92rem + .35vw, 1.25rem);
  line-height: 1.65;
}
.cinema-content .cinema-actions { gap: clamp(.75rem, 2vw, 1.75rem); margin-top: clamp(1.25rem, 2vw, 2rem); }
.cinema-actions .button { min-height: 48px; padding: .875rem 1.125rem; gap: .85rem; }
.cinema-project { gap: .55rem; }
.cinema-chapter > span { font-size: var(--text-label); }
.cinema-chapter small { font-size: .6875rem; }
.cinema-scroll { font-size: var(--text-label); }

.eyebrow, .section-heading .eyebrow, .connection-heading .eyebrow,
.card-label, .application-tag, .news-meta, .qualification-row > div > span {
  font-size: var(--text-label);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .09em;
}
.locale-zh .eyebrow, .locale-zh .card-label, .locale-zh .cinema-eyebrow { letter-spacing: .05em; }

.page-hero h1, .locale-zh .page-hero h1, .locale-ru .page-hero h1,
.product-detail-intro h1, .article-main h1 {
  font-size: var(--text-page);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.026em;
  overflow-wrap: anywhere;
}
.product-detail-intro h1, .article-main h1 { font-size: clamp(1.75rem, 1.28rem + 1.6vw, 2.75rem); }
.section-heading h2, .locale-zh .section-heading h2,
.connection-heading h2, .locale-zh .connection-heading h2,
.youster-about .about-copy h2, .locale-zh .youster-about .about-copy h2,
.contact-banner h2, .locale-zh .contact-banner h2, .about-page-copy h2,
.contact-details h2, .contact-form-panel h2 {
  font-size: var(--text-section);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.locale-zh :is(.page-hero h1, .product-detail-intro h1, .article-main h1,
  .section-heading h2, .connection-heading h2, .youster-about .about-copy h2,
  .contact-banner h2, .about-page-copy h2) { line-height: 1.35; letter-spacing: 0; }

.product-info h3, .news-info h3, .solution-card-info h3, .process-step h3,
.locale-zh .application-copy h3, .locale-ru .application-copy h3, .application-copy h3,
.search-results h2, .about-navigation h3, .article-sidebar h2 {
  font-size: var(--text-card);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.section-heading > div > p, .page-hero p, .connection-detail > p,
.youster-about .about-copy > p, .contact-banner p, .process-step p,
.product-detail-intro > p, .contact-details > p, .contact-form-panel > p,
.prose, .prose p, .prose li, .search-results p, .solution-card-info p,
.footer-company > p {
  font-size: var(--text-body);
  line-height: 1.75;
}
.application-copy p, .qualification-row p, .visual-caption, .connection-stats small {
  font-size: clamp(.8125rem, .76rem + .22vw, .9375rem);
  line-height: 1.55;
}
.connection-intro .connection-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.youster-about .about-photo { max-width: none; }

@media (max-width: 820px) {
  .cinema-hero { min-height: 680px; }
  .cinema-content .cinema-description { min-height: 0; }
}

@media (max-width: 600px) {
  .cinema-hero {
    height: auto;
    min-height: max(37rem, 100svh);
    align-items: center;
  }
  .cinema-hero .cinema-content { padding-block: 108px 110px; }
  .cinema-content .cinema-eyebrow { gap: 8px; }
  .cinema-chapter > span { font-size: .6875rem; }
  .cinema-chapter small { font-size: .625rem; }
  .section-heading:has(> div) { align-items: flex-start; flex-direction: column; gap: 12px; }
  .about-grid { gap: 30px; }
  .application-card { aspect-ratio: auto; min-height: 280px; }
  .application-copy { right: 55px; }
}
