:root {
  --navy: #132548;
  --navy-2: #1d3766;
  --accent: #ed0c6d;
  --accent-dark: #c80a5b;
  --ink: #1b1d22;
  --muted: #5d6270;
  --line: #e4e6eb;
  --soft: #f5f6f8;
  --radius: 14px;
  --header-h: 76px;
  --maxw: 1240px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
body { margin: 0; color: var(--ink); background: #fff; line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
em { font-style: normal; color: var(--accent); }
.container { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.mt { margin-top: 48px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; transition: .2s; cursor: pointer; font-family: inherit; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.text-link { display: inline-block; margin-top: 24px; font-weight: 700; color: var(--navy); }
.text-link:hover { color: var(--accent); }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: background .25s, border-color .25s; }
.site-header.is-overlay { position: fixed; inset: 0 0 auto 0; background: transparent; border-color: transparent; }
.site-header.is-overlay.is-scrolled { background: rgba(255,255,255,.96); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 32px; width: auto; }
.brand-light { display: none; }
.is-overlay:not(.is-scrolled) .brand-light { display: block; }
.is-overlay:not(.is-scrolled) .brand-dark { display: none; }
.site-nav { display: flex; align-items: center; gap: 34px; font-weight: 600; font-size: 16px; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { color: var(--accent); }
.is-overlay:not(.is-scrolled) .site-nav a:not(.btn) { color: #fff; }
.nav-cta { padding: 9px 20px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }
.is-overlay:not(.is-scrolled) .nav-toggle span { background: #fff; }

/* ---------- hero */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; color: #fff; background: #0b1020 var(--bg) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,28,.55), rgba(8,12,28,.35) 45%, rgba(8,12,28,.75)); }
.hero-inner { position: relative; padding-top: var(--header-h); }
.hero h1 { font-size: clamp(40px, 7vw, 88px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.hero .eyebrow { color: #ff7ab1; }
.hero-sub { margin-top: 24px; font-size: clamp(17px, 2vw, 21px); opacity: .9; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }

/* ---------- sections */
.section { padding: 110px 0; }
.bg-soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.prose p { margin-bottom: 16px; color: #3a3e48; font-size: 17px; }
.signature { margin-top: 28px; font-weight: 700; color: var(--navy); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.split-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* page banner */
.page-banner { position: relative; padding: 150px 0 90px; color: #fff; background: var(--navy) var(--bg) center/cover no-repeat; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,20,44,.85), rgba(11,20,44,.45)); }
.page-banner .container { position: relative; }
.page-banner h1 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; max-width: 900px; }
.page-banner .eyebrow { color: #ff7ab1; }
.banner-sub { margin-top: 14px; font-size: 18px; opacity: .88; }
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 32px; overflow-x: auto; }
.subnav a { padding: 16px 0; font-weight: 600; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--ink); border-color: var(--accent); }

/* stats */
.stats-section { padding-bottom: 60px; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stats li { border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 24px; text-align: center; }
.stat-label { display: block; color: var(--muted); font-weight: 600; }
.stats strong { display: block; margin-top: 8px; font-size: clamp(40px, 5vw, 60px); font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(19,37,72,.12); }
.service-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.service-body { padding: 26px 26px 30px; }
.service-no { font-weight: 800; color: var(--accent); font-size: 14px; }
.service h3 { margin: 6px 0 10px; font-size: 20px; }
.service p { color: var(--muted); font-size: 15px; }
.services-section { background: var(--soft); }

/* business list */
.biz-list { display: grid; gap: 64px; }
.biz-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.biz-row:nth-child(even) .biz-img { order: 2; }
.biz-img img { width: 100%; border-radius: var(--radius); aspect-ratio: 3/2; object-fit: cover; }
.biz-body h3 { margin: 8px 0 16px; font-size: clamp(22px, 2.4vw, 30px); }
.biz-body p { color: var(--muted); font-size: 17px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(19,37,72,.12); }
.card-img { overflow: hidden; }
.card-img img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 20px 22px 24px; }
.card-meta { font-size: 13px; font-weight: 700; color: var(--accent); }
.card h3 { margin-top: 6px; font-size: 18px; }
.card[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { border: 1.5px solid var(--line); background: #fff; padding: 9px 20px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.chip.is-active, .chip:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

/* partners */
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.partners li { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.partners img { width: 100%; height: auto; }

/* detail */
.detail-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.detail-head .text-link { margin: 0; }
.detail-count { color: var(--muted); font-weight: 600; }
.detail-desc { margin-bottom: 28px; font-size: 17px; color: #3a3e48; }
.gallery { columns: 3 300px; column-gap: 14px; }
.g-item { display: block; margin-bottom: 14px; border-radius: 10px; overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.g-item img { width: 100%; height: auto; transition: transform .4s; }
.g-item:hover img { transform: scale(1.03); }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.pn { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; font-weight: 700; }
.pn span { display: block; font-size: 13px; color: var(--accent); }
.pn.next { text-align: right; grid-column: 2; }
.pn:hover { border-color: var(--navy); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,8,16,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 48px; cursor: pointer; padding: 10px 18px; line-height: 1; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; color: #fff; opacity: .8; font-size: 14px; }

/* history */
.history { display: grid; gap: 40px; }
.h-year { display: grid; grid-template-columns: 160px 1fr; gap: 32px; border-top: 2px solid var(--navy); padding-top: 28px; }
.h-year h3 { font-size: 40px; font-weight: 800; color: var(--navy); }
.h-months { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.h-month h4 { color: var(--accent); font-size: 16px; margin-bottom: 6px; }
.h-month ul { margin: 0; padding: 0; list-style: none; color: #3a3e48; }
.h-month li { padding: 2px 0; }

/* org */
.org { display: flex; flex-direction: column; align-items: center; }
.org-ceo { display: flex; flex-direction: column; align-items: center; border: 2px solid var(--navy); border-radius: 12px; padding: 14px 44px; text-align: center; position: relative; }
.org-ceo::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 40px; background: var(--line); }
.org-teams { list-style: none; padding: 40px 0 0; margin: 40px 0 0; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 2px solid var(--line); }
.org-teams li { aspect-ratio: 1; border-radius: 50%; border: 10px solid var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 220px; width: 100%; margin-inline: auto; }
.team-en { font-size: 14px; color: var(--muted); font-weight: 600; }
.team-ko { font-size: 24px; font-weight: 800; color: var(--navy); }

/* location & contact */
.location { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e9ecf1; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.loc-info { margin: 0; display: grid; gap: 18px; }
.loc-info dt { font-size: 13px; font-weight: 700; color: var(--accent); }
.loc-info dd { margin: 2px 0 0; font-size: 18px; font-weight: 600; }
.loc-links { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.form { display: grid; gap: 18px; background: var(--soft); padding: 36px; border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form b { color: var(--accent); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); }
.form .hp { display: none; }
.consent details { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.consent summary { cursor: pointer; font-weight: 600; }
.consent details p { margin-top: 8px; background: #fff; padding: 14px; border-radius: 10px; }
.consent details a { color: var(--navy); text-decoration: underline; }
.form .check { display: flex; align-items: center; gap: 8px; }
.form .check input { width: 18px; height: 18px; }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status.ok { color: #0a7a3e; }
.form-status.err { color: #c0162c; }
.policy h3 { margin: 36px 0 10px; font-size: 20px; }
.policy ul { color: #3a3e48; }

/* CTA band & footer */
.cta-band { background: var(--navy); color: #fff; padding: 80px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
.cta-band p:not(.eyebrow) { margin-top: 12px; opacity: .8; max-width: 640px; }
.cta-band .eyebrow { color: #ff7ab1; }
.site-footer { background: #0c1630; color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.footer-tagline { margin-top: 14px; }
.footer-info { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; }
.footer-info div { display: flex; gap: 12px; }
.footer-info dt { color: rgba(255,255,255,.5); min-width: 92px; }
.footer-info dd { margin: 0; color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: #fff; }
.notfound { padding: 200px 0 140px; }
.notfound h1 { margin: 8px 0 14px; }
.notfound .btn { margin-top: 28px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- responsive */
@media (max-width: 1024px) {
  .services, .cards { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(4, 1fr); }
  .split, .biz-row, .location, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .biz-row:nth-child(even) .biz-img { order: 0; }
  .split-img img { aspect-ratio: 16/10; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 20px 24px; border-bottom: 1px solid var(--line); display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink) !important; }
  .nav-cta { margin-top: 16px; }
  .section { padding: 72px 0; }
  .stats { grid-template-columns: 1fr; }
  .h-year { grid-template-columns: 1fr; gap: 12px; }
  .h-months { grid-template-columns: 1fr; }
  .org-teams { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-info { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .services, .cards { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; }
  .prev-next { grid-template-columns: 1fr; }
  .pn.next { grid-column: auto; }
  .page-banner { padding: 120px 0 64px; }
  .team-ko { font-size: 18px; }
  .org-teams li { border-width: 7px; }
}
