/* 11/10 속도: 안 쓰던 SUIT 글꼴 선언(같은 굵은 글꼴을 두 번 받게 하던 것) 뺌 — 사이트 글꼴은 Pretendard(tokens.css) */
/* 11/08 대표: 로고 Aednoa 는 모든 화면에서 채팅방 위 로고 모양(SUIT 아주 굵게)으로 통일 */
html .ad-head__brand, html .m-brand, html .rc__brand { font-family: var(--font-brand-sans); font-weight: 800; letter-spacing: -0.01em; }
html .ad-head__brand { font-size: 1.125rem; }
html .ad-foot__name { font-family: var(--font-brand-sans); font-weight: 800; letter-spacing: -0.03em; }
/* SUIT 는 명조보다 글자가 넓어 보여서 제목 글자 사이를 살짝 좁힘 */
h1, h2, h3, .ad-title, .ad-band__title { letter-spacing: -0.02em; }
/* FIX38 공통 CSS(서버가 둔다, 고치지 않는다). tokens.css 다음에 불러온다: <link rel="stylesheet" href="styles/base.css">
   글꼴: 시스템 글꼴(라이선스를 확인한 글꼴 파일이 없음) */
/* FIX42 디자인 v2 글꼴(한글 2,350자 woff2, SIL OFL 1.1). tokens.css가 --font-brand-sans·--font-heading을 정하면 그것을 쓴다 */
@font-face {
  font-family: 'Noto Serif KR Sub';
  src: url('../assets/fonts/NotoSerifKR-VF.subset.woff2') format('woff2');
  font-weight: 200 900;
  font-display: block; /* 11/06 대표: 글꼴이 늦게 바뀌어 보이던 것 — 미리 받기(preload)와 함께 처음부터 이 글꼴로 */
}

@font-face {
  font-family: 'Pretendard';
  src: url('../assets/fonts/Pretendard-Regular.subset.woff2') format('woff2');
  font-weight: 400;
  font-display: block; /* 11/06 대표: 글꼴이 늦게 바뀌어 보이던 것 — 미리 받기(preload)와 함께 처음부터 이 글꼴로 */
}

@font-face {
  font-family: 'Pretendard';
  src: url('../assets/fonts/Pretendard-SemiBold.subset.woff2') format('woff2');
  font-weight: 600;
  font-display: block; /* 11/06 대표: 글꼴이 늦게 바뀌어 보이던 것 — 미리 받기(preload)와 함께 처음부터 이 글꼴로 */
}

@font-face {
  font-family: 'Pretendard';
  src: url('../assets/fonts/Pretendard-Bold.subset.woff2') format('woff2');
  font-weight: 700;
  font-display: block; /* 11/06 대표: 글꼴이 늦게 바뀌어 보이던 것 — 미리 받기(preload)와 함께 처음부터 이 글꼴로 */
}

:root {
  --font-sans: var(--font-brand-sans, 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif);
  --section-pad-x: 16px;
  --tap-min: 44px;
}
body { font-family: var(--font-sans); }
/* 제목 글꼴: tokens.css의 --font-heading(v2 = 명조). 없으면 본문과 같게 */
:where(h1, h2, h3, h4) { font-family: var(--font-heading, inherit); }

/* 제목·버튼·짧은 글은 낱말 중간에서 끊지 않는다(휴대폰 "만나보/세요" 방지) */
:where(h1, h2, h3, h4, h5, h6, button, .btn, label, nav, .keep) { word-break: keep-all; overflow-wrap: break-word; }
:where(p, li) { word-break: keep-all; overflow-wrap: anywhere; }

/* 휴대폰: 섹션 좌우 여백 최소 16px(글자가 화면 끝에 붙지 않게) */
@media (max-width: 767px) {
  :where(header, main > section, section, footer, nav) {
    padding-left: max(var(--section-pad-x), env(safe-area-inset-left));
    padding-right: max(var(--section-pad-x), env(safe-area-inset-right));
  }
}

/* 누르는 곳 44px 이상 */
:where(button, .btn, a.btn, [role="button"], input[type="submit"]) { min-height: var(--tap-min); }

/* 확정 전 안내: 사이트 전체에 맨 위 한 줄만(본문 배지 대신) */
.site-notice {
  margin: 0;
  padding: 6px 16px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: var(--color-notice-text, #36363a);
  background: var(--color-notice-bg, #ebeeee);
}

/* 영상 썸네일 틀: 16:9, 재생 표시, 업종·길이 글자, '예시' 작은 표시. 실제 파일(assets/samples/)이 있으면 <img>를 안에 넣는다 */
.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius, 12px);
  background: linear-gradient(160deg, var(--thumb-from, #2b3036), var(--thumb-to, #50585f));
  color: #fff;
}
.video-thumb > img, .video-thumb > video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.video-thumb:hover > img, .video-thumb:focus-visible > img { transform: scale(1.03); }
.video-thumb__play {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  transition: transform .2s cubic-bezier(.16, 1, .3, 1);
}
.video-thumb__play::before {
  content: ''; position: absolute; left: 21px; top: 16px;
  border-left: 16px solid #1b1d20; border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.video-thumb:hover .video-thumb__play { transform: scale(1.08); }
.video-thumb__meta { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.video-thumb__tag { position: absolute; right: 10px; top: 10px; padding: 2px 6px; border-radius: 4px; font-size: 11px; background: rgba(0, 0, 0, .5); color: #fff; }

/* 들어올 때 살짝 나타남(transform·opacity만). 차례: style="--i: 1" */
@keyframes zett-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reveal { animation: zett-reveal .5s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 80ms); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 11/08 대표: 모든 화면의 초록 '하기' 단추(의뢰하기·의뢰 올리기·결제하기·제안 보내기 등)는 커서를 올리거나 누를 때 테라코타로 */
.m-btn--primary, .ad-btn--primary, .pf-fc__ask, .pf-end__ask, .pf-cta, .h-guide__go, .nh-cta, .rec__card .m-btn--primary, .ns-sw + .m-btn--primary {
  transition: background .2s, background-color .2s, box-shadow .2s, transform .2s;
}
.m-btn--primary:not(:disabled):hover, .m-btn--primary:not(:disabled):active, .m-btn--primary:focus-visible,
.ad-btn--primary:hover, .ad-btn--primary:active, .ad-btn--primary:focus-visible,
.pf-fc__ask:hover, .pf-fc__ask:active, .pf-end__ask:hover, .pf-end__ask:active, .pf-cta:hover, .pf-cta:active,
.h-guide__go:hover, .h-guide__card:hover .h-guide__go, .nh-cta:hover, .nh-cta:active {
  background: linear-gradient(180deg, #279999, #208787) !important; color: #fff !important; box-shadow: 0 10px 22px -8px rgba(32, 135, 135,.55) !important;
}
.nh-cta:hover .nh-cta__go, .nh-cta:active .nh-cta__go { background: #f4fafa; color: #208787; }
.nh-cta:hover .nh-cta__ic { background: rgba(255,255,255,.2); }
.m-btn--primary:not(:disabled):active, .ad-btn--primary:active, .pf-cta:active, .pf-end__ask:active, .pf-fc__ask:active, .nh-cta:active { transform: translateY(1px) scale(.99); }
/* 11/08 점검: 휴대폰에서 숨은 목록·숨김 입력칸 때문에 화면이 옆으로 밀리지 않게(스크롤 영역은 만들지 않음) */
html, body { overflow-x: clip; }
