.mc {
  --night: #10263c;
  --paper: #f8f6f1;
  --champagne: #dec18a;
  --copy-inset: max(clamp(28px, 6.65vw, 148px), calc((100% - 1800px) / 2));
  background: var(--night);
  isolation: isolate;
}
.mc-field { position: relative; min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.mc-vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.mc-choice { bottom: 25px; left: var(--gutter); }
.mc-stage { display: grid; overflow: hidden; background: var(--night); touch-action: pan-y pinch-zoom; }
.mc-panel {
  grid-area: 1 / 1; display: grid; grid-template-rows: 1fr; position: relative;
  min-width: 0; min-height: clamp(467px, 38vw, 660px); isolation: isolate;
  color: white; background: var(--night); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.mc-photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.mc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus); }
.mc-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #081828f7, #091d2ee6 19%, #0a1e2fcc 34%, #0a1e2f57 52%, #0a1e2f0a 71%);
}
.mc-panel[data-key="learning"] .mc-photo { left: 32%; }
.mc-panel[data-key="learning"]::before {
  background: linear-gradient(90deg, #0b2035, #10263c 30%, #0d2131e0 38%, #0d213157 50%, transparent 65%);
}
.mc-panel[data-key="seongnam"] .mc-photo { left: 31%; }
.mc-panel[data-key="seongnam"]::before {
  background: linear-gradient(90deg, #0b2237, #112c43 27%, #0d2437f2 33%, #0c2335a1 43%, #0c23351a 57%, transparent 70%);
}
.mc-credit {
  position: absolute; right: max(16px, var(--gutter)); bottom: 15px; z-index: 2;
  max-width: 90%; padding: 4px 9px; border-radius: 2px; background: #0a1b27cf;
  color: #fff; font-size: .8rem; line-height: 1.45;
}
.mc-credit:hover { text-decoration: underline; }
.mc-content {
  width: 100%; min-width: 0; align-self: start;
  padding: clamp(42px, 4.8vw, 84px) var(--copy-inset) clamp(28px, 3.2vw, 50px);
}
.mc-copy { width: min(39vw, 670px); }
.mc-overline, .mc-vision-lead {
  min-height: 3em; margin: 0 0 clamp(12px, 1.3vw, 22px);
  color: #f1dcad; font-size: clamp(.95rem, 1.2vw, 1.26rem); font-weight: 660; line-height: 1.5;
}
.mc-overline { display: flex; align-items: center; gap: 12px; }
.mc-overline::before { content: ""; width: 32px; height: 2px; background: var(--champagne); flex: none; }
.mc-vision-lead span, .mc-title > span, .mc-english span { display: block; }
.mc-title { color: white; font-size: clamp(1.95rem, 3.9vw, 4.45rem); font-weight: 760; line-height: 1.21; letter-spacing: -.055em; }
.mc-summary { max-width: 28em; margin-top: 18px; color: #f1f3f3; font-size: clamp(1rem, 1.24vw, 1.24rem); text-wrap: pretty; }
.mc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 23px; margin-top: 24px; }
.mc-primary, .mc-inquiry { display: inline-flex; align-items: center; min-height: 44px; font-size: .96rem; font-weight: 700; line-height: 1.3; }
.mc-primary { padding: 12px 19px; border: 1px solid var(--paper); border-radius: 4px; background: var(--paper); color: #152d41; }
.mc-primary:hover { background: #ebd9b6; border-color: #ebd9b6; }
.mc-inquiry { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--champagne); }
.mc-inquiry:hover { color: #f3d598; }
.mc-panel[data-key="practice"] { grid-template-rows: minmax(min-content, 1fr) auto; background: #0a2631; }
.mc-panel[data-key="practice"]::before {
  background: linear-gradient(90deg, #0a2631fa, #0a2631ef 24%, #0a2631d7 37%, #0a26316c 51%, #0a263110 68%, transparent);
}
.mc-panel[data-key="practice"] .mc-title { font-size: clamp(1.9rem, 3.65vw, 4.35rem); line-height: 1.24; }
.mc-panel[data-key="practice"] .mc-title > span { white-space: nowrap; }
.mc-wordmark { font: 740 1.19em/.9 Arial, var(--font); letter-spacing: -.045em; }
.mc-english { margin-top: clamp(12px, 1.45vw, 22px); color: #e6eeee; font: 500 clamp(.94rem, 1.16vw, 1.23rem)/1.4 Arial, var(--font); }
.mc-english span + span { color: #efcf8e; font-weight: 690; }
.mc-panel[data-key="practice"] .mc-actions { margin-top: clamp(17px, 1.7vw, 26px); }
.mc-proof { position: relative; grid-row: 2; min-width: 0; padding: 12px var(--copy-inset) 10px; background: #f8f7f2; border-bottom: 1px solid #d8d4c9; }
.mc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.mc-stats > div + div { padding-inline-start: clamp(16px, 2.4vw, 43px); border-inline-start: 1px solid #cec8ba; }
.mc-stats dt { color: #445862; font-size: .8rem; line-height: 1.35; }
.mc-stats dd { margin: 1px 0 0; color: #153448; font: 650 clamp(1.45rem, 2.15vw, 2.12rem)/1.15 Arial, var(--font); font-variant-numeric: tabular-nums; }
.mc-source { margin-top: 6px; color: #475962; font-size: .77rem; line-height: 1.4; }
.mc-rail { color: #1a3044; background: var(--paper); border-bottom: 1px solid #e5ded2; }
.mc-rail-inner { display: flex; align-items: stretch; gap: clamp(12px, 3vw, 44px); min-height: 64px; }
.mc-tabs { flex: 1; min-width: 0; max-width: 900px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mc-label {
  position: relative; display: flex; justify-content: center; align-items: center; min-height: 54px;
  text-align: center; color: #485966; line-height: 1.35; font-size: clamp(.9rem, 1.2vw, 1.04rem); font-weight: 660;
  padding: 4px 5px; cursor: pointer;
}
.mc-label:hover { background: #eeeae1; color: var(--night); }
.mc-label::after { content: ""; opacity: 0; position: absolute; bottom: 0; left: 12%; right: 12%; height: 3px; background: #a47c40; }
.mc-transport, .mc-css-auto {
  display: inline-flex; align-items: center; justify-content: center; align-self: center; flex: none;
  gap: 8px; margin-inline-start: auto; min-height: 42px; padding: 7px 13px; border: 1px solid #c7c3b9;
  border-radius: 4px; font-size: .89rem; font-weight: 650; background: transparent; color: #253b4a; cursor: pointer;
}
.mc-transport:hover, .mc-css-auto:hover { background: #eae5d9; }
.mc-transport::before { content: ""; width: 8px; height: 11px; border-inline: 3px solid currentColor; }
.mc-transport[data-state="paused"]::before, .mc-css-auto::before {
  content: ""; width: 0; height: 0; border: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor;
}
.mc-field[data-ready] .mc-css-auto { display: none; }

#mc-practice:checked ~ .mc-stage #slide-practice, #mc-center:checked ~ .mc-stage #slide-center,
#mc-industry:checked ~ .mc-stage #slide-industry, #mc-seongnam:checked ~ .mc-stage #slide-seongnam,
#mc-learning:checked ~ .mc-stage #slide-learning { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; z-index: 1; }
#mc-practice:checked ~ .mc-rail [for="mc-practice"], #mc-center:checked ~ .mc-rail [for="mc-center"],
#mc-industry:checked ~ .mc-rail [for="mc-industry"], #mc-seongnam:checked ~ .mc-rail [for="mc-seongnam"],
#mc-learning:checked ~ .mc-rail [for="mc-learning"] { color: #0c253c; font-weight: 760; background: #eeebe2; }
#mc-practice:checked ~ .mc-rail [for="mc-practice"]::after, #mc-center:checked ~ .mc-rail [for="mc-center"]::after,
#mc-industry:checked ~ .mc-rail [for="mc-industry"]::after, #mc-seongnam:checked ~ .mc-rail [for="mc-seongnam"]::after,
#mc-learning:checked ~ .mc-rail [for="mc-learning"]::after { opacity: 1; }
#mc-practice:focus-visible ~ .mc-rail [for="mc-practice"], #mc-center:focus-visible ~ .mc-rail [for="mc-center"],
#mc-industry:focus-visible ~ .mc-rail [for="mc-industry"], #mc-seongnam:focus-visible ~ .mc-rail [for="mc-seongnam"],
#mc-learning:focus-visible ~ .mc-rail [for="mc-learning"], #mc-auto:focus-visible ~ .mc-rail .mc-css-auto { outline: 3px solid #85652e; outline-offset: -4px; }
@keyframes mc-auto-image { 0%, 18.2%, 100% { opacity: 1; visibility: visible; } 20%, 98.2% { opacity: 0; visibility: hidden; } }
@keyframes mc-auto-label { 0%, 18.2%, 100% { opacity: 1; } 20%, 98.2% { opacity: 0; } }
#mc-auto:checked ~ .mc-stage .mc-panel { animation: mc-auto-image var(--cycle) linear var(--phase) infinite; pointer-events: auto; }
#mc-auto:checked ~ .mc-rail .mc-label::after { animation: mc-auto-label var(--cycle) linear var(--phase) infinite; }

@media (min-width: 701px) {
  .mc-panel[data-key="practice"] .mc-photo { position: relative; inset: auto; grid-area: 1 / 1; min-height: 0; min-width: 0; }
  .mc-panel[data-key="practice"] .mc-photo img {
    position: absolute; inset: 0 0 0 auto; width: auto; height: 100%; max-width: 82%; min-width: min(63%, 1140px);
    mask-image: linear-gradient(90deg, transparent, #000 18%);
  }
  .mc-panel[data-key="practice"] .mc-content { grid-area: 1 / 1; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .mc { --copy-inset: 4.8vw; }
  .mc-copy { width: 43vw; }
  .mc-content { padding-block: 38px 26px; }
  .mc-overline, .mc-vision-lead { margin-bottom: 12px; }
  .mc-title { font-size: clamp(1.85rem, 4.1vw, 2.55rem); }
  .mc-panel[data-key="practice"] .mc-title { font-size: clamp(1.8rem, 3.9vw, 2.5rem); }
}
@media (max-width: 700px) {
  .mc { --copy-inset: clamp(20px, 5.8vw, 36px); --mobile-image-height: clamp(184px, 55vw, 320px); }
  .mc-panel { min-height: 0; grid-template-rows: var(--mobile-image-height) 1fr; }
  .mc-panel[data-key="practice"] { grid-template-rows: var(--mobile-image-height) minmax(min-content, 1fr) auto; background: var(--night); }
  .mc .mc-panel .mc-photo { grid-row: 1; position: relative; inset: auto; z-index: 0; }
  .mc-photo img { position: absolute; inset: 0; object-position: var(--mobile-focus); }
  .mc .mc-panel::before { display: none; }
  .mc-content { grid-row: 2; padding: 19px var(--copy-inset) 20px; }
  .mc-panel:not([data-key="practice"]) .mc-content { align-self: center; padding-block: 26px; }
  .mc-copy { width: 100%; max-width: 35rem; }
  .mc-overline, .mc-vision-lead { min-height: 0; font-size: .92rem; margin-bottom: 10px; }
  .mc-overline::before { width: 23px; }
  .mc-title { font-size: clamp(1.82rem, 6.5vw, 2.7rem); }
  .mc-panel[data-key="practice"] .mc-title { font-size: clamp(1.7rem, 6.6vw, 2.4rem); }
  .mc-english { margin-top: 9px; font-size: .94rem; line-height: 1.33; }
  .mc-summary { margin-top: 12px; line-height: 1.55; }
  .mc-actions, .mc-panel[data-key="practice"] .mc-actions { margin-top: 15px; gap: 10px 18px; }
  .mc-primary { padding: 10px 15px; }
  .mc-credit { top: calc(var(--mobile-image-height) - 29px); bottom: auto; right: 9px; font-size: .75rem; }
  .mc-proof { grid-row: 3; padding: 10px var(--copy-inset) 9px; }
  .mc-stats > div + div { padding-inline-start: clamp(7px, 2.8vw, 19px); }
  .mc-stats dt, .mc-source { font-size: .76rem; }
  .mc-stats dd { font-size: 1.4rem; }
  .mc-rail-inner { width: 100%; min-height: 56px; gap: 0; padding-right: 4px; }
  .mc-label { display: block; align-content: center; font-size: .875rem; padding: 5px 2px; }
  .mc-transport, .mc-css-auto { width: 42px; min-height: 42px; padding: 0; margin-inline-start: 2px; gap: 0; font-size: 0; }
}
@media (max-width: 370px) {
  .mc-label { font-size: .82rem; }
  .mc-stats { grid-template-columns: .92fr .78fr 1.3fr; }
}
@media (prefers-reduced-motion: reduce) {
  .mc-panel { transition: none; }
  #mc-auto:checked ~ .mc-stage .mc-panel, #mc-auto:checked ~ .mc-rail .mc-label::after { animation: none; }
  #mc-auto:checked ~ .mc-stage .mc-panel:first-child { opacity: 1; visibility: visible; }
  #mc-auto:checked ~ .mc-rail .mc-label:first-child::after { opacity: 1; }
}
