@charset "utf-8";
/* =========================================================
   MARKEPIN — 공통 토큰 / 리셋 / 유틸
   한글: Pretendard, 자간 -2%
   영문: League Spartan
   ========================================================= */

:root {
  /* Brand */
  --blue:        #3E70FF;
  --blue-lt:     #588CFF;
  --blue-soft:   #7BA4FF;
  --blue-deep:   #1B3FCC;
  --cyan:        #81E8FB;
  --logo-gray:   #DBDBDB;

  /* Neutrals */
  --ink:         #08090C;
  --ink-2:       #14161C;
  --navy-900:    #02040C;
  --navy-800:    #070E22;
  --navy-700:    #0C1938;
  --paper:       #FFFFFF;
  --paper-2:     #F4F5F7;
  --paper-3:     #EAECEF;
  --line:        rgba(0,0,0,.10);
  --line-d:      rgba(255,255,255,.13);
  --mute:        #7A8090;
  --mute-d:      rgba(255,255,255,.58);

  /* Type */
  --kr: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
        'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;
  --en: 'League Spartan', 'Pretendard Variable', Pretendard, sans-serif;

  --ls-kr: -0.02em;   /* 한글 자간 -2% */

  /* Layout */
  --wrap: 1320px;
  --pad: clamp(20px, 4.6vw, 72px);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--kr);
  letter-spacing: var(--ls-kr);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; letter-spacing: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--blue); color: #fff; }

/* ---------------------------------------------------------
   타이포 유틸
   --------------------------------------------------------- */
.en {
  font-family: var(--en);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* 섹션 라벨 (OUR CLIENTS 등) — 크고 굵게, 자간은 타이트하게 */
.eyebrow {
  display: block;
  font-family: var(--en);
  font-size: clamp(19px, 2.1vw, 28px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--blue);
}

/* 섹션 헤드라인 */
.h-sec {
  font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.032em;
}
.h-big {
  font-size: clamp(30px, 4.4vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.038em;
}
.lead {
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.78;
  color: var(--mute);
  font-weight: 400;
}
.hl { color: var(--blue); }

/* ---------------------------------------------------------
   레이아웃
   --------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { position: relative; padding-block: clamp(90px, 11vw, 168px); }
.section--tight { padding-block: clamp(70px, 8vw, 120px); }
.dark { background: var(--ink); color: #fff; }
.dark .lead { color: var(--mute-d); }
.dark .h-sec, .dark .h-big { color: #fff; }

/* ---------------------------------------------------------
   버튼
   --------------------------------------------------------- */
.btn {
  --bh: 58px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: var(--bh);
  padding: 0 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: var(--ls-kr);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease);
}
.btn i {
  font-style: normal;
  transition: transform .35s var(--ease);
  display: inline-block;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover i { transform: translateX(4px); }

.btn--blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(62,112,255,.65);
}
.btn--blue:hover { background: #2E5FF5; box-shadow: 0 18px 40px -12px rgba(62,112,255,.8); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--ghost {
  border: 1px solid var(--line-d);
  color: #fff;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.04);
}
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--ghost-d {
  border: 1px solid rgba(0,0,0,.16);
  color: var(--ink);
}
.btn--ghost-d:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn--sm { --bh: 46px; padding: 0 22px; font-size: 15px; }

/* 텍스트 링크 (VIEW PROJECT ↗) */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--en);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: gap .3s var(--ease), opacity .3s var(--ease);
}
.tlink:hover { gap: 15px; }

/* ---------------------------------------------------------
   네비게이션
   --------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 78px;
  display: flex;
  align-items: center;
  transition: background-color .4s var(--ease), backdrop-filter .4s var(--ease),
              border-color .4s var(--ease), height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__in {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}
/* 브랜드 로고 락업 — 원본 AI 로고 벡터 그대로 사용 */
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 26px; width: auto; }
.brand--sm img { height: 22px; }
/* 드로어(다크)가 열리면 화이트 락업으로 교체 */
.brand__w { display: none; }
body.menu-open .brand__d { display: none; }
body.menu-open .brand__w { display: block; }
body.menu-open .nav,
body.menu-open .nav.is-stuck {
  color: #fff;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.nav__menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 42px);
}
.nav__menu a {
  position: relative;
  font-size: 15.5px;
  font-weight: 500;
  opacity: .85;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
.nav__menu a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -7px;
  height: 2px; border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__menu a:hover { opacity: 1; color: var(--blue); }
.nav__menu a.on { opacity: 1; font-weight: 600; }
.nav__menu a.on::after { transform: scaleX(1); }
.nav__cta { margin-left: clamp(10px, 2vw, 28px); }

.nav__burger {
  display: none; margin-left: auto;
  width: 30px; height: 30px;
  position: relative; z-index: 2;
}
.nav__burger span,
.nav__burger::before,
.nav__burger::after {
  content: ''; display: block; height: 1.6px; background: currentColor;
  border-radius: 2px; margin: 6px 0;
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
body.menu-open .nav__burger::before { transform: translateY(7.6px) rotate(45deg); }
body.menu-open .nav__burger span { opacity: 0; }
body.menu-open .nav__burger::after { transform: translateY(-7.6px) rotate(-45deg); }

/* 모바일 드로어 */
.nav__drawer {
  position: fixed; inset: 0;
  z-index: 99;
  background: var(--ink);
  color: #fff;
  padding: 104px var(--pad) 40px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
body.menu-open .nav__drawer { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.nav__drawer a.dl {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-d);
  font-size: 21px; font-weight: 600; letter-spacing: -0.03em;
}
.nav__drawer a.dl i { font-style: normal; opacity: .45; }
.nav__drawer a.dl.on { color: var(--blue-lt); }
.nav__drawer .btn { margin-top: 34px; align-self: flex-start; }
.nav__drawer .dfoot {
  margin-top: auto; padding-top: 30px;
  font-size: 13.5px; color: var(--mute-d);
}

/* 다크 히어로 위 → 투명 / 스크롤 후 → 유리 */
.nav--onDark { color: #fff; }
.nav.is-stuck {
  height: 66px;
  background: rgba(8,9,12,.72);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line-d);
  color: #fff;
}
.nav--light.is-stuck {
  background: rgba(255,255,255,.82);
  border-bottom-color: var(--line);
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: block; }
}
@media (min-width: 901px) {
  .nav__drawer { display: none; }
}

/* ---------------------------------------------------------
   마퀴 (무한 롤링)
   --------------------------------------------------------- */
.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee--edge {
  -webkit-mask-image: none;
          mask-image: none;
}
.marquee__track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--mq-gap, 18px);
  padding-right: var(--mq-gap, 18px);
  animation: mq var(--mq-dur, 34s) linear infinite;
  will-change: transform;
}
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-100%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------
   스크롤 리빌
   --------------------------------------------------------- */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------
   배경 아트 (첨부 레퍼런스 재현)
   --------------------------------------------------------- */
.bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bg > * { position: absolute; }

/* 01. 블루 메쉬 + 그리드 라인 + 원형 아웃라인 */
.bg-mesh {
  inset: 0;
  background:
    radial-gradient(58% 78% at 10% 62%, #2E6BE8 0%, rgba(46,107,232,0) 62%),
    radial-gradient(52% 66% at 80% 26%, #9FB2C8 0%, rgba(159,178,200,0) 66%),
    radial-gradient(60% 80% at 96% 98%, #63B7F0 0%, rgba(99,183,240,0) 58%),
    linear-gradient(118deg, #0B2456 0%, #4E7FD1 46%, #A3B3C6 100%);
}
.bg-grid {
  inset: -1px;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 22% 26%;
  opacity: .55;
}
.bg-rings { inset: 0; }
.bg-rings circle { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* 02. 블랙 + 블루 스우시 */
.bg-swoosh { inset: 0; background: #01030A; }
.bg-swoosh::after {
  content: '';
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(42% 58% at 18% 26%, #2E6BFF 0%, rgba(46,107,255,0) 70%),
    radial-gradient(38% 52% at 72% 78%, #0B39C9 0%, rgba(11,57,201,0) 72%),
    radial-gradient(26% 34% at 46% 52%, #9CC6FF 0%, rgba(156,198,255,0) 72%);
  filter: blur(30px);
}

/* 03. 블랙 → 네이비 그레인 */
.bg-grain {
  inset: 0;
  background:
    radial-gradient(72% 58% at 22% 16%, #16294F 0%, rgba(2,4,10,0) 70%),
    radial-gradient(64% 56% at 62% 96%, #123A72 0%, rgba(2,4,10,0) 66%),
    #02040A;
}
.bg-noise {
  inset: 0;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* 04. 블랙 + 블루 글래스 타일 (로고 다이아몬드 모티프) */
.bg-tiles {
  right: -8%;
  bottom: -34%;
  width: min(1180px, 108vw);
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  transform: rotate(45deg) scaleY(.66);
  transform-origin: center;
}
.bg-tiles i {
  border-radius: 14px;
  background: linear-gradient(158deg, #D3E3FF 0%, #6C9DFF 32%, #2A5CE8 62%, #0A1E63 100%);
  box-shadow:
    0 0 70px rgba(60,130,255,.5),
    inset 0 2px 0 rgba(255,255,255,.65),
    inset 0 -2px 14px rgba(0,10,60,.6);
}
.bg-tiles i:nth-child(1),
.bg-tiles i:nth-child(2)  { opacity: .10; }
.bg-tiles i:nth-child(3),
.bg-tiles i:nth-child(5)  { opacity: .28; }
.bg-tiles i:nth-child(4),
.bg-tiles i:nth-child(6)  { opacity: .55; }
.bg-tiles i:nth-child(9),
.bg-tiles i:nth-child(13) { opacity: .34; }
.bg-tiles i:nth-child(7),
.bg-tiles i:nth-child(10) { opacity: .9; }

/* 파랑 글로우 */
.bg-glow {
  width: 60vw; height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .5;
}

/* ---------------------------------------------------------
   푸터
   --------------------------------------------------------- */
.foot { background: #000; color: #fff; padding-block: 72px 40px; }
.foot__top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 60px;
  justify-content: space-between;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-d);
}
.foot__brand { max-width: 340px; }
.foot__brand .brand { margin-bottom: 18px; }
.foot__brand p { font-size: 14.5px; line-height: 1.8; color: var(--mute-d); }
.foot__cols { display: flex; gap: clamp(36px, 6vw, 90px); flex-wrap: wrap; }
.foot__col h4 {
  font-family: var(--en);
  font-size: 13px; font-weight: 700;
  letter-spacing: .01em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.foot__col li + li { margin-top: 10px; }
.foot__col a { font-size: 15px; opacity: .82; transition: opacity .25s; }
.foot__col a:hover { opacity: 1; color: var(--blue-lt); }
.foot__bot {
  padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* 컨셉 전환 배지 */
.switch {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(10,12,18,.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.6);
}
.switch a {
  font-family: var(--en);
  font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
  color: rgba(255,255,255,.6);
  padding: 8px 16px; border-radius: 999px;
  transition: all .25s var(--ease);
}
.switch a:hover { color: #fff; }
.switch a.on { background: var(--blue); color: #fff; }
