/* GiveLuv | 2026-11-19 | site-wide narrow-screen typography and layout audit.
   Additive stylesheet: original design, photos, event status, forms and destinations retained. */
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { min-width:0; }
img,video,canvas,svg,iframe { max-width:100%; }
img,video { height:auto; }
iframe { display:block; }
main,section,article,header,footer,nav,figure,form { min-width:0; }
:where(.wrap,.shell,.container,.inner,.hero-copy,.hero-content,.detail-intro,.event-copy,.visit-main,.visit-side,.form-panel,.section-heading,.brand,.brand-label,.brand-words,.brand-text) { min-width:0; }
:where(h1,h2,h3) { text-wrap:balance; line-break:strict; overflow-wrap:break-word; }
:where(p,li,dd,dt,summary,figcaption,small) { line-break:strict; overflow-wrap:break-word; }
:where(input,textarea,select) { max-width:100%; }
:where(.grid,.cards,.fields,.contact-actions,.cta-actions,.consult-actions,.buttons,.detail-next) > * { min-width:0; }
@media (max-width:760px) {
  /* Constrain every page's heading width and smooth the Japanese line endings. */
  :where(h1,h2,h3) { max-width:100%; letter-spacing:min(.045em,1px); }
  :where(.hero h1,.masthead h1,.page-hero h1,.detail-intro h1) { line-height:1.55; }
  :where(.hero,.masthead,.page-hero,.detail-intro,.section-intro,.intro,.visit,.events-section,.news-section) { min-width:0; }
  :where(.site-header,.site-head,.page-header,.brand) { min-width:0; }
  :where(.head-cta,.head-links a,.page-header nav a) { flex-shrink:0; }
  :where(.cta-actions,.consult-actions,.contact-actions,.detail-next) { flex-wrap:wrap; }
  :where(.cta-actions a,.consult-actions a,.contact-actions a,.detail-next a,.buttons a) { max-width:100%; overflow-wrap:break-word; }
  :where(.foot-links,.site-footer .shell,.page-footer) { row-gap:12px; }
  /* Large desktop typography must never force a single orphan character on phones. */
  .page-works :is(.detail-intro h1,.works-hero h1,.page-title h1) { font-size:clamp(22px,5.7vw,29px);letter-spacing:.015em;line-height:1.65; }
  .page-works :is(.detail-intro p,.detail-next a) { line-height:1.85; }
  .page-works .detail-intro { min-width:0; }
  .page-works .cta h2 { font-size:clamp(22px,5.9vw,29px);line-height:1.75; }
  .page-works :is(.work-card h3,.works-card h3,.case-card h3) { text-wrap:balance; }
  .page-modelhouse .modelhouse-gallery-heading h2 { font-size:clamp(24px,6.2vw,31px);line-height:1.65;letter-spacing:.015em; }
  .page-modelhouse .modelhouse-gallery-heading h2 .modelhouse-gallery-title-subject { display:block;white-space:nowrap; }
  .page-modelhouse :is(.intro h2,.values h2,.visit h2,.bottom-cta h2) { font-size:clamp(23px,6.1vw,32px);line-height:1.7;letter-spacing:.015em; }
  .page-modelhouse .value-list article { min-width:0; }
  .page-modelhouse .visit-side dl>div { grid-template-columns:minmax(70px,88px) minmax(0,1fr); }
  .page-modelhouse .modelhouse-photo-caption strong { line-height:1.55; }
  .page-modelhouse :is(.modelhouse-gallery-item figcaption,.modelhouse-photo-caption) { max-width:100%; }
  .page-events .event-copy h3 { font-size:clamp(24px,6.5vw,30px);letter-spacing:0;line-height:1.65; }
  .page-events .masthead h1 { font-size:clamp(30px,7.5vw,39px); }
  .page-events .consult h2 { font-size:clamp(24px,6.3vw,31px); }
  .page-contact :is(.hero h1,.policy-page h1) { font-size:clamp(25px,6.3vw,32px);letter-spacing:.015em; }
  .page-contact .form-panel form { width:100%;min-width:0; }
  .page-contact .fields :is(input,textarea) { min-width:0; }
  .page-home :is(.section-heading h2,.local-choice-heading h2,.home-faq-head h2) { text-wrap:balance; }
  .page-home .contact-title-line { max-width:100%;white-space:normal; }
  .page-home .contact-intro span { white-space:normal; }
  .page-home .phrase-line { max-width:100%;white-space:normal; }
  .page-home .hero-first-line { white-space:normal; }
  .page-home :is(.quality-points,.local-choice-inner,.home-faq-inner) > * { min-width:0; }
  .page-flow :is(h1,h2,h3),.page-company :is(h1,h2,h3),.page-performance :is(h1,h2,h3) { letter-spacing:.025em; }
  .page-company :is(.rep-video-title,.company-title) { text-wrap:balance;max-width:100%; }
  .page-performance :is(.climate-headline,.title) { text-wrap:balance;max-width:100%; }
}
@media (max-width:400px) {
  :where(.site-header,.site-head,.page-header) { column-gap:8px; }
  .page-works .detail-intro h1 { font-size:clamp(21px,5.6vw,24px); }
  .page-modelhouse .modelhouse-gallery-heading h2 { font-size:clamp(22px,6.1vw,25px); }
  .page-modelhouse .modelhouse-gallery-title-subject { letter-spacing:0; }
  .page-events .event-copy h3 { font-size:clamp(23px,6.2vw,27px); }
  .page-home :is(.quality-single h3,.modelhouse-teaser h3) { font-size:clamp(19px,5.2vw,22px); }
}
@media(max-width:350px) {
  :where(.brand small,.brand-en) { letter-spacing:.06em; }
  .page-home .bottom-visit-label { white-space:normal; }
  .page-modelhouse .modelhouse-gallery-heading h2 { font-size:21px; }
  .page-modelhouse .modelhouse-gallery-title-subject { white-space:normal; }
}

/* 2026-11-19 | Manual Japanese copy line-break finishing (no size/spacing changes). */
@media(max-width:760px){
  .copy-keep {white-space:nowrap;}
  .page-flow .flow-copy-line{display:block;white-space:nowrap;}
  .page-home .intro-body .lead{overflow-wrap:normal;}
  .page-performance .support-card h3 .copy-keep{white-space:nowrap;}
}
@media(max-width:350px){
  .page-flow .flow-copy-line{white-space:normal;}
  .copy-keep{white-space:normal;}
}
