/* One shared hierarchy for both languages and every page. */
:root {
  --type-display: 44px;
  --type-heading: 32px;
  --type-title: 24px;
  --type-lead: 18px;
  --type-body: 18px;
  --type-ui: 16px;
  --type-caption: 14px;
}

body { font-size: var(--type-body); }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.18; }
.hero-copy h1, .contact-section h2, .language-entry h1 {
  font-size: var(--type-display);
  letter-spacing: -.055em;
  white-space: normal;
}
h2, .case-hero h1, .about-copy h2 {
  font-size: var(--type-heading);
  letter-spacing: -.045em;
}
.service-copy h3, .work-copy h3, .case-details h2, .step h3 {
  font-size: var(--type-title);
  letter-spacing: -.035em;
  line-height: 1.3;
}
.hero-copy p, .case-hero > p { font-size: var(--type-lead); line-height: 1.65; }
.section-heading p, .service-copy p, .work-copy p, .case-details p,
.step p, .about-copy p, .contact-section > p {
  font-size: var(--type-body);
  line-height: 1.7;
}
.section-heading { align-items: flex-start; }
.section-heading p { max-width: 440px; }
.work-copy p { max-width: none; min-height: 82px; }
.step p { max-width: none; }
.about-copy .about-note { font-size: var(--type-ui); line-height: 1.7; }
.brand, .brand-studio, .site-header nav, .language,
.site-header nav .language, .mobile-language, .button,
.hero-copy .button, .text-link, .case-hero > .text-link,
.service-tabs button, .work-link, .email-line, .copy-button {
  font-size: var(--type-ui);
}
.service-tabs button { font-size: var(--type-body); }
.eyebrow, .section-label, .hero-copy .eyebrow, .work-copy .eyebrow,
.capability-strip, .hero-bottom, .scope, .demo-header, .demo-caption,
.flow-node, .demo-summary p, .approval-view, .step-number,
.visual-label, .visual-caption, .visual-chip, .about-monogram small,
.satellite, .copy-status, footer, .copyright, footer > a:not(.brand) {
  font-size: var(--type-caption);
  line-height: 1.6;
}
.eyebrow, .section-label, .hero-copy .eyebrow, .work-copy .eyebrow {
  letter-spacing: .035em;
}
.visual-label, .visual-chip { letter-spacing: .03em; }
.visual-chip { width: max-content; }
.hero-bottom { letter-spacing: .06em; }
.demo-summary h4 { font-size: var(--type-body); line-height: 1.4; }
.demo-summary > div:first-child { min-width: 0; }
.approval-view { flex-shrink: 0; }
.scope { font-size: var(--type-ui); max-width: 860px; }
.case-hero { padding-top: 36px; padding-bottom: 48px; }
.case-hero > .text-link { margin-bottom: 32px; }
.case-hero > .eyebrow { margin-bottom: 20px; }
.case-hero h1 { max-width: 900px; }
.case-hero > p { max-width: 780px; margin-top: 22px; }
.scope { margin-top: 24px; padding-top: 18px; }
.case-layout { padding-top: 64px; padding-bottom: 80px; }
.case-details h2 { margin-bottom: 14px; }
.case-details p { max-width: 64ch; }
.case-details section + section { margin-top: 28px; padding-top: 24px; }
footer .brand, footer .brand-studio { font-size: var(--type-caption); }
.hero-section { min-height: 600px; max-height: 800px; }
.hero-copy p { max-width: 410px; }

@media (max-width: 900px) {
  .site-header nav { font-size: var(--type-body); }
  .mobile-language { font-size: var(--type-caption); }
  .brand, .brand-studio { font-size: var(--type-caption); }
  .hero-section { min-height: 620px; }
  .hero-bottom { font-size: var(--type-caption); }
  .section-heading p { max-width: 280px; }
}

@media (max-width: 600px) {
  :root {
    --type-display: 36px;
    --type-heading: 28px;
    --type-title: 22px;
  }
  .hero-section { min-height: 0; }
  .brand, .brand-studio { font-size: 11px; gap: 6px; }
  .brand-studio { padding-left: 6px; }
  .brand-dot { display: none; }
  .mobile-tools { gap: 8px; }
  .mobile-language { gap: 3px; }
  .mobile-language { font-size: 12px; }
  .mobile-language a { min-width: 24px; }
  .hero-copy p { max-width: 320px; }
  .hero-copy .eyebrow { max-width: 310px; }
  .hero-bottom { font-size: var(--type-caption); gap: 18px; align-items: flex-start; }
  .hero-bottom > span { max-width: 170px; }
  .hero-bottom a { max-width: 140px; }
  .hero-bottom a span { flex-shrink: 0; }
  .hero-section { padding-bottom: 100px; }
  .capability-strip { font-size: var(--type-caption); gap: 16px; letter-spacing: .03em; }
  .capability-strip > span { gap: 6px; letter-spacing: 0; }
  .capability-strip > span:nth-child(odd) { padding-right: 8px; }
  .section-heading p { max-width: none; }
  .service-tabs button { font-size: var(--type-ui); }
  .service-tabs button > span:first-child { font-size: var(--type-caption); }
  .work-copy p { min-height: 0; }
  .service-copy p { min-height: 0; }
  .work-copy h3 { margin-top: 16px; }
  .flow-node { overflow-wrap: normal; }
  .demo-summary { flex-wrap: wrap; gap: 16px; }
  .demo-caption { line-height: 1.6; }
  .visual-label { left: 18px; right: 18px; }
  .visual-caption { left: 18px; right: 18px; }
  .visual-chip { max-width: calc(100% - 32px); white-space: normal; text-align: center; }
  .satellite { padding: 8px; gap: 6px; font-size: var(--type-caption); letter-spacing: .03em; }
  .case-hero { padding-top: 28px; padding-bottom: 40px; }
  .case-layout { padding-top: 40px; padding-bottom: 60px; }
  .case-hero > p { font-size: var(--type-body); }
  .case-details section + section { margin-top: 24px; padding-top: 24px; }
  .scope { font-size: var(--type-ui); }
  footer { gap: 18px 12px; }
  footer .brand, footer .brand-studio { font-size: 11px; }
}
