/*
 * v0.2.271 — PC Japanese composition final
 *
 * Desktop-only corrections for verified phrase splits. Saved WordPress copy,
 * mobile compositions, image geometry and motion remain untouched.
 */
@media (min-width: 901px) {
  /* PERSONAL: only two routes remain; neutralize the retired third-card grid. */
  .personal-page .personal-routes__grid--editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .personal-page .personal-routes__grid--editorial .personal-route,
  .personal-page .personal-routes__grid--editorial .personal-route:first-child,
  .personal-page .personal-routes__grid--editorial .personal-route:last-child {
    padding-inline: clamp(42px, 4.4vw, 70px);
  }
  .personal-page .personal-routes__grid--editorial .personal-route:first-child h3,
  .personal-page .personal-routes__grid--editorial .personal-route:first-child > div {
    max-width: 100%;
  }

  /* WORKS: the precise mobile composition is intentionally mobile-only. */
  .transformation-editorial__after-grid .transformation-editorial__story .mobile-copy-precise > .responsive-copy--mobile {
    display: none !important;
  }

  /* BUSINESS: widen only the text-led half of each asymmetric editorial spread. */
  .lapaix-page-business .business-service--corporate {
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
  }
  .lapaix-page-business .business-service--personal {
    grid-template-columns: minmax(430px, .92fr) minmax(0, 1.08fr);
  }
  .lapaix-page-business .business-service--brand-site {
    grid-template-columns: minmax(410px, .84fr) minmax(0, 1.16fr);
  }
  .lapaix-page-business .business-service--visual {
    grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr);
  }
  .lapaix-page-business .business-service__content h3,
  .lapaix-page-business .business-service__content > p:not(.section-label) {
    overflow-wrap: normal;
    word-break: keep-all;
  }
  .lapaix-page-business .business-service__content h3 .mobile-only-break {
    display: initial;
  }
  .lapaix-page-business .business-service--brand-site .business-service__content h3 {
    font-size: clamp(31px, 3.15vw, 52px);
  }

  /*
   * BML: authored desktop phrases need a real editorial measure, rather than
   * inheriting the legacy line-level fail-safe that rebreaks Japanese text.
   * These are the three affected headings only; mobile remains untouched.
   */
  .labo-page--v248 .labo-start .labo-editorial-head {
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, .45fr);
    gap: clamp(48px, 5vw, 80px);
  }
  .labo-page--v248 .labo-start .labo-editorial-head > .section-label {
    grid-column: 1;
    grid-row: 1;
  }
  .labo-page--v248 .labo-start .labo-editorial-head > .section-title {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(34px, 3.4vw, 54px);
  }
  .labo-page--v248 .labo-start .labo-editorial-head > .labo-editorial-head__body {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
  }
  .labo-page--v248 .labo-one-line > .labo-shell > .labo-editorial-head {
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, .45fr);
    gap: clamp(48px, 5vw, 80px);
  }
  .labo-page--v248 .labo-one-line > .labo-shell > .labo-editorial-head .section-title {
    font-size: clamp(34px, 3.4vw, 54px);
  }
  .labo-page--v248 .labo-start .labo-editorial-head .section-title .responsive-copy__line,
  .labo-page--v248 .labo-one-line > .labo-shell > .labo-editorial-head .section-title .responsive-copy__line,
  .labo-page--v248 .labo-cta .section-title .responsive-copy__line,
  .home-editorial-about h2 .responsive-copy__line {
    display: inline-block !important;
    max-width: 100%;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }
  .labo-page--v248 .labo-cta__inner { max-width: 920px !important; }
  .labo-page--v248 .labo-cta .section-title { font-size: clamp(34px, 3.2vw, 48px); }

  /* BML WHY: retain the editorial asymmetry without constraining the thesis to a narrow rail. */
  .labo-page--v248 .labo-why .labo-editorial-head {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: clamp(52px, 6vw, 92px);
  }
  .labo-page--v248 .labo-why .labo-editorial-head > .section-label {
    grid-column: 1;
    grid-row: 1;
  }
  .labo-page--v248 .labo-why .labo-editorial-head > .section-title {
    grid-column: 1;
    grid-row: 2;
    max-width: 860px;
    font-size: clamp(34px, 3.35vw, 54px);
    line-height: 1.42;
  }
  .labo-page--v248 .labo-why .labo-editorial-head > .labo-editorial-head__body {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
  }
  .labo-page--v248 .labo-why .section-title .responsive-copy__line,
  .labo-page--v248 .labo-change__results > .section-title .responsive-copy__line {
    display: inline-block !important;
    max-width: 100%;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }

  /* BML RESULT: hold the authored two-line thesis at a readable desktop measure. */
  .labo-page--v248 .labo-change__results > .section-title {
    max-width: 920px;
    font-size: clamp(34px, 3.6vw, 54px);
    line-height: 1.42;
  }

  /* BML WHAT CHANGES: six peer outcomes share one text hierarchy on desktop. */
  .labo-page--v248 .labo-change__result,
  .labo-page--v248 .labo-change__result--2,
  .labo-page--v248 .labo-change__result--4,
  .labo-page--v248 .labo-change__result--5 {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
  }

  /* TOP ABOUT: the default copy has a deliberate desktop two-line composition. */
  .home-editorial-about h2 { max-width: none; }

  /* Single-session facts: units must never detach from their number. */
  .single-menu-page .single-service__facts dd .single-service__fact-unit { white-space: nowrap; }

  /* PHOTOGRAPHY: the hero is authored as three desktop thought units; item 02 stays whole. */
  .brand-visual-page .brand-visual-process article:nth-child(2) h3 {
    white-space: nowrap;
    word-break: keep-all;
  }
  .brand-visual-page .brand-visual-process__grid article {
    padding-right: clamp(16px, 1.75vw, 28px);
  }
  .brand-visual-page .brand-visual-process__grid article + article {
    padding-left: clamp(16px, 1.75vw, 28px);
  }
  .brand-visual-page .brand-visual-process__grid article h3 {
    max-width: 100%;
    font-size: clamp(25px, 1.9vw, 31px);
    line-height: 1.5;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  /* ABOUT PEOPLE: close only the internal leading of the authored three-line title. */
  .about-page--portrait .about-portrait-people__intro .about-portrait-title {
    line-height: 1.22;
  }
  .about-page--portrait .about-portrait-people__intro .about-portrait-title > .responsive-copy--desktop > br {
    display: none;
  }

  /* BRAND SITE: keep the editorial grid while giving the price lead and FAQ questions their necessary measure. */
  .brand-site-page .brand-site-price .brand-site-section-head--split {
    grid-template-columns: minmax(0, .84fr) minmax(520px, 1.16fr);
  }
  .brand-site-page .brand-site-faq__inner {
    grid-template-columns: minmax(0, .72fr) minmax(560px, 1.08fr);
  }
  .brand-site-page .brand-site-faq__item summary strong {
    overflow-wrap: normal;
    word-break: keep-all;
  }
}

/* BRAND VISUAL: the final grid row owns the single divider before its note. */
.brand-visual-page .brand-visual-price__note {
  margin-top: 34px;
  padding-top: 0;
  border-top: 0;
}
@media (max-width: 900px) {
  .brand-visual-page .brand-visual-price__note {
    margin-top: 26px;
  }
}

/* ABOUT: only ultra-wide desktop receives the additional readable measure. */
@media (min-width: 1600px) {
  .about-page--portrait .about-person--aya .about-person__copy { max-width: 540px; }
}
