/* Shared ink, signature lettering and the pale glass palette. */
:root {
  --lab-teal: #087f80;
  --lab-deep: #075e60;
  --lab-ink: #192c2c;
  --lab-muted: #4c605f;
  --lab-hairline: #cbdad7;
  --lab-paper: #f7f9f8;
  --lab-sans: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  --optical-ink: var(--lab-ink);
  --optical-muted: var(--lab-muted);
  --optical-rule: rgb(33 80 76 / 17%);
}
.lab-wordmark {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
#ml-top-header .logo .lab-wordmark { width: clamp(132px, 10.4vw, 154px); }
#ml-top-header { background: rgb(250 253 252 / 91%); }
#ml-top-header .ml-nav-center a,
#ml-top-header .nav .cta,
.mobile-nav a { font-weight: 400; }
#ml-top-header .nav a:is(:hover, :active, [aria-current="location"]),
#ml-top-header .menu:is(:focus-visible, :hover) { color: var(--lab-teal); }
#ml-top-header .ml-nav-center a[aria-current="location"],
.mobile-nav a[aria-current="location"]:not([href="#contact"]) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
nav.mobile-nav a:is(:hover, :focus-visible, [aria-current="location"]) { color: #86dfd4; }
@media (min-width: 901px) and (max-width: 1120px) {
  nav.mobile-nav.active {
    display: flex;
    position: fixed;
    inset-inline: 0;
    flex-direction: column;
    gap: 20px;
    padding: 25px 36px;
    color: white;
  }
}
#ml-top-header .nav .cta {
  color: var(--lab-deep);
  border: 1px solid #97b9b6;
  background: rgb(236 246 243 / 45%);
}
#ml-top-header .nav .cta:is(:hover, :focus-visible) {
  background: var(--lab-deep);
  color: white;
  border-color: var(--lab-deep);
}
nav.mobile-nav a[href="#contact"] {
  align-self: flex-start;
  padding: .45em 1em;
  margin-inline-start: -1em;
  border-radius: 30px;
}
#ml-top-header .nav .cta[aria-current="location"],
nav.mobile-nav a[href="#contact"][aria-current="location"] {
  background: var(--lab-teal);
  border-color: var(--lab-teal);
  color: #fff;
  text-decoration: none;
}
#ml-top-header :is(.nav a, .menu):focus-visible,
#service .ml-svc-controls button:focus-visible { outline: 2px solid var(--lab-teal); outline-offset: 3px; }

section.hero.ml-hero-renewed,
section.hero.ml-hero-renewed .ml-hero-bg { background: var(--lab-paper); }
section.hero.ml-hero-renewed .hero-optic { object-position: 56% 50%; }
section.hero.ml-hero-renewed .ml-hero-copy { align-items: flex-start; width: 100%; }
section.hero.ml-hero-renewed .hero-brand {
  width: clamp(182px, 15.5vw, 240px);
  margin: 0 0 clamp(17px, 1.9vw, 30px);
}
section.hero.ml-hero-renewed #hero-title {
  max-width: 100%;
  margin: 0;
  color: var(--lab-ink);
  font: 500 clamp(27px, 3.05vw, 53px)/1.32 'Paperlogy', var(--lab-sans);
  letter-spacing: -.065em;
  text-align: left;
  white-space: normal;
  word-break: keep-all;
  text-wrap: pretty;
}
#hero-title > span { display: block; }
.hero-introduction {
  width: min(32.5em, 49vw);
  margin-top: clamp(20px, 2.3vw, 35px);
  color: var(--lab-muted);
  font: 400 clamp(15px, 1.08vw, 17px)/1.77 var(--lab-sans);
  letter-spacing: -.028em;
  word-break: keep-all;
  text-align: left;
  text-wrap: pretty;
}
.hero-introduction p { margin: 0; }
.hero-introduction p + p { margin-top: .48em; }
@keyframes hero-copy-enter {
  from { opacity: .2; transform: translateY(.4em); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .ml-hero-copy .hero-brand,
  #hero-title > span,
  .ml-hero-copy .hero-introduction {
    animation: hero-copy-enter 620ms cubic-bezier(.2,.7,.2,1) backwards;
  }
  #hero-title > span:first-child { animation-delay: 70ms; }
  #hero-title > span + span { animation-delay: 150ms; }
  .ml-hero-copy .hero-introduction { animation-delay: 230ms; }
}
section.hero.ml-hero-renewed.is-hero-entered .ml-hero-scroll-icon { color: var(--lab-deep); }
#ml-quick-menu .ml-quick-contact-btn {
  box-shadow: 0 4px 14px rgb(34 66 60 / 12%);
  border-color: rgb(47 108 101 / 22%);
}
#ml-quick-menu :is(.ml-quick-contact-ico, .ml-quick-contact-txt) { color: var(--lab-deep); }
#ml-strategy-bridge .ml-bridge-sub { padding-left: 0; }
#ml-strategy-bridge .ml-bridge-title { color: var(--lab-ink); }
#ml-strategy-bridge .has-light-title .ml-bridge-title { color: white; }
#ml-strategy-bridge .has-light-signature .lab-wordmark,
#contact .lab-wordmark { filter: brightness(0) invert(1); }
#ml-strategy-bridge .lab-wordmark { width: clamp(172px, 23vw, 380px); }
#contact .lab-wordmark { width: clamp(190px, 18vw, 288px); }

#service .ml-svc-page, #service .ml-svc-controls { color: var(--lab-muted); }
#service .ml-svc-page strong, #people .ml-team-en { color: var(--lab-deep); }
#service .ml-svc-rule { background: var(--lab-hairline); }
#service .ml-svc-controls button { border-color: var(--lab-hairline); color: var(--lab-deep); }
#people .ml-team-role { color: var(--lab-ink); }
#people .ml-team-desc { color: var(--lab-muted); }
#clients.partnership-section {
  background: #f5f8f6;
  color: var(--lab-ink);
}
#clients :is(.partnership-title, .partnership-directory-title) { color: var(--lab-ink); }
.partnership-copy p { color: var(--lab-muted); }
.partnership-art { background: #d9e8e3; }

@media (hover: hover) {
  #service .ml-svc-controls button:hover { background: var(--lab-deep); border-color: var(--lab-deep); color: #fff; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .optical-pointer-on .optical-pointer { mix-blend-mode: normal; color: var(--lab-teal); }
  .optical-pointer::before { box-shadow: 0 0 0 1px rgb(255 255 255 / 90%); }
  .optical-pointer i::before { border-color: rgb(8 113 114 / 76%); box-shadow: 0 0 0 1px rgb(248 255 252 / 58%); }
  .optical-pointer.is-link i::before { background-color: rgb(8 127 128 / 12%); }
}
@media (max-width: 900px) {
  .hero-introduction { width: min(32em, 55vw); }
}
@media (max-width: 680px) {
  #ml-top-header .logo .lab-wordmark { width: 121px; }
  section.hero.ml-hero-renewed .ml-hero-content { padding: clamp(83px, 13svh, 125px) var(--hero-inset) 0; }
  section.hero.ml-hero-renewed .hero-brand { width: 166px; margin-bottom: 14px; }
  section.hero.ml-hero-renewed #hero-title {
    font-size: clamp(19.5px, 5.85vw, 32px);
    letter-spacing: -.065em;
    line-height: 1.37;
  }
  .hero-introduction { width: min(100%, 32em); margin-top: 17px; font-size: 14px; line-height: 1.65; }
  section.hero.ml-hero-renewed .hero-optic {
    height: 51%;
    object-position: 87% 50%;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 91%, rgb(0 0 0 / 82%));
  }
}
@media (max-width: 360px) {
  :root { --hero-inset: 18px; }
  .hero-introduction { line-height: 1.58; }
}
@media (max-height: 550px) and (orientation: landscape) {
  section.hero.ml-hero-renewed { align-items: center; }
  section.hero.ml-hero-renewed .ml-hero-content { padding: 49px var(--hero-inset) 0; }
  section.hero.ml-hero-renewed .hero-brand { width: 141px; margin-bottom: 9px; }
  section.hero.ml-hero-renewed #hero-title { font-size: clamp(20px, 2.9vw, 32px); line-height: 1.28; }
  .hero-introduction { width: min(35em, 65%); margin-top: 12px; font-size: 14px; line-height: 1.46; }
  section.hero.ml-hero-renewed.is-hero-entered .ml-hero-scroll-icon { bottom: 14px; }
}
