/* =========================================================
   Marvel Peak Partners — Design System
   0. Web font (self-hosted)
   1. Tokens
   2. Reset & base
   3. Layout helpers
   4. Typography
   5. Buttons
   6. Header / Navigation / Language switcher
   7. Hero
   8. About
   9. Business
   10. Brand (+ modal)
   11. Vision
   12. Contact
   13. Footer
   14. Motion & reveal
   15. Responsive
   ========================================================= */

/* ---------- 0. Web font ----------
   Inter (variable, latin subset) 를 직접 호스팅한다.
   외부 CDN(Google Fonts)에 의존하지 않으므로
   중국 본토 등 외부 폰트가 차단된 환경에서도 즉시 렌더링된다.
   한글/중문은 각 OS 의 시스템 폰트(Apple SD Gothic Neo / PingFang SC /
   Microsoft YaHei)로 자연스럽게 폴백된다. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---------- 1. Tokens ---------- */
:root {
  --navy: #101828;
  --navy-soft: #1b2537;
  --ink: #202939;
  --body: #475467;
  --muted: #667085;
  --blue: #356ae6;
  --blue-dark: #2a5ad0;
  --blue-light: #7a9bf5;
  --blue-tint: #eaf0fe;
  --gray: #f5f7fa;
  --line: #e4e7ec;
  --line-soft: #eef1f5;
  --white: #ffffff;

  --container: 1200px;
  --header-h: 76px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 18px 40px -18px rgba(16, 24, 40, 0.22);
  --shadow-lg: 0 32px 64px -28px rgba(16, 24, 40, 0.3);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.55s;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Pretendard',
    'Apple SD Gothic Neo', 'Noto Sans KR', 'PingFang SC', 'Noto Sans SC',
    'Microsoft YaHei', 'Segoe UI', Roboto, sans-serif;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:lang(ko) {
  word-break: keep-all;
}

::selection {
  background: rgba(53, 106, 230, 0.16);
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section {
  position: relative;
  padding: clamp(72px, 8.5vw, 128px) 0;
}

.section--gray {
  background: var(--gray);
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section-head {
  max-width: 720px;
}

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

/* ---------- 4. Typography ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.label--light {
  color: var(--blue-light);
}

.h2 {
  margin-top: 20px;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.032em;
  font-weight: 600;
  color: var(--navy);
}

.h2--light {
  color: #fff;
}

.lead {
  margin-top: 20px;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.78;
  color: var(--body);
  max-width: 46ch;
}

.lead--light {
  color: rgba(255, 255, 255, 0.72);
}

.lead--right {
  margin-top: 0;
  align-self: end;
}

.body-text {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--body);
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-bg: var(--navy);
}

.btn--primary:hover {
  background: var(--navy-soft);
}

.btn--ghost {
  --btn-bg: #fff;
  --btn-fg: var(--navy);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--navy);
}

.btn--blue {
  --btn-bg: var(--blue);
}

.btn--blue:hover {
  background: var(--blue-dark);
}

.btn--onDark {
  --btn-bg: #fff;
  --btn-fg: var(--navy);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 0.8125rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.3s var(--ease);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
}

.link-arrow:hover {
  gap: 12px;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px -18px rgba(16, 24, 40, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, #3d74ee 0%, #1b3d8f 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px -4px rgba(53, 106, 230, 0.55);
}

.logo__mark svg {
  width: 17px;
  height: 17px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__name {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--navy);
}

.logo__sub {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.logo--light .logo__name {
  color: #fff;
}

.logo--light .logo__sub {
  color: rgba(255, 255, 255, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: var(--body);
  transition: color 0.25s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover {
  color: var(--navy);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  color: var(--navy);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--gray);
  flex-shrink: 0;
}

.lang__item {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.lang__item:hover {
  color: var(--navy);
}

.lang__item.is-active {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-xs);
}

.lang--dark {
  background: rgba(255, 255, 255, 0.08);
}

.lang--dark .lang__item {
  color: rgba(255, 255, 255, 0.55);
}

.lang--dark .lang__item:hover {
  color: #fff;
}

.lang--dark .lang__item.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
}

.menu-toggle__bars {
  position: relative;
  width: 16px;
  height: 10px;
}

.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.menu-toggle__bars span:first-child {
  top: 0;
}

.menu-toggle__bars span:last-child {
  bottom: 0;
}

body.is-menu-open .menu-toggle__bars span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

body.is-menu-open .menu-toggle__bars span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: #fff;
  padding: 28px clamp(20px, 6vw, 40px) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s;
  overflow-y: auto;
}

body.is-menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu__list li + li {
  border-top: 1px solid var(--line-soft);
}

.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.mobile-menu__link span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.mobile-menu__foot {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.mobile-menu__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 96px));
  padding-bottom: clamp(56px, 7vw, 96px);
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -22%;
  right: -12%;
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(53, 106, 230, 0.1) 0%,
    rgba(53, 106, 230, 0.03) 45%,
    transparent 68%
  );
  border-radius: 50%;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(16, 24, 40, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(16, 24, 40, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(
    ellipse 80% 70% at 62% 40%,
    #000 0%,
    transparent 78%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 70% at 62% 40%,
    #000 0%,
    transparent 78%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--body);
}

.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(53, 106, 230, 0.14);
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(2.25rem, 4.3vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.038em;
  font-weight: 600;
  color: var(--navy);
}

.hero__title span {
  display: block;
}

.hero__title .hero__title-accent {
  background: linear-gradient(96deg, #101828 8%, #356ae6 62%, #6d8ff0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__subtitle {
  margin-top: 26px;
  max-width: 38ch;
  font-size: clamp(0.9375rem, 1.25vw, 1.0625rem);
  line-height: 1.8;
  color: var(--body);
}

.hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__scroll {
  margin-top: clamp(40px, 6vw, 64px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.hero__scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 34px;
  background: var(--line);
  overflow: hidden;
}

.hero__scroll i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: translateY(-100%);
  animation: scrollLine 2.4s var(--ease) infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }
  55% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* Hero visual */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  isolation: isolate;
}

.hero__visual::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(53, 106, 230, 0.14) 0%,
    rgba(53, 106, 230, 0.05) 42%,
    transparent 66%
  );
  filter: blur(6px);
  z-index: -1;
}

.network {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.network .orbit {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: orbit 68s linear infinite;
}

.network .orbit--reverse {
  animation-duration: 96s;
  animation-direction: reverse;
}

.network .orbit--slow {
  animation-duration: 140s;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

.network .node-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 4.2s ease-in-out infinite;
}

.network .node-pulse:nth-of-type(2n) {
  animation-delay: 1.1s;
}

.network .node-pulse:nth-of-type(3n) {
  animation-delay: 2.4s;
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.35);
  }
}

.network .link-dash {
  stroke-dasharray: 4 6;
  animation: dashFlow 9s linear infinite;
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -200;
  }
}

.hero__chips {
  position: absolute;
  right: -4px;
  bottom: 4%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  animation: floatY 7s ease-in-out infinite;
}

.chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.chip:nth-child(2) {
  animation-delay: 1.4s;
}

.chip:nth-child(3) {
  animation-delay: 2.8s;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* ---------- 8. About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 48px);
}

.about__copy p + p {
  margin-top: 18px;
}

.about__copy .body-text:first-child {
  margin-top: 0;
}

.about__panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #fff 0%, var(--gray) 100%);
  padding: 10px;
  overflow: hidden;
}

.about__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.about__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about__row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.3s ease;
}

.about__row:hover {
  transform: translateY(-2px);
  border-color: #d3dceb;
  box-shadow: var(--shadow-sm);
}

.about__row-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
  padding-top: 3px;
}

.about__row-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.about__row-desc {
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 9. Business ---------- */
.business__grid {
  margin-top: clamp(36px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.biz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 26px;
  border-radius: var(--r-md);
  border: 1px solid #e8ecf2;
  background: #fff;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.35s ease;
}

.biz-card::after {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(53, 106, 230, 0));
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 0.4s ease, transform 0.5s var(--ease);
}

.biz-card:hover {
  transform: translateY(-6px);
  border-color: #cfdbf3;
  box-shadow: var(--shadow-md);
}

.biz-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.biz-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 34px;
}

.biz-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-tint);
  color: var(--blue);
  transition: background 0.35s ease, color 0.35s ease,
    transform 0.45s var(--ease);
}

.biz-card__icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.75;
}

.biz-card:hover .biz-card__icon {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.biz-card__num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #c3cad6;
}

.biz-card__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--navy);
  line-height: 1.5;
}

.biz-card__subtitle {
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.55;
}

.biz-card__desc {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 10. Brand ---------- */
.brand__grid {
  margin-top: clamp(36px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.brand-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.6vw, 44px);
  min-height: clamp(360px, 40vw, 480px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: radial-gradient(
      120% 100% at 15% 0%,
      #1f2f4f 0%,
      #101828 52%,
      #0a101c 100%
    );
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.brand-panel__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse 90% 80% at 70% 20%,
    #000,
    transparent 75%
  );
}

.brand-panel__glow {
  position: absolute;
  z-index: -1;
  right: -18%;
  top: -18%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(53, 106, 230, 0.42) 0%,
    rgba(53, 106, 230, 0.08) 45%,
    transparent 70%
  );
  filter: blur(10px);
}

.brand-panel__note {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.45);
}

.brand-panel__center {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
}

.brand-panel__mark {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #4a7cf0 0%, #1f3f95 100%);
  box-shadow: 0 14px 30px -12px rgba(53, 106, 230, 0.85);
}

.brand-panel__mark svg {
  width: 28px;
  height: 28px;
}

.brand-panel__wordmark {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.brand-panel__korean {
  margin-top: 8px;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
}

.brand-panel__tag {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 16px;
  width: 100%;
}

.brand__tagline {
  margin-top: 18px;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.4;
}

.brand__tagline-sub {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--body);
}

.brand__copy p + p {
  margin-top: 16px;
}

.brand__copy {
  margin-top: 20px;
}

.brand__relation {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 2px solid var(--blue);
  background: var(--gray);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--body);
}

.brand__actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand__note {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(16, 24, 40, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(0.99);
  transition: transform 0.4s var(--ease);
}

.modal.is-open .modal__panel {
  transform: none;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.modal__close:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--gray);
}

.modal__brandtop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 48px;
}

.modal__wordmark {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
}

.modal__korean {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.modal__tagline {
  margin-top: 22px;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.4;
}

.modal__text {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--body);
}

.modal__values {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.modal__value {
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--gray);
  border: 1px solid var(--line-soft);
}

.modal__value h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
}

.modal__value p {
  margin-top: 8px;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--muted);
}

.modal__foot {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.modal__relation {
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 42ch;
}

/* ---------- 11. Vision ---------- */
.vision {
  position: relative;
  overflow: hidden;
}

.vision::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -40%;
  width: 120%;
  height: 120%;
  transform: translateX(-50%);
  background: radial-gradient(
      ellipse 44% 40% at 50% 40%,
      rgba(53, 106, 230, 0.22) 0%,
      transparent 62%
    );
  pointer-events: none;
}

.vision::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px
    );
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    #000,
    transparent 70%
  );
  pointer-events: none;
}

.vision .container {
  position: relative;
  z-index: 1;
}

.vision__head {
  max-width: 720px;
}

.vision__grid {
  margin-top: clamp(44px, 6vw, 76px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}

.vision__item {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.vision__num {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue-light);
  margin-bottom: 18px;
}

.vision__title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  line-height: 1.6;
  min-height: 2.6em;
}

.vision__desc {
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- 12. Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 44px);
}

.contact__info {
  margin-top: 36px;
  display: grid;
  gap: 0;
}

.contact__info-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8125rem;
}

.contact__info-row:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.contact__info dt {
  color: var(--muted);
  letter-spacing: 0.02em;
}

.contact__info dd {
  color: var(--ink);
  font-weight: 500;
  word-break: break-word;
}

.contact__info dd.is-pending {
  color: var(--muted);
  font-weight: 400;
}

.contact__channels {
  display: grid;
  gap: 10px;
}

.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color 0.3s ease, background 0.3s ease,
    transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.channel:hover {
  border-color: var(--navy);
  background: var(--gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.channel__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.channel__desc {
  margin-top: 5px;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
}

.channel__arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #fff;
  transition: transform 0.4s var(--ease), background 0.3s ease,
    color 0.3s ease, border-color 0.3s ease;
}

.channel__arrow svg {
  width: 15px;
  height: 15px;
}

.channel:hover .channel__arrow {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateX(3px);
}

.contact__bar {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  background: var(--gray);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact__bar-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.contact__bar-mail {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  transition: color 0.25s ease;
}

.contact__bar-mail:hover {
  color: var(--blue);
}

.contact__note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: clamp(48px, 6vw, 72px) 0 28px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

.footer__tagline {
  margin-top: 18px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 30ch;
}

.footer__col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer__list {
  display: grid;
  gap: 10px;
}

.footer__link {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease;
}

.footer__link:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.56);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__legal a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.25s ease;
}

.footer__legal a:hover {
  color: #fff;
}

/* ---------- 14. Motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1080px) {
  .nav__list {
    gap: 22px;
  }
  .business__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
  }
  .hero__visual {
    max-width: 420px;
  }
  .biz-card__title {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .nav__list,
  .header__actions .lang {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 48px);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero__visual {
    max-width: 380px;
    margin: 0 auto;
    order: 2;
  }

  .hero__chips,
  .hero__scroll {
    display: none;
  }

  .about__grid,
  .brand__grid,
  .contact__grid,
  .section-head--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .lead--right {
    margin-top: 4px;
  }

  .vision__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .vision__item {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .vision__item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .vision__title {
    min-height: auto;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .modal__values {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-panel {
    min-height: 320px;
    order: 2;
  }
}

@media (max-width: 620px) {
  .business__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .biz-card {
    padding: 22px 20px;
  }

  .biz-card__top {
    margin-bottom: 18px;
  }

  .hero__title {
    font-size: clamp(2.1rem, 8.6vw, 2.8rem);
    letter-spacing: -0.03em;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .contact__info-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
  }

  .brand__actions {
    gap: 14px;
  }

  .brand__note {
    flex-basis: 100%;
  }

  .contact__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact__bar .btn {
    width: 100%;
    justify-content: center;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head--split {
    gap: 8px;
  }

  .about__row {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 16px 14px;
  }
}

/* ---------- 16. Legal pages ---------- */
.legal-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1;
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 88px));
  padding-bottom: clamp(64px, 8vw, 104px);
}

.legal-doc {
  max-width: 720px;
}

.legal-doc h1 {
  margin-top: 18px;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.legal-card {
  margin-top: 32px;
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--gray);
}

.legal-card p {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--body);
}

.legal-card p + p {
  margin-top: 12px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
}

.legal-back svg {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}

/* ---------- 17. Latest updates (content published from /admin/) ---------- */
.section[hidden] {
  display: none;
}

.updates__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 28px;
}

.updates__tab {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--body);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.updates__tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.updates__tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.updates__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.upd-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.upd-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.upd-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-tint);
}

.upd-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upd-card__ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--blue);
  background: linear-gradient(135deg, #eaf0fe, #f7faff);
}

.upd-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 18px;
}

.upd-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.upd-card__tag,
.upd-card__pin {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--blue-tint);
  color: var(--blue-dark);
}

.upd-card__tag--article {
  background: #eef2ff;
  color: #4338ca;
}

.upd-card__tag--notice {
  background: #fff2e5;
  color: #b54708;
}

.upd-card__pin {
  background: var(--gray);
  color: var(--muted);
}

.upd-card__title {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.45;
  color: var(--navy);
}

.upd-card__summary {
  margin: 0 0 14px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--body);
}

.upd-card__more {
  margin: 0 0 14px;
  font-size: 0.8125rem;
}

.upd-card__more summary {
  list-style: none;
  cursor: pointer;
  color: var(--blue);
  font-weight: 600;
}

.upd-card__more summary::-webkit-details-marker {
  display: none;
}

.upd-card__more summary::before {
  content: '+ ';
}

.upd-card__more[open] summary::before {
  content: '\2212 ';
}

.upd-card__more p {
  margin: 10px 0 0;
  line-height: 1.75;
  color: var(--body);
}

.upd-card__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.75rem;
  color: var(--muted);
}

.upd-card__price {
  margin-left: auto;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
}

.upd-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--blue);
}

.updates__empty {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .updates__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .updates__grid {
    grid-template-columns: 1fr;
  }

  .updates__tabs {
    margin: 24px 0 20px;
  }

  .updates__tab {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }
}
