/* Shared phone typography. Desktop layout remains in the page styles. */
@media(max-width:640px){
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  body{font-family:Arial,'Apple SD Gothic Neo','Malgun Gothic','맑은 고딕',sans-serif}
  body :is(h1,h2,h3,p,.project-caption,.gallery-title,.gallery-category){word-break:keep-all;overflow-wrap:break-word}
  body :is(p,.gallery-category,.contact-details,.career-position){letter-spacing:0;line-height:1.8}
  body :is(.eyebrow,.line-label,.step-number){line-height:1.5}
  body :is(.banner-description,.works-description,.about-copy p,.insights>p,.principal-copy>p:not(.line-label),.contact-information>p:not(.line-label),.process-intro>p:last-child,.service-summary>p){font-size:13px;line-height:1.85}
  body :is(.banner-description,.works-description,.about-copy p,.principal-copy>p:not(.line-label),.process-intro>p:last-child,.service-summary>p) br{display:none}
  body .services{align-items:start;gap:28px 0}
  body .service{align-items:flex-start;min-width:0}
  body .service h2{font-size:clamp(11px,3.2vw,13px);line-height:1.6;min-height:3.2em;letter-spacing:-.2px}
  body .service p{font-size:11px;line-height:1.85;margin-top:8px}
  body .service p br{display:none}
  body .service:not(:last-child)::after{top:0;height:100%}
  body .service:nth-child(even)::after{display:none}
  body #projects .projects-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:end}
  body #projects .eyebrow{grid-column:1/-1;margin-bottom:12px}
  body #projects-title{font-size:clamp(21px,5.6vw,25px);line-height:1.5;margin:0}
  body #projects .carousel-controls{position:static;margin:0;gap:8px}
  body #projects .carousel-controls button{display:grid;place-items:center;width:34px;height:36px;padding:0;line-height:1;text-align:center}
  body #projects .project-caption{position:relative;display:block;padding-right:18px;margin-top:10px;min-height:3.2em;font-size:clamp(12px,3.2vw,14px);line-height:1.6;letter-spacing:-.2px}
  body #projects .project-caption>span{position:absolute;right:0;top:0;font-size:18px;line-height:1.6}
  body.works-gallery .gallery-grid{align-items:start;gap:28px 14px}
  body.works-gallery .gallery-card{align-self:start;min-width:0}
  body.works-gallery .gallery-info{padding-right:0}
  body.works-gallery .gallery-title{margin-top:10px;padding-right:18px;min-height:3.2em;font-size:clamp(12px,3.3vw,14px);line-height:1.6;letter-spacing:-.2px}
  body.works-gallery .gallery-category{font-family:Arial,'Apple SD Gothic Neo','Malgun Gothic','맑은 고딕',sans-serif;font-size:11px;line-height:1.8;min-height:3.6em;margin-top:7px;letter-spacing:0}
  body.works-gallery .gallery-arrow{top:0;right:0;font-size:18px;line-height:1.6}
  body.works-gallery .gallery-toolbar{gap:12px}
  body.works-gallery .gallery-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}
  body.works-gallery .gallery-filters button{padding:10px 6px;font-size:11px;line-height:1.5;min-height:38px;text-align:center;white-space:nowrap}
  body.works-gallery #gallery-count{font-size:12px;line-height:1.5;padding-top:0}
  body .editorial-cards{align-items:start}
  body .editorial-card h2{font-size:19px;line-height:1.6;letter-spacing:-.4px}
  body .editorial-card>p{font-size:13px;line-height:1.85}
  body .process-list{align-items:start;column-gap:18px}
  body .process-list h3{font-size:18px;line-height:1.6;min-height:3.2em;margin-bottom:10px}
  body .process-list p{font-size:12px;line-height:1.85}
  body .process-list p br{display:none}
  body .faq-section h3{font-size:16px;line-height:1.65}
  body .faq-section article p{font-size:13px;line-height:1.85}
  body .contact-details{grid-template-columns:minmax(0,1fr);gap:8px}
  body .contact-details>div{align-items:flex-start;gap:16px;margin:6px 0}
  body .contact-details p{font-size:13px;line-height:1.8;word-break:keep-all;overflow-wrap:break-word}
  body .contact-details small{font-size:11px;line-height:1.6;margin-bottom:3px}
  body .contact-details a{font-size:15px}
  body .contact address a{font-size:15px;line-height:1.8;gap:12px;overflow-wrap:anywhere}
  body .career-table th,body .career-table td{text-align:left;line-height:1.7;vertical-align:top}
  body .career-table .career-continuation td{text-align:center}
  body .dialog-copy{padding:26px 22px}
  body .dialog-copy h2{font-size:23px;line-height:1.5;letter-spacing:-.5px}
  body .dialog-copy>p:not(.eyebrow),body .dialog-copy #article-body p,body .dialog-copy #article-body li{font-size:13px;line-height:1.85}
  body footer{align-items:start;gap:10px 16px;font-size:10px;line-height:1.8;letter-spacing:0}
  body footer>span:nth-child(2){flex-basis:100%;order:3}
  body footer>a{white-space:nowrap}
}
