/* Figma English typefaces, served locally so the rendered fonts are stable. */
@font-face{font-family:Cormorant;src:url('assets/fonts/cormorant-600.ttf') format('truetype');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:Cormorant;src:url('assets/fonts/cormorant-700.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Inter;src:url('assets/fonts/inter-400.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('assets/fonts/inter-500.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Inter;src:url('assets/fonts/inter-700.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Inter;src:url('assets/fonts/inter-800.ttf') format('truetype');font-style:normal;font-weight:800;font-display:swap}
@font-face{font-family:'42dot Sans';src:url('assets/fonts/42dot-sans-800.ttf') format('truetype');font-style:normal;font-weight:800;font-display:swap}

/* Images, colors and section structure follow the Korean site.
   English typography follows the English Figma nodes where specified. */
html[lang="en"] body {
  word-break: normal;
  overflow-wrap: break-word;
}
.en-page main :is(h1, h2, h3, p, li, span, a, strong, b) {
  word-break: normal;
}
.en-page.home-index .hero-copy h1 strong { font: inherit; }
.en-page .ci-hero > div,
.en-page .info-hero > div {
  padding-inline: 24px;
  box-sizing: border-box;
}
.en-page .ci-hero h1,
.en-page .info-hero h1 {
  max-width: 1100px;
  margin-inline: auto;
  white-space: normal;
}
.en-page .unified-contact .community-contact-label {
  white-space: normal !important;
}
/* English words must not increase the minimum width of grid columns. */
.en-page :is(.sub-hero-copy, .content-section > .copy,
  .ci-director > div, .ci-philosophy > div, .ci-diagnosis-grid > article,
  .fl-intro > div, .fl-step-grid > article, .fl-device-grid > article,
  .fl-reason-grid > article, .sr-intro > div, .sr-card-grid > article,
  .buccal-split > div, .treatment-grid > article) {
  min-width: 0;
}
@media (max-width: 1100px) {
  .en-page.home-index .hero-copy .hero-lead-line { white-space: normal; }
}
@media (max-width: 760px) {
  .en-page .ci-philosophy-line { display: inline; white-space: normal; }
  .en-page .ci-philosophy-line + .ci-philosophy-line::before { content: " "; }
  .en-page.contour :is(.sub-hero-copy, .content-section > .copy) {
    width: 100%;
    max-width: 100%;
  }
}

/* Keep the Korean image grid intact while giving the translated heading
   the same two-line title area rather than letting it overlap the photo. */
@media (min-width: 1600px) {
  .en-page.home-index .program-title h2 { width: 996px; }
  .en-page.home-index .program-title > p:last-child { width: 887px; }
  .en-page.home-index .program-main .p1 > div > p { top: 735px; }
  .en-page.home-index .program-main .p2 > div > p { top: 1345px; }
}

/* The international phone prefix must stay with the number. */
.en-page .unified-contact .community-contact-info .community-contact-phone {
  font-size: 24px !important;
  white-space: nowrap;
}
.en-page .unified-contact .community-contact-info dt {
  overflow-wrap: normal;
}

/* English home typography — Figma 3003:103. Do not inherit Korean
   negative tracking or the Korean-only left alignment for Our Standard. */
html[lang="en"] body.home-index.en-page main :is(h1,h2,h3,h4,p,span,strong,b,em,a,li,dt,dd,label,small,figcaption) {
  letter-spacing: 0 !important;
}
/* Hero: 9333:146–148. */
html[lang="en"] body.home-index.en-page .hero-copy h1,
html[lang="en"] body.home-index.en-page .hero-copy h1 strong {
  font-family: Cormorant, serif !important;
  font-size: 64px !important;
  font-weight: 600 !important;
  font-variation-settings: normal !important;
  line-height: normal !important;
  letter-spacing: 1.28px !important;
}
html[lang="en"] body.home-index.en-page .hero-copy h1 strong { font-weight: 700 !important; }
html[lang="en"] body.home-index.en-page .hero-copy > p {
  font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 70px !important;
}
html[lang="en"] body.home-index.en-page :is(.hero-lead,.hero-lead-line) {
  font-size: 32px !important;
  font-weight: 400 !important;
  line-height: normal !important;
  letter-spacing: .64px !important;
}

/* Main section labels and headings. */
html[lang="en"] body.home-index.en-page :is(.expert .en,.standard-main > .en,.program-title > .en,.solution-main > .en,.ph-copy > .en,.ba-title .en) {
  font-family: Inter, sans-serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 70px !important;
}
html[lang="en"] body.home-index.en-page .expert .en { font-family: 'Pretendard Variable',Pretendard,sans-serif !important; }
html[lang="en"] body.home-index.en-page :is(.expert h2,.standard-main > h2,.program-title h2,.solution-main > h2,.ph-copy h2,.ba-title h2) {
  font-family: 'Pretendard Variable',Pretendard,sans-serif !important;
  font-size: 55px !important;
  font-weight: 700 !important;
  font-variation-settings: 'wght' 700 !important;
  line-height: 65px !important;
}
html[lang="en"] body.home-index.en-page :is(.expert h2,.ba-title h2) { line-height:70px !important; }

/* Our Standard: 3003:193 / 197 / 205. All three heading elements are
   centered; the numbered treatment list retains its own left alignment. */
html[lang="en"] body.home-index.en-page .standard-main > :is(.en,h2,.standard-desc) {
  position: static !important;
  left: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  transform: none !important;
  text-align: center !important;
}
html[lang="en"] body.home-index.en-page .standard-main > h2 {
  font-weight: 800 !important;
  font-variation-settings: 'wght' 800 !important;
}
html[lang="en"] body.home-index.en-page .standard-main > .en { margin-bottom:9px !important; }
html[lang="en"] body.home-index.en-page .standard-main > .standard-desc {
  max-width: 1003px !important;
  margin-top: 39px !important;
  margin-bottom: 79px !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 36px !important;
}
html[lang="en"] body.home-index.en-page .standard-body li { grid-template-columns:68px minmax(0,1fr); }
html[lang="en"] body.home-index.en-page .standard-body li > b {
  font-family:Inter,sans-serif !important;
  font-size:48px !important;
  font-weight:500 !important;
  line-height:70px !important;
  white-space:nowrap;
}
html[lang="en"] body.home-index.en-page .standard-body strong { font-size:24px !important;line-height:36px !important; }
html[lang="en"] body.home-index.en-page .standard-body span { font-size:20px !important;line-height:30px !important; }

/* Speciality: 3003:284 / 287–295 / 9332:133. */
html[lang="en"] body.home-index.en-page .expert-row > strong { font-size:50px !important;font-weight:700 !important;line-height:70px !important; }
html[lang="en"] body.home-index.en-page .expert-row b { font-size:24px !important;line-height:36px !important; }
html[lang="en"] body.home-index.en-page .expert-row span { font-size:24px !important;font-weight:400 !important;line-height:36px !important; }
html[lang="en"] body.home-index.en-page .expert-row:nth-child(n+2) :is(strong,b) { font-family:'42dot Sans',sans-serif !important;font-weight:800 !important; }
html[lang="en"] body.home-index.en-page .expert-row:nth-child(3) > strong { letter-spacing:1px !important; }
html[lang="en"] body.home-index.en-page .expert-row:nth-child(2) b { letter-spacing:-.48px !important; }

/* Program and Solution line breaks reproduce the Figma paragraph gaps. */
html[lang="en"] body.home-index.en-page .program-title > .en { margin-bottom:21px !important; }
html[lang="en"] body.home-index.en-page :is(.program-title h2,.solution-main > h2) > span { display:block; }
html[lang="en"] body.home-index.en-page .program-title h2 > span + span { margin-top:24px; }
html[lang="en"] body.home-index.en-page .program-title > p:last-child { margin-top:22px !important;font-size:24px !important;font-weight:400 !important;line-height:36px !important; }
/* Figma 3003:351–356: numbers and names share Judson Regular 130px.
   Scale from the 1920px artboard instead of reverting to 42px / 58px. */
html[lang="en"] body.home-index.en-page .program-main article :is(b,em) {
  font-family:Judson,Georgia,serif !important;
  font-size:clamp(52px,6.770833vw,130px) !important;
  font-weight:400 !important;
  font-style:normal !important;
}
@media (max-width:1599px) {
  html[lang="en"] body.home-index.en-page .program-main article b {
    gap:clamp(12px,1.666667vw,30px);
    white-space:nowrap;
  }
  html[lang="en"] body.home-index.en-page .program-main article :is(b,em) { line-height:1 !important; }
}
@media (max-width:760px) {
  html[lang="en"] body.home-index.en-page .program-main article :is(b,em) { font-size:clamp(42px,12vw,72px) !important; }
}
html[lang="en"] body.home-index.en-page .solution-main > h2 { font-weight:600 !important;font-variation-settings:'wght' 600 !important;line-height:70px !important; }
html[lang="en"] body.home-index.en-page .solution-desc { font-size:24px !important;font-weight:400 !important;line-height:36px !important;max-width:1400px; }
html[lang="en"] body.home-index.en-page .media-heading .en { font-size:55px !important;font-weight:700 !important;line-height:normal !important; }
html[lang="en"] body.home-index.en-page .media-heading h2 { font-size:17px !important;font-weight:500 !important;line-height:30px !important; }

@media (min-width:1600px) {
  html[lang="en"] body.home-index.en-page .program-main .p1 > div > p { width:505px;left:calc(50% + 184px);top:775px;text-align:right; }
  html[lang="en"] body.home-index.en-page .program-main .p2 > div > p { width:419px;top:1339px; }
  html[lang="en"] body.home-index.en-page .program-main .p3 > div > p { top:1891px;text-align:right; }
}
@media (max-width:1100px) {
  html[lang="en"] body.home-index.en-page .hero-copy h1,
  html[lang="en"] body.home-index.en-page .hero-copy h1 strong { font-size:48px !important;letter-spacing:.96px !important; }
  html[lang="en"] body.home-index.en-page :is(.hero-lead,.hero-lead-line) { font-size:24px !important;letter-spacing:.48px !important; }
  html[lang="en"] body.home-index.en-page :is(.expert h2,.standard-main > h2,.program-title h2,.solution-main > h2,.ph-copy h2,.ba-title h2) { font-size:40px !important;line-height:1.3 !important; }
  html[lang="en"] body.home-index.en-page .expert-row > strong { font-size:32px !important;line-height:1.4 !important; }
  html[lang="en"] body.home-index.en-page .expert-row :is(b,span) { font-size:18px !important;line-height:1.5 !important; }
}
@media (max-width:760px) {
  html[lang="en"] body.home-index.en-page .hero-copy h1,
  html[lang="en"] body.home-index.en-page .hero-copy h1 strong { font-size:38px !important;letter-spacing:.76px !important; }
  html[lang="en"] body.home-index.en-page .hero-copy > p { font-size:16px !important;line-height:1.5 !important; }
  html[lang="en"] body.home-index.en-page :is(.hero-lead,.hero-lead-line) { font-size:17px !important;line-height:1.5 !important;letter-spacing:.34px !important; }
  html[lang="en"] body.home-index.en-page :is(.expert .en,.standard-main > .en,.program-title > .en,.solution-main > .en,.ph-copy > .en,.ba-title .en) { font-size:16px !important;line-height:1.5 !important; }
  html[lang="en"] body.home-index.en-page :is(.expert h2,.standard-main > h2,.program-title h2,.solution-main > h2,.ph-copy h2,.ba-title h2) { font-size:32px !important;line-height:1.3 !important; }
  html[lang="en"] body.home-index.en-page .standard-main > .standard-desc { margin-top:24px !important;margin-bottom:42px !important;font-size:17px !important;font-weight:400 !important;line-height:1.65 !important; }
  html[lang="en"] body.home-index.en-page .standard-body li > b { font-size:34px !important;line-height:1.4 !important; }
  html[lang="en"] body.home-index.en-page .standard-body li { grid-template-columns:48px minmax(0,1fr);gap:14px; }
  html[lang="en"] body.home-index.en-page .standard-body strong { font-size:20px !important;line-height:1.4 !important; }
  html[lang="en"] body.home-index.en-page .standard-body span { font-size:17px !important;line-height:1.65 !important; }
  html[lang="en"] body.home-index.en-page .expert-row > strong { font-size:26px !important; }
  html[lang="en"] body.home-index.en-page .expert-row :is(b,span) { font-size:17px !important; }
  html[lang="en"] body.home-index.en-page :is(.program-title > p:last-child,.solution-desc) { font-size:17px !important;line-height:1.65 !important; }
  html[lang="en"] body.home-index.en-page :is(.program-title h2,.solution-main > h2) > span + span { margin-top:0; }
  html[lang="en"] body.home-index.en-page .media-heading .en { font-size:32px !important; }
}

/* Scale desktop display copy before it reaches the fixed quick-menu rail. */
@media (min-width:1101px) and (max-width:1599px) {
  html[lang="en"] body.home-index.en-page :is(.expert h2,.standard-main > h2,.program-title h2,.solution-main > h2,.ph-copy h2,.ba-title h2) {
    font-size:clamp(40px,3.55vw,55px) !important;
    line-height:1.3 !important;
  }
}

/* Avoid 100vw including the scrollbar and shifting centered headings on
   narrow screens; the section already has symmetric page gutters. */
html[lang="en"] body.home-index.en-page .solution-main > :is(.en,h2,.solution-desc) {
  position:static !important;
  left:auto !important;
  width:100% !important;
  max-width:none !important;
  margin-inline:auto !important;
  padding-inline:0 !important;
  transform:none !important;
  text-align:center !important;
}
html[lang="en"] body.home-index.en-page .solution-main > .solution-desc { max-width:1400px !important; }

/* Keep the two-line Solution title compact. */
html[lang="en"] body.home-index.en-page .solution-main > h2 { line-height:1.2 !important; }
html[lang="en"] body.home-index.en-page .solution-main > h2 > span + span { margin-top:0; }

/* Scale both image overlays and captions with the actual slider card,
   including the narrower cards shown on wide desktop screens. */
html[lang="en"] body.home-index.en-page .solution-cards article {
  container-type:inline-size;
  height:auto;
  min-height:0;
}
html[lang="en"] body.home-index.en-page .solution-card-link {
  --solution-copy-inset:clamp(24px,8cqi,68px);
}
html[lang="en"] body.home-index.en-page .solution-cards article .solution-card-link > :is(h3,p) {
  margin-left:var(--solution-copy-inset) !important;
}
html[lang="en"] body.home-index.en-page .solution-card-overlay {
  left:var(--solution-copy-inset);
  top:clamp(28px,8.5cqi,72px);
  max-width:calc(100% - 2 * var(--solution-copy-inset));
}
html[lang="en"] body.home-index.en-page .solution-card-overlay h4 {
  font-size:clamp(22px,min(5.6cqi,2.5vw),44px) !important;
  line-height:1.15 !important;
}
html[lang="en"] body.home-index.en-page .solution-card-overlay p {
  width:36cqi;
  max-width:100%;
  margin-top:clamp(10px,2.4cqi,18px);
  font-size:clamp(12px,min(2.6cqi,1.25vw),20px) !important;
  line-height:1.45 !important;
}
html[lang="en"] body.home-index.en-page .solution-card-link > h3 {
  margin-top:clamp(24px,4.5cqi,37px);
  margin-bottom:0;
  font-size:clamp(20px,min(4.2cqi,1.9vw),32px) !important;
  font-weight:700 !important;
  line-height:1.25 !important;
}
html[lang="en"] body.home-index.en-page .solution-card-link > p {
  margin-top:clamp(16px,3cqi,24px);
  margin-bottom:0;
  font-size:clamp(16px,min(2.8cqi,1.3vw),22px) !important;
  font-weight:400 !important;
  line-height:1.5 !important;
}
html[lang="en"] body.home-index.en-page .solution-cards article .solution-card-cta {
  margin-top:14px;
  margin-bottom:32px;
  font-size:clamp(16px,min(2.8cqi,1.3vw),22px) !important;
  line-height:1.5 !important;
}

/* Contact title and information: Figma 3003:297 / 11088:173–179. */
html[lang="en"] body.home-index.en-page .unified-contact .community-contact-info h2 { font-size:55px !important;font-weight:700 !important;line-height:70px !important; }
html[lang="en"] body.home-index.en-page .unified-contact .community-contact-info :is(dt,dd) { font-family:Inter,sans-serif !important;font-size:18px !important;line-height:30px !important; }
html[lang="en"] body.home-index.en-page .unified-contact .community-contact-info dt { font-weight:800 !important; }
html[lang="en"] body.home-index.en-page .unified-contact .community-contact-info .community-contact-phone { font-size:24px !important;font-weight:500 !important; }
@media(max-width:760px) {
  html[lang="en"] body.home-index.en-page .solution-cards article { min-height:0; }
  html[lang="en"] body.home-index.en-page .solution-card-link > h3 { margin-top:24px;font-size:22px !important;line-height:1.4 !important; }
  html[lang="en"] body.home-index.en-page .solution-card-link > p { margin-top:16px;font-size:17px !important;line-height:1.65 !important; }
  html[lang="en"] body.home-index.en-page .solution-cards article .solution-card-cta { margin-top:18px;margin-bottom:28px;font-size:17px !important;line-height:1.4 !important; }
  html[lang="en"] body.home-index.en-page .unified-contact .community-contact-info h2 { font-size:32px !important;line-height:1.3 !important; }
  html[lang="en"] body.home-index.en-page .unified-contact .community-contact-info :is(dt,dd) { font-size:16px !important;line-height:1.7 !important; }
}

/* Keep overlay descriptions on the left of the face at phone widths. */
@media (max-width:760px) {
  html[lang="en"] body.home-index.en-page .solution-card-overlay p {
    width:45cqi;
    line-height:1.25 !important;
  }
}
