/* Deera v7: responsive Japanese typography (visual-only change). */
/* Natural Japanese line breaks without splitting punctuation awkwardly. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-wrap: break-word; line-break: strict; }
main, section, article, .hero-content { min-width: 0; }
main p, section p, article p, main li, section li, article li {
  overflow-wrap: anywhere;
  line-break: strict;
  word-break: normal;
}
h1, h2, h3, h4 { line-break: strict; overflow-wrap: anywhere; word-break: normal; }
@supports (text-wrap: balance) {
  h1, h2, h3, .section-title, .med-h2 { text-wrap: balance; }
}
/* Do not break navigational links in the middle of words. */
header nav a, .footer-links a { overflow-wrap: normal; }
@media (min-width: 769px) {
  main p, section p, article p { line-height: 1.9; }
}
@media (max-width: 768px) {
  /* Keep lines readable on tablets and phones without fixed desktop breaks. */
  .deera-flow-break { display: none !important; }
  .hero-title-main, .hero-title-sub {
    white-space: normal !important;
    max-width: 100%;
    margin-inline: auto;
    overflow-wrap: normal;
    word-break: keep-all;
    line-break: strict;
  }
  .hero-content { width: 100%; max-width: 100%; box-sizing: border-box; padding-inline: clamp(1rem, 4vw, 2rem); }
  .hero-title-main, .hero-title-sub { font-size: clamp(1.5rem, 5.5vw, 2.6rem); letter-spacing: .035em; line-height: 1.55; }
  .section-title, .med-h2 { font-size: clamp(1.45rem, 4.6vw, 2rem); line-height: 1.5; letter-spacing: .025em; }
  .section-subtitle, .med-lead { line-height: 1.85; }
}
@media (max-width: 480px) {
  .hero-title-main, .hero-title-sub { font-size: clamp(1.4rem, 6.1vw, 1.8rem); letter-spacing: .015em; }
  .section-title, .med-h2 { font-size: clamp(1.38rem, 5.2vw, 1.7rem); }
  main p, section p, article p, main li, section li, article li { line-height: 1.85; }
}
