/* ===================================================================
   머스타드씨드 — 공통 스타일
   모바일 우선(기준 375px). 데스크톱은 가운데 정렬 확장.
   디자인 방향: dmil.kr 참고 — 라이트 · 에디토리얼 · 넓은 여백.
   브랜드: 네이비 #1f2a5c (앵커) + 바이올렛 #6d4aff (포인트) / 라벤더 틴트
   타이포: Pretendard(국문) + Playfair Display(영문 세리프 라벨/헤드)
   =================================================================== */

/* ---------- 디자인 토큰 ----------
   브랜드 상수(네이비·바이올렛)는 고정이고, 색 역할(배경·글자·면)은
   "시맨틱 토큰"으로 두어 라이트/다크 테마에서 값만 바뀝니다.
   테마 전환: 디폴트는 라이트(화이트/라벤더 틴트)이며, 헤더 토글이
   <html data-theme="dark">를 지정할 때만 다크가 적용됩니다
   (기기 설정 prefers-color-scheme 자동적용은 하지 않음). */
:root {
  /* 브랜드 상수 (테마와 무관) */
  --navy:        #1f2a5c;   /* 정체성 앵커 · 어두운 섹션 · 제목 */
  --navy-deep:   #141c40;   /* 그라데이션 어두운 끝, 오버레이 */
  --navy-light:  #2c3a72;   /* 그라데이션 밝은 끝 */

  /* 포인트(바이올렛) — 옐로를 대체하는 새 강조색.
     밝은 면에서는 --accent, 어두운(네이비) 면 위 글자/장식은 --accent-soft. */
  --accent:        #6d4aff;   /* 주 포인트: CTA, 링크, eyebrow, 강조(밝은 면) */
  --accent-strong: #4a2bd6;   /* 진한 끝 · 호버 · 그라데이션 */
  --accent-soft:   #b7a6ff;   /* 어두운 면 위 포인트 글자/장식(가독 대비 확보) */
  --pink:          #ff2f66;   /* 보조 포인트 — 아주 소량만 */
  --data-orange:   #ee4f1e;   /* 히어로 데이터 메시 강조색(토스식 진한 오렌지) */

  /* 시맨틱 토큰 — 라이트 기본값 */
  --bg:          #ffffff;              /* 페이지 배경 */
  --bg-soft:     #ebf1fb;              /* 옅은 섹션 배경 (남색/블루 틴트) ← 섹션 교차색은 여기서 변경 */
  --surface:     #ffffff;              /* 카드 배경 */
  --surface-2:   #eef3fc;              /* 카드 안 인셋 칩 (남색/블루 틴트) */
  --heading:     #1f2a5c;              /* 제목·강조 글자 (라이트=네이비 앵커) */
  --ink:         #1b1d29;              /* 본문 진한 글자 (near-black) */
  --gray:        #6b6f80;              /* 보조 글자 */
  --line:        #ebe9f5;              /* 구분선·카드 테두리 (라벤더 틴트) */
  --header-bg:   rgba(255, 255, 255, 0.86);
  --chip-expert: #efecff;              /* 전문가 사례 칩 배경 (라벤더) */
  --shadow-card: 0 10px 34px rgba(31, 27, 74, 0.08);

  --maxw:        720px;     /* 모바일 기준 콘텐츠 폭 */
  --maxw-wide:   1080px;    /* 데스크톱에서 넓게 쓰는 섹션 (숫자·카드·히어로) */
  --gap:         20px;      /* 좌우 기본 여백 */
  --radius:      18px;      /* 카드 모서리 — 조금 더 부드럽게 */
  --cta-h:       64px;      /* 하단 고정 CTA 바 높이 */

  /* 영문 세리프 — 에디토리얼 라벨/헤드라인 (Latin 전용) */
  --serif: "Playfair Display", "Times New Roman", serif;

  /* 모션 토큰 */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --dur:         0.6s;

  /* 어두운 섹션용 미세 그레인(노이즈) — 프리미엄 질감. 블렌드로 은은하게 올림 */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* 어두운 섹션 좌하단 깊이 글로우(블루) */
  --glow-depth: radial-gradient(90% 70% at 8% 100%, rgba(72, 128, 236, 0.40) 0%, rgba(72, 128, 236, 0) 60%);
  /* 라이트 섹션 블루 글로우(히어로·밝은 섹션 배경 장식) — 보라 대신 남색/파랑 톤 */
  --glow-lav: radial-gradient(60% 60% at 82% 12%, rgba(56, 108, 214, 0.18) 0%, rgba(56, 108, 214, 0) 70%);

  color-scheme: light;
}

/* 어두운 섹션 공통 그레인 오버레이 — 텍스트(z-index:1) 아래, 배경 위
   (히어로는 라이트로 바뀌어 제외, 문의/서브히어로 등 어두운 섹션에만) */
.contact::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--noise);
  background-size: 140px 140px;
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* 다크 테마 토큰 값 — 디폴트는 화이트(라이트) 모드이고, 다크는 옵션.
   사용자가 헤더 토글로 data-theme="dark"를 켤 때만 적용된다
   (기기 설정 자동 적용은 하지 않음). */
:root[data-theme="dark"] {
  --bg:          #0d1020;
  --bg-soft:     #141331;              /* 바이올렛 기운의 어두운 틴트 */
  --surface:     #171a33;
  --surface-2:   #20224a;
  --heading:     #eceaff;
  --ink:         #d6d8ec;
  --gray:        #9a9cc0;
  --line:        #2a2c52;
  --header-bg:   rgba(13, 16, 32, 0.82);
  --chip-expert: #2a2960;
  --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.5);
  /* 다크에서는 포인트를 살짝 밝게(어두운 배경 대비) */
  --accent:      #8f73ff;
  --accent-strong: #6d4aff;
  color-scheme: dark;
}

/* 테마 전환 시 부드럽게 (토글 직후 JS가 .theme-anim 을 잠깐 부여) */
.theme-anim,
.theme-anim .site-header,
.theme-anim .cta-bar,
.theme-anim .stat-card,
.theme-anim .case-card,
.theme-anim .org-card,
.theme-anim .svc-group,
.theme-anim .pkg-card,
.theme-anim .academy-card,
.theme-anim .compare-card,
.theme-anim .faq details,
.theme-anim .ad-chip,
.theme-anim .brand-chip,
.theme-anim .site-footer {
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

/* ---------- 리셋 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system,
               BlinkMacSystemFont, system-ui, "Segoe UI", Roboto,
               "Helvetica Neue", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  letter-spacing: -0.01em;
  /* 하단 고정 CTA 바에 콘텐츠가 가리지 않도록 여백 확보 */
  padding-bottom: calc(var(--cta-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* 공통 섹션 래퍼 — 모바일 폭 기준으로 가운데 정렬 */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gap);
  padding-right: var(--gap);
}

/* 섹션 머리말 라벨 (예: Our Services) — 디밀식 영문 세리프 에디토리얼.
   Playfair Display 세리프로 '매거진 라벨' 느낌. 밝은 면=바이올렛,
   어두운 면 위에서는 .on-dark 또는 각 어두운 섹션에서 --accent-soft 로 전환. */
.eyebrow {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.005em;
  line-height: 1.2;
  color: var(--accent);
  text-transform: none;
}
@media (min-width: 768px) { .eyebrow { font-size: 19px; } }

/* ===================================================================
   상단 헤더
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 130;                 /* 오버레이(120)·CTA바(100) 위 — 로고/닫기/토글이 항상 최상단 */
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
/* 스크롤되면 헤더가 살짝 줄고 그림자가 생겨 떠 있는 느낌 */
.scrolled .site-header {
  border-bottom-color: transparent;
  box-shadow: 0 6px 24px rgba(31, 42, 92, 0.1);
}
.scrolled .site-header .wrap { height: 48px; }
.scrolled .brand .logo { width: 24px; height: 24px; }
/* 메뉴가 열려 있는 동안엔 축소·그림자 해제(오버레이와 한 몸) */
.menu-open .site-header { box-shadow: none; }
.menu-open.scrolled .site-header .wrap { height: 56px; }
/* 메뉴가 열리면 헤더 바는 투명 — 뒤의 오버레이와 한 몸처럼 보이게 */
.menu-open .site-header {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header > .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  transition: height 0.3s var(--ease);
}

/* PC 전용 서브메뉴 바 (로고 아래 · 왼쪽 정렬) — 모바일은 숨김(햄버거 사용) */
.nav-desktop { display: none; }
@media (min-width: 900px) {
  .nav-desktop { display: block; border-top: 1px solid var(--line); }
  .nav-desktop__inner {
    width: 100%; max-width: var(--maxw); margin: 0 auto;
    padding-left: var(--gap); padding-right: var(--gap);
    display: flex; align-items: center; min-height: 44px;
  }
  .nav-desktop ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
  .nav-desktop a {
    font-size: 15px; font-weight: 600; color: var(--ink);
    text-decoration: none; transition: color .18s var(--ease);
  }
  .nav-desktop a:hover { color: var(--accent); }
  .nav-desktop a.is-active { color: var(--accent); font-weight: 700; }
  /* 풀스크린 메뉴가 열리면 서브메뉴 바 숨김 */
  .menu-open .nav-desktop { display: none; }
}

/* 햄버거 버튼 (2선) — 열리면 X 로 모핑 */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background-color 0.2s ease;
}
.menu-open .nav-toggle span { background: #fff; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* 브랜드 로고 (네이비/화이트 두 버전 — 테마·메뉴 상태에 따라 교체) */
.brand { display: flex; align-items: center; gap: 9px; }
.brand .logo { width: 28px; height: 28px; flex: none; transition: width 0.3s var(--ease), height 0.3s var(--ease); }
.brand .logo-white { display: none; }
/* 워드마크(MUSTARDSEED) — 폰트 텍스트가 아니라 실제 로고 이미지에서 추출 */
.brand .wordmark {
  height: 17px;
  width: auto;
  flex: none;
  display: block;
  transition: height 0.3s var(--ease);
}
.brand .wordmark-white { display: none; }
.scrolled .brand .wordmark { height: 15px; }
/* 다크 테마: 흰 로고 + 흰 워드마크 */
:root[data-theme="dark"] .brand .logo-navy { display: none; }
:root[data-theme="dark"] .brand .logo-white { display: block; }
:root[data-theme="dark"] .brand .wordmark-navy { display: none; }
:root[data-theme="dark"] .brand .wordmark-white { display: block; }
/* 메뉴 열림(어두운 오버레이): 라이트 테마에서도 흰 로고 + 흰 워드마크 */
.menu-open .brand .logo-navy { display: none; }
.menu-open .brand .logo-white { display: block; }
.menu-open .brand .wordmark-navy { display: none; }
.menu-open .brand .wordmark-white { display: block; }

/* 헤더 우측 도구 묶음 (테마 토글 + 햄버거) */
.header-tools {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* 테마 토글 버튼 (해 ↔ 달) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--heading);
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.theme-toggle:hover { background: var(--surface-2); }
.theme-toggle:active { transform: scale(0.92); }
.theme-toggle svg { width: 21px; height: 21px; }
/* 라이트일 때는 달(다크로 전환) 아이콘, 다크일 때는 해 아이콘 노출 */
.theme-toggle .i-sun { display: none; }
.theme-toggle .i-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
/* 메뉴 오버레이가 열리면(어두운 배경) 토글 아이콘을 밝게 */
.menu-open .theme-toggle { color: #fff; }
.menu-open .theme-toggle:hover { background: rgba(255, 255, 255, 0.12); }

/* ===================================================================
   풀스크린 메뉴 오버레이 (body 직속 — 햄버거로 토글, 모바일·데스크톱 공통)
   =================================================================== */
.site-nav {
  position: fixed;
  inset: 0;
  z-index: 120;                 /* 헤더(130) 아래, CTA바(100) 위 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;    /* 메뉴를 위쪽으로 붙임 (가운데 X) */
  padding: 88px var(--gap) 40px;  /* 헤더(56px) 아래로 적당히 띄움 */
  overflow-y: auto;
  background:
    radial-gradient(120% 70% at 85% 0%, rgba(109, 74, 255, 0.28) 0%, rgba(109, 74, 255, 0) 55%),
    linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.menu-open .site-nav {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease);
}
.nav-menu { list-style: none; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.nav-menu li { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.nav-menu li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.nav-menu a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 2px;
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s ease;
}
.menu-open .nav-menu a { opacity: 1; transform: none; }
.nav-menu .n {
  flex: none;
  width: 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-soft);
  font-variant-numeric: tabular-nums;
}
.nav-menu .en {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  transition: color 0.2s ease;
}
.nav-menu .ko {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  word-break: keep-all;
}
.nav-menu a:hover .en,
.nav-menu a:focus-visible .en,
.nav-menu a.is-active .en { color: var(--accent-soft); }
.nav-menu a.is-active .n { color: #fff; }

/* 열릴 때 메뉴 항목 순차 등장(스태거) */
.menu-open .nav-menu li:nth-child(1) a { transition-delay: 0.06s; }
.menu-open .nav-menu li:nth-child(2) a { transition-delay: 0.12s; }
.menu-open .nav-menu li:nth-child(3) a { transition-delay: 0.18s; }
.menu-open .nav-menu li:nth-child(4) a { transition-delay: 0.24s; }
.menu-open .nav-menu li:nth-child(5) a { transition-delay: 0.30s; }

@media (min-width: 768px) {
  .nav-menu a { padding: 22px 2px; }
  .nav-menu .en { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav { transition: opacity 0.2s linear; }
  .nav-menu a { opacity: 1; transform: none; transition: color 0.2s ease; }
}

/* ===================================================================
   히어로
   =================================================================== */
/* 라이트 에디토리얼 히어로 (센터형 · 넓은 여백 — dmil/toss 참고)
   화이트→라벤더 배경 + "쑥쑥 솟는" 파티클 메시 캔버스(뒤) + 센터 텍스트 + 큰 통계 3장 */
.hero {
  position: relative;
  overflow: hidden;
  background:
    var(--glow-lav),
    linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}
/* 애니메이션 메시 캔버스 — 텍스트 뒤, 하단에 집중.
   JS 로드 전·실패·감속모드에서는 그냥 비어 있고 배경 그라데이션이 폴백. */
/* 독립 메시 블록 (toss 참고) — 배경이 아니라 카피 사이에 놓인 자체 데이터 요소.
   위(카피)·아래(통계 카드)와 겹치지 않아 모바일에서도 깔끔. */
.hero__mesh-zone {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 280px;
  margin-top: 4px;
  overflow: hidden;
}
.hero__mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
/* toss식 데이터 라벨: 라벨 ——— 값 */
.hero__mesh-label {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--maxw);
  padding: 0 var(--gap);
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.hero__mesh-label .ml-k { font-size: 12.5px; font-weight: 600; color: var(--gray); white-space: nowrap; }
.hero__mesh-label .ml-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line) 0%, rgba(238, 79, 30, 0.35) 72%, transparent 100%); }
.hero__mesh-label .ml-v { font-size: 15px; font-weight: 800; color: var(--data-orange); font-variant-numeric: tabular-nums; white-space: nowrap; }

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding-top: 52px;
  padding-bottom: 6px;   /* 헤드라인이 바로 아래 메시에 붙도록 */
}
/* 메시 아래 설명 + CTA 묶음 */
.hero__lede {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 8px;
}
.hero__eyebrow {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent);
  word-break: keep-all;
}
.hero__title {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--heading);
}
.hero__title em { font-style: italic; font-weight: 500; }
.hero__sub {
  margin: 22px auto 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
  word-break: keep-all;
}
.hero__actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* 히어로 핵심 숫자 3장 (dmil식 큰 카드, 반투명 — 뒤 메시가 은은히 비침) */
.hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-bottom: 44px;
}
.hero-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
}
.hero-stat .t {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  word-break: keep-all;
}
.hero-stat .n {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero-stat .n .s { font-size: 18px; margin-left: 1px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s ease, border-color 0.18s ease;
}
.btn:active { transform: translateY(0) scale(0.97); }
/* 주 CTA — 바이올렛 그라데이션 + 흰 글자 */
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
}
/* 고스트 — 라이트 섹션 기본값(네이비 아웃라인, 눈에 띄게) */
.btn--ghost {
  background: transparent;
  color: var(--heading);
  border: 1.5px solid rgba(31, 42, 92, 0.32);
}
/* 어두운 섹션(문의 등) 안의 고스트는 흰 아웃라인으로 */
.contact .btn--ghost,
.page-hero .btn--ghost,
.on-dark .btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
/* 마우스가 있는 환경에서만 호버 효과(터치는 눌림 피드백만) */
@media (hover: hover) {
  .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(109, 74, 255, 0.38); }
  .btn--ghost:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--accent);
  }
  .contact .btn--ghost:hover,
  .page-hero .btn--ghost:hover,
  .on-dark .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:active, .btn--primary:hover, .btn--ghost:hover { transform: none; transition: none; }
}

/* 히어로 하단 미니 타임라인 (시작 · 기준 · 지금) */
.timeline {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 26px;
  padding-bottom: 8px;
  border-top: 1px solid var(--line);
}
.timeline__item .k {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.timeline__item .v {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--gray);
  word-break: keep-all;
}

/* ===================================================================
   숫자 카운터
   =================================================================== */
.stats {
  background: var(--bg-soft);
  padding-top: 52px;
  padding-bottom: 52px;
}
.stats__head { text-align: center; margin-bottom: 30px; }
.stats__head h2 {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
  word-break: keep-all;
}

/* 모바일: 한 줄에 하나씩 세로 나열 */
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stat-card .num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-card .num .suffix { font-size: 18px; margin-left: 2px; }
.stat-card .label {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  word-break: keep-all;
}
.stat-card .note {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--gray);
  word-break: keep-all;
}
/* 모바일: 라벨은 왼쪽, 큰 숫자는 오른쪽 끝으로(눈에 띄게). PC는 위 기본값 유지 */
@media (max-width: 767px) {
  .stat-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "label num"
      "note  num";
    align-items: center;
    column-gap: 14px;
    text-align: left;
    padding: 20px 20px;
  }
  .stat-card .num { grid-area: num; justify-self: end; font-size: 30px; }
  .stat-card .label { grid-area: label; margin-top: 0; font-size: 14.5px; }
  .stat-card .note { grid-area: note; margin-top: 3px; }
}

/* 강조 카드 (틱톡 MCN 1위) — 가로 전체 */
/* 1위 강조 = 골드 배너 (프리미엄 띠) */
.stat-highlight {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, #fdf1c6 0%, #f3d074 26%, #e0ad44 58%, #c88f2b 100%);
  color: #5a3d0e;
  border: 1px solid #e6c56a;
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(193, 142, 45, 0.32);
}
/* 사선 광택 스윕 */
.stat-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 36%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-18deg);
  animation: hl-shine 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hl-shine {
  0%, 62% { left: -40%; }
  86%, 100% { left: 130%; }
}
.stat-highlight .hl-seal {
  width: 64px;
  height: 64px;
  flex: none;
  filter: drop-shadow(0 2px 4px rgba(140, 90, 20, 0.3));
}
.stat-highlight .hl-seal svg { width: 100%; height: 100%; display: block; }
.stat-highlight .num {
  position: relative;
  font-size: 36px;
  font-weight: 800;
  color: #8a5a12;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.stat-highlight .num .suffix { font-size: 21px; margin-left: 1px; }
.stat-highlight .label {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: #5a3d0e;
  text-align: left;
  word-break: keep-all;
}
.stat-highlight .label small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(90, 61, 14, 0.72);
  margin-top: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .stat-highlight::before { animation: none; display: none; }
}

/* 브랜드별 최고 조회수 TOP 5 (막대 그래프) */
.topbrands {
  margin-top: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
}
.topbrands__head { margin-bottom: 14px; }
.topbrands__head .eyebrow { margin-bottom: 4px; }
.topbrands__head h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.topbrands__list { list-style: none; margin: 0; padding: 0; }
.tb-row {
  display: grid;
  grid-template-columns: 20px minmax(72px, auto) 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.tb-row:last-child { border-bottom: 0; }
.tb-rank { font-size: 14px; font-weight: 800; color: var(--heading); text-align: center; }
.tb-brand { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.tb-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.tb-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
  transition: width 0.9s var(--ease);
}
.topbrands.is-in .tb-fill { width: var(--w); }
.tb-views {
  font-size: 14px;
  font-weight: 800;
  color: var(--heading);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .tb-fill { transition: none; }
}

/* ===================================================================
   성과 마퀴 띠 (공통) — 핵심 숫자를 무한 스크롤로 흘려 섹션을 구분
   =================================================================== */
.marquee {
  overflow-x: auto;
  overflow-y: hidden;
  background: linear-gradient(100deg, var(--accent-strong) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: #fff;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.marquee::-webkit-scrollbar { display: none; }
.marquee.is-grabbing { cursor: grabbing; }
.marquee__track {
  display: flex;
  width: max-content;
  padding: 14px 0;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  flex: none;
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px var(--gap);
  }
}

/* ===================================================================
   하단 고정 CTA 바 (모든 페이지 공통)
   전화 · 카카오톡 · 상담 신청
   =================================================================== */
.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  height: calc(var(--cta-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(31, 42, 92, 0.08);
}
.cta-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: var(--cta-h);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.cta-bar a svg { width: 22px; height: 22px; transition: transform 0.15s var(--ease); }
.cta-bar a.is-primary { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #fff; flex: 1.3; }
.cta-bar a.is-kakao { background: #fee500; color: #191600; }
.cta-bar a + a { border-left: 1px solid var(--line); }
/* 탭 피드백 — 누르면 살짝 어두워지고 아이콘이 톡 */
.cta-bar a {
  -webkit-tap-highlight-color: transparent;
  transition: filter 0.15s ease, background-color 0.18s ease;
}
.cta-bar a:active { filter: brightness(0.93); }
.cta-bar a:active svg { transform: translateY(-2px); }
@media (hover: hover) {
  .cta-bar a:hover svg { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-bar a, .cta-bar a svg { transition: none; }
  .cta-bar a:active svg, .cta-bar a:hover svg { transform: none; }
}

/* ===================================================================
   데스크톱 보정 — 모바일 레이아웃을 가운데로 확장
   =================================================================== */
@media (min-width: 768px) {
  .hero__inner {
    max-width: 840px;
    padding-top: 92px;
    padding-bottom: 8px;
  }
  .hero__lede { max-width: 840px; }
  .hero__title { font-size: 66px; line-height: 1.08; }
  .hero__sub { font-size: 17px; }
  .hero__mesh-zone { height: 340px; }
  .hero__mesh-label .ml-k { font-size: 13.5px; }
  .hero__mesh-label .ml-v { font-size: 17px; }
  /* 통계: 윗줄 3개(가로3) + 아랫줄 4개(가로4) — 12칼럼 그리드로 분배 */
  .stats__grid { grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .stats__grid .stat-card:nth-child(-n + 3) { grid-column: span 4; }
  .stats__grid .stat-card:nth-child(n + 4) { grid-column: span 3; }
  .stat-card .num { font-size: 34px; }
  /* 넓은 화면에서는 고정 바를 가운데 카드 형태로 */
  .cta-bar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--maxw);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-radius: 14px 14px 0 0;
  }
}

/* ===================================================================
   공통 섹션 머리말 (3대 사업 · 사례 · 브랜드)
   =================================================================== */
.section { padding-top: 54px; padding-bottom: 54px; }
/* 섹션 배경 교차 — 숫자(soft) 기준으로 흰색↔라벤더 틴트가 번갈아 구분되도록 */
#services    { background: var(--bg-soft); }  /* 3대 사업(카드) */
.network-sec { background: var(--bg-soft); }  /* 인플루언서 네트워크 */
/* 회사 프로필(.profile-sec)·Our Services 아코디언(.services-sec)은 흰색(--bg) 유지 */

/* ===================================================================
   Short-form 광고 레퍼런스 (PPT 9p)
   어두운 네이비 밴드 — 위(흰색)·아래(라벤더 사례)와 또렷이 구분, 폰 썸네일 강조
   =================================================================== */
.shortform-sec { background: var(--navy-deep); }
.shortform-sec .eyebrow { color: var(--accent-soft); }
.shortform-sec .section__head h2 { color: #fff; }
.shortform-sec .section__head .lead { color: rgba(255, 255, 255, .70); }

.sf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;          /* 지그재그 오프셋이 깔끔하게 적용되도록 */
  gap: 16px 14px;
}
@media (min-width: 560px)  { .sf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px)  { .sf-grid { grid-template-columns: repeat(4, 1fr); gap: 26px 20px; } }
@media (min-width: 1000px) { .sf-grid { grid-template-columns: repeat(5, 1fr); } }

.sf-card { margin: 0; }
/* PC에서만 한 칸씩 내려 '흩뿌린' 리듬 (reveal transform과 충돌 없게 margin으로) */
@media (min-width: 760px) {
  .sf-card:nth-child(even) { margin-top: 30px; }
}

.sf-thumb {
  position: relative;
  aspect-ratio: 742 / 1162;    /* 원본 폰 스크린샷 비율 */
  border-radius: 16px;
  overflow: hidden;
  background: #0d1430;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .85);
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.sf-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
/* 재생 글리프(숏폼=영상) — 좌하단 */
.sf-play {
  position: absolute;
  left: 9px;
  bottom: 9px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(10, 14, 32, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .4);
  display: grid;
  place-items: center;
}
.sf-play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 8px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.sf-meta {
  margin-top: 10px;
  padding: 0 2px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sf-brand { font-weight: 700; font-size: 14px; line-height: 1.3; color: #fff; }
.sf-views { font-size: 12.5px; font-weight: 600; color: var(--accent-soft); }

@media (hover: hover) {
  .sf-card:hover .sf-thumb img { transform: scale(1.06); }
  .sf-card:hover .sf-thumb {
    box-shadow: 0 24px 52px -18px rgba(109, 74, 255, .5);
    border-color: rgba(143, 115, 255, .5);
  }
}

/* 재생 가능한 카드(영상 연결됨) — 버튼으로 렌더, 포인터/포커스 표시 */
.sf-card.is-playable { cursor: pointer; }
.sf-card.is-playable .sf-play { transition: transform .3s var(--ease), background .3s var(--ease); }
@media (hover: hover) {
  .sf-card.is-playable:hover .sf-play {
    transform: scale(1.12);
    background: rgba(109, 74, 255, .85);
    border-color: rgba(255, 255, 255, .7);
  }
}
.sf-card.is-playable:focus-visible { outline: none; }
.sf-card.is-playable:focus-visible .sf-thumb {
  box-shadow: 0 0 0 3px var(--accent-soft), 0 24px 52px -18px rgba(109, 74, 255, .5);
  border-color: var(--accent-soft);
}

/* ===================================================================
   숏폼 영상 모달(유튜브 쇼츠) — 세로 9:16 라이트박스
   =================================================================== */
.sf-modal {
  position: fixed;
  inset: 0;
  z-index: 200;                 /* 헤더(130)·CTA바(100) 위 */
  display: grid;
  place-items: center;
  padding: 20px;
}
.sf-modal[hidden] { display: none; }
.sf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 24, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.sf-modal.is-open .sf-modal__backdrop { opacity: 1; }
.sf-modal__dialog {
  position: relative;
  width: min(92vw, calc((100vh - 120px) * 9 / 16));  /* 세로 9:16 기준 폭 */
  max-width: 440px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
  transform: translateY(16px) scale(.96);
  opacity: 0;
  transition: transform .32s var(--ease), opacity .32s var(--ease);
}
.sf-modal.is-open .sf-modal__dialog { transform: none; opacity: 1; }
.sf-modal__frame,
.sf-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.sf-modal__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(20, 24, 48, .7);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.sf-modal__close svg { width: 18px; height: 18px; }
.sf-modal__close:hover { background: var(--accent); transform: scale(1.06); }
/* 좁은 화면: 닫기 버튼을 다이얼로그 안쪽 우상단으로 */
@media (max-width: 520px) {
  .sf-modal__close { top: 10px; right: 10px; background: rgba(8, 10, 24, .55); }
}
@media (prefers-reduced-motion: reduce) {
  .sf-modal__backdrop,
  .sf-modal__dialog { transition: none; }
  .sf-modal__dialog { transform: none; }
}

/* ===================================================================
   인플루언서 성장 프로그램 (PPT 11p) — 전문가/일반인 2개 트랙 카드
   =================================================================== */
.gp-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 860px) { .gp-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }

.gp-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 48px -32px rgba(31, 42, 92, .45);
}
.gp-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.gp-pic { display: block; overflow: hidden; }
.gp-pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .5s var(--ease); }
@media (hover: hover) { .gp-pic:hover img { transform: scale(1.1); } }
.gp-body { padding: 22px 22px 24px; }
.gp-label { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; color: var(--accent); }
.gp-card h3 { margin: 6px 0 18px; font-size: 20px; font-weight: 800; color: var(--heading); letter-spacing: -.3px; }
@media (min-width: 760px) { .gp-card h3 { font-size: 22px; } }

.gp-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.gp-rows li { display: flex; gap: 12px; align-items: flex-start; }
.gp-ic {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--accent);
}
.gp-ic svg { width: 18px; height: 18px; }
.gp-rows li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gp-rows b { font-size: 12px; font-weight: 700; color: var(--gray); letter-spacing: .2px; }
.gp-rows li > div > span { font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.5; }

/* ===================================================================
   How We Support (PPT 12p) — 제작 공정 타임라인(기획→모니터링)
   =================================================================== */
.support-sec { background: var(--bg-soft); }
.support-grid { list-style: none; margin: 0; padding: 0; }
.support-dots { display: none; }

/* 모바일/태블릿(<920): 가로 스냅 캐러셀 — 기획→촬영→편집… 순서로 하나씩 진행 */
@media (max-width: 919px) {
  .support-rail {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;              /* 좌우 거터만큼 넓혀 풀블리드 느낌 */
    padding: 4px 16px 0;
  }
  .support-rail::-webkit-scrollbar { display: none; }
  .support-grid { display: flex; gap: 14px; }
  .support-step { flex: 0 0 78%; scroll-snap-align: center; }
  /* 캐러셀이 애니메이션을 맡으므로 개별 reveal 은 끔(가로로 벗어난 카드가 안 보이는 문제 방지) */
  .js .support-step.reveal { opacity: 1; transform: none; transition: none; }
  /* 진행 표시 점 */
  .support-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .support-dots button {
    width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; cursor: pointer;
    background: color-mix(in srgb, var(--accent) 28%, transparent);
    transition: width .3s var(--ease), background .3s var(--ease);
  }
  .support-dots button.is-active { width: 22px; border-radius: 5px; background: var(--accent); }
}

/* 데스크톱(≥920): 기존 한 줄 5개 그리드 */
@media (min-width: 920px) {
  .support-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 12px; }
}

.support-step { position: relative; }
.support-pic { border-radius: 14px; overflow: hidden; box-shadow: 0 16px 34px -24px rgba(31, 42, 92, .5); }
.support-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .5s var(--ease); }
@media (hover: hover) { .support-pic:hover img { transform: scale(1.1); } }
.support-mark { position: relative; height: 16px; margin: 14px 0 10px; display: flex; align-items: center; justify-content: center; }
.support-dot { position: relative; z-index: 1; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg-soft); }
/* 점을 잇는 가로선 — PC(한 줄)·모바일(가로 캐러셀) 공통으로 '순서대로 진행' 느낌 */
.support-mark::before { content: ""; position: absolute; top: 50%; left: -9px; right: -9px; height: 2px; background: var(--line); transform: translateY(-50%); }
.support-step:first-child .support-mark::before { left: 50%; }
.support-step:last-child  .support-mark::before { right: 50%; }
@media (min-width: 920px) {
  .support-mark::before { left: -6px; right: -6px; }
}
.support-en { font-size: 12px; font-weight: 800; letter-spacing: 1.3px; color: var(--accent); }
.support-step h3 { margin: 4px 0 8px; font-size: 18px; font-weight: 800; color: var(--heading); }
.support-desc { font-size: 13.5px; line-height: 1.6; color: var(--gray); }
.support-desc b { color: var(--ink); font-weight: 700; }

/* ===================================================================
   What You Get (PPT 13p) — 15가지 서비스 그리드
   =================================================================== */
.wyg-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 560px) { .wyg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .wyg-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.wyg-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px 16px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.wyg-ic {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--accent);
  margin-bottom: 13px;
}
.wyg-ic svg { width: 21px; height: 21px; }
.wyg-item h3 { margin: 0 0 5px; font-size: 15px; font-weight: 800; color: var(--heading); letter-spacing: -.2px; line-height: 1.35; }
.wyg-cat { font-size: 12px; font-weight: 700; color: var(--gray); }
@media (hover: hover) {
  .wyg-item:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -26px rgba(31, 42, 92, .5); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
}

/* ===================================================================
   Expert / Creator Cases (PPT 15·16p) — 숏폼 썸네일 2장 + 성과 카드
   =================================================================== */
.cc-stat {
  margin: 16px auto 0;
  font-size: 14.5px; font-weight: 600; color: var(--gray);
}
.cc-stat b { font-size: 20px; font-weight: 800; color: var(--accent); margin-right: 6px; }

.cc-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 620px) { .cc-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 960px) { .cc-grid { grid-template-columns: repeat(3, 1fr); } }

.cc-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px 18px;
  box-shadow: 0 18px 40px -30px rgba(31, 42, 92, .5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
@media (hover: hover) {
  .cc-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(31, 42, 92, .55); }
}
.cc-clips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 15px; }
.cc-clip { position: relative; border-radius: 12px; overflow: hidden; background: #0d1430; aspect-ratio: 742 / 1161; }
.cc-clip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s var(--ease); }
/* PC 호버: 사각 프레임은 고정, 안쪽 이미지만 20% 확대 */
@media (hover: hover) {
  .cc-clip:hover img { transform: scale(1.2); }
}
.cc-views {
  position: absolute; left: 7px; bottom: 7px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px 3px 7px; border-radius: 999px;
  font-size: 12px; font-weight: 800; color: #fff;
  background: rgba(13, 18, 38, .72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.cc-views::before {
  content: ""; width: 0; height: 0;
  border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent;
}
.cc-person { display: flex; align-items: center; gap: 10px; }
.cc-ava { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg-soft); }
.cc-ava--none { display: grid; place-items: center; color: var(--accent); font-weight: 800; font-size: 15px; }
.cc-id { min-width: 0; }
.cc-name { font-size: 15.5px; font-weight: 800; color: var(--heading); line-height: 1.25; }
.cc-role { font-size: 12.5px; color: var(--gray); margin-top: 2px; }
.cc-metric { margin-top: 14px; font-size: 14px; color: var(--gray); }
.cc-metric span { font-weight: 700; }
.cc-metric b { font-size: 20px; font-weight: 800; color: var(--heading); margin-left: 3px; }
.cc-desc { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.cc-foll {
  margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--gray);
}

/* ===================================================================
   Influencer Academy (PPT 17p) — 강의 주제 칩 + 진행 강의 목록 + 사진 2×2
   =================================================================== */
.aca-topics { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.aca-topics li { padding: 7px 15px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--heading); font-size: 13px; font-weight: 700; }

/* 목록 → 사진 세로 스택(PC·모바일 공통). 사진은 아래에서 전체 폭을 크게 사용 */
.aca-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 30px; }

.aca-sub { font-size: 15px; font-weight: 800; color: var(--heading); margin-bottom: 4px; }
.aca-item { display: grid; grid-template-columns: 1fr; gap: 3px; padding: 13px 0; border-top: 1px solid var(--line); }
.aca-item:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .aca-item { grid-template-columns: 190px 1fr; gap: 0 18px; align-items: baseline; } }
.aca-item__t b { font-size: 14.5px; font-weight: 800; color: var(--heading); }
.aca-item__t span { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; color: var(--accent); }
.aca-item__d { font-size: 13.5px; line-height: 1.55; color: var(--gray); }

.aca-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 760px) { .aca-photos { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.aca-photo { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 34px -26px rgba(31, 42, 92, .5); }
.aca-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s var(--ease); }
@media (hover: hover) { .aca-photo:hover img { transform: scale(1.1); } }

.section__head { margin-bottom: 26px; }
.section__head h2 {
  margin-top: 10px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
  line-height: 1.34;
  word-break: keep-all;
}
.section__head p.lead {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--gray);
  word-break: keep-all;
}

/* ===================================================================
   3대 사업 카드
   =================================================================== */
.services { display: grid; gap: 14px; }
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 190px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: linear-gradient(150deg, var(--navy-light), var(--navy) 60%, var(--navy-deep));
  box-shadow: var(--shadow-card);
}
/* 사업 카드 배경 사진 + 어둡게 깔기 */
.service-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(22, 32, 74, 0.35) 0%, rgba(22, 32, 74, 0.72) 55%, rgba(16, 24, 56, 0.92) 100%);
}
.service-card > * { position: relative; z-index: 2; }
.service-card .idx {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}
.service-card h3 {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.service-card p {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  word-break: keep-all;
}
.service-card .tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ===================================================================
   피처 행 (Our Services) — PC: 좌 텍스트·우 이미지 / 모바일: 텍스트→이미지
   =================================================================== */
.feature-rows { display: flex; flex-direction: column; gap: 44px; margin-top: 8px; }
.feature { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
.feature__idx { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; color: var(--accent); }
.feature__text h3 { font-size: 24px; font-weight: 800; color: var(--heading); letter-spacing: -0.02em; margin: 11px 0 14px; word-break: keep-all; }
.feature__text p { color: var(--gray); font-size: 15px; line-height: 1.75; word-break: keep-all; max-width: 44ch; }
.feature__media {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(31, 42, 92, .55);
  background: var(--bg-soft);
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 16 / 10; transition: transform .55s cubic-bezier(.2, .6, .2, 1); }
/* PC 호버 시 이미지가 스르륵 10% 확대(프레임은 overflow:hidden으로 유지) */
@media (hover: hover) {
  .feature__media:hover img { transform: scale(1.1); }
}

@media (min-width: 860px) {
  .feature-rows { gap: 68px; }
  .feature { grid-template-columns: 1fr 1.12fr; gap: 56px; }
  .feature__text h3 { font-size: 30px; margin: 12px 0 16px; }
  .feature__text p { font-size: 16px; }
  .feature__media img { aspect-ratio: 16 / 11; }
}

/* ===================================================================
   대표 사례 캐러셀 (가로 스크롤 스냅)
   =================================================================== */
.cases-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 14px;
  /* 좌우로 더 스크롤되는 느낌을 주는 여백 */
  margin-left: calc(var(--gap) * -1);
  margin-right: calc(var(--gap) * -1);
  padding-left: var(--gap);
  padding-right: var(--gap);
  scrollbar-width: none;
}
.cases-scroller::-webkit-scrollbar { display: none; }

.case-card {
  flex: 0 0 72%;
  max-width: 280px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-card);
}
.case-card .ctype {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
}
.case-card .ctype.is-expert  { background: var(--chip-expert); color: var(--accent-strong); }
.case-card .ctype.is-creator { background: #ffe3ec; color: #c21848; }
:root[data-theme="dark"] .case-card .ctype.is-expert  { color: var(--accent-soft); }
:root[data-theme="dark"] .case-card .ctype.is-creator { background: #4a1d2e; color: #ff9bb5; }
.case-card .metric {
  margin-top: 16px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
}
.case-card .metric small { font-size: 13px; font-weight: 600; color: var(--gray); margin-left: 4px; }
.case-card .desc {
  margin-top: 4px;
  font-size: 13px;
  color: var(--gray);
  word-break: keep-all;
}
.case-card .followers {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
  word-break: keep-all;
}
.case-card .who {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.case-card .avatar {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
}
/* 프로필 사진 아바타 */
.case-card .avatar.has-photo {
  background: var(--bg-soft);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 4px 10px rgba(31, 42, 92, 0.12);
}
.case-card .avatar.has-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.case-card .who .name { font-size: 14px; font-weight: 700; }
.case-card .who .role { font-size: 12px; color: var(--gray); word-break: keep-all; }

/* 스와이프 힌트 */
.swipe-hint { margin-top: 2px; font-size: 12px; color: var(--gray); }

/* ===================================================================
   협업 브랜드 로고 롤링 (마퀴)
   =================================================================== */
.brands { background: var(--bg-soft); overflow: hidden; }
/* 로고 레일 — 가로 스크롤 가능(자동 흐름 + 터치/트랙패드/마우스 드래그) */
.logo-rail {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.logo-rail::-webkit-scrollbar { display: none; }
.logo-rail.is-grabbing { cursor: grabbing; }
.logo-rail.is-grabbing .brand-chip { pointer-events: none; }
.logo-rail + .logo-rail { margin-top: 10px; }
.logo-rail__track { display: flex; width: max-content; gap: 10px; }

.brand-chip {
  flex: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  white-space: nowrap;
}
/* 로고 칩 — 단색 로고를 흰 칩에 올려 라이트·다크 모두 선명하게 */
.brand-chip.has-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  padding: 0 22px;
  height: 58px;
}
.brand-chip.has-logo img {
  height: 27px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* ===================================================================
   브랜드 스토리 — 3단계 아코디언 (자동 전환)
   =================================================================== */
.story { display: flex; gap: 10px; height: 340px; margin-top: 8px; }
.story__panel {
  position: relative; flex: 1 1 0; min-width: 0; flex-grow: 1;
  padding: 0; border: none; cursor: pointer;
  background-size: cover; background-position: center;
  border-radius: 18px; overflow: hidden;
  transition: flex-grow .6s cubic-bezier(.4, 0, .2, 1);
  -webkit-tap-highlight-color: transparent;
}
.story__panel.is-active { flex-grow: 6; }
.story__panel::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(27, 35, 71, .34);
  transition: background .5s ease;
}
.story__panel.is-active::after {
  background: linear-gradient(180deg, rgba(27, 35, 71, 0) 42%, rgba(27, 35, 71, .6) 100%);
}
/* Our Services 아코디언: 활성 패널은 7p 4분할 합성 "전체"가 보이도록 contain
   (PC=가로/모바일=세로로 패널 비율이 달라 cover면 일부만 잘림 → 네이비 여백 프레임).
   접힌 패널은 기본 cover 슬라이스 유지. */
#svc-story .story__panel.is-active {
  background-size: contain;
  background-repeat: no-repeat;
  background-color: var(--navy-deep);
}
.story__tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  display: flex; flex-direction: column; color: #fff;
  opacity: 0; transform: translateY(6px); transition: opacity .4s ease .15s, transform .4s ease .15s;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45); white-space: nowrap;
}
.story__panel.is-active .story__tag { opacity: 1; transform: none; }
.story__tag b { font-family: var(--serif); font-style: italic; font-size: 17px; letter-spacing: .4px; }
.story__tag span { font-size: 12px; font-weight: 700; opacity: .92; }

.story__dots { display: flex; justify-content: center; gap: 8px; margin: 16px 0 2px; }
.story__dots button {
  width: 26px; height: 5px; border-radius: 999px; border: none; padding: 0; cursor: pointer;
  background: var(--line); transition: background .3s ease, width .3s ease;
}
.story__dots button.is-active { width: 40px; background: var(--accent); }

.story__info { margin-top: 10px; }
.story__card { display: none; }
.story__card.is-active { display: block; }
.js .story__card.is-active { animation: storyIn .5s ease both; }
@keyframes storyIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.story__eyebrow { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 15px; margin: 0; }
.story__card h3 { font-size: 21px; font-weight: 800; color: var(--heading); margin: 7px 0 16px; letter-spacing: -.3px; }
.story__rows { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; }
.story__rows > div {
  display: block; margin: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px;
  box-shadow: 0 6px 18px -16px rgba(31, 42, 92, .4);
}
.story__rows dt { font-weight: 800; color: var(--heading); font-size: 15px; }
.story__rows dd { margin: 6px 0 0; color: var(--gray); font-size: 13.5px; line-height: 1.5; }

@media (min-width: 760px) {
  .story { height: 420px; }
  .story__rows { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .story__card h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .story__panel { transition: none; }
  .js .story__card.is-active { animation: none; }
}

/* ===================================================================
   회사 프로필 (CEO 사진 + 정보 + 주요 성과)
   =================================================================== */
.profile { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: stretch; }
.profile__photo {
  position: relative; margin: 0; border-radius: 20px; overflow: hidden;
  box-shadow: 0 26px 64px -32px rgba(31, 42, 92, .6);
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; aspect-ratio: 4 / 5; transition: transform .5s var(--ease); }
@media (hover: hover) { .profile__photo:hover img { transform: scale(1.1); } }
.profile__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 22px 22px 20px; color: #fff;
  display: flex; flex-direction: column; gap: 3px;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 24, 56, .82) 100%);
}
.profile__role { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #f0c24a; }
.profile__photo figcaption strong { font-size: 21px; font-weight: 800; }
.profile__desc { font-size: 13px; opacity: .88; }

.profile__body h2 { font-size: 23px; font-weight: 800; color: var(--heading); line-height: 1.38; letter-spacing: -.4px; margin: 10px 0 0; word-break: keep-all; }
.profile__list { margin: 22px 0 26px; }
.profile__list > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.profile__list > div:first-child { border-top: 1px solid var(--line); }
.profile__list dt { font-weight: 800; color: var(--heading); font-size: 13.5px; }
.profile__list dd { margin: 4px 0 0; color: var(--gray); font-size: 14px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
@media (min-width: 560px) {
  .profile__list > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: baseline; }
  .profile__list dd { margin: 0; }
}

.profile__ach-title { font-size: 16px; font-weight: 800; color: var(--accent-strong); margin: 0 0 14px; }
.profile__ach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.profile__ach li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px;
  box-shadow: 0 6px 18px -16px rgba(31, 42, 92, .4);
}
.profile__ach b { display: block; font-size: 18px; font-weight: 800; color: var(--heading); letter-spacing: -.3px; white-space: nowrap; }
.profile__ach span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--gray); line-height: 1.45; word-break: keep-all; }

@media (min-width: 860px) {
  .profile { grid-template-columns: 0.82fr 1.18fr; gap: 48px; }
  .profile__photo img { aspect-ratio: auto; height: 100%; min-height: 540px; object-position: center 15%; }
  .profile__body h2 { font-size: 27px; }
  .profile__ach { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===================================================================
   인플루언서 네트워크 — 아바타 월(자동 스크롤)
   =================================================================== */
.ava-wall { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.ava-row { padding: 2px 0; }
.ava-row .logo-rail__track { gap: 12px; }
/* 칩이 고정 원형 프레임(크기·테두리 유지) — 호버 시 프레임 안의 사진만 확대 */
.ava-chip {
  flex: none;
  width: 66px; height: 66px; border-radius: 50%; overflow: hidden;
  background: var(--bg-soft); box-shadow: 0 5px 16px -7px rgba(31, 42, 92, .4);
  transition: box-shadow .3s ease;
}
.ava-chip img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block;
  transition: transform .3s cubic-bezier(.2, .6, .2, 1);
}
/* PC 호버 시 원형 프레임은 그대로 두고 안쪽 이미지만 스르륵 10% 확대(터치기기 제외) */
@media (hover: hover) {
  .ava-chip:hover { box-shadow: 0 10px 22px -8px rgba(31, 42, 92, .5); }
  .ava-chip:hover img { transform: scale(1.3); }
}
.only-pc { display: none; }
@media (min-width: 760px) {
  .only-pc { display: inline; }
  .ava-wall { gap: 18px; margin-top: 18px; }
  .ava-chip { width: 82px; height: 82px; }
}

/* ===================================================================
   문의 CTA (네이비 마감 섹션)
   =================================================================== */
.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(109, 74, 255, 0.30) 0%, rgba(109, 74, 255, 0) 55%),
    var(--glow-depth),
    linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: #fff;
  text-align: center;
}
/* 어두운 섹션(문의·서브히어로) 위 eyebrow는 밝은 라벤더로(대비 확보) */
.contact .eyebrow,
.page-hero .eyebrow,
.on-dark .eyebrow { color: var(--accent-soft); }
.contact .wrap { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 60px; }
.contact h2 {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.contact__actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .case-card { flex-basis: 300px; }
  .contact__actions { flex-direction: row; justify-content: center; max-width: none; }
  .contact__actions .btn { min-width: 180px; }
}

/* ===================================================================
   페이지 공통 서브 히어로 (about 등 하위 페이지 상단)
   =================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(109, 74, 255, 0.30) 0%, rgba(109, 74, 255, 0) 55%),
    var(--glow-depth),
    linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 45%, var(--navy-deep) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .wrap { padding-top: 44px; padding-bottom: 44px; }
.page-hero h1 {
  margin-top: 12px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.34;
  word-break: keep-all;
}
.page-hero p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  word-break: keep-all;
}

/* ===================================================================
   대표 소개 (CEO)
   =================================================================== */
.ceo { display: grid; gap: 22px; }
.ceo__photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-card);
}
.ceo__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.ceo__name { font-size: 22px; font-weight: 800; color: var(--heading); }
.ceo__role { margin-top: 4px; font-size: 14px; color: var(--gray); }
.ceo__info {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ceo__info li {
  list-style: none;
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  word-break: keep-all;
}
.ceo__info .k {
  flex: none;
  width: 54px;
  font-weight: 700;
  color: var(--heading);
}

/* 대표 성과 칩 (10년) */
.ceo__stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ceo__stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}
.ceo__stat .n { font-size: 22px; font-weight: 800; color: var(--heading); letter-spacing: -0.02em; }
.ceo__stat .t { margin-top: 2px; font-size: 12px; color: var(--gray); word-break: keep-all; }

/* 틱톡 MCN TOP1 배너 */
.top1 {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.top1 .period { font-size: 13px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.04em; }
.top1 .big { margin-top: 6px; font-size: 26px; font-weight: 800; }
.top1 .big b { color: var(--accent-soft); }
.top1 .desc { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.78); word-break: keep-all; }

/* ===================================================================
   조직
   =================================================================== */
.org { display: grid; gap: 12px; }
.org-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-card);
}
.org-card .en {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.org-card h3 { margin-top: 4px; font-size: 17px; font-weight: 800; color: var(--heading); }
.org-card p { margin-top: 8px; font-size: 13.5px; color: var(--gray); line-height: 1.6; word-break: keep-all; }
.org-support {
  margin-top: 12px;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink);
  word-break: keep-all;
}
.org-support strong { color: var(--heading); }

/* ===================================================================
   아카데미 실적
   =================================================================== */
.academy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.academy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.academy-card .en { font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; color: var(--gray); }
.academy-card .n { margin-top: 6px; font-size: 22px; font-weight: 800; color: var(--heading); letter-spacing: -0.02em; }
.academy-card .t { margin-top: 4px; font-size: 12.5px; color: var(--gray); word-break: keep-all; }

/* ===================================================================
   언론보도
   =================================================================== */
.press-list { display: flex; flex-direction: column; }
.press-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 4px 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.press-item:last-child { border-bottom: 1px solid var(--line); }
.press-item .date { font-size: 13px; font-weight: 800; color: var(--heading); }
.press-item .outlet { font-size: 12px; color: var(--gray); }
.press-item .title {
  grid-column: 2;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  word-break: keep-all;
}
.press-item a.title:hover { color: var(--heading); text-decoration: underline; }

/* ===================================================================
   언론보도 — 뉴스 카드(홈/게시판) + 상세페이지
   =================================================================== */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.news-more { text-align: center; margin-top: 28px; }

.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.news-card.is-link { cursor: pointer; }
.news-card.is-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(31, 42, 92, .14);
  border-color: var(--accent-soft);
}
.news-card.is-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--accent-strong), var(--navy));
  overflow: hidden;
}
/* 이미지는 플레이스홀더(언론사명) 위를 덮도록 절대배치 — 썸네일이 있으면 가운데 언론사명이 보이지 않게.
   썸네일이 없거나 404(onerror로 제거)면 뒤의 플레이스홀더가 드러남. */
.news-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.news-card__ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--serif); font-style: italic; font-size: 22px; opacity: .92;
}
.news-card__outlet {
  position: absolute; left: 12px; top: 12px;
  background: rgba(255, 255, 255, .92); color: var(--navy);
  font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 999px;
}
.news-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card__date { font-size: 12px; font-weight: 700; color: var(--gray); }
.news-card__title { font-size: 16px; font-weight: 800; line-height: 1.45; color: var(--heading); word-break: keep-all; }
.news-card__sum { font-size: 13px; color: var(--gray); line-height: 1.6; word-break: keep-all; }
.news-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.news-card__more { font-size: 13px; font-weight: 800; color: var(--accent); }
.news-card__src {
  font-size: 12px; font-weight: 800; color: #fff; background: var(--accent);
  padding: 7px 12px; border-radius: 999px; white-space: nowrap; line-height: 1;
  transition: background .2s ease, transform .15s ease;
}
@media (hover: hover) { .news-card__src:hover { background: var(--accent-strong); transform: translateY(-1px); } }
.news-card__src:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 상세페이지(press/<slug>.html) */
.article { max-width: 760px; margin: 0 auto; }
.article__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.article__outlet { background: var(--bg-soft); color: var(--accent-strong); font-weight: 800; font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.article__date { font-size: 13px; color: var(--gray); font-weight: 700; }
.article__src {
  margin-left: auto; font-size: 12px; font-weight: 800; color: #fff; background: var(--accent);
  padding: 8px 14px; border-radius: 999px; white-space: nowrap; line-height: 1;
}
@media (hover: hover) { .article__src:hover { background: var(--accent-strong); } }
.article__title { font-size: 26px; font-weight: 800; line-height: 1.35; color: var(--heading); word-break: keep-all; margin-bottom: 22px; }
.article__gallery { display: grid; gap: 10px; margin: 8px 0 26px; grid-template-columns: 1fr; }
.article__gallery img { width: 100%; border-radius: 14px; display: block; object-fit: cover; }
.article__gallery.n2, .article__gallery.n3, .article__gallery.n4, .article__gallery.n5 { grid-template-columns: repeat(2, 1fr); }
.article__gallery.n1 img { max-height: 540px; object-fit: contain; background: var(--bg-soft); }
.article__body { font-size: 16px; line-height: 1.85; color: var(--ink); word-break: keep-all; }
.article__body > *:first-child { margin-top: 0; }
.article__body p { margin: 0 0 16px; }
.article__body h2 { font-size: 20px; font-weight: 800; margin: 28px 0 12px; color: var(--heading); }
.article__body h3 { font-size: 17px; font-weight: 800; margin: 22px 0 10px; color: var(--heading); }
.article__body img { max-width: 100%; border-radius: 12px; margin: 14px 0; }
.article__body ul, .article__body ol { margin: 0 0 16px; padding-left: 20px; }
.article__body li { margin-bottom: 6px; }
.article__body a { color: var(--accent); text-decoration: underline; }
.article__body blockquote {
  margin: 18px 0; padding: 12px 18px; border-left: 3px solid var(--accent-soft);
  background: var(--bg-soft); border-radius: 0 10px 10px 0; color: var(--heading);
}
.article__back { display: inline-flex; align-items: center; gap: 6px; margin-top: 30px; font-weight: 700; color: var(--accent); }

@media (min-width: 768px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  /* 게시판(언론보도·공지)도 홈과 동일하게 2열 유지 — 일관성 */
  .article__title { font-size: 34px; }
  .article__gallery.n3 { grid-template-columns: repeat(3, 1fr); }
  .article__gallery.n5 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .page-hero h1 { font-size: 34px; }
  .ceo { grid-template-columns: 300px 1fr; align-items: start; }
  .ceo__stats { grid-template-columns: repeat(3, 1fr); }
  .org { grid-template-columns: repeat(2, 1fr); }
  .academy-grid { grid-template-columns: repeat(4, 1fr); }
  .press-item { grid-template-columns: 110px 160px 1fr; align-items: baseline; }
  .press-item .title { grid-column: 3; }
}

/* ===================================================================
   프로그램 — 전문가/일반인 비교
   =================================================================== */
.compare { display: grid; gap: 12px; }
.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
}
.compare-card.is-core { border: 2px solid var(--accent); }
.compare-card .en { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--accent); }
.compare-card h3 { margin-top: 4px; font-size: 19px; font-weight: 800; color: var(--heading); }
.compare-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.5;
  word-break: keep-all;
}
.compare-row:first-of-type { margin-top: 10px; }
.compare-row dt { font-weight: 700; color: var(--heading); }
.compare-row dd { color: var(--ink); }

/* 성장 프로그램 보장 밴드 */
.band {
  background:
    radial-gradient(120% 80% at 90% 0%, rgba(109, 74, 255, 0.30) 0%, rgba(109, 74, 255, 0) 55%),
    linear-gradient(160deg, var(--navy-light), var(--navy) 55%, var(--navy-deep));
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 20px;
}
.band-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
.band-stat .n { font-size: 26px; font-weight: 800; color: var(--accent-soft); letter-spacing: -0.02em; }
.band-stat .t { margin-top: 4px; font-size: 13.5px; font-weight: 700; }
.band-stat .s { margin-top: 2px; font-size: 11.5px; color: rgba(255, 255, 255, 0.68); word-break: keep-all; }

/* ===================================================================
   15가지 서비스 (교육 · 제작 · 운영 · 연결)
   =================================================================== */
.svc-groups { display: grid; gap: 12px; }
.svc-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-card);
}
.svc-group .cat-en { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--accent); }
.svc-group h3 { margin-top: 3px; font-size: 16px; font-weight: 800; color: var(--heading); }
.svc-group ul { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-group li {
  list-style: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  color: var(--ink);
}

/* ===================================================================
   패키지 가격표 (가로 스와이프)
   =================================================================== */
.pkg-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gap) * -1);
  padding: 4px var(--gap) 14px;
  scrollbar-width: none;
}
.pkg-scroller::-webkit-scrollbar { display: none; }
.pkg-card {
  flex: 0 0 230px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pkg-head { background: var(--navy); color: #fff; padding: 16px; text-align: center; }
.pkg-card.is-highlight .pkg-head { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #fff; }
.pkg-name { font-size: 13px; font-weight: 700; opacity: 0.92; }
.pkg-price { margin-top: 4px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.pkg-body { padding: 4px 14px 14px; }
.pkg-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.pkg-row:first-child { border-top: none; }
.pkg-f { color: var(--gray); }
.pkg-row .ok { color: var(--heading); font-weight: 800; }
.pkg-row .no { color: #cbd0da; }
.pkg-row .val { font-weight: 700; color: var(--ink); }
.pkg-note { margin-top: 14px; font-size: 12px; color: var(--gray); line-height: 1.6; word-break: keep-all; }

/* ===================================================================
   FAQ (AEO)
   =================================================================== */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  word-break: keep-all;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--gray); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 16px 16px; font-size: 14px; line-height: 1.7; color: var(--ink); word-break: keep-all; }

/* ===================================================================
   사례 페이지 — 그리드 + 광고 레퍼런스
   =================================================================== */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.case-grid .case-card { flex: initial; max-width: none; padding: 18px 16px; }
.case-grid .case-card .metric { font-size: 23px; margin-top: 12px; }

.ads-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ad-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ad-brand { font-size: 14px; font-weight: 700; color: var(--heading); word-break: keep-all; }
.ad-views { font-size: 12.5px; color: var(--gray); font-variant-numeric: tabular-nums; }

@media (min-width: 768px) {
  .compare { grid-template-columns: repeat(2, 1fr); }
  .band-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-groups { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .ads-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===================================================================
   사업자 정보 푸터 (전 페이지 공통)
   =================================================================== */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
}
/* 푸터 상단 사이트 메뉴 (햄버거를 못 찾는 사용자용 보조 내비) */
.site-footer .foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.site-footer .foot-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
}
.site-footer .foot-nav a:hover { color: var(--accent); }
.site-footer .foot-brand { font-size: 14px; font-weight: 800; color: var(--heading); }
.site-footer .foot-info {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 12.5px;
  color: var(--gray);
}
.site-footer .foot-info a { color: var(--gray); }
.site-footer .foot-links {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
}
.site-footer .foot-links a { color: var(--heading); font-weight: 700; }
.site-footer .foot-copy { color: var(--gray); margin-left: auto; font-weight: 500; }

/* ===================================================================
   상담 신청 폼 (contact.html)
   =================================================================== */
.form-wrap { max-width: 560px; margin: 0 auto; }
.form-lead { color: var(--gray); font-size: 14px; line-height: 1.7; margin-bottom: 26px; word-break: keep-all; }
.inquiry-form { display: flex; flex-direction: column; gap: 18px; position: relative; }
.inquiry-form .field { display: flex; flex-direction: column; gap: 7px; }
.inquiry-form label { font-size: 13.5px; font-weight: 700; color: var(--heading); }
.inquiry-form label .req { color: #e4572e; margin-left: 3px; }
.inquiry-form label .opt { color: var(--gray); font-weight: 600; font-size: 12px; margin-left: 4px; }
.inquiry-form input[type="text"],
.inquiry-form input[type="tel"],
.inquiry-form input[type="email"],
.inquiry-form input[type="url"],
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;               /* iOS 포커스 자동 확대 방지(16px 이상) */
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}
.inquiry-form textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder { color: var(--gray); opacity: 0.8; }
/* 셀렉트 커스텀 화살표 */
.inquiry-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.inquiry-form :is(input, select, textarea):focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.14);
}
:root[data-theme="dark"] .inquiry-form :is(input, select, textarea):focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(143, 115, 255, 0.22);
}
/* 두 칸 묶음(데스크톱에서 2열) */
.inquiry-form .grid2 { display: grid; grid-template-columns: 1fr; gap: 18px; }
/* 개인정보 동의 */
.inquiry-form .consent { flex-direction: row; align-items: flex-start; gap: 10px; }
.inquiry-form .consent input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.inquiry-form .consent label { font-weight: 600; color: var(--ink); font-size: 13px; line-height: 1.6; }
.inquiry-form .consent a { color: var(--heading); text-decoration: underline; }
/* 허니팟(스팸 방지) — 화면에서 숨김. left:-9999px 대신 clip으로 레이아웃 영향 제거 */
.inquiry-form .hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
}
.inquiry-form button[type="submit"] { width: 100%; margin-top: 6px; }
.inquiry-form button[type="submit"][disabled] { opacity: 0.6; cursor: progress; }
/* 제출 결과 안내 */
.form-status {
  display: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  padding: 13px 15px;
  border-radius: 12px;
  word-break: keep-all;
}
.form-status.is-ok { display: block; background: #e7f6ec; color: #176b36; border: 1px solid #b7e2c6; }
.form-status.is-error { display: block; background: #fdecea; color: #b3261e; border: 1px solid #f5c6c0; }
:root[data-theme="dark"] .form-status.is-ok { background: #15321f; color: #86e0a4; border-color: #1f5733; }
:root[data-theme="dark"] .form-status.is-error { background: #3a1d1b; color: #f3a79e; border-color: #6b2b26; }
@media (min-width: 768px) {
  .inquiry-form .grid2 { grid-template-columns: 1fr 1fr; }
}

/* ===================================================================
   법적 문서 (개인정보처리방침 등)
   =================================================================== */
.legal { font-size: 14.5px; line-height: 1.8; color: var(--ink); }
.legal .meta { color: var(--gray); font-size: 13px; margin-bottom: 8px; }
.legal h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--heading);
  margin: 30px 0 10px;
  word-break: keep-all;
}
.legal h2:first-of-type { margin-top: 8px; }
.legal p { margin: 8px 0; word-break: keep-all; }
.legal ul { margin: 8px 0 8px 18px; }
.legal li { margin: 5px 0; word-break: keep-all; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 13px;
}
.legal th, .legal td {
  border: 1px solid var(--line);
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
  word-break: keep-all;
}
.legal th { background: var(--bg-soft); color: var(--heading); font-weight: 700; }

/* ---------- 등장 애니메이션 ----------
   JS가 켜져 있을 때(html.js)만 숨겼다가 나타나게 한다.
   JS가 없거나 느릴 때도 콘텐츠는 항상 보이도록(접근성·SEO) 함. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* 등장이 끝나면 합성 레이어 해제 */
.js .reveal.is-in { will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   에디토리얼 폴리시 (dmil.kr 참고) — 넓은 여백 · 큰 제목 · 세리프 헤드
   라이트 톤 전환에 맞춘 공통 리듬 보강. 토큰 기반, 하드코딩 없음.
   =================================================================== */
/* 섹션 머리말 — eyebrow(세리프) 아래 제목을 살짝 띄우고 자간 정리 */
.section__head h2,
.stats__head h2 { margin-top: 12px; }
.section__head .eyebrow + h2,
.stats__head .eyebrow + h2 { margin-top: 14px; }

/* 데스크톱에서 여백을 더 넉넉히 + 제목을 키워 매거진 느낌 */
@media (min-width: 768px) {
  .section { padding-top: 76px; padding-bottom: 76px; }
  .stats { padding-top: 76px; padding-bottom: 76px; }
  .section__head { margin-bottom: 34px; }
  .section__head h2 { font-size: 30px; line-height: 1.3; }
  .stats__head h2 { font-size: 28px; }
  .contact .wrap { padding-top: 84px; padding-bottom: 84px; }
}

/* 섹션 머리말 가운데 정렬일 때 eyebrow도 가운데로(브랜드/숫자 섹션) */
.section__head[style*="center"] .eyebrow,
.stats__head .eyebrow { display: inline-block; }

