/* 54321 corporate site */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --bg-deep: #0b0c0e;
  --ink: #0b0c0e;
  --ink-2: #33373d;
  --ink-3: #6b7079;
  --line: #e4e6ea;
  --accent: #ff5a1f;
  --radius: 22px;
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; }
h2.title { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.16; letter-spacing: -0.04em; margin-top: 18px; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.75; max-width: 640px; }
section { padding: clamp(88px, 12vw, 168px) 0; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .lead { margin: 20px 0 0; }

/* ---------- brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.04em; color: var(--ink); }
.mark { display: inline-flex; align-items: flex-end; gap: 2px; height: 20px; }
.mark i { display: block; width: 4px; background: currentColor; border-radius: 1px; }
.mark i:nth-child(1) { height: 100%; } .mark i:nth-child(2) { height: 80%; } .mark i:nth-child(3) { height: 60%; }
.mark i:nth-child(4) { height: 40%; } .mark i:nth-child(5) { height: 20%; background: var(--accent); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav { display: flex; gap: clamp(20px, 2.6vw, 40px); font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav a { position: relative; padding: 6px 0; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; transition: background .2s; }
.header-cta:hover { background: #2a2d33; }
.menu-btn { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .3s; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 152px 0 0; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: 1.04; letter-spacing: -0.055em; font-weight: 800; margin-top: 26px; }
.hero h1 .soft { color: #b4b8bf; }
.hero-side p { margin: 0 0 28px; font-size: 18px; color: var(--ink-2); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font-size: 16px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2d33; }
.btn-line { border: 1px solid #cfd2d8; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.arrow { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
a:hover > .arrow { transform: translateX(4px); }

.reel { position: relative; margin-top: clamp(48px, 6vw, 80px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1280 / 560; background: #dfe9ee; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel-ui { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 32px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.38), rgba(0,0,0,0)); }
.reel-caption small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; font-weight: 600; }
.reel-caption strong { display: block; font-size: clamp(18px, 2vw, 26px); letter-spacing: -0.03em; font-weight: 700; margin-top: 2px; }
.reel-bars { display: flex; gap: 6px; align-items: flex-end; }
.reel-bars button { position: relative; width: 44px; height: 3px; padding: 10px 0; background-clip: content-box; background-color: rgba(255,255,255,.4); }
.reel-bars button i { position: absolute; left: 0; top: 10px; height: 3px; width: 0; background: #fff; }
.reel-toggle { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); display: inline-flex; align-items: center; justify-content: center; margin-left: 10px; }
.reel-toggle svg { width: 12px; height: 12px; fill: #fff; }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); }
.fact { padding: 28px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { display: block; font-size: clamp(40px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.05em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact span { display: block; font-size: 15px; color: var(--ink-3); margin-top: 6px; }

/* ---------- about ---------- */
.about { padding-bottom: 0; }
.statement { font-size: clamp(26px, 3.3vw, 46px); line-height: 1.42; letter-spacing: -0.04em; font-weight: 600; color: var(--ink); max-width: 1100px; margin: 22px 0 0; }
.statement .dim { color: #a9adb4; }
.count { display: flex; gap: clamp(10px, 2vw, 28px); margin-top: clamp(40px, 5vw, 64px); font-size: clamp(64px, 12vw, 180px); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: #eceef1; user-select: none; }
.count span:last-child { color: var(--accent); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(64px, 8vw, 112px); }
.value { border-top: 1px solid var(--ink); padding-top: 22px; }
.value em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.value h3 { font-size: 22px; letter-spacing: -0.03em; margin: 14px 0 10px; }
.value p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- spotlight ---------- */
.spot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.spot + .spot { margin-top: clamp(80px, 10vw, 150px); }
.spot:nth-of-type(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.spot:nth-of-type(even) .spot-media { order: 2; }
.spot-media { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); aspect-ratio: 16 / 10; }
.spot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.spot:hover .spot-media img { transform: scale(1.025); }
.browser { display: flex; flex-direction: column; background: #eef0f3; padding: 0; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f6f7f9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d7dc; }
.browser-bar span { margin-left: 12px; font-size: 12px; color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 14px; }
.browser img { flex: 1; min-height: 0; object-position: top; }
.spot-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 3px 11px; border: 1px solid var(--line); border-radius: 999px; line-height: 1.6; }
.tag.soon { color: var(--accent); border-color: rgba(255,90,31,.35); }
.spot h3 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.045em; line-height: 1.15; margin: 20px 0 18px; }
.spot h3 small { display: block; font-size: 16px; font-weight: 500; color: var(--ink-3); letter-spacing: -0.01em; margin-bottom: 8px; }
.spot p { margin: 0; color: var(--ink-2); }
.spot ul { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.spot li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); display: flex; gap: 14px; }
.spot li b { flex: none; width: 72px; color: var(--ink); font-weight: 600; }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.link.muted { border-color: #c9ccd2; color: var(--ink-2); }

/* ---------- all services ---------- */
.services { background: var(--bg-soft); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); background: #fff; border: 1px solid var(--line); transition: all .2s; }
.filters button:hover { border-color: #b9bdc4; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(16, 24, 40, .18); }
.card[hidden] { display: none; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: #e9ebee; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.card h3 { font-size: 22px; letter-spacing: -0.035em; margin: 6px 0 8px; }
.card p { margin: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.card-foot .plat { color: var(--ink-3); }
.card-foot .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.card-foot .go.off { color: var(--accent); font-weight: 500; }

/* ---------- google play ---------- */
.play-list { border-top: 1px solid var(--ink); }
.play-row { display: grid; grid-template-columns: 72px minmax(0, 1.2fr) minmax(0, 2fr) auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.play-row:hover { background: linear-gradient(90deg, transparent, var(--bg-soft) 12%, var(--bg-soft) 88%, transparent); }
.play-row img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.play-row h3 { font-size: 20px; letter-spacing: -0.03em; line-height: 1.35; }
.play-row h3 small { display: block; font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-top: 2px; }
.play-row p { margin: 0; font-size: 15px; color: var(--ink-2); }
.play-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid #cfd2d8; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: all .2s; }
.play-row:hover .play-btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.play-btn svg { width: 16px; height: 16px; }
.play-more { margin-top: 28px; }

/* ---------- film ---------- */
.film { position: relative; padding: 0; height: min(86vh, 820px); min-height: 520px; overflow: hidden; background: #0b0c0e; color: #fff; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.5), rgba(0,0,0,.05) 70%); }
.film .wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.film .eyebrow { color: rgba(255,255,255,.8); }
.film h2 { color: #fff; font-size: clamp(36px, 5.6vw, 80px); line-height: 1.12; letter-spacing: -0.05em; margin-top: 20px; max-width: 900px; }
.film p { color: rgba(255,255,255,.86); max-width: 520px; margin: 24px 0 0; font-size: 18px; }

/* ---------- business ---------- */
.biz { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); }
.biz-side .lead { margin-top: 20px; }
.biz-side .btns { margin-top: 32px; }
.biz-list { border-top: 1px solid var(--ink); }
.biz-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.biz-item em { font-style: normal; font-size: 14px; color: var(--ink-3); font-weight: 600; padding-top: 6px; font-variant-numeric: tabular-nums; }
.biz-item h3 { font-size: 24px; letter-spacing: -0.035em; }
.biz-item p { margin: 8px 0 0; font-size: 16px; color: var(--ink-2); }
.biz-item .link { margin-top: 4px; font-size: 15px; white-space: nowrap; }

/* ---------- news ---------- */
.news { background: var(--bg-soft); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.tl { background: #fff; border-radius: var(--radius); padding: 28px 26px 30px; display: flex; flex-direction: column; min-height: 260px; }
.tl time { font-size: 14px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tl h3 { font-size: 20px; letter-spacing: -0.03em; line-height: 1.4; margin: 14px 0 10px; }
.tl p { font-size: 15px; color: var(--ink-2); margin: 0; }
.tl .tag { margin-top: auto; align-self: flex-start; }

/* ---------- contact ---------- */
.contact { text-align: left; }
.contact-box { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.contact h2 { font-size: clamp(40px, 6vw, 88px); line-height: 1.08; letter-spacing: -0.055em; margin-top: 20px; }
.contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; font-size: 16px; }
.contact dt { color: var(--ink-3); }
.contact dd { margin: 0; font-weight: 500; }
.contact dd a { border-bottom: 1px solid currentColor; }

/* ---------- footer ---------- */
.site-footer { padding: 64px 0 48px; font-size: 14px; color: var(--ink-3); }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 48px; }
.foot-top h4 { margin: 0 0 14px; font-size: 14px; color: var(--ink); font-weight: 600; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-top a:hover { color: var(--ink); }
.foot-top .brand { margin-bottom: 14px; }
.foot-legal { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; line-height: 1.9; }
.foot-legal address { font-style: normal; }
.foot-legal address span + span::before { content: "|"; margin: 0 10px; color: #d0d3d8; }
.foot-policy { display: flex; gap: 18px; }
.foot-policy a:first-child { color: var(--ink); font-weight: 600; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; background: #fff; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); font-size: 18px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }
  .hero { padding-top: 120px; }
  .hero-top, .spot, .spot:nth-of-type(even), .biz, .contact-box, .section-head { grid-template-columns: 1fr; }
  .spot:nth-of-type(even) .spot-media { order: 0; }
  .reel { aspect-ratio: 1 / 1; }
  .reel-ui { flex-direction: column; align-items: stretch; gap: 14px; }
  .reel-bars button:not(.reel-toggle) { flex: 1; width: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact { padding-bottom: 24px; }
  .values { grid-template-columns: 1fr; }
  .play-row { grid-template-columns: 56px minmax(0, 1fr); }
  .play-row img { width: 56px; height: 56px; border-radius: 14px; }
  .play-row p { grid-column: 1 / -1; }
  .play-row .play-btn { grid-column: 1 / -1; justify-self: start; }
  .biz-item { grid-template-columns: 40px minmax(0, 1fr); }
  .biz-item .link { grid-column: 2; }
  .film::after { background: rgba(0,0,0,.42); }
}
@media (max-width: 600px) {
  .grid, .timeline, .foot-top { grid-template-columns: 1fr; }
  .reel-bars button { width: 28px; }
  .foot-legal address span { display: block; }
  .foot-legal address span + span::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .card, .spot-media img, .arrow { transition: none; }
}
