/* =====================================================================
   INSIGHTINFO — Design System "Data Editorial"  (2026 redesign)
   Mobile-first · light editorial · brand indigo + green signal
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* brand (sampled from logo) */
  --indigo-900: #141a4d;
  --indigo-800: #1e2470;
  --indigo-700: #283090;   /* brand primary */
  --indigo-600: #3a44b0;
  --indigo-500: #4f5ad0;
  --indigo-100: #dde1f5;
  --indigo-50:  #eaedf9;
  --green-700: #1f7a34;
  --green-600: #288838;    /* brand green */
  --green-500: #2fa347;
  --green-100: #d4eedb;
  --green-50:  #e6f6ea;
  --signal: #7ee08a;       /* light signal green on dark */

  /* neutrals */
  --ink: #0e1130;
  --ink-2: #2a2e52;
  --ink-3: #3d4268;
  --ink-4: #666c93;
  --line: #cfd4e6;
  --line-2: #aeb5cf;
  --paper: #ffffff;
  --paper-2: #eceff7;
  --paper-3: #dfe3f0;

  /* semantic */
  --surface: #ffffff;        /* 카드·박스 바탕 */
  --night: #0e1130;          /* 테마와 무관하게 항상 어두운 섹션 바탕 */
  --header-bg: rgba(255,255,255,.92);
  --on-accent: #ffffff;
  color-scheme: light;
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--ink-3);
  --accent: var(--indigo-700);
  --accent-2: var(--green-600);

  /* type */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* layout */
  --gutter: 16px;
  --container: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(14,17,48,.08), 0 4px 14px rgba(14,17,48,.08);
  --shadow-md: 0 10px 30px rgba(14,17,48,.16);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 64px;
}
@media (min-width: 768px)  { :root { --gutter: 32px; --header-h: 72px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.65; font-weight: 500; text-rendering: optimizeLegibility;
  transition: background-color .3s ease, color .3s ease; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--indigo-600); 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: absolute; left: 8px; top: -48px; z-index: 1000; background: var(--night); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 8px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1440px; }
.section { padding-block: 72px; }
.section--tight { padding-block: 48px; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--night); color: #fff; }
.section--indigo { background: var(--indigo-900); color: #fff; }
@media (min-width: 768px)  { .section { padding-block: 104px; } .section--tight { padding-block: 64px; } }
@media (min-width: 1200px) { .section { padding-block: 128px; } }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: minmax(0,1fr); }
.grid--3 { grid-template-columns: minmax(0,1fr); }
.grid--4 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.grid--stats { grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 10px; }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); } .grid { gap: 24px; } }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; } .split--rev > :first-child { order: 2; } }
.stack > * + * { margin-top: 16px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .section--indigo .eyebrow { color: var(--signal); }
.h1, .h2, .h3, .display { font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.display { font-size: clamp(2.4rem, 7.2vw, 5.4rem); line-height: 1.02; letter-spacing: -0.045em; }
.h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
.h2 { font-size: clamp(1.7rem, 4vw, 2.75rem); }
.h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.3; }
.h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); line-height: 1.7; font-weight: 500; }
.section--dark .lead, .section--indigo .lead { color: rgba(255,255,255,.72); }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }
.accent-2 { color: var(--accent-2); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head > * + * { margin-top: 14px; }
@media (min-width: 768px) { .section-head { margin-bottom: 56px; } }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.section-head--row > * + * { margin-top: 0; }
.underline-accent { background: linear-gradient(transparent 62%, var(--green-100) 62%); }
.section--dark .underline-accent { background: linear-gradient(transparent 62%, rgba(126,224,138,.25) 62%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--indigo-700); color: #fff; box-shadow: 0 6px 18px rgba(40,48,144,.22); }
.btn--primary:hover { background: var(--indigo-800); transform: translateY(-2px); }
.btn--green { background: var(--green-600); color: #fff; box-shadow: 0 6px 18px rgba(40,136,56,.22); }
.btn--green:hover { background: var(--green-700); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--fg); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--night); }
.btn--light:hover { background: #e9ebf6; transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px rgba(14,17,48,.05); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; height: 100%; }
.logo img { height: 28px; width: auto; } /* 아래 Logo hover 블록에서 재정의 */
@media (min-width: 768px) { .logo img { height: 32px; } }
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; color: var(--ink); transition: background .2s, color .2s;
}
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--indigo-700); background: var(--indigo-50); }
.nav__link svg { width: 14px; height: 14px; opacity: .6; transition: transform .25s; }
.nav__item:hover .nav__link svg, .nav__item:focus-within .nav__link svg { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { display: block; padding: 10px 12px; border-radius: 10px; font-size: .92rem; color: var(--ink-2); }
.nav__sub a:hover { background: var(--paper-2); color: var(--indigo-700); }
.nav__sub a small { display: block; font-size: .78rem; color: var(--ink-4); font-weight: 500; margin-top: 2px; }
.header__cta { display: none; }
@media (min-width: 1024px) { .nav { display: block; } .header__cta { display: inline-flex; } }
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border-radius: 10px;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }

/* mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--surface); overflow-y: auto;
  padding: 16px var(--gutter) 40px; transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer__group { border-bottom: 1px solid var(--line); padding: 6px 0; }
.drawer__group > a, .drawer__group > button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 4px;
  font-size: 1.1rem; font-weight: 700; text-align: left;
}
.drawer__group > button svg { width: 18px; height: 18px; transition: transform .25s; }
.drawer__group.is-open > button svg { transform: rotate(180deg); }
.drawer__sub { display: none; padding: 0 4px 10px; }
.drawer__group.is-open .drawer__sub { display: block; }
.drawer__sub a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; }
.drawer__sub a:hover { background: var(--paper-2); }
.drawer__cta { margin-top: 24px; }
.drawer__contact { margin-top: 28px; font-size: .9rem; color: var(--muted); line-height: 1.8; }
body.nav-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; padding-top: calc(var(--header-h) + 56px); padding-bottom: 56px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, var(--indigo-100) 0%, transparent 60%),
    radial-gradient(700px 400px at -10% 100%, var(--green-100) 0%, transparent 60%),
    var(--paper);
}
@media (min-width: 768px) { .hero { padding-top: calc(var(--header-h) + 88px); padding-bottom: 88px; } }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .7;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; display: grid; gap: 40px; }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: center; gap: 48px; } }
.hero__title { margin-top: 20px; }
.hero__title .rotator { display: inline-grid; position: relative; color: var(--indigo-700); min-width: 5.5ch; text-align: left; vertical-align: bottom; }
.rotator__word { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .55s var(--ease); white-space: nowrap; }
.rotator__word.is-active { opacity: 1; transform: none; }
.hero__lead { margin-top: 22px; max-width: 560px; }
.hero__actions { margin-top: 32px; }
.hero__meta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); letter-spacing: .04em; }
.hero__meta b { color: var(--ink); font-weight: 700; }

/* token cloud visual */
.tokens { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; width: 100%; }
.tokens__ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed var(--line-2); }
.tokens__ring--2 { inset: 24%; }
.tokens__ring--3 { inset: 40%; border-style: solid; border-color: var(--indigo-100); }
.tokens__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 112px; height: 112px; border-radius: 28px;
  background: var(--indigo-700); color: #fff; display: grid; place-items: center; box-shadow: 0 18px 40px rgba(40,48,144,.28);
}
.tokens__core img { width: 58px; height: 58px; filter: brightness(0) invert(1); }
.token {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-md); font-weight: 600; font-size: .92rem; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.token i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); flex: none; }
.token.t-indigo i { background: var(--indigo-500); }
.token small { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); font-weight: 500; }
.token:nth-child(odd) { animation-delay: -2s; }
.token:nth-child(3n) { animation-delay: -4s; animation-duration: 7.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 480px) { .token { font-size: .8rem; padding: 7px 11px; } .token small { display: none; } .tokens__core { width: 88px; height: 88px; border-radius: 22px; } .tokens__core img { width: 46px; height: 46px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + 48px); padding-bottom: 48px; background: linear-gradient(135deg, var(--indigo-50), var(--surface) 60%, var(--green-50)); overflow: hidden; }
@media (min-width: 768px) { .page-hero { padding-top: calc(var(--header-h) + 80px); padding-bottom: 72px; } }
.page-hero--dark { background: var(--night); color: #fff; }
.page-hero--image { color: #fff; background: var(--night); }
.page-hero--image .page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,17,48,.92), rgba(14,17,48,.55) 60%, rgba(14,17,48,.3)); }
.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero__inner > * + * { margin-top: 16px; }
.page-hero--dark .lead, .page-hero--image .lead { color: rgba(255,255,255,.75); }
.page-hero--dark .eyebrow, .page-hero--image .eyebrow { color: var(--signal); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); letter-spacing: .04em; }
.crumbs a:hover { color: var(--indigo-700); }
.page-hero--dark .crumbs, .page-hero--image .crumbs { color: rgba(255,255,255,.55); }
.page-hero--dark .crumbs a:hover, .page-hero--image .crumbs a:hover { color: #fff; }

/* sub-nav (sticky anchors) */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.subnav__list a.is-active, .subnav__list a:hover { background: var(--indigo-700); color: #fff; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: none; }
.card--soft { background: var(--indigo-50); border-color: var(--indigo-100); box-shadow: none; }
.card--dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #fff; }
.card--dark:hover { border-color: rgba(255,255,255,.25); box-shadow: none; }
.card--indigo { background: var(--indigo-700); color: #fff; border-color: transparent; }
.card--green { background: var(--green-600); color: #fff; border-color: transparent; }
.card__num { font-family: var(--font-mono); font-size: 12px; color: var(--indigo-600); letter-spacing: .08em; font-weight: 600; }
.card--dark .card__num, .card--indigo .card__num, .card--green .card__num { color: rgba(255,255,255,.6); }
.card__title { margin-top: 12px; }
.card__text { margin-top: 10px; color: var(--ink-2); font-size: .96rem; }
.card--dark .card__text, .card--indigo .card__text, .card--green .card__text { color: rgba(255,255,255,.75); }
.card__list { margin-top: 14px; display: grid; gap: 6px; font-size: .92rem; color: var(--ink-2); }
.card__list li { padding-left: 18px; position: relative; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--green-500); border-radius: 2px; }
.card--dark .card__list { color: rgba(255,255,255,.8); }
.card__link { margin-top: 18px; }
.card__media { margin: -28px -28px 20px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16/10; background: var(--paper-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.icon-box { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--indigo-100); color: var(--indigo-700); }
.icon-box svg { width: 24px; height: 24px; }
.icon-box--green { background: var(--green-100); color: var(--green-700); }
.icon-box--dark { background: rgba(255,255,255,.1); color: var(--signal); }
.card .icon-box + .card__title { margin-top: 18px; }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; } .bento .span-2 { grid-column: span 2; } .bento .row-2 { grid-row: span 2; } }
.stat { padding: 24px; border-radius: var(--radius-lg); background: var(--indigo-50); border: 1px solid var(--indigo-100); display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; }
@media (min-width: 768px) { .stat { padding: 28px; min-height: 180px; } }
.stat--indigo { background: var(--indigo-700); color: #fff; border-color: transparent; }
.stat--green { background: var(--green-600); color: #fff; border-color: transparent; }
.stat--dark { background: var(--night); color: #fff; border-color: transparent; }
.stat--line { background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.stat__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--indigo-700); text-transform: uppercase; font-weight: 600; }
.stat--indigo .stat__label, .stat--green .stat__label, .stat--dark .stat__label { color: rgba(255,255,255,.65); }
.stat__value { font-size: clamp(1.9rem, 5vw, 3.4rem); overflow-wrap: normal; word-break: normal; white-space: nowrap; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-top: 18px; }
.stat__value small { font-size: .45em; font-weight: 700; margin-left: 2px; letter-spacing: 0; }
.stat__desc { margin-top: 8px; font-size: .9rem; color: var(--ink-3); }
.stat--indigo .stat__desc, .stat--green .stat__desc, .stat--dark .stat__desc { color: rgba(255,255,255,.72); }
.stat--media { position: relative; overflow: hidden; padding: 0; min-height: 220px; }
.stat--media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stat--media .stat__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; background: linear-gradient(transparent, rgba(14,17,48,.85)); color: #fff; font-weight: 600; font-size: .92rem; }

/* ---------- Pills / tags ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--indigo-100); color: var(--indigo-800); letter-spacing: .01em; }
.pill--green { background: var(--green-100); color: var(--green-700); }
.pill--gray { background: var(--paper-3); color: var(--ink-2); }
.pill--dark { background: rgba(255,255,255,.1); color: #fff; }
.pill--outline { background: transparent; border: 1px solid var(--line-2); color: var(--ink-3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Process / steps ---------- */
.steps { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(var(--cols, 5), minmax(0,1fr)); gap: 14px; } }
.step { position: relative; padding: 22px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--indigo-600); letter-spacing: .08em; font-weight: 700; }
.step__title { margin-top: 10px; font-weight: 800; font-size: 1rem; letter-spacing: -0.01em; }
.step__text { margin-top: 6px; font-size: .88rem; color: var(--ink-3); }
@media (min-width: 768px) {
  .step:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: translateY(-50%) rotate(45deg); }
}
.section--dark .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--dark .step__text { color: rgba(255,255,255,.7); }
.section--dark .step::before { color: var(--signal); }

/* ---------- Feature rows ---------- */
.feature { display: grid; gap: 14px; grid-template-columns: 48px minmax(0,1fr); align-items: start; }
.feature__title { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.feature__text { margin-top: 4px; color: var(--ink-2); font-size: .95rem; }
.feature-list { display: grid; gap: 26px; }

/* ---------- Media frames ---------- */
.frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--paper-3); box-shadow: var(--shadow-md); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--browser { position: relative; padding-top: 30px; background: var(--surface); }
.frame--browser::before { content: ""; position: absolute; top: 10px; left: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); box-shadow: 16px 0 0 var(--line), 32px 0 0 var(--line); }
.frame--browser img { border-top: 1px solid var(--line); }
.frame-caption { margin-top: 10px; font-size: .85rem; color: var(--ink-3); font-family: var(--font-mono); font-weight: 600; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
@media (min-width: 768px) { .photo-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; } }
.photo-grid figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; position: relative; background: var(--paper-3); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-grid figure:hover img { transform: scale(1.05); }
.photo-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; font-size: .8rem; color: #fff; background: linear-gradient(transparent, rgba(14,17,48,.8)); }
.photo-grid .tall { grid-row: span 2; aspect-ratio: auto; }

/* ---------- Marquee (clients) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 700; font-size: .92rem; color: var(--ink); white-space: nowrap; }
.marquee__item small { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); margin-left: 8px; font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; } .token { animation: none; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl { position: relative; padding-left: 34px; }
.tl::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--indigo-600); }
.tl--green::before { border-color: var(--green-500); }
.tl__year { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--indigo-700); letter-spacing: .06em; }
.tl__title { margin-top: 4px; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; }
.tl__text { margin-top: 4px; color: var(--ink-3); font-size: .94rem; }
@media (min-width: 900px) {
  .timeline--h { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
  .timeline--h::before { left: 8px; right: 8px; top: 7px; bottom: auto; height: 2px; width: auto; }
  .timeline--h .tl { padding-left: 0; padding-top: 30px; }
  .timeline--h .tl::before { top: 0; left: 0; }
}
/* year groups (history page) */
.year-group { display: grid; gap: 14px; padding-block: 28px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .year-group { grid-template-columns: 140px minmax(0,1fr); gap: 32px; } }
.year-group__year { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--indigo-700); line-height: 1; }
.year-group__year small { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--ink-4); letter-spacing: .04em; }
.year-group__list { display: grid; gap: 8px; }
.year-group__list li { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px; align-items: start; font-size: .95rem; color: var(--ink); padding: 8px 12px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); }
.year-group__list li .tag { font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-3); white-space: nowrap; margin-top: 2px; }
.year-group__list li .tag.ai { color: var(--green-700); border-color: var(--green-100); background: var(--green-50); }
.year-group__list li .tag.gis { color: var(--indigo-700); border-color: var(--indigo-100); background: var(--indigo-50); }
.year-group__list li .tag.web { color: #8a5a00; border-color: #f3e3bd; background: #fdf6e3; }
.year-group__list li .tag.si { color: #7a2f6a; border-color: #efd5ea; background: #fbeef8; }
.year-group__list li em { font-style: normal; color: var(--ink-4); font-size: .85rem; margin-left: 6px; }

/* ---------- Project cards & filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .86rem; font-weight: 600; color: var(--ink-3); background: var(--surface); transition: all .2s; }
.filter.is-active, .filter:hover { background: var(--indigo-700); color: #fff; border-color: var(--indigo-700); }
.project { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.project__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.project__year { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--indigo-700); letter-spacing: .06em; }
.project__client { font-size: .8rem; font-weight: 700; color: var(--ink-3); padding: 4px 10px; border-radius: 999px; background: var(--paper-2); }
.project__title { font-weight: 800; overflow-wrap: anywhere; font-size: 1.05rem; letter-spacing: -0.015em; line-height: 1.4; }
.project__desc { font-size: .9rem; color: var(--ink-2); }
.project__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.project.is-hidden { display: none; }
.project__badge { height: 28px; width: auto; border-radius: 6px; border: 1px solid var(--line); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
.table th { font-size: .78rem; font-family: var(--font-mono); letter-spacing: .06em; color: var(--ink-4); font-weight: 600; background: var(--paper-2); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.kv { display: grid; gap: 0; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: minmax(0,1fr); gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .kv > div { grid-template-columns: 160px minmax(0,1fr); gap: 20px; } }
.kv dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-4); text-transform: uppercase; padding-top: 3px; }
.kv dd { margin: 0; font-weight: 600; color: var(--ink); }
.kv dd small { display: block; color: var(--ink-3); font-weight: 500; font-size: .88rem; margin-top: 2px; }

/* ---------- Compare (GIS table) ---------- */
.compare { display: grid; gap: 10px; }
.compare__row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); gap: 10px; align-items: stretch; }
.compare__cell { padding: 12px 14px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.compare__cell.head { background: transparent; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-4); padding-bottom: 0; }
.compare__cell.oss { background: var(--green-50); color: var(--green-700); font-weight: 700; }
.compare__cell.com { background: var(--indigo-50); color: var(--indigo-700); font-weight: 700; }

/* ---------- Quote / callout ---------- */
.quote { position: relative; padding: 32px; border-radius: var(--radius-lg); background: var(--indigo-900); color: #fff; overflow: hidden; }
.quote::before { content: "“"; position: absolute; right: 20px; top: -20px; font-size: 180px; line-height: 1; font-weight: 800; color: rgba(255,255,255,.06); font-family: Georgia, serif; }
.quote p { position: relative; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.45; }
.quote footer { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--signal); letter-spacing: .06em; }
.callout { padding: 20px 22px; border-radius: var(--radius); background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-700); font-size: .95rem; display: flex; gap: 12px; align-items: flex-start; }
.callout svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 44px 28px; color: #fff; text-align: center;
  background: linear-gradient(135deg, var(--indigo-800), var(--indigo-700) 55%, #2a6ea6);
}
@media (min-width: 768px) { .cta { padding: 72px 48px; } }
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; }
.cta > * { position: relative; }
.cta .h2 { color: #fff; }
.cta p { margin-top: 14px; color: rgba(255,255,255,.78); }
.cta .btn-row { margin-top: 28px; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.75); padding: 56px 0 28px; margin-top: 0; }
.footer__top { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); gap: 40px; } }
.footer__brand img { height: 30px; width: auto; }
.footer__brand p { margin-top: 16px; font-size: .9rem; line-height: 1.75; max-width: 360px; }
.footer__col h4 { color: #fff; font-size: .85rem; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer__col a { display: block; padding: 5px 0; font-size: .92rem; color: rgba(255,255,255,.7); }
.footer__col a:hover { color: #fff; }
.footer__addr { font-size: .88rem; line-height: 1.8; }
.footer__addr b { color: #fff; font-weight: 700; }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .8rem; color: rgba(255,255,255,.45); font-family: var(--font-mono); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; } .reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); }
.aspect-16-9 { aspect-ratio: 16/9; }
.aspect-4-3 { aspect-ratio: 4/3; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.lang-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.lang-strip span { padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); font-weight: 700; display: inline-flex; flex-direction: column; gap: 2px; min-width: 120px; }
.lang-strip span small { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); font-weight: 500; }
.section--dark .lang-strip span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.section--dark .lang-strip span small { color: rgba(255,255,255,.55); }
.logo-wall { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
@media (min-width: 640px) { .logo-wall { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .logo-wall { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; } }
.logo-wall span { box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; text-align: center; min-height: 64px; padding: 12px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: .9rem; color: var(--ink-2); line-height: 1.3; }
.logo-wall span small { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--ink-4); font-weight: 500; margin-top: 3px; letter-spacing: .04em; }
.logo-wall img { max-height: 44px; width: auto; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-row img { height: 44px; width: auto; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.toc-cards { display: grid; gap: 12px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 640px) { .toc-cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .toc-cards { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.toc-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: all .3s var(--ease); }
.toc-card:hover { border-color: var(--indigo-600); transform: translateY(-3px); }
.toc-card b { font-size: 1rem; letter-spacing: -0.01em; }
.toc-card span { font-size: .85rem; color: var(--ink-3); }
.toc-card .mono { font-size: 11px; color: var(--indigo-600); letter-spacing: .08em; }

/* form */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; color: var(--fg); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo-600); box-shadow: 0 0 0 3px var(--indigo-100); }
.form__note { font-size: .82rem; color: var(--ink-4); }

/* map */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--paper-3); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* print */
@media print { .header, .drawer, .subnav, .cta, .footer__bottom, .burger { display: none !important; } .page-hero { padding-top: 24px; } }


/* ---------- AI Hub dataset cards ---------- */
.ds-stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-bottom: 28px; }
@media (min-width: 900px) { .ds-stats { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; } }
.ds-stat { padding: 20px 22px; border-radius: var(--radius); background: var(--night); color: #fff; }
.ds-stat__v { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.ds-stat__v small { font-size: .42em; font-weight: 700; margin-left: 2px; color: var(--signal); }
.ds-stat__l { margin-top: 8px; font-size: .86rem; color: rgba(255,255,255,.72); }
.ds-stat__l em { display: block; font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; color: rgba(255,255,255,.45); margin-top: 4px; }
.ds-grid { display: grid; gap: 14px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 640px)  { .ds-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .ds-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; } }
.ds-card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.ds-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--indigo-600); }
.ds-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ds-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.ds-icon svg { width: 23px; height: 23px; }
.ds-icon--speech, .ds-icon--sound { background: var(--green-100); color: var(--green-700); }
.ds-icon--text   { background: var(--indigo-100); color: var(--indigo-700); }
.ds-icon--bench  { background: #d9f1f3; color: #0b6b76; }
.ds-icon--image  { background: #fdebc8; color: #8a5200; }
.ds-icon--sensor { background: #e6e0f7; color: #4b3a93; }
[data-theme="dark"] .ds-icon--text  { color: #b4bbff; }
[data-theme="dark"] .ds-icon--bench { background: #0f3a40; color: #7fe1ea; }
[data-theme="dark"] .ds-icon--image { background: #3d2c0a; color: #f3c46b; }
[data-theme="dark"] .ds-icon--sensor{ background: #2a2250; color: #c3b6ff; }
.ds-card__meta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); letter-spacing: .04em; }
.ds-card__meta b { font-weight: 700; color: var(--ink-2); padding: 3px 8px; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); font-family: var(--font-sans); font-size: .76rem; letter-spacing: 0; }
.ds-card__title { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.4; margin-top: 4px; }
.ds-card__scale { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; color: var(--indigo-700); line-height: 1.1; }
[data-theme="dark"] .ds-card__scale { color: #9aa4ff; }
.ds-card__note { font-size: .88rem; color: var(--ink-3); margin: 0; }
.ds-card__link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--accent); }
.ds-card__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ds-card:hover .ds-card__link svg { transform: translate(2px,-2px); }

/* ---------- AI 사업 분류별 색상 그룹 ---------- */
.project--bench  { --cat: #0b7a85; --cat-bg: #def3f4; --cat-line: #a9dde1; }
.project--multi, .pgroup--multi, .filter--multi { --cat: #6d3fc0; --cat-bg: #eee7fb; --cat-line: #cfbdf1; }
.project--corpus, .pgroup--corpus, .filter--corpus { --cat: #3a44b0; --cat-bg: #e4e7f8; --cat-line: #bcc2ec; }
.project--speech, .pgroup--speech, .filter--speech { --cat: #1f7a34; --cat-bg: #e0f3e5; --cat-line: #a9d9b5; }
.project--sound, .pgroup--sound, .filter--sound { --cat: #0a6aa8; --cat-bg: #dfeefa; --cat-line: #a8cdea; }
.project--video, .pgroup--video, .filter--video { --cat: #b0306a; --cat-bg: #fbe5ef; --cat-line: #efb3cd; }
.project--image, .pgroup--image, .filter--image { --cat: #9a5b00; --cat-bg: #fcefd6; --cat-line: #ebcf95; }
.project--edu, .pgroup--edu, .filter--edu { --cat: #b4501a; --cat-bg: #fde9de; --cat-line: #efbfa2; }
.pgroup--bench, .filter--bench { --cat: #0b7a85; --cat-bg: #def3f4; --cat-line: #a9dde1; }
[data-theme="dark"] .project--bench,  [data-theme="dark"] .pgroup--bench,  [data-theme="dark"] .filter--bench  { --cat: #6fe0ea; --cat-bg: #124a51; --cat-line: #2f9aa4; }
[data-theme="dark"] .project--multi,  [data-theme="dark"] .pgroup--multi,  [data-theme="dark"] .filter--multi  { --cat: #cbb2ff; --cat-bg: #3b2a72; --cat-line: #8466d6; }
[data-theme="dark"] .project--corpus, [data-theme="dark"] .pgroup--corpus, [data-theme="dark"] .filter--corpus { --cat: #b3bbff; --cat-bg: #273077; --cat-line: #6270d6; }
[data-theme="dark"] .project--speech, [data-theme="dark"] .pgroup--speech, [data-theme="dark"] .filter--speech { --cat: #86e69c; --cat-bg: #174a2b; --cat-line: #45a862; }
[data-theme="dark"] .project--sound,  [data-theme="dark"] .pgroup--sound,  [data-theme="dark"] .filter--sound  { --cat: #86ccfa; --cat-bg: #143f63; --cat-line: #4190cc; }
[data-theme="dark"] .project--video,  [data-theme="dark"] .pgroup--video,  [data-theme="dark"] .filter--video  { --cat: #ffa6cd; --cat-bg: #5a1d3b; --cat-line: #c05689; }
[data-theme="dark"] .project--image,  [data-theme="dark"] .pgroup--image,  [data-theme="dark"] .filter--image  { --cat: #f7cd74; --cat-bg: #4c370c; --cat-line: #b98f33; }
[data-theme="dark"] .project--edu,    [data-theme="dark"] .pgroup--edu,    [data-theme="dark"] .filter--edu    { --cat: #ffb088; --cat-bg: #572a10; --cat-line: #c9723f; }

.pgroups { display: grid; gap: 36px; }
.pgroup.is-hidden { display: none; }
/* 분류 그룹 배치: 넓은 화면에서 작은 그룹을 나란히 (카드 수만큼 칸 차지, JS가 --n 설정) */
@media (min-width: 640px) {
  .pgroups { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-flow: row dense; column-gap: 20px; }
  .pgroup { grid-column: span var(--n2, 2); }
  .pgroup .grid--3 { grid-template-columns: repeat(var(--n2, 2), minmax(0,1fr)); }
}
@media (min-width: 1024px) {
  .pgroups { grid-template-columns: repeat(3, minmax(0,1fr)); column-gap: 24px; }
  .pgroup { grid-column: span var(--n, 3); }
  .pgroup .grid--3 { grid-template-columns: repeat(var(--n, 3), minmax(0,1fr)); }
}

.pgroup__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--cat-line); }
.pgroup__dot { width: 12px; height: 12px; border-radius: 4px; background: var(--cat); flex: none; }
.pgroup__title { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: var(--cat); }
.pgroup__count { min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; display: inline-grid; place-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 700; background: var(--cat-bg); color: var(--cat); }
.pgroup__desc { font-size: .9rem; color: var(--ink-3); }
@media (max-width: 639px) { .pgroup__desc { flex-basis: 100%; } }
.pgroup .project { background: linear-gradient(180deg, var(--cat-bg) 0, var(--surface) 92px); border-color: var(--cat-line); }
.pgroup .project:hover { border-color: var(--cat); }
.pgroup .project__year { color: var(--cat); }
.filter[class*="filter--"] i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--cat); margin-right: 7px; vertical-align: 0; }
.filter[class*="filter--"].is-active, .filter[class*="filter--"]:hover { background: var(--cat); border-color: var(--cat); color: #fff; }
[data-theme="dark"] .filter[class*="filter--"].is-active, [data-theme="dark"] .filter[class*="filter--"]:hover { color: #0a0d22; }
.filter[class*="filter--"].is-active i, .filter[class*="filter--"]:hover i { background: currentColor; }

/* ---------- 회사소개: 일하는 방식 + 쓰이는 곳 + 회사 정보 띠 ---------- */
.way-grid { display: grid; gap: 16px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 640px)  { .way-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .way-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; } }
.way { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.way:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--indigo-600); }
.way__top { display: flex; align-items: center; justify-content: space-between; }
.way__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--indigo-700); color: #fff; box-shadow: 0 8px 18px rgba(40,48,144,.25); }
.way__icon svg { width: 24px; height: 24px; }
.way:nth-child(even) .way__icon { background: var(--green-600); box-shadow: 0 8px 18px rgba(40,136,56,.25); }
.way__num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--ink-4); letter-spacing: .08em; }
.way__title { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.4; margin-top: 6px; }
.way__text { font-size: .93rem; color: var(--ink-2); line-height: 1.65; margin: 0; }
.way__proof { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.way__proof b { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; color: var(--indigo-700); line-height: 1.1; white-space: nowrap; }
.way:nth-child(even) .way__proof b { color: var(--green-700); }
[data-theme="dark"] .way__proof b { color: #9aa4ff; }
[data-theme="dark"] .way:nth-child(even) .way__proof b { color: var(--green-700); }
[data-theme="dark"] .way__icon { background: #4f5ce6; }
.way__proof span { font-size: .84rem; color: var(--ink-3); }
.uses { margin-top: 26px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--night); color: #fff; display: grid; gap: 14px; }
@media (min-width: 1100px) { .uses { padding: 20px 26px; } }
.uses__label { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--signal); white-space: nowrap; }
.uses__list { display: grid; gap: 10px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 640px)  { .uses__list { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .uses__list { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.use { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.use:hover { background: rgba(255,255,255,.12); border-color: rgba(126,224,138,.5); transform: translateY(-2px); }
.use b { font-size: .95rem; font-weight: 800; }
.use span { font-size: .8rem; color: rgba(255,255,255,.7); }
.company-strip { margin-top: 24px; display: grid; gap: 0; grid-template-columns: minmax(0,1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
@media (min-width: 900px) { .company-strip { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.company-strip > div { padding: 14px 18px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .company-strip > div { border-bottom: 0; border-right: 1px solid var(--line); } .company-strip > div:last-child { border-right: 0; } }
.company-strip dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-4); }
.company-strip dd { margin: 4px 0 0; font-weight: 700; font-size: .92rem; color: var(--ink); }
.company-strip dd small { display: block; font-weight: 500; font-size: .8rem; color: var(--ink-3); margin-top: 2px; }

/* =====================================================================
   Theme toggle (light / dark)
   ===================================================================== */
.header__actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.theme-toggle:hover { border-color: var(--indigo-600); transform: rotate(-12deg); }
.theme-toggle svg { width: 20px; height: 20px; grid-area: 1 / 1; transition: opacity .25s, transform .35s var(--ease); }
.theme-toggle .ico-moon { opacity: 1; transform: none; }
.theme-toggle .ico-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
[data-theme="dark"] .theme-toggle .ico-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
[data-theme="dark"] .theme-toggle .ico-sun { opacity: 1; transform: none; }
.logo .logo__dark { display: none; }
[data-theme="dark"] .logo .logo__light { display: none; }
[data-theme="dark"] .logo .logo__dark { display: block; }

/* =====================================================================
   Dark theme tokens
   ===================================================================== */
[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eceefb;
  --ink-2: #ccd0ea;
  --ink-3: #a7add0;
  --ink-4: #8187ae;
  --line: #283063;
  --line-2: #3a437e;
  --paper: #0a0d22;
  --paper-2: #10143a;
  --paper-3: #1a1f4a;
  --surface: #131838;
  --night: #05071a;
  --header-bg: rgba(10,13,34,.86);
  --indigo-800: #b4bbff;
  --indigo-700: #4f5ce6;
  --indigo-600: #8c97ff;
  --indigo-500: #7b86ff;
  --indigo-100: #262d6e;
  --indigo-50:  #171c4a;
  --green-700: #74dc8a;
  --green-100: #1a3d28;
  --green-50:  #10281a;
  --accent: #8c97ff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.35), 0 4px 14px rgba(0,0,0,.25);
  --shadow-md: 0 12px 32px rgba(0,0,0,.45);
}
/* 강조 텍스트는 밝은 인디고로 (인디고 바탕 버튼은 그대로 #4f5ce6 + 흰 글자) */
[data-theme="dark"] .eyebrow,
[data-theme="dark"] .stat__label,
[data-theme="dark"] .tl__year,
[data-theme="dark"] .project__year,
[data-theme="dark"] .year-group__year,
[data-theme="dark"] .nav__link:hover,
[data-theme="dark"] .nav__item.is-active > .nav__link,
[data-theme="dark"] .nav__sub a:hover,
[data-theme="dark"] .crumbs a:hover,
[data-theme="dark"] .hero__title .rotator,
[data-theme="dark"] .icon-box { color: #9aa4ff; }
[data-theme="dark"] .stat--indigo .stat__label,
[data-theme="dark"] .stat--green .stat__label,
[data-theme="dark"] .stat--dark .stat__label { color: rgba(255,255,255,.7); }
[data-theme="dark"] .section--dark .eyebrow,
[data-theme="dark"] .section--indigo .eyebrow,
[data-theme="dark"] .page-hero--dark .eyebrow,
[data-theme="dark"] .page-hero--image .eyebrow { color: var(--signal); }
[data-theme="dark"] .tl::before { background: var(--paper); }
[data-theme="dark"] .hero__grid-bg { opacity: .5; }
[data-theme="dark"] .underline-accent { background: linear-gradient(transparent 62%, rgba(126,224,138,.22) 62%); }
[data-theme="dark"] .callout { background: var(--green-50); border-color: var(--green-100); color: var(--green-700); }
[data-theme="dark"] .compare__cell.com { color: #b4bbff; }
[data-theme="dark"] .year-group__list li .tag { background: var(--surface); }
[data-theme="dark"] .year-group__list li .tag.ai { color: #74dc8a; border-color: #1f4a2e; background: #10281a; }
[data-theme="dark"] .year-group__list li .tag.gis { color: #b4bbff; border-color: #2b3378; background: #171c4a; }
[data-theme="dark"] .year-group__list li .tag.web { color: #f0c46a; border-color: #4d3c14; background: #2a210b; }
[data-theme="dark"] .year-group__list li .tag.si { color: #eba6dc; border-color: #4d2445; background: #2a1226; }
[data-theme="dark"] .cta { background: linear-gradient(135deg, #1a2070, #2a33a8 55%, #1f5a8a); }
[data-theme="dark"] .frame { background: var(--paper-3); }
/* 흰 바탕 이미지(로고·데이터셋 카드·다이어그램)는 살짝 톤 다운 */
[data-theme="dark"] .badge-row img,
[data-theme="dark"] #aihub img { filter: brightness(.92); }
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea { background: var(--paper-2); color: var(--ink); }
[data-theme="dark"] .field input::placeholder, [data-theme="dark"] .field textarea::placeholder { color: var(--ink-4); }
@media (prefers-reduced-motion: reduce) { body, .theme-toggle, .theme-toggle svg { transition: none; } }

/* 문의 폼: 봇 차단용 숨김 칸, 전송 상태 */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__note[data-kind="ok"] { color: var(--green-700); font-weight: 700; }
.form__note[data-kind="err"] { color: #c0392b; font-weight: 700; }
[data-theme="dark"] .form__note[data-kind="err"] { color: #ff8a7a; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* 분류 색상 강조: 발주처 배지·연도 (다크 모드 공통 규칙보다 뒤에 두어 우선 적용) */
.pgroup .project__client { background: var(--cat-bg); color: var(--cat); border: 1px solid var(--cat-line); }
.pgroup .project__year,
[data-theme="dark"] .pgroup .project__year { color: var(--cat); }
[data-theme="dark"] .pgroup .project { background: linear-gradient(180deg, var(--cat-bg) 0, var(--surface) 150px); border-color: var(--cat-line); }
[data-theme="dark"] .pgroup .project:hover { border-color: var(--cat); }
[data-theme="dark"] .pgroup__head { border-bottom-color: var(--cat-line); }


/* AI Hub 데이터셋 카드도 사업 분류색으로 통일 (아이콘·유형 배지·규모·링크) */
.ds-card--bench { --cat: #0b7a85; --cat-bg: #def3f4; --cat-line: #a9dde1; }
[data-theme="dark"] .ds-card--bench { --cat: #6fe0ea; --cat-bg: #124a51; --cat-line: #2f9aa4; }
.ds-card--multi { --cat: #6d3fc0; --cat-bg: #eee7fb; --cat-line: #cfbdf1; }
[data-theme="dark"] .ds-card--multi { --cat: #cbb2ff; --cat-bg: #3b2a72; --cat-line: #8466d6; }
.ds-card--corpus { --cat: #3a44b0; --cat-bg: #e4e7f8; --cat-line: #bcc2ec; }
[data-theme="dark"] .ds-card--corpus { --cat: #b3bbff; --cat-bg: #273077; --cat-line: #6270d6; }
.ds-card--speech { --cat: #1f7a34; --cat-bg: #e0f3e5; --cat-line: #a9d9b5; }
[data-theme="dark"] .ds-card--speech { --cat: #86e69c; --cat-bg: #174a2b; --cat-line: #45a862; }
.ds-card--sound { --cat: #0a6aa8; --cat-bg: #dfeefa; --cat-line: #a8cdea; }
[data-theme="dark"] .ds-card--sound { --cat: #86ccfa; --cat-bg: #143f63; --cat-line: #4190cc; }
.ds-card--image { --cat: #9a5b00; --cat-bg: #fcefd6; --cat-line: #ebcf95; }
[data-theme="dark"] .ds-card--image { --cat: #f7cd74; --cat-bg: #4c370c; --cat-line: #b98f33; }
.ds-card[class*="ds-card--"] { border-color: var(--cat-line); background: linear-gradient(180deg, var(--cat-bg) 0, var(--surface) 110px); }
.ds-card[class*="ds-card--"]:hover { border-color: var(--cat); }
.ds-card[class*="ds-card--"] .ds-icon,
[data-theme="dark"] .ds-card[class*="ds-card--"] .ds-icon { background: var(--cat-bg); color: var(--cat); border: 1px solid var(--cat-line); }
.ds-card[class*="ds-card--"] .ds-card__meta b { background: var(--cat-bg); color: var(--cat); border-color: var(--cat-line); border-radius: 999px; padding: 3px 10px; }
.ds-card[class*="ds-card--"] .ds-card__scale,
[data-theme="dark"] .ds-card[class*="ds-card--"] .ds-card__scale { color: var(--cat); }
.ds-card[class*="ds-card--"] .ds-card__link { color: var(--cat); }

/* =====================================================================
   Logo hover: 심볼 3D 회전 + 파동 링, 글자 빛줄기 (마우스 오버·키보드 초점)
   ===================================================================== */
.logo { gap: 6px; perspective: 400px; }
.logo img { height: 24px; width: auto; }
@media (min-width: 768px) { .logo img { height: 27px; } }
.logo__mark, .logo__word { position: relative; display: inline-flex; align-items: center; }
.logo__mark { transform-style: preserve-3d; }
.logo__mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--green-500); transform: translate(-50%,-50%) scale(.4); opacity: 0; pointer-events: none;
}
.logo__word::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.95) 48%, rgba(126,224,138,.9) 52%, transparent 65%);
  background-size: 250% 100%; background-position: 130% 0; background-repeat: no-repeat;
  -webkit-mask-image: url("../assets/img/brand/logo-word.png"); mask-image: url("../assets/img/brand/logo-word.png");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; opacity: 0;
}
[data-theme="dark"] .logo__word::after {
  background-image: linear-gradient(105deg, transparent 35%, rgba(126,224,138,1) 48%, rgba(140,151,255,1) 54%, transparent 66%);
  -webkit-mask-image: url("../assets/img/brand/logo-word-white.png"); mask-image: url("../assets/img/brand/logo-word-white.png");
}
.logo:hover .logo__mark, .logo:focus-visible .logo__mark { animation: logo-flip .9s cubic-bezier(.3,.7,.2,1); }
.logo:hover .logo__mark::after, .logo:focus-visible .logo__mark::after { animation: logo-ripple .9s ease-out; }
.logo:hover .logo__word::after, .logo:focus-visible .logo__word::after { animation: logo-shine 1s ease-in-out .12s; }
.logo:hover .logo__word, .logo:focus-visible .logo__word { transform: translateX(2px); }
.logo__word { transition: transform .4s var(--ease); }
@keyframes logo-flip {
  0%   { transform: rotateY(0) scale(1); }
  45%  { transform: rotateY(200deg) scale(1.18); }
  75%  { transform: rotateY(350deg) scale(.96); }
  100% { transform: rotateY(360deg) scale(1); }
}
@keyframes logo-ripple {
  0%   { opacity: .9; transform: translate(-50%,-50%) scale(.4); }
  100% { opacity: 0;  transform: translate(-50%,-50%) scale(1.7); }
}
@keyframes logo-shine {
  0%   { opacity: 1; background-position: 130% 0; }
  100% { opacity: 1; background-position: -30% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .logo:hover .logo__mark, .logo:hover .logo__mark::after, .logo:hover .logo__word::after,
  .logo:focus-visible .logo__mark, .logo:focus-visible .logo__mark::after, .logo:focus-visible .logo__word::after { animation: none; }
  .logo:hover, .logo:focus-visible { filter: drop-shadow(0 0 6px rgba(126,224,138,.6)); }
}

/* =====================================================================
   상단 메뉴 강조: 마우스 오버·키보드 초점 시 진한 인디고 바탕 + 흰 글자
   ===================================================================== */
.nav__link { transition: background .2s ease, color .2s ease, transform .2s var(--ease), box-shadow .2s ease; }
.nav__link:hover, .nav__link:focus-visible,
.nav__item:hover > .nav__link, .nav__item:focus-within > .nav__link,
[data-theme="dark"] .nav__link:hover, [data-theme="dark"] .nav__item:hover > .nav__link, [data-theme="dark"] .nav__item:focus-within > .nav__link {
  background: var(--indigo-700); color: #fff; box-shadow: 0 6px 16px rgba(40,48,144,.28); transform: translateY(-1px);
}
.nav__item:hover > .nav__link svg, .nav__item:focus-within > .nav__link svg { opacity: 1; }
/* 현재 페이지 메뉴: 연한 바탕 + 진한 글자로 구분 */
.nav__item.is-active > .nav__link { background: var(--indigo-100); color: var(--indigo-800); font-weight: 800; }
[data-theme="dark"] .nav__item.is-active > .nav__link { background: var(--indigo-100); color: #e1e5ff; }
.nav__item.is-active:hover > .nav__link { background: var(--indigo-700); color: #fff; }
/* 드롭다운 항목 */
.nav__sub a { transition: background .18s ease, color .18s ease, padding-left .2s var(--ease); }
.nav__sub a:hover, .nav__sub a:focus-visible,
[data-theme="dark"] .nav__sub a:hover { background: var(--indigo-700); color: #fff; padding-left: 16px; }
.nav__sub a:hover small, .nav__sub a:focus-visible small { color: rgba(255,255,255,.8); }

/* =====================================================================
   버튼 마우스 오버: 빛줄기 + 글로우 + 누름, 테두리형은 색 채움
   ===================================================================== */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .75s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn:hover svg, .btn:focus-visible svg { transform: translateX(4px); }

.btn--primary:hover, .btn--primary:focus-visible { background: var(--indigo-800); transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(40,48,144,.38), 0 0 0 4px rgba(79,90,208,.20); }
[data-theme="dark"] .btn--primary:hover, [data-theme="dark"] .btn--primary:focus-visible { background: #3d49c9;
  box-shadow: 0 12px 28px rgba(0,0,0,.45), 0 0 0 4px rgba(140,151,255,.28); }
.btn--green:hover, .btn--green:focus-visible { transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(40,136,56,.36), 0 0 0 4px rgba(47,163,71,.20); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--indigo-700); border-color: var(--indigo-700); color: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(40,48,144,.32); }
[data-theme="dark"] .btn--ghost:hover, [data-theme="dark"] .btn--ghost:focus-visible { background: #4f5ce6; border-color: #4f5ce6; }
.btn--light:hover, .btn--light:focus-visible { background: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.28), 0 0 0 4px rgba(255,255,255,.22); }
.btn--light::after { background: linear-gradient(110deg, transparent 30%, rgba(79,90,208,.18) 50%, transparent 70%); }
.btn--outline-light:hover, .btn--outline-light:focus-visible { background: #fff; border-color: #fff; color: var(--night); transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.28); }

/* 분류 필터 버튼 */
.filter { transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease; }
.filter:hover, .filter:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(14,17,48,.14); }
.filter:active { transform: translateY(0) scale(.96); }

@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; }
  .btn:hover, .btn:focus-visible, .btn:active, .filter:hover, .filter:active { transform: none; }
}
