/* =========================================================
   일승푸드 홈페이지 공통 디자인 (style.css)
   - 모든 쪽이 이 파일 하나를 함께 씁니다.
   - 쪽마다 필요한 것만 그 쪽 <style>에 더합니다.
   - 쓰는 법은 같은 폴더 「디자인 규칙.md」에 있습니다.
   - 26/11/16 흑백 명품 톤으로 바꿈: 검정·흰색·아주 옅은 아이보리, 가는 명조, 넓은 자간 영문 라벨, 1px 선.
     변수·클래스 이름은 그대로 두고 값만 바꿨습니다(예: --accent 는 이제 검정, --beige 는 아주 옅은 아이보리).
   ========================================================= */

/* ---------- 1. 색·글꼴·크기 (여기 숫자만 바꾸면 전체가 바뀝니다) ---------- */
:root {
  /* 바탕 */
  --paper: #ffffff;      /* 흰 배경 섹션 */
  --beige: #f7f5f0;      /* (이름만 beige) 아주 옅은 아이보리 섹션 */
  --beige-deep: #ecebe7; /* 사진 자리 바탕, 눌린 상태 */
  /* 글자 */
  --ink: #0b0b0b;        /* 검정: 제목·본문, 하단 전화 띠 배경 */
  --ink-2: #3b3b3b;      /* 본문 보조 */
  --muted: #747474;      /* 작은 설명·주석 */
  /* 선 */
  --line: #e4e4e4;
  --line-strong: #c4c4c4;
  /* 포인트 색은 검정 하나뿐 (틸·베이지 강조 쓰지 않음) */
  --accent: #0b0b0b;
  --accent-deep: #000000;
  /* 어두운 띠(하단 전화 띠) 위 글자 */
  --on-ink: #ffffff;
  --on-ink-muted: #a6a6a6;

  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --serif: "Noto Serif KR", "AppleMyungjo", "Nanum Myeongjo", serif;

  /* 라벨(영문 대문자) 자간 */
  --track: .28em;

  --wrap: 1200px;        /* 글 폭 */
  --gutter: 40px;        /* 좌우 여백 */
  --sec-y: 152px;        /* 섹션 위아래 여백 (넓게) */
  --header-h: 84px;
}
@media (max-width: 1024px) {
  :root { --gutter: 32px; --sec-y: 112px; --header-h: 68px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --sec-y: 84px; --header-h: 60px; --m-bar-h: 56px; }
}

/* ---------- 2. 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: -0.005em;
  word-break: keep-all;          /* 한국어 낱말 중간에서 줄이 끊기지 않게 */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { body { font-size: 16px; } }

/* ---------- 3. 틀: 폭·섹션 ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }
.sec { padding: var(--sec-y) 0; }
.sec--paper { background: var(--paper); }
.sec--beige { background: var(--beige); }
.sec--ink { background: var(--ink); color: var(--on-ink); }
.sec--tight { padding: calc(var(--sec-y) * .6) 0; }

/* 섹션 머리: 왼쪽 라벨+제목, 오른쪽 설명+버튼 */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px 80px;
  align-items: end;
  margin-bottom: 80px;
}
.sec-head__side { display: grid; gap: 28px; justify-items: start; }
.sec-head--stack { grid-template-columns: minmax(0, 1fr); align-items: start; }
.sec-head--stack .sec-head__side { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 64px; justify-items: stretch; }
.sec-head--stack .sec-head__side > :last-child { justify-self: end; }
@media (max-width: 900px) {
  .sec-head, .sec-head--stack .sec-head__side { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 52px; }
  .sec-head--stack .sec-head__side > :last-child { justify-self: start; }
}

/* ---------- 4. 글자 ---------- */
/* 라벨: 작은 영문 대문자, 자간 넓게, 검정 */
.eyebrow {
  display: inline-block;
  font: 500 11.5px/1.4 var(--sans);
  letter-spacing: var(--track); text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 30px;
}
.sec--ink .eyebrow, .cta-band .eyebrow { color: var(--on-ink-muted); }

/* 큰 명조 제목은 가는 굵기(300~400) */
.h-hero {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1.24; letter-spacing: -0.04em;
}
.sec-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.4; letter-spacing: -0.035em;
}
.h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(21px, 1.9vw, 26px);
  line-height: 1.5; letter-spacing: -0.025em;
}
.h4 { font-size: 18px; font-weight: 600; line-height: 1.5; letter-spacing: -0.015em; }
.lead { font-size: 17.5px; line-height: 1.9; color: var(--ink-2); max-width: 34em; }
.sec--ink .lead { color: var(--on-ink-muted); }
.small { font-size: 14px; color: var(--muted); }
.note { font-size: 13.5px; color: var(--muted); line-height: 1.75; }   /* ※ 부가세 같은 주석 */
.em { color: inherit; font-style: normal; }                            /* 강조는 색이 아니라 문장 자체로 */
.num { font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 640px) { .lead { font-size: 16.5px; } }

/* 본문 글 묶음 (긴 설명) */
.prose { color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose h3, .prose h4 { color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.5; margin-top: 2em; }
.prose h3 + p, .prose h4 + p { margin-top: .5em; }

/* ---------- 5. 버튼·링크 ---------- */
/* 버튼은 두 가지뿐: 검정 바탕 흰 글자 / 검정 테두리. 모서리 0, 그림자 없음 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 32px;
  font: 500 15px/1.2 var(--sans); letter-spacing: .02em;
  border: 1px solid transparent; border-radius: 0;
  transition: background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--call { background: var(--ink); border-color: var(--ink); color: #fff; }   /* 전화 버튼: 검정 바탕 */
.btn--call:hover { background: #fff; color: var(--ink); }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ink:hover { background: #fff; color: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line-light { border-color: rgba(255,255,255,.55); color: var(--on-ink); }
.btn--line-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn--call, .sec--ink .btn--call { background: #fff; border-color: #fff; color: var(--ink); }   /* 검정 띠 위에선 뒤집음 */
.cta-band .btn--call:hover, .sec--ink .btn--call:hover { background: transparent; color: #fff; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 480px) {
  .btn-row--fill .btn { flex: 1 1 100%; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 15px; letter-spacing: .01em;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
  transition: gap .25s, opacity .25s;
}
.link-arrow::after { content: "→"; font-weight: 300; }
.link-arrow:hover { gap: 18px; }

/* ---------- 6. 머리 (헤더) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { border-bottom-color: var(--line-strong); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: block; flex: none; }
.logo img { height: 32px; width: auto; }
.gnb { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.gnb__list { display: flex; align-items: center; gap: 30px; }
.gnb__item { position: relative; }
.gnb__link {
  display: flex; align-items: center; gap: 6px;
  height: var(--header-h);
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  transition: opacity .2s;
}
.gnb__link:hover, .gnb__item:focus-within > .gnb__link { opacity: .55; }
.gnb__link[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--ink); }
.gnb__caret { width: 9px; height: 9px; opacity: .5; transition: transform .2s; }
.gnb__item:hover .gnb__caret { transform: rotate(180deg); }
.gnb__sub {
  position: absolute; top: calc(100% - 14px); left: 50%;
  transform: translate(-50%, 6px);
  min-width: 188px; padding: 12px 0;
  background: #fff; border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.gnb__item:hover .gnb__sub, .gnb__item:focus-within .gnb__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb__sub a { display: block; padding: 11px 24px; font-size: 14.5px; white-space: nowrap; }
.gnb__sub a:hover { background: var(--beige); }
.header-call { gap: 12px; }
.header-call .num { font-family: var(--sans); font-weight: 500; letter-spacing: .02em; }
@media (max-width: 1320px) { .header-call .num { display: none; } }   /* 메뉴가 좁아지면 번호는 빼고 '거래 문의'만 */

/* 언어 바꾸기 단추: KO / EN / 中文 */
.lang { display: flex; align-items: center; flex: none; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; }
.lang a { padding: 6px 0; color: var(--muted); transition: color .2s; }
.lang a + a::before { content: "/"; margin: 0 9px; color: var(--line-strong); letter-spacing: 0; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { color: var(--ink); }
.lang--m { display: none; }

/* 휴대폰 메뉴 버튼 */
.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; position: relative; flex: none; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.nav-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* 휴대폰 메뉴 판 */
.m-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: #fff;
  padding: 12px var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.nav-open .m-nav { opacity: 1; visibility: visible; transform: none; }
.nav-open { overflow: hidden; }
.m-nav__list > li { border-bottom: 1px solid var(--line); }
.m-nav__link, .m-nav__sub-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 20px 0; font-family: var(--serif); font-size: 20px; font-weight: 400; letter-spacing: -0.02em; text-align: left;
}
.m-nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.m-nav__sub-toggle::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 24px; line-height: 1; color: var(--muted); }
.m-nav__item.is-open .m-nav__sub-toggle::after { content: "−"; }
.m-nav__sub { display: none; padding: 0 0 16px; }
.m-nav__item.is-open .m-nav__sub { display: block; }
.m-nav__sub a { display: block; padding: 10px 0 10px 16px; font-size: 16px; color: var(--ink-2); border-left: 1px solid var(--line-strong); }
.m-nav__call { margin-top: 32px; width: 100%; }
.m-nav__meta { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

@media (max-width: 1024px) {
  .gnb { display: none; }
  .menu-toggle { display: block; }
  .logo img { height: 26px; }
  .lang { margin-left: auto; font-size: 11px; letter-spacing: .1em; }
  .lang a + a::before { margin: 0 7px; }
}
@media (min-width: 1025px) { .m-nav { display: none; } }

/* ---------- 7. 쪽 첫머리 (메인을 뺀 다른 쪽) ---------- */
.page-hero { padding: clamp(80px, 10vw, 144px) 0 clamp(52px, 6vw, 88px); }
.page-hero__crumb { font-size: 11.5px; letter-spacing: .14em; color: var(--muted); margin-bottom: 22px; }
.page-hero__crumb a:hover { color: var(--ink); }
.page-hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(31px, 4.2vw, 58px); line-height: 1.3; letter-spacing: -0.04em; max-width: 18em; }
.page-hero__lead { margin-top: 30px; font-size: 17.5px; line-height: 1.9; color: var(--ink-2); max-width: 40em; }
.page-hero .btn-row { margin-top: 44px; }
.page-hero__media { margin-top: clamp(52px, 6vw, 96px); }
@media (max-width: 640px) { .page-hero__lead { font-size: 16.5px; } }

/* ---------- 8. 사진 틀 ---------- */
.media { position: relative; overflow: hidden; background: var(--beige-deep); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--fill img { position: absolute; inset: 0; }
.r-1x1 { aspect-ratio: 1 / 1; }
.r-4x3 { aspect-ratio: 4 / 3; }
.r-3x2 { aspect-ratio: 3 / 2; }
.r-4x5 { aspect-ratio: 4 / 5; }
.r-16x9 { aspect-ratio: 16 / 9; }
.r-21x9 { aspect-ratio: 21 / 9; }
.media--small { max-width: 420px; }      /* '촬영필요' 임시 사진은 이 크기를 넘기지 않기 */
.media__cap { margin-top: 14px; font-size: 13px; letter-spacing: .02em; color: var(--muted); }

/* 글과 사진 나란히 */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 104px; align-items: center; }
.split--top { align-items: start; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- 9. 숫자 띠 (신뢰 지표) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 8px 32px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat__value { font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 2.2vw, 31px); line-height: 1.3; letter-spacing: -0.035em; }
.stat__desc { margin-top: 14px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .stat { padding: 4px 0 4px 18px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat__desc { font-size: 13.5px; }
}

/* ---------- 10. 질문형 블록 (서비스·창업교육 쪽의 ①②③…) ---------- */
.qa {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 32px 88px;
  padding: 96px 0; border-top: 1px solid var(--line);
}
.qa:first-of-type { border-top-color: var(--ink); }
.qa__num { display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 500; color: var(--ink); margin-bottom: 18px; letter-spacing: var(--track); }
.qa__title { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.1vw, 29px); line-height: 1.5; letter-spacing: -0.03em; }
.qa__answer { font-size: 19px; font-weight: 600; line-height: 1.7; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 24px; }
.qa__body > * + * { margin-top: 28px; }
@media (max-width: 900px) {
  .qa { grid-template-columns: minmax(0, 1fr); padding: 68px 0; gap: 24px; }
  .qa__answer { font-size: 17.5px; }
}

/* 순서 (1. 2. 3.) */
.steps { counter-reset: step; border-top: 1px solid var(--line); }
.steps > li {
  counter-increment: step;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.steps > li::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); color: var(--muted); font-size: 14px; padding-top: 2px; }

/* 성장 단계 줄 (01 → 02 → 03 → 04) */
.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line-strong); }
.rail__step { position: relative; padding-top: 32px; padding-right: 16px; }
.rail__step::before { content: ""; position: absolute; top: 0; left: 0; width: 9px; height: 9px; background: var(--ink); }
.rail__num { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: var(--track); }
.rail__label { display: block; margin-top: 8px; font-family: var(--serif); font-size: 19px; font-weight: 400; letter-spacing: -0.025em; }
@media (max-width: 640px) {
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .rail::before { display: none; }
  .rail__step { padding-top: 0; padding-left: 24px; }
  .rail__step::before { top: 8px; width: 7px; height: 7px; }
  .rail__label { font-size: 17px; }
}

/* ---------- 11. 표 ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--ink); }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.65; }
.table--wide { min-width: 640px; }    /* 칸이 4개 넘는 표: 휴대폰에선 표 안에서만 옆으로 밀림 */
.table th, .table td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table th:first-child, .table td:first-child { padding-left: 0; }
.table thead th { font-size: 11.5px; font-weight: 500; letter-spacing: .12em; color: var(--muted); border-bottom-color: var(--line-strong); white-space: nowrap; }
.table tbody th { font-weight: 600; color: var(--ink); }
.table .price { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 500; }
.table .is-hl td, .table .is-hl th { background: var(--beige); }
.table-note { margin-top: 14px; }
@media (max-width: 640px) {
  .table { font-size: 14.5px; }
  .table th, .table td { padding: 14px 10px; }
  .table tbody th { min-width: 5.5em; }
  .table .price { white-space: normal; }
}

/* ---------- 12. 자주 묻는 질문 ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 12px; align-items: start;
  padding: 28px 0; font-size: 17.5px; font-weight: 500; letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: 18px; line-height: 1.6; }
.faq-item summary::after { content: "+"; font-weight: 300; font-size: 24px; line-height: 1.1; color: var(--muted); text-align: right; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { opacity: .6; }
.faq-a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 12px; padding: 0 0 32px; color: var(--ink-2); }
.faq-a::before { content: "A"; font-family: var(--serif); color: var(--muted); font-size: 18px; line-height: 1.6; }
@media (max-width: 640px) {
  .faq-item summary { font-size: 16.5px; grid-template-columns: 28px minmax(0, 1fr) 20px; padding: 22px 0; }
  .faq-a { grid-template-columns: 28px minmax(0, 1fr) 20px; }
}

/* ---------- 13. 하단 전화 띠 ---------- */
.cta-band { background: var(--ink); color: var(--on-ink); padding: clamp(96px, 11vw, 152px) 0; }
.cta-band__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px 96px; align-items: end; }
.cta-band__title { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.9vw, 40px); line-height: 1.5; letter-spacing: -0.035em; }
.cta-band__sub { margin-top: 20px; font-size: 15px; color: var(--on-ink-muted); }
.cta-band__phone { display: inline-block; font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.1; letter-spacing: -0.01em; }
.cta-band__phone:hover { opacity: .7; }
.cta-band__hours { margin-top: 14px; font-size: 14px; letter-spacing: .02em; color: var(--on-ink-muted); }
.cta-band__topics { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); font-size: 14.5px; color: var(--on-ink-muted); }
.cta-band__topics ul { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 10px; color: var(--on-ink); }
.cta-band__topics li { padding-right: 18px; margin-right: 18px; border-right: 1px solid rgba(255,255,255,.25); }
.cta-band__topics li:last-child { border-right: 0; }
.cta-band .btn-row { margin-top: 34px; }
@media (max-width: 900px) { .cta-band__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .cta-band__topics ul { flex-direction: column; gap: 6px; }
  .cta-band__topics li { border: 0; padding: 0; margin: 0; }
  .cta-band__topics li::before { content: "· "; color: var(--on-ink-muted); }
}

/* ---------- 14. 꼬리 (푸터) ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 80px 0 56px; font-size: 13.5px; color: var(--muted); }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.site-footer .logo img { height: 28px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.footer-nav a:hover { opacity: .55; }
/* 채널 칸: 블로그·SNS·스마트스토어 (글자 링크만, 아이콘 없음) */
.footer-channels { margin-top: 56px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 14px 24px; align-items: baseline; }
.footer-channels__label { font-size: 11px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink); }
.footer-channels ul { display: flex; flex-wrap: wrap; gap: 10px 0; }
.footer-channels li { padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); line-height: 1.4; }
.footer-channels li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.footer-channels a { color: var(--ink); font-size: 14px; font-weight: 500; }
.footer-channels a:hover { opacity: .55; }
.footer-info { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 6px 22px; line-height: 1.7; }
.footer-info b { font-weight: 500; color: var(--ink-2); margin-right: 6px; }
.footer-info a:hover { color: var(--ink); }
.copyright { margin-top: 20px; font-size: 12px; letter-spacing: .04em; }
@media (max-width: 1024px) { .site-footer { padding-bottom: 120px; } }   /* 고정 전화 버튼에 가리지 않게 */
@media (max-width: 640px) {
  .footer-info { flex-direction: column; gap: 2px; }
  .footer-channels { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .footer-channels ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .footer-channels li { border: 0; padding: 0; margin: 0; }
}

/* ---------- 15. 휴대폰 고정 전화 버튼 (태블릿) · 아래 두 칸 띠 (휴대폰) ---------- */
.fab-call {
  position: fixed; z-index: 60;
  right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 8px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 0;
  background: var(--ink); color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  font-size: 14.5px; font-weight: 500; letter-spacing: .02em;
}
.fab-call svg { width: 18px; height: 18px; }
@media (max-width: 1024px) { .fab-call { display: inline-flex; } }
.nav-open .fab-call { display: none; }   /* 휴대폰 메뉴가 열리면 숨김 (메뉴 안에 전화 버튼이 있음) */

/* 휴대폰(640px 아래): 떠 있는 전화 단추 대신 맨 아래 두 칸 띠 '전화 / 샘플 신청' (common.js 7번이 만듦, 26/11/19)
   왼쪽 전화는 검정 바탕(가장 먼저 누를 곳), 오른쪽 샘플 신청은 흰 바탕. 위쪽 가는 검정 선 하나로 쪽과 나눔 */
.m-bar { display: none; }
@media (max-width: 640px) {
  .m-bar {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    background: var(--paper); border-top: 1px solid var(--ink);
  }
  .m-bar a {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    height: calc(var(--m-bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    font-size: 15px; font-weight: 500; letter-spacing: .04em; white-space: nowrap;
  }
  .m-bar svg { width: 17px; height: 17px; flex: none; }
  .m-bar__call { background: var(--ink); color: #fff; }
  .m-bar__sample { background: var(--paper); color: var(--ink); }
  .m-bar a:active { opacity: .75; }
  .m-bar a:focus-visible { outline: 1px solid var(--ink); outline-offset: -4px; }
  .m-bar__call:focus-visible { outline-color: #fff; }
  /* 쪽 끝 내용이 띠에 가리지 않게 띠 높이만큼 아래 여백 */
  .has-mbar { padding-bottom: calc(var(--m-bar-h) + env(safe-area-inset-bottom)); }
  .has-mbar .fab-call { display: none; }
  .has-mbar .site-footer { padding-bottom: 56px; }   /* 떠 있는 단추용 120px 여백은 이제 필요 없음 */
  .nav-open .m-bar, .is-typing .m-bar { display: none; }   /* 메뉴가 열렸거나 글자를 쓰는 동안은 숨김 */
}

/* ---------- 16. 제품 목록 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 64px 28px; }
.prod { display: block; width: 100%; text-align: left; }
.prod__img { aspect-ratio: 4 / 5; background: var(--beige-deep); overflow: hidden; }
.prod__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.prod:hover .prod__img img { transform: scale(1.03); }
.prod__body { padding-top: 22px; }
.prod__name { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.4; }
.prod__price { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.prod__price.is-ask { color: var(--muted); }
.prod__desc { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.tag { display: inline-block; padding: 2px 7px; font-size: 10.5px; font-weight: 500; letter-spacing: .08em; color: var(--ink); border: 1px solid currentColor; line-height: 1.4; }
@media (max-width: 1024px) { .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 20px; } }
@media (max-width: 640px) {
  .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 10px; }
  .prod__body { padding-top: 10px; }
  .prod__name { font-size: 14px; }
  .prod__name .tag { display: none; }
  .prod-grid--names .prod__price, .prod-grid--names .prod__desc { display: none; }  /* 휴대폰: 이름만 */
}

/* ---------- 17. 띄움 창 (제품 자세히·문의 메일) ---------- */
.modal {
  width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  padding: 0; border: 0; border-radius: 0;
  background: #fff; color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
}
.modal:focus { outline: none; }
.modal::backdrop { background: rgba(0, 0, 0, .55); }
.modal__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; font-size: 26px; font-weight: 300; line-height: 44px; text-align: center; z-index: 2; background: rgba(255,255,255,.88); }
.modal__inner { padding: 52px; }
.modal--prod .modal__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 0; }
.modal--prod .media { aspect-ratio: 4 / 5; }
.modal--prod .modal__info { padding: 60px 48px 48px 0; display: flex; flex-direction: column; }
.modal__title { font-family: var(--serif); font-weight: 400; font-size: 29px; line-height: 1.4; letter-spacing: -0.035em; }
.modal__price { margin-top: 14px; font-size: 18px; font-weight: 500; color: var(--ink); }
.modal__desc { margin-top: 18px; color: var(--ink-2); }
.modal__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; }
.modal--form { width: min(560px, calc(100vw - 32px)); }
@media (max-width: 720px) {
  .modal__inner { padding: 44px 24px 28px; }
  .modal--prod .modal__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .modal--prod .media { aspect-ratio: 4 / 3; }
  .modal--prod .modal__info { padding: 28px 24px 28px; }
  .modal__title { font-size: 24px; }
}

/* 입력칸: 아래 선 하나 또는 1px 테두리, 모서리 0 */
.form { display: grid; gap: 22px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; font: 16px/1.5 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.form__msg { font-size: 14px; color: var(--ink); min-height: 1em; }

/* ---------- 18. 영상 칸 (유튜브, 누르면 그때 불러옴) ---------- */
/* 처음엔 썸네일 그림만 보이고, 누르면 youtube-nocookie 영상이 그 자리에 열립니다. */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 28px; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video__frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: filter .4s, transform .6s ease; }   /* 남의 채널 썸네일 색이 튀지 않게 흑백, 손을 올리면 원래 색 */
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; display: block; }
.video__play::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); transition: background .3s; }
.video__play::after {   /* 가운데 재생 표시: 흰 테두리 정사각형 안의 세모 */
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.9);
  background: no-repeat 54% 50% / 16px 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Cpath d='M0 0l16 9-16 9z' fill='%23fff'/%3E%3C/svg%3E");
}
.video__play:hover::before { background: rgba(0,0,0,.05); }
.video__play:hover img, .video__play:focus-visible img { transform: scale(1.02); filter: none; }
.video__src { margin-top: 20px; font-size: 11px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
.video__title { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.6; letter-spacing: -0.025em; }
.video--lead .video__title { font-size: clamp(20px, 1.8vw, 24px); }
@media (max-width: 1024px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .video-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .video__play::after { width: 52px; height: 52px; }
  .video__title { font-size: 17px; }
}

/* 움직임 줄이기를 켠 분 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
