/* 안전망 — Custom Fonts 플러그인 미로드/비활성 시에도 폰트 보장(과거 미적용 사고 재발 방지, 2026-08-04 대표 지시) */
@font-face {
  font-family: 'Pretendard';
  src: url('/wp-content/uploads/2024/01/Pretendard-Thin-1.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/wp-content/uploads/2024/01/Pretendard-ExtraLight-1.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/wp-content/uploads/2024/01/Pretendard-Light-3.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/wp-content/uploads/2024/01/Pretendard-Regular-1.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/wp-content/uploads/2024/01/Pretendard-Medium-1.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/wp-content/uploads/2024/01/Pretendard-SemiBold-1.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/wp-content/uploads/2024/01/Pretendard-Bold-1.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* 800 (2026-11-17): there was no 800 face anywhere (this file, pretendard-jaem.min.css, the critical inline CSS),
   so font-weight:800 headings were drawn with Black (900) and came out wider than the draft (which uses the variable
   font, 45-920). The ExtraBold file already sits in the media library (uploads/2024/01, also on jaem.io). */
@font-face {
  font-family: 'Pretendard';
  src: url('/wp-content/uploads/2024/01/Pretendard-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/wp-content/uploads/2024/01/Pretendard-Black-1.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* jaem.io 공용 베이스 CSS — kit(post ID 39, "기본 키트") 실측값 기반.
   배포 방식: WordPress Customize > Additional CSS 에 이 파일 전체를 1회 배포.
   페이지별 Custom HTML 블록 안에는 이 파일의 규칙을 반복하지 않는다.

   출처 메모:
   - 로컬 덤프(.tmp/elementor-dump/39-*.json)의 _elementor_data 는 빈 배열([])이었다.
     kit 의 실제 전역 설정은 SSH 경유 SELECT 로 postmeta(post_id=39, _elementor_page_settings)
     에서 별도 실측했다(.tmp/elementor-dump/39-kit-page-settings.raw.txt, 읽기 전용, 쓰기 없음).
   - kit 의 system_colors(#6EC1E4/#54595F/#7A7A7A/#61CE70)는 Elementor "Hello" 기본 키트의
     미변경 디폴트 값이다(custom_colors 는 빈 배열 — 브랜드 컬러를 kit 레벨에 등록한 적이 없다).
     실제 사이트 전역에서 반복 사용되는 브랜드 퍼플은 kit이 아니라 헤더(12635)·팝업 5종
     (12436/12654/13095/13177/18442) 전체에서 반복 관측된 #9100DD/#BA38FF이며, 아래 --jm-primary/
     --jm-secondary 는 이 실측을 근거로 삼는다(주석에 위젯별 근거 표기).
   - --jm-text(#7A7A7A)만 kit system_colors[2]("Text") 값을 그대로 채택했다(사이트 전역에서
     쓰인 유일한 kit 커스텀 값이기 때문).
   - kit 은 container max-width, 버튼 스타일(글꼴/라운드/패딩)을 전혀 정의하지 않는다(필드 없음).
     --jm-max 는 헤더 12635 의 두 하위 컨테이너가 공통으로 쓴 boxed_width:1200px 을 근거로 채택.
   - kit system_typography 의 secondary("Noto Serif KR")는 자체 호스팅 확인 안 됨(SSH grep 결과
     Pretendard 만 /wp-content/uploads/2024/01/*.woff2 로 자체 호스팅, Noto Serif KR 관련 파일
     없음 — Google Fonts CDN 로드로 추정) + 실제 위젯에서 전혀 쓰이지 않아 웹폰트 금지 규칙상
     토큰화하지 않았다. Pretendard 만 사용한다. */

.jm {
  --jm-primary: #9100DD;      /* 헤더 CTA/네비 hover(12635 d4fcfa9,3652c60) + 팝업 5종 공통 배경 */
  --jm-secondary: #BA38FF;    /* 팝업 CTA 강조색(12436 3c6a0217, 13177 cd2ca6b background_color) */
  --jm-ink: #1E2132;          /* BuddyBoss header_links 실측값(서브 브랜드 헤딩/본문 잉크로 재사용) */
  --jm-text: #7A7A7A;         /* kit custom system_colors[2] "Text" */
  --jm-white: #FFFFFF;
  --jm-g100: #F8F8F8;
  --jm-g200: #F2F4F5;         /* BuddyBoss header_alternate_background 실측값 */
  --jm-g300: #EEEEEE;
  --jm-g400: #E7E9EC;         /* 헤더 컨테이너(12635 61b95dc) border_color 실측값 */
  --jm-max: 1200px;           /* 헤더(12635) 하위 컨테이너 boxed_width 공통값 — kit 자체는 미정의 */
  --jm-radius: 8px;           /* 사이트 전반 단일 라운드 토큰 없음(0~30px 혼재: waitlist 버튼 0,
                                 topik 팝업 카드 18, intensive 팝업 CTA 30) — 공용 컴포넌트 기본값으로 채택 */
  --jm-font: Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif; /* kit system_typography primary/text, 자체 호스팅 확인(우loads/2024/01/*.woff2) */
  color: var(--jm-text);
  font-family: var(--jm-font);
  word-break: keep-all;
  overflow-wrap: break-word;
  background: var(--jm-white);
}

.jm *,
.jm *::before,
.jm *::after {
  box-sizing: border-box;
  /* 2026-08-05 재발 확인: font-family는 상속 속성이라 .jm 자체엔 지정돼 있어도, 테마
     (BuddyBoss)가 h1~h6에 직접 font-family를 거는 순간 상속보다 그 규칙이 이긴다
     (상속 vs 명시 선언은 명시도 비교 대상이 아니라 명시 선언이 항상 이김) — .jm h1/h2/h3에
     font-family를 안 주고 상속만 믿었던 게 원인. 전 요소에 명시 + !important로 봉인. */
  font-family: var(--jm-font) !important;
}

.jm section {
  position: relative;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 4vw, 40px);
}

.jm a,
.jm a:hover,
.jm a:focus,
.jm a:visited {
  text-decoration: none !important;
}

.jm .jm-wrap {
  width: min(100%, var(--jm-max));
  margin: 0 auto;
}

.jm .jm-dark {
  background: var(--jm-ink);
  color: rgba(255, 255, 255, 0.78);
}

.jm .jm-light {
  background: var(--jm-white);
}

.jm .jm-muted {
  background: var(--jm-g100);
}

.jm h1,
.jm h2,
.jm h3,
.jm p,
.jm ul,
.jm ol {
  margin: 0;
}

.jm h1,
.jm h2,
.jm h3 {
  color: var(--jm-ink);
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 800;
  text-wrap: balance;
}

.jm h2 {
  font-size: clamp(21px, 2.5vw, 32px);
}

.jm .jm-dark h1,
.jm .jm-dark h2,
.jm .jm-dark h3 {
  color: var(--jm-white);
}

.jm p,
.jm li {
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.76;
  text-wrap: pretty;
}

.jm a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.jm .jm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--jm-primary);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.jm .jm-dark .jm-eyebrow {
  color: var(--jm-white);
}

.jm .jm-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--jm-primary);
}

.jm .jm-title {
  max-width: 860px;
  font-size: clamp(21px, 2.5vw, 32px);
}

.jm .jm-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
  margin-bottom: clamp(38px, 6vw, 72px);
}

.jm .jm-section-head h2 {
  font-size: clamp(21px, 2.5vw, 32px);
}

.jm .jm-section-head p {
  color: var(--jm-text);
}

.jm .jm-dark .jm-section-head p {
  color: rgba(255, 255, 255, 0.72);
}

/* 버튼 — kit 은 버튼 스타일을 정의하지 않는다. 헤더 "Contact JAEM"(12635 d4fcfa9)
   background:#9100DD / hover:#D483FF, border_radius 미설정(Elementor 클래식 버튼 기본값 3px) 를
   실측 기준으로 삼되, 공용 컴포넌트 라운드는 --jm-radius(8px)로 통일한다. */
.jm .jm-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--jm-primary);
  border-radius: var(--jm-radius);
  background: var(--jm-primary);
  color: var(--jm-white);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.jm .jm-button:hover,
.jm .jm-button:focus-visible {
  background: var(--jm-secondary);
  border-color: var(--jm-secondary);
  transform: translateY(-1px);
}

.jm .jm-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.jm .jm-answer {
  max-width: 760px;
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--jm-primary);
  color: var(--jm-white);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  line-height: 1.7;
  text-wrap: balance;
}

.jm .jm-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
  color: var(--jm-secondary);
  font-weight: 900;
  text-decoration: none;
}

.jm .jm-text-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.jm .jm-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 16px);
}

.jm .jm-photo-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

/* FAQ 아코디언 — 페이지 180 faq(accordion x2) 재현용 공용 컴포넌트.
   <details>/<summary> 네이티브 토글, JS 불필요. */
.jm .jm-faq-list {
  display: grid;
  gap: 12px;
}

.jm details {
  border: 1px solid var(--jm-g300);
  background: var(--jm-white);
}

.jm summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: var(--jm-ink);
  cursor: pointer;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.45;
  font-weight: 850;
  list-style: none;
}

.jm summary::-webkit-details-marker {
  display: none;
}

.jm summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-right: 2px solid var(--jm-primary);
  border-bottom: 2px solid var(--jm-primary);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.jm details[open] summary::after {
  transform: rotate(225deg);
}

.jm .jm-faq-answer {
  padding: 0 22px 22px;
}

.jm .jm-faq-answer p {
  max-width: 860px;
}

/* 폼 래퍼 — FluentForm 숏코드를 감싸는 공용 스타일(BUILD-GUIDE 4항 `.jm-form` 규약) */
.jm .jm-form {
  width: min(100%, 560px);
  margin: 38px auto 0;
  text-align: left;
}

.jm .jm-form .frm-fluent-form {
  color: rgba(255, 255, 255, 0.88);
}

.jm .jm-form .ff-el-group {
  margin-bottom: 18px;
}

.jm .jm-form .ff-el-input--label,
.jm .jm-form .ff-el-input--label label {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.jm .jm-form .ff-el-is-required,
.jm .jm-form .ff-el-input--label .ff-el-is-required {
  color: #FF6B6B !important;
}

.jm .jm-form .ff-el-form-control {
  width: 100% !important;
  min-height: 48px;
  padding: 13px 15px !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  border-radius: var(--jm-radius) !important;
  background: var(--jm-white) !important;
  color: var(--jm-ink) !important;
  font-family: var(--jm-font);
  font-size: 16px !important;
  line-height: 1.5;
  box-shadow: none !important;
}

.jm .jm-form textarea.ff-el-form-control {
  min-height: 132px;
  resize: vertical;
}

.jm .jm-form .ff-el-form-control::placeholder {
  color: #777777;
  opacity: 1;
}

.jm .jm-form .ff-el-form-control:focus {
  border-color: var(--jm-primary) !important;
  outline: 3px solid rgba(145, 0, 221, 0.42) !important;
  outline-offset: 2px;
}

.jm .jm-form .ff-el-form-check {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.6;
}

.jm .jm-form .ff-el-form-check input {
  min-width: 18px;
  min-height: 18px;
  accent-color: var(--jm-primary);
}

.jm .jm-form .ff-btn-submit {
  width: auto;
  min-height: 48px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 13px 22px !important;
  border: 1px solid var(--jm-primary) !important;
  border-radius: var(--jm-radius) !important;
  background: var(--jm-primary) !important;
  color: var(--jm-white) !important;
  font-family: var(--jm-font);
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.jm .jm-form .ff-btn-submit:hover,
.jm .jm-form .ff-btn-submit:focus-visible {
  background: var(--jm-secondary) !important;
  border-color: var(--jm-secondary) !important;
  transform: translateY(-1px);
}

.jm .jm-form .ff-btn-submit:focus-visible,
.jm a:focus-visible {
  outline: 3px solid rgba(145, 0, 221, 0.52);
  outline-offset: 3px;
}

.jm .jm-form .ff-el-is-error .ff-el-form-control {
  border-color: #FF6B6B !important;
}

.jm .jm-form .error-text {
  color: #FF6B6B !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

/* 스크롤 애니메이션 — data-jm-anim(fade-in / fade-in-up / fade-in-scale) + 공용
   IntersectionObserver 스크립트가 .jm-anim 클래스를 부여하면 동작. */
.jm.jm-anim [data-jm-anim] {
  opacity: 0;
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--jm-d, 0ms);
}

.jm.jm-anim [data-jm-anim="fade-in-up"] {
  transform: translateY(20px);
}

.jm.jm-anim [data-jm-anim="fade-in-scale"] {
  transform: scale(0.97);
}

.jm.jm-anim [data-jm-anim].jm-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .jm.jm-anim [data-jm-anim] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .jm .jm-button,
  .jm .jm-form .ff-btn-submit,
  .jm summary::after {
    transition: none;
  }
}

@media (max-width: 980px) {
  .jm .jm-section-head {
    grid-template-columns: 1fr;
  }

  .jm .jm-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jm section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .jm .jm-form .ff-btn-submit {
    width: 100%;
  }

  .jm .jm-photo-grid {
    grid-template-columns: 1fr;
  }
}
