/* WIT GLOBAL public site */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* The same three Pretendard JP files the original site loads (regular, medium, bold). */
@font-face { font-family: "Pretendard JP"; font-weight: 400; font-display: swap; src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard-jp/dist/web/static/woff2/PretendardJP-Regular.woff2") format("woff2"); }
@font-face { font-family: "Pretendard JP"; font-weight: 500; font-display: swap; src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard-jp/dist/web/static/woff2/PretendardJP-Medium.woff2") format("woff2"); }
@font-face { font-family: "Pretendard JP"; font-weight: 700; font-display: swap; src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard-jp/dist/web/static/woff2/PretendardJP-Bold.woff2") format("woff2"); }
body { margin: 0; font-family: "Pretendard JP", "Pretendard Variable", Pretendard, "Noto Sans KR", "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-weight: 500; font-size: 16px; line-height: 1.5; letter-spacing: -0.03em; color: #000; background: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid #7a3fd0; outline-offset: 2px; }
/* The display faces have no Vietnamese accents; these fallbacks take over per glyph. */
.tx, .bx { font-synthesis: weight; }
.lang-vi .tx, .lang-vi .bx { letter-spacing: 0 !important; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 50; height: 64px; display: grid; grid-template-columns: 220px 1fr 220px; align-items: center; padding: 0 28px; background: #fff; border-bottom: 1px solid #eee; }
.logo { display: flex; align-items: center; }
.logo img { height: 42px; width: auto; display: block; }
@media (max-width: 767px) { .logo img { height: 34px; } }
.nav { display: flex; justify-content: center; gap: 32px; }
.nv { font-size: 18px; color: #1e1e20; letter-spacing: -0.03em; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.nv:hover, .nv.on { border-bottom-color: #7a3fd0; }
.langs { display: flex; gap: 4px; justify-content: flex-end; }
.lg { font-size: 13px; font-weight: 700; letter-spacing: 0; padding: 6px 10px; border-radius: 8px; color: #6b5a80; }
.lg:hover { background: #f1ecf6; }
.lg.on { background: #efe8f5; color: #5b1a8f; }
.langs-m, .burger { display: none; }
.burger { justify-self: end; width: 44px; height: 44px; border: 0; background: none; padding: 11px 9px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #222; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
@media (max-width: 1180px) {
  .hd { grid-template-columns: auto 1fr auto; padding: 0 16px; height: 56px; }
  .burger { display: flex; }
  .langs-d { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid #e5e5e5; padding: 6px 20px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.08); max-height: calc(100vh - 56px); overflow: auto; }
  .nav.open { display: flex; }
  .nv { padding: 13px 2px; border-bottom: 1px solid #f0f0f0; font-size: 17px; }
  .nv:hover, .nv.on { border-bottom-color: #f0f0f0; color: #6a1fb0; }
  .langs-m { display: flex; justify-content: flex-start; padding-top: 14px; }
  .lg { padding: 9px 14px; font-size: 14px; }
}

/* ---------- sections (desktop grid) ---------- */
.sec { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; overflow: hidden; z-index: 0; }
.sec-bg, .sec-ov { position: absolute; inset: 0; }
.sec-bg { background-position: center; background-repeat: no-repeat; z-index: -2; }
.sec-ov { z-index: -1; }
.gw { width: 100%; container-type: inline-size; }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), minmax(calc(100cqw / var(--cols) * 0.56), auto)); grid-auto-rows: minmax(calc(100cqw / var(--cols) * 0.56), auto); gap: var(--gap); padding: min(10px, 0.8333cqw); font-size: min(16px, 1.3333cqw); }
/* Each item is pinned to its grid area, so content never resizes the rows and every browser lays it out the same. */
.gi { position: relative; min-width: 0; min-height: 0; }
.gi > * { position: absolute; inset: 0; }
/* formatted text is the exception: like the original, it may push its rows taller */
.gi > .rw { position: relative; inset: auto; height: 100%; }
.lk > *, .mf > * { flex: 1 1 auto; min-height: 0; }
.lk { display: flex; flex-direction: column; }
.grp { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), minmax(0, 1fr)); gap: var(--gap); }
.grid { --gap: min(10px, 0.8333cqw); }
/* vertical placement runs on the main axis of a column */
.tw, .rw { display: flex; flex-direction: column; }
.tx { min-width: 0; flex: none; }
.rw { align-items: flex-start; }
.rt { flex: none; width: fit-content; max-width: 100%; font-size: 1em; line-height: 1.5; letter-spacing: -0.03em; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.rt h1, .rt h2, .rt h3, .rt h4, .rt p { margin: 1em 0; }
.rt h3 { font-size: 1.17em; line-height: 1.5; }
.rt h4 { font-size: 1em; }
.rt :first-child { margin-top: 0; }
.imw { display: flex; overflow: hidden; }
.im { flex: 1 1 auto; min-width: 0; background-repeat: no-repeat; background-position: center; }
.dw { display: flex; align-items: center; }
.dv { flex: 1 1 auto; height: 0; }
.ytb { background: #000; overflow: hidden; }
.ytb iframe { width: 100%; height: 100%; border: 0; display: block; }
.ytb-empty { height: 100%; display: grid; place-items: center; color: #fff; font-weight: 700; }
.bo { display: flex; }
.bx { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; text-align: center; white-space: pre-wrap; font-family: "Pretendard JP", "Pretendard Variable", Pretendard, "Noto Sans KR", sans-serif; letter-spacing: normal; overflow: hidden; }
.bx-link { cursor: pointer; transition: filter .15s; }
.bx-link:hover { filter: brightness(.94); }
.sec.vid { display: block; background: #000; }
.sec.hx { display: block; }
.hxf { display: block; width: 100%; height: 320px; border: 0; }
@media (max-width: 767px) { .no-m { display: none !important; } }
@media (min-width: 768px) { .no-d { display: none !important; } }
.yt { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 88vh; margin: 0 auto; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* phone layout: stacked blocks */
.m { display: none; }
.mcol { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 18px; }
.mf { width: 100%; max-width: 560px; display: flex; flex-direction: column; }
.mf-image, .mf-box, .mf-divider { margin: 0 auto; }
.mf .tx { justify-content: center !important; text-align: center !important; word-break: keep-all; overflow-wrap: anywhere; }
.mf .rt { width: 100%; }
.mab { position: relative; width: 100%; max-width: 480px; margin: 0 auto; container-type: inline-size; }
.mab > .gi { position: absolute; font-size: calc(var(--u) * 16); }
.mab .rt { width: 100%; }
.mc { width: 100%; container-type: inline-size; }
.mc .grid { font-size: calc(100cqw * 16 / var(--dw)); --gap: calc(100cqw * 10 / var(--dw)); padding: 0; }
@media (max-width: 767px) {
  .d { display: none; }
  .m { display: flex; }
}

/* entrance animations (only when scripting is on) */
.js .an { opacity: 0; }
.js .an.in { opacity: 1; animation-duration: .7s; animation-timing-function: ease-in-out; animation-fill-mode: both; }
.js .an-fade-in.in { animation-name: fade-in; }
.js .an-fade-in-top.in { animation-name: fade-in-top; }
.js .an-fade-in-left.in { animation-name: fade-in-left; }
.js .an-fade-in-right.in { animation-name: fade-in-right; }
.js .an-fade-in-bottom.in { animation-name: fade-in-bottom; }
.js .an-text-focus-in.in { animation-name: text-focus-in; animation-duration: 1s; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-in-top { from { transform: translateY(-50px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in-bottom { from { transform: translateY(50px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in-left { from { transform: translateX(-50px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in-right { from { transform: translateX(50px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes text-focus-in { from { filter: blur(12px); opacity: 0; } to { filter: blur(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .js .an { opacity: 1; } .js .an.in { animation: none; } }

/* ---------- boards ---------- */
.bd { min-height: 60vh; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 56px 24px 72px; }
.wrap.narrow { max-width: 900px; }
.bn { height: 330px; background-size: cover; background-position: center; display: flex; align-items: flex-end; position: relative; }
.bn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0) 60%); }
.bn-in { position: relative; z-index: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px 46px; color: #fff; }
.bn h1 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -0.04em; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.bn p { margin: 14px 0 0; font-size: 15px; line-height: 1.6; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.bh { font-size: 32px; font-weight: 600; letter-spacing: -0.04em; margin: 0 0 40px; }
.row { display: block; background: #f4f4f5; border-radius: 22px; padding: 18px 24px; margin-bottom: 16px; transition: background .15s; }
.row:hover { background: #ebe9ee; }
.row strong { display: block; font-size: 16px; font-weight: 700; }
.row span { display: block; margin-top: 4px; font-size: 13px; color: #555; }
.row em, .ps-mt em { font-style: normal; color: #999; margin-left: 8px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #f4f4f5; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.1); }
.card-th { aspect-ratio: 4 / 3; background: #e4e4e7 center / cover no-repeat; }
.card-tx { padding: 18px 20px 22px; }
.card-tx strong { font-size: 17px; font-weight: 700; display: block; }
.card-tx p { margin: 8px 0 0; font-size: 13.5px; color: #666; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ev { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; margin-bottom: 72px; }
.ev-ic { height: 34px; width: auto; display: block; margin-bottom: 18px; }
.ev h2 { margin: 0 0 18px; font-size: 34px; font-weight: 600; line-height: 1.4; letter-spacing: -0.04em; }
.ev-ds { font-size: 14px; line-height: 1.75; white-space: normal; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.ev-mt { margin: 14px 0 20px; font-size: 12.5px; color: #777; }
.ev-im { display: block; aspect-ratio: 3 / 2; background: #eee center / cover no-repeat; }
.btn { display: inline-block; background: #6a1fb0; color: #fff; border: 0; border-radius: 12px; padding: 11px 20px; font-size: 14px; font-weight: 700; cursor: pointer; }
.btn:hover { background: #5a1798; }
.empty { color: #888; text-align: center; padding: 60px 0; }
.pg { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.pg-b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: #f2f2f3; }
.pg-b.dis { opacity: .35; }
.pg-n { font-size: 14px; color: #555; }
.back { display: inline-block; font-size: 14px; color: #444; margin-bottom: 26px; }
.ps h1 { font-size: 24px; font-weight: 700; line-height: 1.45; margin: 0 0 10px; letter-spacing: -0.03em; }
.ps-mt { font-size: 13px; color: #555; margin-bottom: 24px; }
.ps-cover { display: block; width: 100%; height: auto; margin-bottom: 26px; border-radius: 8px; }
.ps-bd { font-size: 15.5px; line-height: 1.8; overflow-wrap: anywhere; }
.ps-bd img { height: auto; display: block; margin: 8px 0; }
.ps-bd p { margin: 0 0 1em; }
.ps-bd a { color: #6a1fb0; text-decoration: underline; }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.gal-i { aspect-ratio: 1; border: 0; padding: 0; background: #eee center / cover no-repeat; cursor: zoom-in; border-radius: 6px; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lb button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-x { top: 18px; right: 18px; } .lb-p { left: 14px; top: 50%; transform: translateY(-50%); } .lb-n { right: 14px; top: 50%; transform: translateY(-50%); }
.qf { display: grid; gap: 18px; }
.qf label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.qf input, .qf textarea { font: inherit; font-weight: 400; letter-spacing: 0; padding: 12px 14px; border: 1px solid #cfcfd4; border-radius: 12px; background: #fff; width: 100%; }
.qf textarea { resize: vertical; }
.qf .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qf-note { margin: 0; font-size: 12.5px; color: #777; }
.qf .btn { justify-self: start; padding: 13px 26px; font-size: 15px; }
.qf-msg { margin: 0; font-size: 14.5px; font-weight: 600; min-height: 1.5em; }
.qf-msg.ok { color: #1c7a43; } .qf-msg.err { color: #c0262d; }
.nf { text-align: center; padding-top: 110px; }
.nf h1 { font-size: 72px; margin: 0; color: #6a1fb0; }
@media (max-width: 767px) {
  .wrap { padding: 34px 18px 54px; }
  .bn { height: 210px; } .bn-in { padding: 0 18px 24px; } .bn h1 { font-size: 24px; } .bn p { font-size: 13px; margin-top: 8px; }
  .bh { font-size: 23px; margin-bottom: 24px; }
  .cards { grid-template-columns: 1fr; gap: 18px; }
  .ev { grid-template-columns: 1fr; gap: 20px; margin-bottom: 52px; } .ev-im { order: -1; } .ev h2 { font-size: 23px; margin-bottom: 12px; }
  .ps h1 { font-size: 20px; } .gal { grid-template-columns: repeat(2, 1fr); }
  .row { padding: 15px 18px; border-radius: 16px; }
}
@media (min-width: 768px) and (max-width: 1023px) { .cards { grid-template-columns: repeat(2, 1fr); } }

/* English and Vietnamese run longer than the Korean the boxes were sized for: step the type down a little. */
.lang-en .d .tw, .lang-en .d .bo, .lang-en .mc .tw, .lang-en .mc .bo, .lang-en .mab .tw, .lang-en .mab .bo { font-size: 0.82em; }
.lang-vi .d .tw, .lang-vi .d .bo, .lang-vi .mc .tw, .lang-vi .mc .bo, .lang-vi .mab .tw, .lang-vi .mab .bo { font-size: 0.78em; }
.lang-en .d .rw, .lang-vi .d .rw, .lang-en .mc .rw, .lang-vi .mc .rw { font-size: 0.9em; }
/* Japanese runs longer than Korean and falls back to a wider face, so it is set smaller and tighter. */
.lang-ja .d .tw, .lang-ja .d .bo, .lang-ja .mc .tw, .lang-ja .mc .bo, .lang-ja .mab .tw, .lang-ja .mab .bo { font-size: 0.72em; }
.lang-ja .d .rw, .lang-ja .mc .rw, .lang-ja .mab .rw { font-size: 0.85em; }
.lang-ja .tx, .lang-ja .bx { letter-spacing: -0.04em !important; line-break: strict; }
/* Indonesian runs longer than English, so display text is set slightly smaller. */
.lang-id .d .tw, .lang-id .d .bo, .lang-id .mc .tw, .lang-id .mc .bo, .lang-id .mab .tw, .lang-id .mab .bo { font-size: 0.9em; }
.lang-id .d .rw, .lang-id .mc .rw, .lang-id .mab .rw { font-size: 0.94em; }
/* Chinese: Pretendard JP has Japanese glyph forms, so Han characters come from Noto Sans SC; Latin and Hangul stay Pretendard. */
.lang-zh, .lang-zh * { font-family: "Pretendard Variable", Pretendard, "Noto Sans SC", sans-serif !important; }
.lang-zh .d .tw, .lang-zh .d .bo, .lang-zh .mc .tw, .lang-zh .mc .bo, .lang-zh .mab .tw, .lang-zh .mab .bo { font-size: 0.8em; }
.lang-zh .d .rw, .lang-zh .mc .rw, .lang-zh .mab .rw { font-size: 0.9em; }
.lang-zh .tx, .lang-zh .bx { letter-spacing: -0.02em !important; line-break: strict; }
