/* Final shared type and surface corrections. Keep light and photographic sections distinct. */
:root {
  --site-font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

body:is(.visual-refresh, .cases-page) {
  font-family: var(--site-font);
  font-synthesis: none;
  letter-spacing: -.012em;
}
body:is(.visual-refresh, .cases-page) :is(h1, h2, h3, h4, h5, h6, summary, label, input, textarea, select, button),
body:is(.visual-refresh, .cases-page) main :is(.kicker, .section-label, .section-desc, .lead, .tl-year, .edu-category-title, .proj-category-label, .signal-card b, .value-icon, .home-hero__signal),
body:is(.visual-refresh, .cases-page) .open-class-entry__art > strong {
  font-family: var(--site-font) !important;
}
body:is(.visual-refresh, .cases-page) :is(input, textarea, select, button) {
  letter-spacing: inherit;
}
body:is(.visual-refresh, .cases-page) .site-header :is(.nav-links, .links) {
  font-weight: 600;
  letter-spacing: -.015em;
}
body:is(.visual-refresh, .cases-page) .site-header :is(.nav-links, .links) a {
  font-weight: 600;
}
body:is(.visual-refresh, .cases-page) :is(.kicker, .section-label) {
  font-weight: 650;
}
body:is(.visual-refresh, .cases-page) :is(.cta, .ghost, .nav-cta, .btn, .btn-primary, .btn-secondary, .btn-outline) {
  font-weight: 650;
}
body:is(.visual-refresh, .cases-page) .footer-col h4 {
  letter-spacing: -.015em;
}
body:is(.visual-refresh, .cases-page) :is(input, textarea)::placeholder {
  color: #63738b !important;
  opacity: 1;
}

/* The homepage entry is a dark photograph; the same component is light on education pages. */
body.home-business .open-class-entry .open-class-entry__copy h2 {
  color: #fff !important;
}
body.home-business .open-class-entry .open-class-entry__copy p {
  color: #dce6ed !important;
}
body.home-business .open-class-entry .open-class-entry__eyebrow {
  color: #e7c6ad !important;
}
body.home-business .open-class-entry .open-class-entry__link {
  background: #edc1a4;
  color: #352c2a !important;
}
body.home-business .open-class-entry .open-class-entry__link:hover {
  background: #f4cfb5;
  color: #352c2a !important;
}
body.home-business .home-open-class-art > figcaption {
  background: #132331e6;
  color: #dce6ed;
}

/* The workshop panel and its image caption use the same navy surface. */
body.home-business #home-service-workshop .home-service-copy > small {
  color: #a6cfe6 !important;
}
body.home-business #home-service-workshop .home-service-copy h3 {
  color: #fff !important;
}
body.home-business #home-service-workshop .home-service-copy > p {
  color: #d0dfea !important;
}
body.home-business #home-service-workshop .home-service-copy .home-service-note {
  color: #bed0e0 !important;
}
body.home-business #home-service-workshop .home-service-link {
  color: #b7ecdf !important;
}
body.home-business .home-service-image--workshop figcaption > p {
  color: #d0dfea !important;
}
body.home-business .home-service-image--workshop figcaption > :is(strong, small),
body.home-business .home-service-image--workshop figcaption li :is(b, span) {
  color: #e8f0f6 !important;
}
body.home-business .home-service-image--workshop .home-image-eyebrow {
  color: #b2cde1 !important;
}

/* Captions on photographs need their own foreground instead of the light-page paragraph token. */
body.home-business .business-project-map figcaption > strong,
body.home-business .home-rich-faq-photo figcaption strong,
body.home-business .home-rich-cta-photo figcaption strong {
  color: #fff !important;
}
body.home-business .business-project-map figcaption > p {
  color: #d0deec !important;
}
body.home-business .business-project-map figcaption > span,
body.home-business .home-rich-faq-photo figcaption span,
body.home-business .home-rich-cta-photo figcaption span {
  color: #c5d8e9 !important;
}
body.home-business .business-project-map figcaption > a {
  color: #c2eddc !important;
}
body.home-business .home-rich-cta .business-cta-label {
  color: #b7d2e8 !important;
}

/* Preserve the existing mono treatment of code and operational logs. */
body:is(.visual-refresh, .cases-page) :is(code, pre, kbd, samp),
body.visual-refresh .lxp-console li {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace !important;
}

@media (forced-colors: active) {
  body.home-business :is(.open-class-entry__copy, #home-service-workshop .home-service-copy, .business-project-map figcaption) :is(h2, h3, p, small, strong, span, a) {
    color: CanvasText !important;
  }
}
