/* =========================================================
   V5.94 — Whole-theme typography balance
   Goal: readable Vietnamese without cramped glyphs or exaggerated word gaps.
   Loaded last so it normalizes legacy + service-page overrides safely.
========================================================= */

/* General text rhythm. Keep intentional uppercase micro-label tracking untouched. */
body {
  font-kerning: auto;
  text-rendering: optimizeLegibility;
}

/* Main display typography across the core theme. */
.section-head h2,
.archive-hero h1,
.blog-hero h1,
.single-poster h1,
.poster-copy h1,
.booking-copy h2,
.media-card h3,
.roster-card__copy h3,
.vocal-panel__copy h3,
.vocal-info h3,
.vocal-modal-hero__copy h3,
.blog-card h2,
.event-card h2,
.article-hero h1,
.article-content h2,
.article-content h3,
.article-related-sidebar__head h2,
.article-related-bottom__head h2 {
  letter-spacing: -0.016em !important;
  word-spacing: 0.008em !important;
  font-kerning: auto !important;
  text-rendering: optimizeLegibility !important;
}

.section-head h2,
.archive-hero h1,
.blog-hero h1,
.single-poster h1,
.poster-copy h1,
.booking-copy h2,
.vocal-panel__copy h3,
.vocal-info h3,
.vocal-modal-hero__copy h3,
.article-hero h1 {
  line-height: 1.02 !important;
}

.media-card h3,
.roster-card__copy h3,
.blog-card h2,
.event-card h2,
.article-content h2,
.article-content h3,
.article-related-sidebar__head h2,
.article-related-bottom__head h2 {
  line-height: 1.12 !important;
}

/* Homepage Vocal had several older mobile overrides with very tight tracking. */
#vocal .section-head h2,
#vocal .vocal-panel__copy h3,
#vocal .vocal-thumb__copy strong,
.vocal-thumb__copy strong,
.mini-copy strong,
.nilband-video-copy strong,
.nilband-video-copy--persist strong {
  letter-spacing: -0.012em !important;
  word-spacing: 0.006em !important;
}

#vocal .section-head h2 { line-height: 1.02 !important; }
#vocal .vocal-panel__copy h3 { line-height: 1.04 !important; }

/* /trinh-dien/ — old V5.66 rules were intentionally ultra-tight; normalize all
   visible showreel headings and media captions while leaving decorative NILBAND alone. */
.showcase-v66-hero h1,
.showcase-v66-head h2,
.showcase-v66-cta h2,
.show-page-hero__copy h1,
.show-section-head h2,
.show-final-cta h2 {
  letter-spacing: -0.016em !important;
  word-spacing: 0.008em !important;
  line-height: 1.01 !important;
  font-kerning: auto !important;
  text-rendering: optimizeLegibility !important;
}

.showcase-v66-hero p,
.showcase-v66-head p,
.showcase-v66-cta p,
.show-page-hero__copy p,
.show-section-head p,
.show-final-cta p {
  letter-spacing: -0.002em !important;
  word-spacing: 0 !important;
  line-height: 1.62 !important;
}

.showcase-v66-photo-card span,
.showcase-v66-video-card .nilband-video-copy strong,
.showcase-v66-video-card .nilband-video-copy--persist strong,
.showcase-v67-client-card__label {
  letter-spacing: -0.006em !important;
  word-spacing: 0 !important;
  line-height: 1.16 !important;
}

/* Shared booking/contact areas. These should read like UI labels, never display type. */
.btn,
.contact-chips a,
.footer-contact a,
.showcase-v66-cta__actions .btn,
.show-final-cta__actions .btn,
.booking-form label,
.booking-form label span,
.booking-form input,
.booking-form select,
.booking-form textarea,
.booking-contact-requirement,
.acoustic-contact,
.acoustic-contact strong,
.event-mobile-cta a,
.acoustic-mobile-cta a,
.photo-contact__actions .btn,
.service-module__cta .btn {
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  font-kerning: auto !important;
}

.btn,
.contact-chips a,
.footer-contact a,
.showcase-v66-cta__actions .btn,
.show-final-cta__actions .btn,
.event-mobile-cta a,
.acoustic-mobile-cta a,
.photo-contact__actions .btn,
.service-module__cta .btn {
  line-height: 1.2 !important;
}

.booking-form label,
.booking-form label span,
.booking-form input,
.booking-form select,
.booking-form textarea,
.booking-contact-requirement {
  line-height: 1.4 !important;
}

.footer-inner p {
  letter-spacing: -0.002em !important;
  word-spacing: 0 !important;
  line-height: 1.62 !important;
}

/* Service hub + all modular landing pages.
   Override V5.91's larger word-spacing and V5.93's first-pass values. */
.services-hub h1,
.services-hub h2,
.services-hub h3,
.service-module h1,
.service-module h2,
.service-module h3,
.acoustic-lp h1,
.acoustic-lp h2,
.acoustic-lp h3,
.event-lp h1,
.event-lp h2,
.event-lp h3,
.photo-landing h1,
.photo-landing h2,
.photo-landing h3 {
  letter-spacing: -0.014em !important;
  word-spacing: 0.01em !important;
  font-kerning: auto !important;
  text-rendering: optimizeLegibility !important;
}

.services-hub__hero h1,
.service-module__hero h1,
.acoustic-hero h1,
.event-hero h1,
.photo-hero h1 {
  line-height: 1.02 !important;
}

.service-hub-card h2,
.acoustic-section__head h2,
.acoustic-process__intro h2,
.acoustic-cost__main h2,
.acoustic-booking h2,
.event-section__head h2,
.event-timeline__intro h2,
.event-process__intro h2,
.photo-heading h2,
.photo-contact h2 {
  line-height: 1.075 !important;
}

/* Vietnamese-specific safeguard: accents need a little more room, not fake gaps. */
html[lang="vi"] body .services-hub h1,
html[lang="vi"] body .services-hub h2,
html[lang="vi"] body .services-hub h3,
html[lang="vi"] body .service-module h1,
html[lang="vi"] body .service-module h2,
html[lang="vi"] body .service-module h3,
html[lang="vi"] body .acoustic-lp h1,
html[lang="vi"] body .acoustic-lp h2,
html[lang="vi"] body .acoustic-lp h3,
html[lang="vi"] body .event-lp h1,
html[lang="vi"] body .event-lp h2,
html[lang="vi"] body .event-lp h3,
html[lang="vi"] body .photo-landing h1,
html[lang="vi"] body .photo-landing h2,
html[lang="vi"] body .photo-landing h3,
html[lang="vi"] body .showcase-v66 h1,
html[lang="vi"] body .showcase-v66 h2,
html[lang="vi"] body .showcase-v66 h3 {
  letter-spacing: -0.01em !important;
  word-spacing: 0.008em !important;
}

/* Service contact/card copy also needs neutral UI spacing. */
.acoustic-contact small,
.acoustic-contact strong,
.event-pricing__row strong,
.event-pricing__row b,
.event-lineup-card h3,
.event-usecase h3,
.photo-service-card h3,
.photo-process-card h3,
.service-hub-card__link,
.service-hub-card p {
  word-spacing: 0 !important;
}

.acoustic-contact strong,
.event-pricing__row strong,
.event-lineup-card h3,
.event-usecase h3,
.photo-service-card h3,
.photo-process-card h3 {
  letter-spacing: -0.008em !important;
  line-height: 1.18 !important;
}

/* Mobile: keep big headings compact but never crushed. */
@media (max-width: 760px) {
  .section-head h2,
  .archive-hero h1,
  .blog-hero h1,
  .single-poster h1,
  .poster-copy h1,
  .booking-copy h2,
  #vocal .section-head h2,
  #vocal .vocal-panel__copy h3,
  .showcase-v66-hero h1,
  .showcase-v66-head h2,
  .showcase-v66-cta h2,
  .services-hub__hero h1,
  .service-module__hero h1,
  .acoustic-hero h1,
  .acoustic-section__head h2,
  .event-hero h1,
  .event-section__head h2,
  .photo-hero h1,
  .photo-heading h2,
  .photo-contact h2 {
    letter-spacing: -0.008em !important;
    word-spacing: 0.006em !important;
    line-height: 1.04 !important;
  }

  .contact-chips a,
  .footer-contact a,
  .showcase-v66-cta__actions .btn,
  .event-mobile-cta a,
  .acoustic-mobile-cta a,
  .photo-contact__actions .btn {
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
  }
}

/* CJK should not inherit Latin word spacing. */
html[lang="zh"] h1,
html[lang="zh"] h2,
html[lang="zh"] h3,
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3 {
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  line-height: 1.12 !important;
}

/* =========================================================
   V5.95 — Acoustic hero title: compact editorial rhythm
   Keep Vietnamese accents clear without the oversized gaps
   caused by a display size that was too large for the copy column.
========================================================= */
.acoustic-lp .acoustic-hero__copy {
  padding-left: clamp(30px, 4vw, 54px);
  padding-right: clamp(30px, 4vw, 54px);
}

.acoustic-lp .acoustic-hero h1,
html[lang="vi"] body .acoustic-lp .acoustic-hero h1 {
  font-size: clamp(3.4rem, 5vw, 5.6rem) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.022em !important;
  word-spacing: 0 !important;
  max-width: 11.8ch !important;
  text-wrap: wrap !important;
}

@media (max-width: 1100px) {
  .acoustic-lp .acoustic-hero h1,
  html[lang="vi"] body .acoustic-lp .acoustic-hero h1 {
    font-size: clamp(3.2rem, 6.2vw, 4.9rem) !important;
    line-height: 0.93 !important;
    max-width: 12ch !important;
  }
}

@media (max-width: 860px) {
  .acoustic-lp .acoustic-hero__copy {
    padding: 32px 24px 28px;
  }
  .acoustic-lp .acoustic-hero h1,
  html[lang="vi"] body .acoustic-lp .acoustic-hero h1 {
    font-size: clamp(3rem, 11.8vw, 4.35rem) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.018em !important;
    max-width: 11.6ch !important;
  }
}

@media (max-width: 620px) {
  .acoustic-lp .acoustic-hero__copy {
    padding: 28px 20px 24px;
  }
  .acoustic-lp .acoustic-hero h1,
  html[lang="vi"] body .acoustic-lp .acoustic-hero h1 {
    font-size: clamp(2.9rem, 13.2vw, 4.05rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.014em !important;
    max-width: 11.2ch !important;
  }
}

/* =========================================================
   V5.96 — Service pages: compact editorial type system
   Previous versions tried to solve Vietnamese collisions with oversized
   display type + word spacing. This pass uses natural spacing and a calmer
   scale so headlines read as phrases, not isolated words.
========================================================= */

/* Never manufacture gaps between Vietnamese words in service headings. */
.acoustic-lp h1,
.acoustic-lp h2,
.acoustic-lp h3,
.event-lp h1,
.event-lp h2,
.event-lp h3,
.services-hub h1,
.services-hub h2,
.services-hub h3,
.photo-landing h1,
.photo-landing h2,
.photo-landing h3,
html[lang="vi"] body .acoustic-lp h1,
html[lang="vi"] body .acoustic-lp h2,
html[lang="vi"] body .acoustic-lp h3,
html[lang="vi"] body .event-lp h1,
html[lang="vi"] body .event-lp h2,
html[lang="vi"] body .event-lp h3,
html[lang="vi"] body .services-hub h1,
html[lang="vi"] body .services-hub h2,
html[lang="vi"] body .services-hub h3,
html[lang="vi"] body .photo-landing h1,
html[lang="vi"] body .photo-landing h2,
html[lang="vi"] body .photo-landing h3 {
  word-spacing: 0 !important;
  letter-spacing: -0.012em !important;
  font-kerning: normal !important;
  text-wrap: pretty;
}

/* Hero: make the copy column a little wider and keep the title to 3–4 lines. */
.acoustic-lp .acoustic-hero,
.event-lp .event-hero {
  grid-template-columns: minmax(0, 1.22fr) minmax(350px, .78fr) !important;
}

.acoustic-lp .acoustic-hero__copy,
.event-lp .event-hero__copy {
  padding-left: clamp(34px, 4vw, 58px) !important;
  padding-right: clamp(34px, 4vw, 58px) !important;
}

.acoustic-lp .acoustic-hero h1,
.event-lp .event-hero h1,
html[lang="vi"] body .acoustic-lp .acoustic-hero h1,
html[lang="vi"] body .event-lp .event-hero h1 {
  width: 100% !important;
  max-width: 100% !important;
  margin: 22px 0 20px !important;
  font-size: clamp(3rem, 4.15vw, 4.45rem) !important;
  line-height: 1.01 !important;
  letter-spacing: -0.018em !important;
  word-spacing: 0 !important;
  text-wrap: pretty !important;
}

/* Section headlines: this is where the pages still looked oversized.
   Keep the editorial weight, but let each phrase breathe naturally. */
.acoustic-lp .acoustic-section__head h2,
.acoustic-lp .acoustic-process__intro h2,
.acoustic-lp .acoustic-cost__main h2,
.acoustic-lp .acoustic-booking h2,
.event-lp .event-section__head h2,
.event-lp .event-timeline__intro h2,
.event-lp .event-process__intro h2,
.photo-landing .photo-heading h2,
.photo-landing .photo-contact h2,
.services-hub .services-hub__hero h1 {
  font-size: clamp(2.35rem, 3.55vw, 3.65rem) !important;
  line-height: 1.055 !important;
  letter-spacing: -0.014em !important;
  word-spacing: 0 !important;
  text-wrap: pretty !important;
}

/* The Vocal title on Acoustic was especially tall on desktop. */
.acoustic-lp .acoustic-vocals .acoustic-section__head,
.acoustic-lp .acoustic-media .acoustic-section__head,
.event-lp .event-section__head {
  max-width: 980px !important;
}

/* Cards and contact UI should feel neutral, not display-spaced. */
.acoustic-lp .acoustic-contact,
.acoustic-lp .acoustic-contact strong,
.acoustic-lp .acoustic-contact small,
.event-lp .event-lineup-card h3,
.event-lp .event-usecase h3,
.event-lp .event-pricing__row,
.event-lp .event-pricing__row strong,
.photo-landing .photo-service-card h3,
.photo-landing .photo-process-card h3,
.services-hub .service-hub-card h2,
.services-hub .service-hub-card p {
  word-spacing: 0 !important;
}

/* Tablet: stack the hero earlier instead of crushing a huge title into a narrow column. */
@media (max-width: 980px) {
  .acoustic-lp .acoustic-hero,
  .event-lp .event-hero {
    grid-template-columns: 1fr !important;
  }

  .acoustic-lp .acoustic-hero__visual,
  .event-lp .event-hero__visual {
    order: -1;
    min-height: 500px !important;
  }

  .acoustic-lp .acoustic-hero h1,
  .event-lp .event-hero h1,
  html[lang="vi"] body .acoustic-lp .acoustic-hero h1,
  html[lang="vi"] body .event-lp .event-hero h1 {
    font-size: clamp(3rem, 8.2vw, 4.35rem) !important;
    line-height: 1.015 !important;
  }
}

@media (max-width: 620px) {
  .acoustic-lp .acoustic-hero__copy,
  .event-lp .event-hero__copy {
    padding: 28px 20px 26px !important;
  }

  .acoustic-lp .acoustic-hero h1,
  .event-lp .event-hero h1,
  html[lang="vi"] body .acoustic-lp .acoustic-hero h1,
  html[lang="vi"] body .event-lp .event-hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.65rem) !important;
    line-height: 1.025 !important;
    letter-spacing: -0.012em !important;
  }

  .acoustic-lp .acoustic-section__head h2,
  .acoustic-lp .acoustic-process__intro h2,
  .acoustic-lp .acoustic-cost__main h2,
  .acoustic-lp .acoustic-booking h2,
  .event-lp .event-section__head h2,
  .event-lp .event-timeline__intro h2,
  .event-lp .event-process__intro h2,
  .photo-landing .photo-heading h2,
  .photo-landing .photo-contact h2,
  .services-hub .services-hub__hero h1 {
    font-size: clamp(2.15rem, 9vw, 3rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.01em !important;
    word-spacing: 0 !important;
  }
}
