/*
 * LILT 모바일청첩장 폰트 — 전량 self-host (CDN 미사용).
 *
 * ★ 한글은 아래 3종만 쓴다. 상업적 이용 + 임베딩이 모두 허용된 서체만 남겼다.
 *     고운바탕(Gowun Batang) · 프리텐다드(Pretendard) · 조선굴림체(ChosunGu)
 *   다른 한글 서체(Noto Sans KR · 고운도담 · 나눔명조 · 송명 · 주아 · 도현 · 개구 · 나눔펜)는
 *   2026-08-27 에 전부 제거했다. 새로 추가하지 말 것.
 *   라틴/숫자 디스플레이 서체는 별개이며 그대로 쓴다.
 * woff2 실제 파일은 /assets/fonts/ 에 위치. latin/korean 서브셋을 unicode-range 로 분리해
 * 필요한 글리프만 내려받도록 한다. font-display:swap 으로 렌더 블로킹 방지.
 */

/* ── unicode-range 정의(참고용 주석) ──
   latin  : 기본 라틴 + 문장부호/기호
   korean : 한글 자모/음절 + 한중일 문장부호/전각기호
*/

/* ===== Cormorant Garamond (라틴 · 디스플레이/숫자) ===== */
@font-face{
  font-family:'Cormorant Garamond'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Cormorant Garamond'; font-style:normal; font-weight:500; font-display:swap;
  src:url('fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Cormorant Garamond'; font-style:normal; font-weight:600; font-display:swap;
  src:url('fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Cormorant Garamond'; font-style:italic; font-weight:400; font-display:swap;
  src:url('fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');
}


/* ===== Gowun Batang (본문) — latin 먼저, korean 뒤 ===== */
@font-face{
  font-family:'Gowun Batang'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/gowun-batang-latin-400-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Gowun Batang'; font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/gowun-batang-latin-700-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Gowun Batang'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/gowun-batang-korean-400-normal.woff2') format('woff2');
  unicode-range:U+1100-11FF,U+3001-3003,U+3008-3011,U+3013-3015,U+301C,U+3131-318E,U+3200-321E,U+3260-327E,U+A960-A97C,U+AC00-D7A3,U+D7B0-D7FB,U+FF01-FF60,U+FFE0-FFE6;
}
@font-face{
  font-family:'Gowun Batang'; font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/gowun-batang-korean-700-normal.woff2') format('woff2');
  unicode-range:U+1100-11FF,U+3001-3003,U+3008-3011,U+3013-3015,U+301C,U+3131-318E,U+3200-321E,U+3260-327E,U+A960-A97C,U+AC00-D7A3,U+D7B0-D7FB,U+FF01-FF60,U+FFE0-FFE6;
}

/* Pinyon Script — 히어로 필기체(빈티지 인그레이빙) */
@font-face{ font-family:'Pinyon Script'; font-weight:400; font-style:normal; font-display:swap;
  src:url('fonts/pinyon-script-latin-400-normal.woff2') format('woff2'); }

/* ===== 추가 고객 선택형 한글 폰트 (모두 OFL·무료 상업이용) ===== */

/* ===== ref1_5 히어로 폰트 ===== */

/* ===== Bodoni Moda — 입력영역/라틴 고정 서체(latin subset, self-host) ===== */
/* 한글 선택 폰트와 무관하게 영문·숫자는 항상 이 서체로 렌더(스택 맨 앞 고정) */
@font-face{ font-family:'Bodoni Moda'; font-weight:400; font-style:normal; font-display:swap;
  src:url('fonts/bodoni-moda-latin-400-normal.woff2') format('woff2'); }
@font-face{ font-family:'Bodoni Moda'; font-weight:500; font-style:normal; font-display:swap;
  src:url('fonts/bodoni-moda-latin-500-normal.woff2') format('woff2'); }
@font-face{ font-family:'Bodoni Moda'; font-weight:600; font-style:normal; font-display:swap;
  src:url('fonts/bodoni-moda-latin-600-normal.woff2') format('woff2'); }
@font-face{ font-family:'Bodoni Moda'; font-weight:400; font-style:italic; font-display:swap;
  src:url('fonts/bodoni-moda-latin-400-italic.woff2') format('woff2'); }

/* ═══════════════════════════════════════════════════════════
   한글 3종 — 이 목록이 전부다 (상업적 이용 · 임베딩 허용)
   ═══════════════════════════════════════════════════════════ */

/* ===== Pretendard (고딕) — 본문·UI. 라틴 글리프 품질이 좋아 라틴도 함께 받는다 ===== */
@font-face{
  font-family:'Pretendard'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/pretendard-korean-400-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Pretendard'; font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/pretendard-korean-700-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Pretendard'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/pretendard-korean-400-normal.woff2') format('woff2');
  unicode-range:U+1100-11FF,U+3001-3003,U+3008-3011,U+3013-3015,U+301C,U+3131-318E,U+3200-321E,U+3260-327E,U+A960-A97C,U+AC00-D7A3,U+D7B0-D7FB,U+FF01-FF60,U+FFE0-FFE6;
}
@font-face{
  font-family:'Pretendard'; font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/pretendard-korean-700-normal.woff2') format('woff2');
  unicode-range:U+1100-11FF,U+3001-3003,U+3008-3011,U+3013-3015,U+301C,U+3131-318E,U+3200-321E,U+3260-327E,U+A960-A97C,U+AC00-D7A3,U+D7B0-D7FB,U+FF01-FF60,U+FFE0-FFE6;
}

/* ===== 조선굴림체(ChosunGu) — 굴림 계열. Hahmlet 을 대신한다(2026-08-31 교체).
   ⚠ 원본 TTF 는 4.97MB 다(한자 4,620 자가 절반을 차지한다). 청첩장은 모바일에서 열리는
     화면이라 그대로 쓰면 글자가 늦게 자리를 잡는다 — 한자를 빼고 한글·라틴만 남겨
     woff2 로 변환해 271KB 로 줄였다(95% 감소). 서브셋 범위는 고운바탕·프리텐다드와 같다.
   ⚠ 굵기는 Regular 한 벌뿐이라 400 만 선언한다. 700 자리에 같은 파일을 다시 걸면
     굵기 차이가 통째로 사라지므로, 굵게 쓰는 자리는 브라우저 합성 볼드에 맡긴다.
   ⚠ 원본 TTF(fonts/ChosunGu.TTF)는 다시 변환할 일이 있을까 남겨 두었을 뿐, 서빙하지 않는다.

   ⚠ 서빙하는 파일은 글자를 세로로 93% 눌러 둔 것이다(-flat-, 2026-09-01 지시 — 원래 글꼴이
     가로로 길쭉해 보인다는 이유). CSS 로는 글자를 누를 방법이 없어(transform:scaleX/Y 는 인라인
     텍스트에서 레이아웃이 깨진다) 글리프 좌표를 눌러 woff2 를 다시 만들었다.
     · 글리프의 y 좌표·yMin/yMax 만 줄이고 ascent/descent/lineGap 은 그대로 두었다 —
       기준선과 줄 높이가 유지돼야 기존 화면이 흔들리지 않는다.
     · 이 파일 하나만 갈면 조선굴림체가 쓰이는 모든 화면(청첩장 6종 + 대시보드 선택 카드)에 함께 먹는다.
     · 되돌리거나 배율을 바꾸려면 아래 src 를 눌리지 않은 chosungu-korean-400-normal.woff2 로
       바꾸면 된다(원본은 지우지 않았다). ===== */
@font-face{
  font-family:'ChosunGu'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/chosungu-flat-korean-400-normal.woff2') format('woff2');
}
