/* ==========================================================================
   WOEM 커미션 홈페이지 — 스타일
   장식 요소: 레이스 · 도트 · 도트아트 백합(public/images/dot-lily.png)
   색상·모서리·그림자는 맨 위 :root 값만 바꾸면 사이트 전체에 반영됩니다.
   ========================================================================== */

/* ---------- 글꼴 ----------
   능소화(Grandiflora One, OFL) — fonts 폴더에 포함
   Hiero — 메인 문구의 𓋼𓍊 두 글자만 담은 작은 글꼴 (Noto Sans Egyptian Hieroglyphs, OFL) */
@font-face {
  font-family: 'Grandiflora One';
  src: url('../fonts/GrandifloraOne-Regular.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Asterism';   /* ⁂ 한 글자만 (Noto Sans CJK, OFL) */
  src: url('../fonts/asterism.woff') format('woff');
  unicode-range: U+2042;
  font-display: swap;
}
@font-face {
  font-family: 'Symbols';    /* ✎ ✿ ܓ 세 글자만 (GNU FreeSans, 글꼴 예외 조항 포함 GPL) */
  src: url('../fonts/symbols.woff') format('woff');
  unicode-range: U+270E, U+273F, U+0713;
  font-display: swap;
}
@font-face {
  font-family: 'Hiero';
  src: url('../fonts/hiero.woff') format('woff');
  unicode-range: U+132FC, U+1334A;
  font-display: swap;
}

:root {
  --ink: #161616;          /* 기본 검정 */
  --ink-2: #1c1c1c;
  --muted: #3f3f3f;        /* 보조 글씨 (능소화체가 가늘어서 진하게) */
  --line: #e3e3e3;         /* 얇은 선 */
  --paper: #ffffff;        /* 흰 배경 */
  --tint: #f4f4f2;         /* 회색빛 섹션 배경 */
  --dot: #d4d4d1;          /* 도트 무늬 */

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, .3);
  --shadow-lift: 0 28px 54px -26px rgba(0, 0, 0, .4);

  --font-body: 'Hiero', 'Asterism', 'Symbols', 'Grandiflora One', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;
  --font-display: var(--font-body);


  --header-h: 72px;
  --container: 1120px;
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  /* 능소화체는 아주 가는 글꼴이라 작은 글씨가 흐려 보이지 않게 살짝 두께를 더함 (0으로 바꾸면 원래 두께) */
  -webkit-text-stroke: .35px currentColor;
  font-variant-numeric: lining-nums; /* 숫자 높이를 일정하게 */
}
.hero__title, .section-head__title { -webkit-text-stroke: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
section[id] { scroll-margin-top: var(--header-h); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

:focus-visible { outline: 3px dashed var(--ink); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px;
  text-decoration: none; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   장식 1 — 도트
   ========================================================================== */
.dots-bg {
  background-color: var(--tint);
  background-image: radial-gradient(var(--dot) 1.3px, transparent 1.7px);
  background-size: 20px 20px;
}

/* ==========================================================================
   장식 2 — 레이스 (섹션 경계의 물결 + 구멍)
   ========================================================================== */
.lace {
  position: absolute; left: 0; right: 0; height: 20px; z-index: 2; pointer-events: none;
  --lace: var(--tint);   /* 레이스 색 */
  --hole: var(--paper);  /* 구멍 색 (맞닿은 섹션 배경) */
}
.lace--bottom {
  bottom: -19px;
  background:
    radial-gradient(circle at 50% 6px, var(--hole) 2.3px, transparent 2.9px) 0 0 / 24px 20px repeat-x,
    radial-gradient(circle at 50% 0, var(--lace) 11px, transparent 11.6px) 0 0 / 24px 20px repeat-x;
}
.lace--top {
  top: -19px;
  background:
    radial-gradient(circle at 50% 14px, var(--hole) 2.3px, transparent 2.9px) 0 0 / 24px 20px repeat-x,
    radial-gradient(circle at 50% 100%, var(--lace) 11px, transparent 11.6px) 0 0 / 24px 20px repeat-x;
}
.lace--footer {
  top: -1px; --hole: var(--ink);
  background:
    radial-gradient(circle at 50% 6px, var(--hole) 2.3px, transparent 2.9px) 0 0 / 24px 20px repeat-x,
    radial-gradient(circle at 50% 0, var(--lace) 11px, transparent 11.6px) 0 0 / 24px 20px repeat-x;
}

/* ==========================================================================
   장식 3 — 도트아트 백합 (흰 배경 섹션에 크게 한 송이씩)
   이미지를 바꾸려면 public/images/dot-lily.png 를 같은 이름으로 교체하세요.
   ========================================================================== */
.section--white { background: var(--paper); }
.section-head--art {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  margin-top: -40px;
}
.dot-art { width: 290px; height: auto; flex: none; pointer-events: none; user-select: none; }
.section-head--art-left .dot-art { transform: scaleX(-1); }

/* ==========================================================================
   레이스 띠 — 글씨 뒤에 까는 레이스 포인트 (위·아래 물결 + 구멍)
   --band : 레이스 색 / --eyelet : 구멍 색
   ========================================================================== */
.lace-band {
  --band: var(--tint); --eyelet: var(--paper);
  position: relative; text-align: center;
  background:
    radial-gradient(circle, var(--eyelet) 2.3px, transparent 2.9px) 0 12px / 24px 6px repeat-x,
    radial-gradient(circle, var(--eyelet) 2.3px, transparent 2.9px) 0 calc(100% - 12px) / 24px 6px repeat-x,
    var(--band);
  background-repeat: round no-repeat;
}
.lace-band::before, .lace-band::after { content: ''; position: absolute; left: 0; right: 0; height: 12px; background-repeat: round no-repeat !important; }
.lace-band::before { top: -11px; background: radial-gradient(circle at 50% 100%, var(--band) 11px, transparent 11.6px) 0 0 / 24px 12px repeat-x; }
.lace-band::after { bottom: -11px; background: radial-gradient(circle at 50% 0, var(--band) 11px, transparent 11.6px) 0 0 / 24px 12px repeat-x; }
.lace-band--white { --band: var(--paper); --eyelet: #dcdcd8; filter: drop-shadow(0 14px 22px rgba(0,0,0,.08)); }
.lace-band--head { display: inline-block; padding: 36px 48px 32px; flex: none; }
.lace-band--head .section-head__title { line-height: 1.1; }
/* 첫 화면 commission 레이스와 같은 길이 */
.lace-band--wide { display: block; width: min(100%, 820px); margin-inline: auto; }

/* 작은 레이스 (공지 항목 제목 뒤) */
.lace-tag {
  --tag: #ececE8;
  position: relative; display: inline-block; padding: 4px 16px;
  background: var(--tag);
}
.lace-tag::before, .lace-tag::after { content: ''; position: absolute; left: 0; right: 0; height: 5px; background-repeat: round no-repeat !important; }
.lace-tag::before { top: -4px; background: radial-gradient(circle at 50% 100%, var(--tag) 4.5px, transparent 5px) 0 0 / 10px 5px repeat-x; }
.lace-tag::after { bottom: -4px; background: radial-gradient(circle at 50% 0, var(--tag) 4.5px, transparent 5px) 0 0 / 10px 5px repeat-x; }


/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s, color .18s;
}
.btn__icon { width: 18px; height: 18px; flex: none; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--line { background: #fff; color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(0,0,0,.45); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--white:focus-visible { outline-color: #fff; }

.chip {
  display: inline-flex; align-items: center;
  padding: 3px 12px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: #fff; font-size: .78rem; font-weight: 700; line-height: 1.4;
}

/* ---------- 헤더 ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(0,0,0,.35); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: #fff;
}
.logo__mark { position: relative; overflow: hidden; --lace-c: #fff; --hole-c: var(--ink); }
/* 로고: 가운데를 가로지르는 얇은 레이스 */
.logo__mark::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 8px; margin-top: -4px;
  background:
    radial-gradient(circle at 50% 4px, var(--hole-c) .55px, transparent .9px) 0 0 / 3.6px 8px repeat-x,
    linear-gradient(var(--lace-c), var(--lace-c)) 0 2.4px / 100% 3.2px no-repeat,
    radial-gradient(circle at 50% 2.4px, var(--lace-c) 1.35px, transparent 1.7px) 0 0 / 3.6px 8px repeat-x,
    radial-gradient(circle at 50% 5.6px, var(--lace-c) 1.35px, transparent 1.7px) 0 0 / 3.6px 8px repeat-x;
}
.logo__name { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .05em; line-height: 1; }
.logo--invert .logo__mark { background: #fff; --lace-c: var(--ink); --hole-c: #fff; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-display); font-size: .8rem; letter-spacing: .06em;
  text-decoration: none; transition: background-color .18s, color .18s;
}
.nav__link:hover { background: var(--tint); }
.nav__link.is-active { background: var(--ink); color: #fff; }
.nav__cta-mobile { display: none; }
.header__cta { flex: none; }

.menu-btn {
  display: none; width: 46px; height: 46px; margin-left: 4px;
  border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; cursor: pointer;
  place-items: center;
}
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- 히어로 (commission 문구 + 레이스) ---------- */
.hero {
  position: relative; overflow-x: clip;
  background-color: var(--tint);
  background-image: radial-gradient(var(--dot) 1.3px, transparent 1.7px);
  background-size: 20px 20px;
}
.hero__inner { display: flex; justify-content: center; padding: 72px 0 92px; }
.hero__lace { width: min(100%, 820px); padding: 52px 28px; }
.hero__title {
  font-size: clamp(1.15rem, 6vw, 3.6rem); line-height: 1.3; font-weight: 400; letter-spacing: .02em;
  white-space: nowrap;
}
.hero__title .line { display: block; }

/* ---------- 섹션 공통 ---------- */
.section { position: relative; padding: 112px 0; }
.section--tint {
  background-color: var(--tint);
  background-image: radial-gradient(var(--dot) 1.3px, transparent 1.7px);
  background-size: 20px 20px;
}
.section-head { text-align: center; margin-bottom: 52px; }
.section-head__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 5.6vw, 3.6rem); line-height: 1.05; letter-spacing: .05em;
}
.section-head__sub {
  margin-top: 22px; display: block;
  color: var(--ink-2); letter-spacing: .04em;
}

.card { background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.card__title { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }

/* ---------- 이미지 공통 ---------- */
.media {
  position: relative; overflow: hidden; border-radius: 18px;
  background-color: #fafafa;
  background-image: radial-gradient(#e2e2e2 1px, transparent 1.4px);
  background-size: 14px 14px;
}
.media picture, .media img { width: 100%; height: 100%; }
.media img { object-fit: contain; transition: transform .45s ease, opacity .4s; }
.media img.is-loading { opacity: 0; }
.media__fallback {
  position: absolute; inset: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px dashed #bdbdbd; border-radius: 14px; text-align: center; padding: 16px;
  color: var(--muted); font-size: .86rem;
}
.media__fallback code { font-size: .74rem; background: #eee; padding: 2px 6px; border-radius: 6px; word-break: break-all; }

/* ---------- 갤러리 ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter {
  min-height: 42px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: #fff; cursor: pointer; font-weight: 700; font-size: .9rem;
  transition: background-color .18s, color .18s;
}
.filter:hover { background: var(--tint); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.art-card {
  position: relative; padding: 12px;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 26px; box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.art-card:hover, .art-card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.art-card .media { aspect-ratio: 4 / 5; }
.art-card:hover .media img { transform: scale(1.03); }
.art-card__open {
  position: absolute; inset: 0; z-index: 2; width: 100%; padding: 0; border: 0; border-radius: inherit;
  background: none; cursor: zoom-in;
}
.art-card__open:focus-visible { outline-offset: 4px; border-radius: 26px; }
.art-card__cat { position: absolute; top: 24px; left: 24px; z-index: 1; }
.art-label {
  display: block; margin: 10px 0 2px; text-align: center;
  font-size: .82rem; letter-spacing: .08em; color: var(--muted);
}
.art-label[hidden] { display: none; }
.art-label--lb {
  position: absolute; left: 18px; bottom: 14px; margin: 0; z-index: 2;
  padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.9);
}
.gallery__empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- 가격표 ---------- */
.price-groups { display: grid; grid-template-columns: 3fr 1fr 1fr; gap: 24px; }
.price-card .price-card__num--text { font-size: 1.15rem; line-height: 1.7; white-space: nowrap; }
.price-group__name {
  display: inline-block; margin-bottom: 14px; padding: 5px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 800; font-size: .95rem;
}
.price-group { display: flex; flex-direction: column; }
.price-group__name { align-self: flex-start; }
.price-group__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; flex: 1; }
.price-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 20px 20px; background: #fff;
  border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.price-card__name { font-size: 1.08rem; font-weight: 800; letter-spacing: -.02em; }
.price-card__price {
  width: 100%; margin: 16px 0 0; padding-top: 16px;
  border-top: 2px dotted var(--dot);
  display: flex; justify-content: center; align-items: baseline; gap: 4px;
}
.price-card__num { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2rem); line-height: 1; }
.price-card__unit { font-weight: 700; color: var(--ink-2); }

.options { margin-top: 28px; padding: 28px 32px; }
.options__list { margin-top: 10px; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 44px; }
.options__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0; border-bottom: 2px dotted var(--line);
}
.options__name { font-weight: 700; }
.options__value { font-weight: 700; text-align: right; white-space: nowrap; color: var(--ink-2); }


/* ---------- 신청 방법 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step::before {
  content: ''; position: absolute; top: 31px; left: calc(-50% + 40px); right: calc(50% + 40px);
  border-top: 3px dotted #b9b9b9;
}
.step:first-child::before { display: none; }
.step__num {
  width: 64px; height: 64px; display: grid; place-items: center; flex: none;
  border: 1.5px solid var(--ink); border-radius: 50%; background: #fff;
  font-family: var(--font-display); font-size: 1.05rem; box-shadow: var(--shadow);
}
.step__title { margin-top: 16px; font-size: .98rem; font-weight: 700; letter-spacing: -.02em; }

.apply { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.apply__form { padding: 28px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.template {
  width: 100%; margin: 16px 0; padding: 18px 20px;
  background: var(--tint); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .9rem; line-height: 1.85; white-space: pre-wrap;
}
.apply__cta {
  position: relative; overflow: hidden;
  padding: 44px 38px; border-radius: 28px; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.apply__cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.3px, transparent 1.7px); background-size: 20px 20px;
}
.apply__cta > * { position: relative; }
.apply__title { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.3; font-weight: 400; letter-spacing: .02em; }
/* ▽ 아래 화살표 */
.apply__arrow {
  width: 0; height: 0; margin: 22px 0 24px;
  border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 16px solid #fff;
  position: relative; animation: nudge 1.6s ease-in-out infinite;
}
.apply__arrow::after {
  content: ''; position: absolute; left: -8px; top: -14.5px;
  border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 11.5px solid var(--ink);
}
@keyframes nudge { 50% { transform: translateY(5px); } }
.apply__btn { min-width: 200px; font-size: 1.15rem; letter-spacing: .08em; }

/* ---------- 공지 ---------- */
.notices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.notice--wide { grid-column: 1 / -1; }
.notice__flow { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 30px; }
.notice__flow li {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff;
  font-size: .92rem;
}
.notice__flow li:nth-child(4n)::after { display: none; }
.notice__flow li:not(:last-child)::after {
  content: ''; position: absolute; right: -19px; top: 50%; width: 7px; height: 7px; margin-top: -4px;
  border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: rotate(45deg);
}
.notice__flow-num {
  flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: .8rem; line-height: 1; -webkit-text-stroke: 0;
  font-variant-numeric: lining-nums tabular-nums;
}
.notice {
  padding: 22px 24px; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.notice__title { display: flex; align-items: center; flex-wrap: nowrap; font-size: 1.02rem; font-weight: 400; letter-spacing: 0; }
.note-main { display: block; }
.note { display: block; margin-top: 2px; font-size: .84em; line-height: 1.55; color: #9a9a9a; -webkit-text-stroke: .2px currentColor; }
.notice__body { margin-top: 16px; font-size: .92rem; color: var(--ink-2); }
.notice__body li { position: relative; padding-left: 16px; }
.notice__body li + li { margin-top: 4px; }
.notice__body li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.tbd {
  display: inline-flex; align-items: center; vertical-align: middle;
  padding: 1px 12px; border: 1.5px dashed #a9a9a9; border-radius: 999px;
  color: var(--muted); font-size: .86rem; background: #fafafa; border-color: #8a8a8a;
}

/* ---------- 푸터 ---------- */
.footer { position: relative; background: var(--ink); color: #fff; padding: 72px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 36px; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); font-size: .85rem; color: #dcdcdc;
}
.footer__top { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; color: #fff; padding: 6px 4px; min-height: 44px; }
.footer__top svg { width: 18px; height: 18px; }
.footer__top:focus-visible, .footer .logo:focus-visible { outline-color: #fff; }

/* ---------- 모바일 하단 신청 버튼 ---------- */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .25s ease;
}
.mobile-cta.is-hidden { transform: translateY(110%); }

/* ---------- 라이트박스 ---------- */
.lightbox {
  width: min(1000px, 94vw); max-width: none; max-height: 94vh; padding: 0;
  border: 0; background: transparent; overflow: visible;
}
.lightbox::backdrop { background: rgba(18, 18, 18, .8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox[open] { animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.lightbox__panel { position: relative; background: #fff; border-radius: 28px; overflow: hidden; }
.lightbox__media { width: 100%; height: min(86vh, 860px); }
.lightbox__media.media { border-radius: 0; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; cursor: pointer;
  transition: transform .15s;
}
.lightbox__close:hover, .lightbox__nav:hover { transform: scale(1.06); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav { top: 50%; margin-top: -23px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__nav[hidden], .lightbox__count[hidden] { display: none; }
.lightbox__count {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 999px; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-size: .74rem; letter-spacing: .1em;
}

/* ---------- 토스트 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 40px; z-index: 300;
  padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__inner { gap: 48px; }
  /* 태블릿: 빵 타입은 한 줄 전체, 농 타입·그 외는 나란히 */
  .price-groups { grid-template-columns: 1fr 1fr; }
  .price-group:first-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .step:nth-child(4)::before { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-btn { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    padding: 12px 20px 22px; background: #fff; border-bottom: 1.5px solid var(--ink);
    box-shadow: 0 24px 40px -24px rgba(0,0,0,.35);
    display: none;
  }
  .nav.is-open { display: block; animation: drop .22s ease; }
  @keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { display: block; padding: 14px 16px; font-size: .95rem; border-radius: 14px; }
  .nav__cta-mobile { display: flex; margin-top: 12px; width: 100%; min-height: 52px; letter-spacing: .1em; }
  .header__cta { margin-left: auto; }

  .hero__inner { padding: 52px 0 76px; }
  .dot-art { width: 220px; }

  .options__list { grid-template-columns: 1fr; }
  .apply { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }

  .steps { grid-template-columns: 1fr; row-gap: 0; max-width: 420px; margin-inline: auto; }
  .step { flex-direction: row; text-align: left; gap: 18px; padding-bottom: 22px; }
  .step::before { display: block !important; top: 64px; bottom: 0; left: 31px; right: auto; border-top: 0; border-left: 3px dotted #b9b9b9; }
  .step:last-child::before { display: none !important; }
  .step__num { width: 56px; height: 56px; font-size: .95rem; }
  .step__title { margin-top: 0; }
  .step::before { left: 27px; top: 56px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 32px, var(--container)); }
  .header__cta { display: none; }
  .menu-btn { margin-left: auto; }
  .hero__lace { padding: 40px 16px; }
  .lace-band--head { padding: 26px 18px 22px; }
  .section-head--art { gap: 6px; margin-top: -20px; }
  .dot-art { width: 120px; }
  .gallery { grid-template-columns: 1fr; }
  .options, .apply__form { padding: 22px 18px; }
  .apply__cta { padding: 36px 24px; }
  .apply__cta .btn { width: 100%; }
  .notices { grid-template-columns: 1fr; }
  .notice__flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; }
  .notice__flow li:nth-child(4n)::after { display: block; }
  .notice__flow li:nth-child(2n)::after { display: none; }
  .lightbox { width: 100vw; }
  .lightbox__panel { border-radius: 22px; margin: 0 8px; }
  .lightbox__media { height: min(78vh, 700px); }
  .lightbox__nav { width: 40px; height: 40px; margin-top: -20px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* 움직임 줄이기 설정을 켠 사용자 배려 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.section-head__sub--light { color: #a3a3a3; }
.br-m, .br-xs { display: none; }
@media (max-width: 560px) {
  .br-m { display: inline; }
  .price-groups { grid-template-columns: 1fr; }
  .price-group__items { grid-template-columns: 1fr !important; }
}
@media (max-width: 340px) { .notice__extra { font-size: .76rem !important; letter-spacing: -.01em; } }
/* 아주 작은 휴대폰 (가로 400px 이하) */
@media (max-width: 400px) {
  .notice__flow { gap: 10px 20px; }
  .notice__flow li { font-size: .82rem; padding: 5px 10px 5px 5px; gap: 6px; white-space: nowrap; }
  .notice__flow li:not(:last-child)::after { right: -14px; }
  .notice__flow-num { width: 22px; height: 22px; font-size: .72rem; }
  .notice__extra { font-size: .8rem; }
  .notice__tag { margin-left: 6px; padding: 1px 8px; font-size: .7rem; letter-spacing: .02em; }
  .notice__title .lace-tag { padding: 4px 12px; }
  .br-m { display: none; }
  .br-xs { display: inline; }
  .filters { gap: 8px; }
  .filter { padding: 0 16px; }
  .section-head__sub--light { font-size: .9rem; white-space: nowrap; }
  .options__list li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .options__value { text-align: left; color: var(--muted); font-size: .92em; }
}
.notice__extra { margin-top: 28px; text-align: center; color: var(--ink-2); font-size: .95rem; }
.price-card { position: relative; }
.price-card__badge {
  margin-top: 14px; padding: 2px 12px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: .76rem; white-space: nowrap; color: var(--ink-2); -webkit-text-stroke: .15px currentColor;
}
.notice__tag {
  display: inline-block; flex: none; white-space: nowrap; margin-left: 10px; padding: 1px 12px; vertical-align: middle;
  border: 1px solid #b5b5b5; border-radius: 999px; font-size: .78rem; letter-spacing: .06em;
  color: #a3a3a3; -webkit-text-stroke: .2px currentColor;
}
.footer__chat { min-width: 150px; letter-spacing: .1em; }
.header__cta { letter-spacing: .1em; }

/* ==========================================================================
   전용 커서 (도트 고양이 얼굴 / 버튼 위에서는 고양이 발바닥) — 마우스를 쓰는 PC에서만 적용
   커서 그림을 바꾸려면 public/cursors/ 의 png를 같은 이름으로 교체하세요.
   (32×32px 기본 / @2x 는 64×64px 고해상도용)
   ========================================================================== */
@media (pointer: fine) {
  html, body {
    cursor: url('../public/cursors/cat.png') 1 1, auto;
    cursor: -webkit-image-set(url('../public/cursors/cat.png') 1x, url('../public/cursors/cat@2x.png') 2x) 1 1, auto;
    cursor: image-set(url('../public/cursors/cat.png') 1x, url('../public/cursors/cat@2x.png') 2x) 1 1, auto;
  }
  a, button, label, summary, [role="button"], .art-card__open, .frame, .filter {
    cursor: url('../public/cursors/paw.png') 15 3, pointer !important;
    cursor: -webkit-image-set(url('../public/cursors/paw.png') 1x, url('../public/cursors/paw@2x.png') 2x) 15 3, pointer !important;
    cursor: image-set(url('../public/cursors/paw.png') 1x, url('../public/cursors/paw@2x.png') 2x) 15 3, pointer !important;
  }
}
