:root { --fs: 1; }
@media (min-width: 768px) { :root { --fs: 1.07; } }
@media (min-width: 1200px) { :root { --fs: 1.13; } }
@media (min-width: 1600px) { :root { --fs: 1.2; } }
:root {
  --ink: #05070d;
  --ink-2: #0b111e;
  --ink-3: #0f1626;
  --ivory: #f3efe6;
  --dim: #a3a9ba;
  --steel: #8fa6c4;
  --accent-rgb: 46, 189, 107;
  --accent: rgb(var(--accent-rgb));
  --accent-grad: linear-gradient(90deg, #2ebd6b 0%, #3fc6d8 100%);
  --hair: rgba(243, 239, 230, 0.14);
  --sans: "NanumSquare", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --max-w: 1440px;
  --inset: clamp(24px, 6vw, 104px);
  --fs-visual: calc(clamp(2.3rem, 4.2vw, 4.2rem) * var(--fs));
  --fs-title: calc(clamp(2.2rem, 4vw, 3.6rem) * var(--fs));
  --fs-h2: calc(clamp(1.8rem, 3vw, 2.7rem) * var(--fs));
  --fs-h3: calc(clamp(1.5rem, 2.3vw, 2rem) * var(--fs));
  --fs-h4: calc(clamp(1.15rem, 1.7vw, 1.5rem) * var(--fs));
  --fs-lead: calc(clamp(.98rem, 1.15vw, 1.1rem) * var(--fs));
  --fs-lg: calc(17px * var(--fs));
  --fs-md: calc(16px * var(--fs));
  --fs-base: calc(15px * var(--fs));
  --fs-sm: calc(14px * var(--fs));
  --fs-xs: calc(13px * var(--fs));
  --fs-2xs: calc(12.5px * var(--fs));
  --fs-3xs: calc(11.5px * var(--fs));
  --fs-4xs: calc(10.5px * var(--fs));
  --fw-h2: 800;
  color-scheme: dark;
}
@media (min-width: 901px) { :root { --fs-visual: calc(clamp(2.1rem, 3.85vw, 3.85rem) * var(--fs)); } }
html { background: var(--ink); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--ivory); font-family: var(--sans); letter-spacing: -.045em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.top { position: relative; z-index: 6; height: 88px; padding: 12px var(--pad) 0; display: flex; align-items: center; justify-content: space-between; }
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; border-bottom: 1px solid transparent; transition: height .3s, padding .3s, background .3s, border-color .3s; }
.top.scrolled { height: 72px; padding-top: 0; background: rgba(5,7,13,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--hair); }
.top.scrolled .panel { top: 68px; }
body:has(> .top), .visual:has(> .top) { padding-top: 88px; }
html { scroll-padding-top: 80px; }
.top .right { display: flex; align-items: center; gap: clamp(20px, 3.4vw, 48px); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: var(--fs-lg); letter-spacing: .01em; white-space: nowrap; }
.logo .mk { display: block; flex: none; width: auto; height: 32px; margin-right: 2px; }
.mk .g { fill: #a3a4a7; }
.wm { display: block; flex: none; width: auto; height: calc(17.6px * var(--fs)); }
.nav { display: flex; gap: clamp(20px, 2.8vw, 40px); font-size: var(--fs-sm); }
.nav a { position: relative; padding: 6px 0; color: #d6d3ca; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.nav a:hover, .nav a[aria-current] { color: var(--ivory); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav > a[aria-current] { color: var(--ivory); }
.nav > a[aria-current]::after { transform: scaleX(1); }
.ask { padding: 11px 22px; font-size: var(--fs-sm); border: 1px solid rgba(var(--accent-rgb), .55); border-radius: 2px; transition: background .3s, color .3s, border-color .3s; }
.ask:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.nav .dd { position: relative; display: flex; }
.nav .dd > a { padding-right: 14px; }
.nav .dd > a > i { position: absolute; right: 0; top: 50%; width: 5px; height: 5px; margin-top: -4px; border-right: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor; transform: rotate(45deg); opacity: .7; }
.nav .dd > a[aria-current] { color: var(--ivory); }
.nav .dd > a[aria-current]::after { transform: scaleX(1); }
.nav .sub { position: absolute; top: 100%; left: 50%; z-index: 9; min-width: 156px; margin-top: 12px; padding: 8px; display: flex; flex-direction: column;
  gap: 8px;
  background: rgba(8, 11, 20, .97); border: 1px solid var(--hair); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav .dd:hover .sub, .nav .dd:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .sub a { padding: 10px 12px; font-size: var(--fs-sm); white-space: nowrap; color: #d6d3ca; }
.nav .sub a::after { display: none; }
.nav .sub a:hover, .nav .sub a[aria-current] { color: var(--accent); background: rgba(243, 239, 230, .04); }
.burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; color: var(--ivory); cursor: pointer; place-items: center; }
.burger svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.panel { display: none; position: absolute; z-index: 8; top: 84px; right: var(--pad); min-width: 200px; padding: 8px; border: 1px solid var(--hair); background: rgba(8,11,20,.96); flex-direction: column; }
.panel a { padding: 13px 14px; font-size: var(--fs-base); }
.panel a:hover { color: var(--accent); }
.panel a.s { padding: 10px 14px 10px 30px; font-size: var(--fs-sm); color: var(--dim); }
.top.open .panel { display: flex; }
nav.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 34px; font-size: var(--fs-xs); }
nav.tabs a { display: inline-flex; align-items: center; height: 36px; padding: 1px 13px 0; line-height: 1; border: 1px solid var(--hair); color: var(--dim); border-radius: 2px; transition: color .25s, border-color .25s; }
nav.tabs a:hover { color: var(--ivory); border-color: rgba(var(--accent-rgb), .5); }
nav.tabs a[aria-current] { color: var(--ink); background: var(--accent); border-color: var(--accent); font-weight: 700; }
nav.tabs a.off, nav.tabs a.off:hover { cursor: default; color: var(--dim); border-color: var(--hair); }
a.soon { cursor: default; color: rgba(214,211,202,.45) !important; background: none !important; }
a.soon::after { display: none !important; }
a.soon em { margin-left: 7px; padding: 3px 6px 2px; font-style: normal; font-size: var(--fs-4xs); letter-spacing: .02em; line-height: 1; color: var(--accent); border: 1px solid rgba(var(--accent-rgb), .35); border-radius: 2px; vertical-align: 1px; opacity: .85; }
.lang-btn { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 9px; font: inherit; font-family: "Nunito", var(--sans); font-size: var(--fs-2xs); font-weight: 800; letter-spacing: .06em; color: var(--dim); background: none; border: 1px solid var(--hair); border-radius: 19px; cursor: pointer; transition: color .25s, border-color .25s; }
.lang-btn:hover { color: var(--ivory); border-color: rgba(var(--accent-rgb), .5); }
.top .right .lang-btn + .theme-btn, .top .right .theme-btn + .lang-btn { margin-left: calc(-1 * clamp(20px, 3.4vw, 48px) + 8px); }
.to-top { position: fixed; z-index: 30; right: var(--pad); bottom: clamp(20px, 3vw, 32px); display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  color: var(--ivory); background: var(--ink-2); border: 1px solid var(--hair); border-radius: 50%; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, color .25s, border-color .25s; }
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--accent); border-color: rgba(var(--accent-rgb), .6); }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.to-top:hover svg { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top svg { transition: none; } }
.head { position: relative; background: radial-gradient(var(--head-w, 480px) 50% at 50% 50%, rgba(var(--head-rgb, 14,22,40), var(--head-a, .85)) 0%, rgba(var(--head-rgb, 14,22,40), calc(var(--head-a, .85) * .55)) 25%, rgba(var(--head-rgb, 14,22,40), calc(var(--head-a, .85) * .22)) 55%, rgba(var(--head-rgb, 14,22,40), calc(var(--head-a, .85) * .06)) 80%, rgba(var(--head-rgb, 14,22,40), 0) 100%); }
.lr { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.lr > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s cubic-bezier(.16, .8, .1, 1); transition-delay: calc(.1s + var(--li, 0) * .13s); }
.lr-in .lr > span { transform: none; }
html { scroll-behavior: smooth; }
.scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: clamp(20px, 4vh, 36px); display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translateX(-50%); color: var(--dim); transition: color .25s; }
.scroll-cue span { font-family: "Nunito", var(--sans); font-size: var(--fs-3xs); font-weight: 800; letter-spacing: .24em; padding-left: .24em; }
.scroll-cue i { position: relative; width: 1px; height: 46px; overflow: hidden; background: rgba(243,239,230,.18); }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: cueDrop 1.8s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes cueDrop { to { top: 100%; } }
.scroll-cue:hover { color: var(--accent); }
.scroll-cue.gone { opacity: 0 !important; pointer-events: none; transition: opacity .4s; }
@media (max-height: 640px) { .scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue i::after { animation: none; top: 30%; } }
.lb { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 56px 72px; background: rgba(3,5,10,.94); }
.lb.on { display: grid; }
.lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.lb figcaption { margin-top: 14px; font-size: var(--fs-sm); color: #cfd3dd; text-align: center; }
.lb figcaption small { margin-left: 10px; color: var(--steel); }
.lb button { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; color: var(--ivory); background: rgba(243,239,230,.06); border: 1px solid var(--hair); border-radius: 2px; cursor: pointer; }
.lb button[hidden] { display: none; }
.lb button:hover { border-color: var(--accent); color: var(--accent); }
.lb button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.lb .x { top: 18px; right: 18px; }
.lb .pv { left: 14px; top: 50%; margin-top: -24px; }
.lb .nx { right: 14px; top: 50%; margin-top: -24px; }
.lb figcaption b { display: block; margin-bottom: 4px; font-size: var(--fs-base); color: var(--ivory); }
@media (max-width: 560px) {
  .lb { padding: 56px 12px; }
  .lb .pv, .lb .nx { top: auto; bottom: 14px; margin-top: 0; }
}
footer.site { padding: clamp(28px, 3.4vw, 40px) var(--pad) 32px; border-top: 1px solid var(--hair); font-size: var(--fs-2xs); color: rgba(163,169,186,.62); }
.ft-in { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px clamp(28px, 4vw, 56px); }
.ft-brand { display: flex; align-items: center; gap: 8px; }
.ft-brand .mk { display: block; flex: none; width: auto; height: 22px; opacity: .75; }
.ft-brand .wm { height: calc(13.9px * var(--fs)); opacity: .75; }
.ft-info { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; line-height: 1.6; }
.ft-info div { display: flex; gap: 7px; }
.ft-info dt { color: rgba(163,169,186,.5); font-weight: 400; }
.ft-info dt.ic svg { display: block; width: 13px; height: 13px; margin-top: 3px; fill: currentColor; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ft-info dd { margin: 0; word-break: keep-all; }
.ft-info small { font-size: 1em; }
.ft-info a:hover { color: var(--accent); }
footer.site .ft-copy { margin: 18px 0 0; font-size: var(--fs-3xs); color: rgba(163,169,186,.45); }
@media (max-width: 900px) {
  .nav, .ask { display: none; }
  .burger { display: grid; }
}
.consult { position: fixed; inset: 0; z-index: 60; background: rgba(3,5,10,.6); opacity: 0; transition: opacity .35s; }
.consult[hidden] { display: none; }
.consult.on { opacity: 1; }
.cs-box { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); display: flex; flex-direction: column; padding: clamp(72px, 12vh, 120px) clamp(28px, 4vw, 52px) clamp(32px, 5vh, 48px);
  overflow-y: auto; background: var(--ink); border-left: 1px solid var(--hair); transform: translateX(40px); transition: transform .45s cubic-bezier(.2, .7, .1, 1); }
.cs-box::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--accent-grad); transform: scaleX(0); transform-origin: left; transition: transform .7s .1s cubic-bezier(.2, .7, .1, 1); }
.consult.on .cs-box { transform: none; }
.cs-box:focus { outline: none; }
.consult.on .cs-box::before { transform: scaleX(1); }
.cs-x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; color: var(--dim); background: none; border: 0; cursor: pointer; transition: color .2s, transform .3s; }
.cs-x:hover { color: var(--ivory); transform: rotate(90deg); }
.cs-x svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.cs-box h2 { margin: 0 0 14px; font-size: var(--fs-h2); font-weight: var(--fw-h2); letter-spacing: -.06em; line-height: 1.2; }
.cs-lead { margin: 0 0 clamp(40px, 7vh, 64px); font-size: var(--fs-base); line-height: 1.75; font-weight: 300; color: var(--dim); }
.cs-list { border-top: 1px solid var(--hair); }
.cs-item { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k act" "v v"; align-items: center; gap: 6px 16px; padding: 22px 0 24px; border-bottom: 1px solid var(--hair); }
.cs-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent-grad); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2, .7, .1, 1); }
.cs-item:hover::after, .cs-item:focus-visible::after { transform: scaleX(1); }
.cs-k { grid-area: k; font-size: var(--fs-2xs); color: var(--steel); }
.cs-v { grid-area: v; font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.03em; overflow-wrap: anywhere; transition: color .25s; }
.cs-item:hover .cs-v { color: var(--accent); }
.cs-act { grid-area: act; display: flex; align-items: center; gap: 8px; font-size: var(--fs-2xs); color: var(--dim); white-space: nowrap; }
.cs-act em { font-style: normal; }
.cs-act svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.cs-item:hover .cs-act { color: var(--accent); }
.cs-item:hover .cs-act svg { transform: translateX(4px); }
.cs-meta { display: grid; gap: 14px; margin: auto 0 0; padding-top: 40px; font-size: var(--fs-xs); line-height: 1.65; }
.cs-meta div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.cs-meta dt { color: rgba(163,169,186,.6); }
.cs-meta dd { margin: 0; color: var(--dim); word-break: keep-all; }
@media (max-width: 560px) {
  .cs-box { width: 100%; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .consult, .cs-box, .cs-box::before { transition: none; }
}
