/* 청담각 가맹 사이트 v2
   브랜드: 청담각 배달앱 배너와 같은 말씨 (붓글씨 로고, 짙은 빨강, 굵은 흰 글자, 중국풍 모서리 장식, 흰 접시 음식)
   레퍼런스 원리: docs/reference-brief.md (이비가짬뽕: 아주 굵은 제목, 브랜드 색을 크게, 숫자를 물건처럼)
   글꼴(SIL OFL 1.1): 제목·숫자 Wanted Sans, 본문 Pretendard. 로고는 배너의 붓글씨를 벡터로 옮긴 것
   1장: 상단 막대, 첫 화면, 하단 상담 바. 맨 끝: 결 장식(종이 결, 장 머리 장식, 스크롤 원근) */

:root {
  /* 색: 배너의 빨강을 바탕으로 */
  --ink: #140606;
  --ink-2: #210909;
  --red: #b0141b;
  --red-hi: #d41d25;
  --red-deep: #5a0707;
  --red-dark: #2c0404;
  --gold: #ffd36b;
  --gold-2: #f2b93f;
  --rice: #fff8ee;
  --rice-2: rgb(255 248 238 / 0.82);
  --rice-3: rgb(255 248 238 / 0.6);
  --line: rgb(255 248 238 / 0.16);
  --line-gold: rgb(255 211 107 / 0.45);
  --paper: #fbf5ea;
  --paper-ink: #1d1311;
  --paper-mute: #6f5f55;
  --paper-line: #d8c9b0;
  --review: #ffe066;

  /* 글꼴 */
  --font-display: "Wanted Sans Variable", "Wanted Sans", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;

  /* 크기 */
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --hd-h: 84px;
  --dock-h: 88px;
  --radius: 6px;

  /* 움직임 */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* 기본 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 12px); overflow-x: clip; }
body {
  margin: 0; overflow-x: clip;
  background: var(--ink); color: var(--rice);
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* 확인용: 주소 끝에 ?review → 답을 기다리는 칸이 노란 점선으로 보인다 */
html[data-review] [data-tbd] { outline: 2px dashed var(--review); outline-offset: 4px; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 0;
  font-family: var(--font-display); font-weight: 900; font-size: 17px; letter-spacing: -0.02em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 16px; }
.btn--lg { min-height: 64px; padding: 0 34px; font-size: 20px; }
.btn--red { background: var(--red); color: var(--rice); box-shadow: 0 5px 0 var(--red-deep); }
.btn--red:active { box-shadow: 0 2px 0 var(--red-deep); }
.btn--ghost { background: rgb(20 6 6 / 0.35); color: var(--rice); box-shadow: inset 0 0 0 2px rgb(255 248 238 / 0.7); }
.btn--ink { background: var(--ink); color: var(--gold); }
@media (hover: hover) {
  .btn--red:hover { background: var(--red-hi); }
  .btn--ghost:hover { background: rgb(255 248 238 / 0.1); box-shadow: inset 0 0 0 2px var(--rice); }
  .btn--ink:hover { background: #000; }
}

/* (2) 상단 막대 */
.hd {
  position: sticky; top: 0; z-index: 40;
  background: rgb(20 6 6 / 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgb(255 211 107 / 0.3);
}
.hd__in { height: var(--hd-h); display: flex; align-items: center; gap: 40px; }
.hd__logo { flex: none; display: flex; align-items: center; gap: 14px; text-decoration: none; border-radius: 4px; }
.hd__logo img { height: 44px; width: auto; }
.hd__logo-sub { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--rice-2); padding-left: 14px; border-left: 1px solid rgb(255 248 238 / 0.3); line-height: 1.2; white-space: nowrap; }
.hd__nav { display: flex; gap: 6px; margin-left: auto; }
.hd__nav a {
  font-family: var(--font-display); font-weight: 800; font-size: 17px; text-decoration: none;
  color: var(--rice-2); padding: 10px 14px; border-radius: 4px; transition: color 160ms ease;
}
.hd__nav a:hover { color: var(--rice); }
.hd__act { display: flex; align-items: center; gap: 18px; }
.hd__tel { display: grid; text-decoration: none; line-height: 1.15; padding: 4px 2px; }
.hd__tel-label { font-size: 13px; color: var(--rice-3); }
.hd__tel-num { font-family: var(--font-display); font-weight: 1000; font-size: 25px; color: var(--gold); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hd__menu { display: none; }

/* 휴대폰 메뉴 */
.drawer { border-top: 1px solid var(--line); background: var(--ink); padding: 8px var(--gutter) 24px; }
.drawer__nav { display: grid; }
.drawer__nav a { font-family: var(--font-display); font-weight: 900; font-size: 22px; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer__cta { width: 100%; margin-top: 20px; }

/* (3)~(10) 첫 화면 */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--hd-h));
  display: grid; align-content: center;
  padding-block: clamp(36px, 5.5svh, 72px) calc(var(--dock-h) + clamp(22px, 3svh, 40px));
}
.hero__img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 85% at 18% 50%, rgb(150 14 18 / 0.5), transparent 72%),
    linear-gradient(90deg, rgb(34 4 4 / 0.97) 0%, rgb(40 5 5 / 0.92) 34%, rgb(44 5 5 / 0.6) 52%, rgb(30 4 4 / 0.16) 72%, rgb(20 3 3 / 0.04) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgb(20 6 6 / 0) 22%);
}
/* 배너와 같은 중국풍 모서리 장식 */
.hero__frame { position: absolute; z-index: -1; inset: 20px 20px calc(var(--dock-h) + 20px); pointer-events: none; color: rgb(255 211 107 / 0.55); }
.hero__frame svg { position: absolute; width: 56px; height: 56px; }
.hero__frame .tl { top: 0; left: 0; }
.hero__frame .tr { top: 0; right: 0; transform: scaleX(-1); }
.hero__frame .bl { bottom: 0; left: 0; transform: scaleY(-1); }
.hero__frame .br { bottom: 0; right: 0; transform: scale(-1, -1); }

.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 400px); align-items: center; gap: clamp(32px, 4vw, 72px); }
.hero__main { min-width: 0; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  background: var(--red); color: var(--rice);
  font-family: var(--font-display); font-weight: 900; font-size: clamp(17px, 1.6vw, 23px); letter-spacing: -0.03em; line-height: 1.2;
  box-shadow: 0 5px 0 var(--red-deep), 0 12px 24px rgb(0 0 0 / 0.3);
}
.hero__badge span { background: var(--rice); color: var(--red); padding: 6px 14px; border-radius: 999px; font-size: 0.86em; }

.hero__title { margin-top: clamp(16px, 2.4svh, 28px); font-family: var(--font-display); font-weight: 1000; min-width: 0; }
.hero__title span { display: block; white-space: nowrap; }
.hero__title-a {
  font-size: clamp(38px, min(5.4vw, 7.8svh), 80px); line-height: 1.1; letter-spacing: -0.05em;
  color: var(--rice); text-shadow: 0 4px 0 rgb(0 0 0 / 0.35);
}
.hero__title-b {
  margin-top: 0.02em;
  font-size: clamp(60px, min(9.4vw, 14.2svh), 152px); line-height: 1.02; letter-spacing: -0.055em;
  color: var(--gold);
  text-shadow: 0 6px 0 var(--red-deep), 0 16px 34px rgb(0 0 0 / 0.5);
}
.hero__cap { margin-top: clamp(12px, 1.8svh, 20px); font-size: clamp(17px, 1.4vw, 20px); color: var(--rice-2); line-height: 1.55; }

.hero__call {
  display: inline-block; margin-top: clamp(22px, 3.4svh, 36px);
  font-family: var(--font-display); font-weight: 1000; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.04em; line-height: 1.25;
  color: var(--rice);
  background: linear-gradient(transparent 62%, rgb(212 29 37 / 0.9) 62%, rgb(212 29 37 / 0.9) 94%, transparent 94%);
  padding-inline: 2px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(16px, 2.4svh, 24px); }
.hero__src { margin-top: clamp(14px, 2.2svh, 22px); max-width: 620px; font-size: 13px; line-height: 1.6; color: rgb(255 248 238 / 0.55); }

/* 직영점 매출 공개: 영수증 */
.receipt { position: relative; min-width: 0; transform: rotate(2.2deg); filter: drop-shadow(0 26px 40px rgb(0 0 0 / 0.55)); }
.receipt__paper {
  position: relative; padding: 30px 30px 40px;
  background: linear-gradient(180deg, #fffaf1 0%, var(--paper) 100%);
  color: var(--paper-ink); border-radius: 3px 3px 0 0;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 12px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 12px repeat-x;
}
.receipt__paper::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: var(--red); }
.receipt__head { margin-top: 4px; text-align: center; font-family: var(--font-display); font-weight: 1000; font-size: clamp(27px, 2.3vw, 33px); letter-spacing: -0.05em; color: var(--red); line-height: 1.2; }
.receipt__date { text-align: center; font-size: 14px; color: var(--paper-mute); margin-top: 6px; padding-bottom: 16px; border-bottom: 2px dashed var(--paper-line); }
.receipt__rows div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px dashed var(--paper-line); }
.receipt__rows dt { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #3f302a; }
.receipt__rows dd { font-family: var(--font-display); font-weight: 900; font-size: clamp(23px, 2vw, 28px); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt__rows dd span { font-size: 0.6em; font-weight: 800; margin-left: 2px; }
.receipt__rows .receipt__total { border-top: 2px solid var(--paper-ink); border-bottom: 0; margin-top: 6px; }
.receipt__total dt { color: var(--paper-ink); font-weight: 900; }
.receipt__total dd { color: var(--red); font-size: clamp(27px, 2.4vw, 34px); }
.receipt__note { margin-top: 6px; text-align: center; font-size: 12.5px; color: var(--paper-mute); line-height: 1.5; }

/* ───────── 공통: 장(섹션) 머리 ───────── */
.sec-head { text-align: center; max-width: 880px; margin-inline: auto; }
.pill {
  display: inline-block; padding: 7px 18px; border-radius: 999px;
  background: var(--rice); color: var(--red);
  font-family: var(--font-display); font-weight: 900; font-size: 16px; letter-spacing: -0.02em; line-height: 1.3;
  box-shadow: 0 4px 0 var(--red-dark);
}
.sec-title {
  margin-top: 18px;
  font-family: var(--font-display); font-weight: 1000;
  font-size: clamp(36px, 5.2vw, 76px); line-height: 1.12; letter-spacing: -0.05em;
  color: var(--rice); text-shadow: 0 5px 0 var(--red-dark), 0 14px 30px rgb(0 0 0 / 0.3);
  overflow-wrap: break-word; min-width: 0;
}
.sec-title span { display: inline-block; }
.sec-lead { margin-top: 16px; font-size: clamp(17px, 1.5vw, 21px); color: var(--rice-2); line-height: 1.6; }

/* 배너의 회문(回) 띠 */
.meander {
  height: 22px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 20h20V2H6v12h8V8' fill='none' stroke='%23ffd36b' stroke-width='2'/%3E%3Cpath d='M22 20h20V2H28v12h8V8' fill='none' stroke='%23ffd36b' stroke-width='2'/%3E%3C/svg%3E") repeat-x center / 44px 22px;
  opacity: 0.5;
}

/* 종이 카드 (영수증, 티켓, 장부의 공통 바탕) */
.card {
  position: relative; min-width: 0;
  background: linear-gradient(180deg, #fffaf1 0%, var(--paper) 100%);
  color: var(--paper-ink); border-radius: 10px;
  box-shadow: 0 6px 0 var(--red-dark), 0 26px 50px rgb(0 0 0 / 0.32);
}
.card__head h3 { font-family: var(--font-display); font-weight: 1000; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.04em; line-height: 1.25; }
.card__head p { margin-top: 4px; font-size: 14px; color: var(--paper-mute); }
.card__note { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--paper-mute); }

/* ───────── 2장: 직영점 매출 공개 ───────── */
.sales {
  position: relative; isolation: isolate;
  padding-bottom: clamp(64px, 8vw, 120px);
  background:
    radial-gradient(60% 50% at 12% 18%, rgb(232 40 40 / 0.35), transparent 70%),
    radial-gradient(55% 45% at 92% 70%, rgb(255 120 40 / 0.18), transparent 70%),
    linear-gradient(180deg, var(--red) 0%, #8f0e14 55%, #6e0a0f 100%);
}
.sales .meander { margin-bottom: clamp(48px, 6vw, 88px); }

/* 매장별 티켓: "10월 매출 ○○원 달성!!" */
.tickets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(36px, 4.4vw, 60px); }
.ticket {
  --notch: 16px; --cut: 76px;
  position: relative; min-width: 0;
  filter: drop-shadow(0 6px 0 var(--red-dark)) drop-shadow(0 24px 34px rgb(0 0 0 / 0.3));
}
.ticket > * { position: relative; }
.ticket::before {
  content: ""; position: absolute; inset: 0; border-radius: 14px;
  background: linear-gradient(180deg, var(--ink-2) 0 var(--cut), #fffaf1 var(--cut), var(--paper) 100%);
  /* 머리와 몸통 사이 양쪽 반원 홈 */
  -webkit-mask: radial-gradient(circle var(--notch) at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat;
}
.ticket__top { height: var(--cut); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 32px; color: var(--rice); }
.ticket__name { font-family: var(--font-display); font-weight: 1000; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.04em; line-height: 1.2; }
.ticket__open { font-size: 14px; font-weight: 700; color: var(--gold); white-space: nowrap; }
.ticket__body {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px;
  margin-inline: 22px; padding: 26px 10px 32px; color: var(--paper-ink); border-top: 2px dashed rgb(29 19 17 / 0.18);
}
.ticket__label { grid-column: 1; grid-row: 1; }
.ticket__num { grid-column: 1 / -1; grid-row: 2; }
.ticket__label { font-family: var(--font-display); font-weight: 900; font-size: clamp(18px, 1.6vw, 21px); color: #4a3a33; letter-spacing: -0.02em; }
.ticket__num {
  margin-top: 6px; font-family: var(--font-display); font-weight: 1000;
  font-size: clamp(42px, 4.6vw, 68px); line-height: 1.05; letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ticket__val {
  color: var(--red);
  background: linear-gradient(100deg, transparent 42%, rgb(255 150 140 / 0.95) 50%, transparent 58%) 120% 0 / 260% 100% no-repeat, var(--red);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ticket__num small { font-size: 0.45em; font-weight: 900; margin-left: 4px; color: var(--paper-ink); }
/* "달성!!" 도장 */
.ticket__done { grid-column: 2; grid-row: 1; justify-self: end; position: relative; transform: rotate(-9deg); margin-top: -8px; }
.ticket__done > span:first-child {
  display: block; padding: 8px 16px 9px;
  border: 4px solid var(--red); border-radius: 10px;
  box-shadow: inset 0 0 0 2px #fffaf1, inset 0 0 0 5px rgb(176 20 27 / 0.55);
  background: rgb(255 250 241 / 0.88);
  font-family: var(--font-display); font-weight: 1000; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; letter-spacing: -0.04em;
  color: var(--red);
}
/* 도장이 찍힐 때 튀는 금빛 조각 */
.ticket__sparks { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.ticket__sparks i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; background: var(--gold-2); transform: rotate(45deg) scale(0); opacity: 0; border-radius: 2px; }
.ticket__sparks i:nth-child(3n) { background: var(--red-hi); width: 8px; height: 8px; }
.ticket__sparks i:nth-child(4n) { background: var(--gold); width: 12px; height: 12px; }

@media (prefers-reduced-motion: no-preference) {
  /* 스크립트가 있으면 도장은 숫자가 다 올라간 뒤 찍힌다 */
  .js [data-ticket]:not(.is-done) .ticket__done { opacity: 0; }
  .js [data-ticket].is-done .ticket__done { animation: slam 520ms cubic-bezier(0.2, 0.9, 0.25, 1.15) both; }
  .js [data-ticket].is-done { animation: thud 420ms ease-out 180ms both; }
  .js [data-ticket].is-done .ticket__sparks i { animation: spark 760ms var(--ease-out) 200ms both; }
  .js [data-ticket].is-done .ticket__val { animation: shine 5.2s ease-in-out 600ms infinite; }
  .js [data-ticket].is-done .ticket__done > span:first-child { animation: glow 2.6s ease-in-out 900ms infinite; }
}
@keyframes slam {
  0% { opacity: 0; transform: rotate(-24deg) scale(2.4); }
  60% { opacity: 1; transform: rotate(-7deg) scale(0.94); }
  100% { opacity: 1; transform: rotate(-9deg) scale(1); }
}
@keyframes thud {
  0%, 100% { transform: none; }
  25% { transform: translate(-3px, 2px) rotate(-0.4deg); }
  55% { transform: translate(3px, -1px) rotate(0.3deg); }
  80% { transform: translate(-1px, 1px); }
}
@keyframes spark {
  0% { opacity: 1; transform: translate(0, 0) rotate(45deg) scale(1); }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(225deg) scale(0.3); }
}
@keyframes shine {
  0%, 62% { background-position: 120% 0, 0 0; }
  100% { background-position: -20% 0, 0 0; }
}
@keyframes glow {
  0%, 100% { filter: none; }
  50% { filter: drop-shadow(0 0 10px rgb(255 211 107 / 0.95)); }
}
.ticket__sparks i:nth-child(1) { --x: -96px; --y: -54px; }
.ticket__sparks i:nth-child(2) { --x: -40px; --y: -92px; }
.ticket__sparks i:nth-child(3) { --x: 22px; --y: -104px; }
.ticket__sparks i:nth-child(4) { --x: 78px; --y: -70px; }
.ticket__sparks i:nth-child(5) { --x: 104px; --y: -16px; }
.ticket__sparks i:nth-child(6) { --x: 92px; --y: 44px; }
.ticket__sparks i:nth-child(7) { --x: 40px; --y: 78px; }
.ticket__sparks i:nth-child(8) { --x: -24px; --y: 84px; }
.ticket__sparks i:nth-child(9) { --x: -84px; --y: 50px; }
.ticket__sparks i:nth-child(10) { --x: -118px; --y: 6px; }
.ticket__sparks i:nth-child(11) { --x: -66px; --y: -96px; }
.ticket__sparks i:nth-child(12) { --x: 120px; --y: -52px; }

/* 배민 성적표: 큰 숫자 2개 */
.counters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 100px); }
.counter { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px clamp(12px, 2vw, 32px) 0; }
.counter + .counter::before { content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 2px; background: linear-gradient(transparent, var(--line-gold), transparent); }
.counter__label { display: inline-block; font-family: var(--font-display); font-weight: 900; font-size: clamp(20px, 2vw, 27px); letter-spacing: -0.03em; color: var(--rice); padding: 4px 18px; border-radius: 999px; background: rgb(20 6 6 / 0.35); box-shadow: inset 0 0 0 1.5px rgb(255 248 238 / 0.35); }
.counter__num {
  position: relative; display: inline-flex; align-items: baseline; justify-content: center; gap: 0 0.12em;
  margin-top: 10px; font-family: var(--font-display); font-weight: 1000; line-height: 1.04; letter-spacing: -0.05em;
  font-size: clamp(54px, 7.4vw, 116px); color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap;
  text-shadow: 0 6px 0 var(--red-dark), 0 18px 36px rgb(0 0 0 / 0.35);
}
.counter__val { display: inline-block; text-align: right; }
.counter__unit { font-size: 0.46em; letter-spacing: -0.02em; color: var(--gold); }
.counter__burst {
  display: inline-block; align-self: center; margin-left: 0.18em;
  font-size: 0.36em; letter-spacing: -0.04em; line-height: 1;
  color: var(--red); background: var(--rice); padding: 0.22em 0.4em 0.26em; border-radius: 0.3em;
  text-shadow: none; box-shadow: 0 0.1em 0 var(--red-dark);
  transform: rotate(-8deg);
}
.counter__sub { margin-top: 12px; font-size: clamp(15px, 1.3vw, 17px); color: var(--rice-2); }

/* 가게 통계 화면 캡처 */
.statshots { display: flex; justify-content: center; gap: clamp(16px, 2.4vw, 40px); margin-top: clamp(32px, 4vw, 52px); }
.statshot { margin: 0; width: min(340px, 44%); transform: rotate(var(--rot)); }
.statshot img { width: 100%; border-radius: 12px; box-shadow: 0 6px 0 var(--red-dark), 0 18px 30px rgb(0 0 0 / 0.3); }
.statshot figcaption { margin-top: 10px; text-align: center; font-size: 14px; font-weight: 700; color: var(--rice-2); }

/* 손님 리뷰 캡처 벽 */
.reviews {
  position: relative; margin-top: clamp(48px, 6vw, 80px); padding-block: 24px 30px; overflow: hidden; outline-offset: -4px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.reviews__track { display: flex; width: max-content; }
.reviews__set { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.rv { flex: none; width: clamp(240px, 22vw, 310px); transform: rotate(var(--rot)); transition: transform 260ms var(--ease-out); }
.rv img { width: 100%; border-radius: 14px; background: #fff; box-shadow: 0 6px 0 var(--red-dark), 0 22px 34px rgb(0 0 0 / 0.34); }
@media (hover: hover) { .rv:hover { transform: rotate(0deg) scale(1.05); } }

@media (prefers-reduced-motion: no-preference) {
  /* 숫자: 다 올라가면 "돌파!"가 터진다 */
  .js [data-pop]:not(.is-done) .counter__burst { opacity: 0; transform: scale(0.2) rotate(-30deg); }
  .js [data-pop].is-done .counter__burst { animation: burst 560ms cubic-bezier(0.2, 0.9, 0.25, 1.3) both, wiggle 2.8s ease-in-out 1.4s infinite; }
  .js [data-pop].is-done .counter__val { animation: pop 420ms var(--ease-out) both; }
  /* 통계 캡처와 리뷰 캡처: 아래에서 튀어 오르며 하나씩 나타난다 */
  .js [data-shots]:not(.is-in) .statshot,
  .js [data-reviews]:not(.is-in) .rv { opacity: 0; transform: translateY(90px) rotate(calc(var(--rot) * -4)) scale(0.82); }
  .js [data-shots].is-in .statshot { transition: transform 700ms cubic-bezier(0.2, 0.9, 0.25, 1.2), opacity 300ms ease; transition-delay: calc(var(--i) * 140ms); }
  .js [data-reviews].is-in .rv { transition: transform 720ms cubic-bezier(0.2, 0.9, 0.25, 1.2), opacity 320ms ease; transition-delay: calc(var(--i) * 85ms); }
  .js [data-reviews].is-in .reviews__track { animation: marquee 90s linear 1.8s infinite; }
  .reviews:hover .reviews__track, .reviews:focus-within .reviews__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews { overflow-x: auto; scroll-snap-type: x mandatory; }
  .reviews__set[aria-hidden] { display: none; }
  .rv { scroll-snap-align: center; }
}
@keyframes burst {
  0% { opacity: 0; transform: scale(0.2) rotate(-30deg); }
  65% { opacity: 1; transform: scale(1.25) rotate(-4deg); }
  100% { opacity: 1; transform: scale(1) rotate(-8deg); }
}
@keyframes wiggle {
  0%, 84%, 100% { transform: rotate(-8deg) scale(1); }
  88% { transform: rotate(-13deg) scale(1.08); }
  92% { transform: rotate(-4deg) scale(1.08); }
  96% { transform: rotate(-10deg) scale(1.02); }
}
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.07); } 100% { transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }

.sales__cta {
  display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 64px); text-align: center;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.03em;
}
.sales__src { margin: 22px auto 0; max-width: 900px; text-align: center; font-size: 13px; line-height: 1.6; color: rgb(255 248 238 / 0.62); }

/* ───────── 3장: 배달앱에서 청담각이 강한 이유 ─────────
   바탕을 음식 사진의 베이지 배경과 같은 색으로 깔아, 접시가 화면 위에 놓인 것처럼 보이게 한다 */
.why {
  --sand: #f1ddc0; --sand-2: #f7e9d3; --sand-ink: #2a1a14; --sand-mute: #6f5848; --sand-line: rgb(42 26 20 / 0.14);
  position: relative; isolation: isolate; color: var(--sand-ink);
  padding-bottom: clamp(64px, 8vw, 120px);
  background: radial-gradient(70% 40% at 50% 0%, var(--sand-2), transparent 70%), var(--sand);
}
.meander--red {
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 20h20V2H6v12h8V8' fill='none' stroke='%23b0141b' stroke-width='2'/%3E%3Cpath d='M22 20h20V2H28v12h8V8' fill='none' stroke='%23b0141b' stroke-width='2'/%3E%3C/svg%3E");
}
.why .meander { margin-bottom: clamp(48px, 6vw, 88px); }
.pill--red { background: var(--red); color: var(--rice); box-shadow: 0 4px 0 var(--red-deep); }
.sec-title--light { color: var(--red); text-shadow: 0 5px 0 rgb(122 70 40 / 0.22); }

.reason {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center;
  gap: clamp(28px, 5vw, 80px); margin-top: clamp(56px, 7vw, 110px);
}
.reason--flip .reason__pic { order: 2; }
.reason__pic { margin: 0; position: relative; }
.reason__pic img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  -webkit-mask: radial-gradient(closest-side, #000 80%, transparent 100%);
  mask: radial-gradient(closest-side, #000 80%, transparent 100%);
  transition: transform 600ms var(--ease-out);
}
@media (hover: hover) { .reason__pic:hover img { transform: scale(1.04) rotate(-2deg); } }
.reason__body { min-width: 0; }
.reason__no { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 900; font-size: 18px; color: var(--sand-mute); letter-spacing: -0.02em; }
.reason__no b { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: var(--rice); font-size: 22px; font-weight: 1000; letter-spacing: -0.03em; box-shadow: 0 4px 0 var(--red-deep); }
.reason__title {
  margin-top: 18px; font-family: var(--font-display); font-weight: 1000;
  font-size: clamp(30px, 3.4vw, 50px); line-height: 1.18; letter-spacing: -0.05em; color: var(--sand-ink);
}
.reason__title > span { display: inline-block; color: var(--red); font-size: 1.22em; line-height: 1.1; }
.reason__text { margin-top: 16px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: #4a352a; max-width: 34em; }
.reason__src { margin-top: 16px; font-size: 13px; line-height: 1.55; color: var(--sand-mute); }

/* 이유 1: 많이 팔린 메뉴 순위 */
.rank { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; max-width: 440px; }
.rank li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; background: rgb(255 250 241 / 0.7); font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; box-shadow: 0 2px 0 rgb(122 70 40 / 0.12); }
.rank b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 6px; background: var(--sand-ink); color: var(--rice); font-size: 15px; }
.rank li:first-child { background: var(--red); color: var(--rice); font-size: 20px; padding-block: 13px; box-shadow: 0 4px 0 var(--red-deep); }
.rank li:first-child b { background: var(--gold); color: var(--red-dark); }

/* 이유 2: 시간대별 주문 막대 24개 */
.hours { margin: 24px 0 0; padding: 20px 20px 14px; border-radius: 12px; background: rgb(255 250 241 / 0.72); box-shadow: 0 3px 0 rgb(122 70 40 / 0.12); max-width: 560px; }
.hours__cap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; font-weight: 700; color: var(--sand-mute); }
.hours__cap .sw:last-of-type { margin-left: 10px; }
.sw { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 3px; }
.sw--night { background: var(--red); }
.sw--day { background: #d9c09b; }
.hours__bars { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); align-items: end; gap: 3px; height: 150px; margin: 14px 0 0; padding: 0; list-style: none; }
.hb { position: relative; height: 100%; display: flex; align-items: flex-end; outline-offset: 2px; }
.hb__bar { width: 100%; height: calc(var(--h) * 1%); background: #d9c09b; border-radius: 4px 4px 0 0; transform-origin: bottom; }
.hb.is-night .hb__bar { background: var(--red); }
.hb__tip {
  position: absolute; left: 50%; bottom: calc(var(--h) * 1% + 8px); z-index: 2; transform: translateX(-50%) translateY(4px);
  padding: 5px 9px; border-radius: 6px; background: var(--sand-ink); color: var(--rice); font-size: 12.5px; font-weight: 700; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 140ms ease, transform 140ms var(--ease-out);
}
.hb:hover .hb__tip, .hb:focus-visible .hb__tip { opacity: 1; transform: translateX(-50%); }
.hb:hover .hb__bar, .hb:focus-visible .hb__bar { filter: brightness(1.12); }
.hours__axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--sand-mute); font-variant-numeric: tabular-nums; }

/* 이유 3: 재주문 비율 고리 */
.ring { position: relative; width: clamp(150px, 15vw, 200px); margin-top: 22px; }
.ring svg { width: 100%; height: auto; transform: rotate(-90deg); overflow: visible; }
.ring circle { fill: none; stroke-width: 14; }
.ring__bg { stroke: rgb(122 70 40 / 0.16); }
.ring__fg { stroke: var(--red); stroke-linecap: round; stroke-dasharray: var(--p) 100; }
.ring__num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 1000; font-size: clamp(44px, 4.4vw, 60px); letter-spacing: -0.05em; color: var(--red); line-height: 1; }
.ring__num small { font-size: 0.5em; margin-left: 2px; }
.ring__num { grid-auto-flow: column; align-content: center; justify-content: center; align-items: baseline; }

/* 이유 줄 안의 큰 숫자 */
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.facts li { min-width: 0; padding: 14px 20px 12px; border-radius: 12px; background: var(--ink-2); color: var(--rice); box-shadow: 0 5px 0 #3a0a0a; }
.facts b { display: block; font-family: var(--font-display); font-weight: 1000; font-size: clamp(34px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -0.05em; color: var(--gold); white-space: nowrap; }
.facts li > span { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--rice-2); }

/* 이유 2: 재주문 고리 + 손님 말 */
.taste { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); margin-top: 22px; }
.taste .ring { margin-top: 0; flex: none; }
.ring__label { position: absolute; left: 0; right: 0; bottom: 22%; text-align: center; font-family: var(--font-display); font-weight: 900; font-size: 15px; color: var(--sand-mute); }
.ring__num { padding-bottom: 12px; }
.quotes { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.quotes li {
  position: relative; padding: 12px 16px; border-radius: 14px 14px 14px 4px;
  background: #fffaf1; font-size: 15px; line-height: 1.5; font-weight: 600; color: #3b2a22;
  box-shadow: 0 3px 0 rgb(122 70 40 / 0.14);
}

/* 이유 4: 검정 카드 */
.reason--card {
  grid-template-columns: minmax(0, 1fr); text-align: center;
  padding: clamp(36px, 5vw, 64px) clamp(22px, 4vw, 64px);
  border-radius: 20px; background: radial-gradient(70% 90% at 50% 0%, #3a0c0c, var(--ink-2) 70%); color: var(--rice);
  box-shadow: 0 8px 0 #3a0a0a, 0 30px 50px rgb(60 30 10 / 0.3);
}
.reason--card .reason__no { justify-content: center; color: var(--rice-3); }
.reason--card .reason__title { color: var(--rice); }
.reason--card .reason__title > span { color: var(--gold); }
.reason--card .reason__text { margin-inline: auto; color: var(--rice-2); }
.hq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 22px); margin: 30px 0 0; padding: 0; list-style: none; text-align: left; }
.hq li { min-width: 0; padding: 22px 22px 20px; border-radius: 14px; background: var(--red); box-shadow: 0 5px 0 var(--red-deep); }
.hq b { display: block; font-family: var(--font-display); font-weight: 1000; font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -0.04em; color: var(--rice); }
.hq span { display: block; margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: rgb(255 248 238 / 0.88); }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reason]:not(.is-in) .facts li, .js [data-reason]:not(.is-in) .quotes li, .js [data-reason]:not(.is-in) .hq li { opacity: 0; transform: translateY(30px) scale(0.94); }
  .js [data-reason].is-in .facts li, .js [data-reason].is-in .quotes li, .js [data-reason].is-in .hq li { transition: transform 620ms cubic-bezier(0.2, 0.9, 0.25, 1.25), opacity 400ms ease; }
  .js [data-reason].is-in :is(.facts, .quotes, .hq) li:nth-child(1) { transition-delay: 450ms; }
  .js [data-reason].is-in :is(.facts, .quotes, .hq) li:nth-child(2) { transition-delay: 570ms; }
  .js [data-reason].is-in :is(.facts, .quotes, .hq) li:nth-child(3) { transition-delay: 690ms; }
}

/* 작은 숫자 3개 */
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(64px, 8vw, 120px); }
.chips li { min-width: 0; padding: 26px 26px 24px; border-radius: 14px; background: var(--ink-2); color: var(--rice); box-shadow: 0 6px 0 #3a0a0a, 0 20px 30px rgb(60 30 10 / 0.25); }
.chips b { display: block; font-family: var(--font-display); font-weight: 1000; font-size: clamp(40px, 4vw, 58px); line-height: 1.05; letter-spacing: -0.05em; color: var(--gold); }
.chips span { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 900; font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -0.03em; }
.chips small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--rice-3); }

.why__cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
.why__src { margin-top: 18px; text-align: center; font-size: 13px; color: var(--sand-mute); }

/* 들어올 때 한 번: 사진은 옆에서 굴러 들어오고, 막대는 자라고, 고리는 그려지고, 칩은 튀어 오른다 */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reason]:not(.is-in) .reason__pic img { opacity: 0; transform: translateX(-80px) rotate(-24deg) scale(0.86); }
  .js .reason--flip[data-reason]:not(.is-in) .reason__pic img { transform: translateX(80px) rotate(24deg) scale(0.86); }
  .js [data-reason].is-in .reason__pic img { transition: transform 1000ms cubic-bezier(0.2, 0.9, 0.25, 1.05), opacity 500ms ease; }
  .js [data-reason]:not(.is-in) .reason__body > * { opacity: 0; transform: translateY(24px); }
  .js [data-reason].is-in .reason__body > * { transition: transform 700ms var(--ease-out), opacity 500ms ease; }
  .js [data-reason].is-in .reason__body > :nth-child(2) { transition-delay: 80ms; }
  .js [data-reason].is-in .reason__body > :nth-child(3) { transition-delay: 160ms; }
  .js [data-reason].is-in .reason__body > :nth-child(4) { transition-delay: 240ms; }
  .js [data-reason].is-in .reason__body > :nth-child(5) { transition-delay: 320ms; }
  .js [data-reason]:not(.is-in) .rank li { opacity: 0; transform: translateX(-30px); }
  .js [data-reason].is-in .rank li { transition: transform 500ms var(--ease-out), opacity 400ms ease; }
  .js [data-reason].is-in .rank li:nth-child(1) { transition-delay: 420ms; }
  .js [data-reason].is-in .rank li:nth-child(2) { transition-delay: 500ms; }
  .js [data-reason].is-in .rank li:nth-child(3) { transition-delay: 580ms; }
  .js [data-reason].is-in .rank li:nth-child(4) { transition-delay: 660ms; }
  .js [data-reason].is-in .rank li:nth-child(5) { transition-delay: 740ms; }
  .js [data-reason]:not(.is-in) .hb__bar { transform: scaleY(0); }
  .js [data-reason].is-in .hb__bar { transition: transform 700ms var(--ease-out); transition-delay: calc(var(--r) * 35ms + 400ms); }
  .js [data-reason]:not(.is-in) .ring__fg { stroke-dasharray: 0 100; }
  .js [data-reason].is-in .ring__fg { transition: stroke-dasharray 1400ms var(--ease-out) 300ms; }
  .js [data-chips]:not(.is-in) li { opacity: 0; transform: translateY(50px) scale(0.92); }
  .js [data-chips].is-in li { transition: transform 700ms cubic-bezier(0.2, 0.9, 0.25, 1.25), opacity 400ms ease; transition-delay: calc(var(--i) * 120ms); }
}

/* ───────── 4장: 메뉴 ─────────
   어두운 바탕 위에서 가운데 메뉴만 크게, 양옆은 작고 흐리게. 옆으로 넘기면 가운데가 바뀐다 */
.menu {
  --cw: clamp(260px, 31vw, 440px);
  position: relative; isolation: isolate; overflow: hidden;
  padding-bottom: clamp(64px, 8vw, 110px);
  background:
    radial-gradient(45% 55% at 50% 58%, rgb(176 20 27 / 0.42), transparent 72%),
    radial-gradient(80% 60% at 50% 0%, #2b0a0a, transparent 70%),
    var(--ink);
}
.menu .meander { margin-bottom: clamp(48px, 6vw, 88px); }

.mtabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: clamp(26px, 3vw, 40px); }
.mtab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgb(255 248 238 / 0.08); color: var(--rice-2);
  font-family: var(--font-display); font-weight: 900; font-size: 18px; letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1.5px rgb(255 248 238 / 0.22);
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.mtab span { font-size: 14px; font-weight: 800; color: var(--rice-3); }
.mtab:active { transform: scale(0.97); }
.mtab[aria-pressed="true"] { background: var(--red); color: var(--rice); box-shadow: 0 4px 0 var(--red-deep); }
.mtab[aria-pressed="true"] span { color: var(--gold); }
@media (hover: hover) { .mtab:not([aria-pressed="true"]):hover { color: var(--rice); box-shadow: inset 0 0 0 1.5px rgb(255 248 238 / 0.5); } }

.mstage { position: relative; margin-top: clamp(30px, 4vw, 52px); }
.mrail {
  display: flex; margin: 0; padding: 26px calc(50% - var(--cw) / 2) 18px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  outline-offset: -6px; position: relative;
}
.mrail::-webkit-scrollbar { display: none; }
.mcard {
  flex: none; width: var(--cw); scroll-snap-align: center; cursor: pointer; text-align: center;
  transform: scale(0.82); opacity: 0.42; filter: saturate(0.7);
  transition: transform 480ms var(--ease-out), opacity 320ms ease, filter 320ms ease;
}
.mcard.is-active { transform: none; opacity: 1; filter: none; cursor: default; }
.mrail.is-jump .mcard { transition: none; }
.mcard__pic { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 0 #3a0a0a, 0 30px 50px rgb(0 0 0 / 0.5); }
.mcard__pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 700ms var(--ease-out); }
.mcard.is-active:hover .mcard__pic img { transform: scale(1.06); }
.mcard__badge {
  position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px;
  background: var(--ink-2); color: var(--gold); font-family: var(--font-display); font-weight: 900; font-size: 15px; letter-spacing: -0.02em;
}
.mcard__badge--top { left: auto; right: 14px; top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--red); color: var(--rice); font-size: 19px; transform: rotate(6deg); box-shadow: 0 4px 0 var(--red-deep); }
.mcard__mod { display: inline-block; margin-top: 22px; padding: 4px 14px; border-radius: 999px; background: rgb(255 211 107 / 0.14); color: var(--gold); font-family: var(--font-display); font-weight: 900; font-size: 16px; letter-spacing: -0.02em; line-height: 1.4; }
.mcard__mod--none { background: none; }
.mcard__name { margin-top: 8px; font-family: var(--font-display); font-weight: 1000; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.15; letter-spacing: -0.05em; color: var(--rice); }
.mcard__desc { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--rice-2); }
.mcard__price { margin-top: 10px; font-family: var(--font-display); font-weight: 900; font-size: 21px; letter-spacing: -0.02em; color: var(--gold); font-variant-numeric: tabular-nums; }

.marrow {
  position: absolute; z-index: 3; top: calc(26px + var(--cw) * 0.375); translate: 0 -50%;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--rice); color: var(--red); box-shadow: 0 5px 0 rgb(0 0 0 / 0.35), 0 14px 26px rgb(0 0 0 / 0.35);
  transition: transform 160ms var(--ease-out), opacity 200ms ease, background-color 200ms ease;
}
.marrow svg { width: 26px; height: 26px; }
.marrow:active { transform: scale(0.92); }
.marrow--prev { left: calc(50% - var(--cw) / 2 - 30px); }
.marrow--next { right: calc(50% - var(--cw) / 2 - 30px); }
@media (hover: hover) { .marrow:not(:disabled):hover { background: var(--gold); } }

.menu__note { margin-top: 18px; text-align: center; font-size: 13px; color: rgb(255 248 238 / 0.5); }
.menu__cta { display: flex; justify-content: center; margin-top: clamp(28px, 3.4vw, 44px); }

@media (prefers-reduced-motion: no-preference) {
  .js [data-board]:not(.is-in) .mrail { opacity: 0; transform: translateX(160px); }
  .js [data-board].is-in .mrail { transition: transform 1000ms cubic-bezier(0.2, 0.9, 0.25, 1), opacity 600ms ease; }
  .js [data-board]:not(.is-in) .mtab { opacity: 0; transform: translateY(16px); }
  .js [data-board].is-in .mtab { transition: transform 500ms var(--ease-out), opacity 400ms ease; }
  .js [data-board].is-in .mtab:nth-child(2) { transition-delay: 70ms; }
  .js [data-board].is-in .mtab:nth-child(3) { transition-delay: 140ms; }
  .js [data-board].is-in .mtab:nth-child(4) { transition-delay: 210ms; }
  .mcard.is-active .mcard__badge--top { animation: wiggle-b 2.8s ease-in-out 1s infinite; }
}
@media (prefers-reduced-motion: reduce) { .mrail { scroll-behavior: auto; } }
@keyframes wiggle-b {
  0%, 84%, 100% { transform: rotate(6deg) scale(1); }
  88% { transform: rotate(11deg) scale(1.08); }
  92% { transform: rotate(2deg) scale(1.08); }
  96% { transform: rotate(8deg) scale(1.02); }
}

/* ───────── 5장: 자주 묻는 질문 (대표와 나누는 대화) ───────── */
.faq {
  position: relative; isolation: isolate;
  padding-bottom: clamp(64px, 8vw, 110px);
  background:
    radial-gradient(60% 50% at 85% 20%, rgb(232 40 40 / 0.32), transparent 70%),
    radial-gradient(55% 45% at 10% 80%, rgb(255 120 40 / 0.14), transparent 70%),
    linear-gradient(180deg, var(--red) 0%, #8f0e14 60%, #6e0a0f 100%);
}
.faq .meander { margin-bottom: clamp(48px, 6vw, 88px); }
.chat { display: grid; gap: clamp(28px, 3.6vw, 44px); max-width: 860px; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0; list-style: none; }
.qa { display: grid; gap: 12px; }
.bub { display: flex; align-items: flex-end; gap: 12px; min-width: 0; }
.bub > div { min-width: 0; max-width: min(620px, 82%); }
.bub__who { font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: -0.02em; margin: 0 6px 6px; }
.bub__text {
  padding: 16px 20px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6;
  border-radius: 22px; box-shadow: 0 5px 0 var(--red-dark), 0 16px 26px rgb(0 0 0 / 0.22);
}
.bub--q .bub__who { color: var(--rice-2); }
.bub--q .bub__text {
  background: var(--rice); color: var(--paper-ink); border-bottom-left-radius: 6px;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(19px, 1.9vw, 25px); letter-spacing: -0.035em; line-height: 1.35;
}
.bub--a { justify-content: flex-end; }
.bub--a .bub__who { text-align: right; color: var(--gold); }
.bub--a .bub__text { background: var(--ink-2); color: var(--rice); border-bottom-right-radius: 6px; box-shadow: 0 5px 0 #000, 0 16px 26px rgb(0 0 0 / 0.28); }
.ava { flex: none; width: 52px; height: 52px; border-radius: 50%; }
.ava--q { display: grid; place-items: center; background: #f3e8d6; box-shadow: 0 3px 0 var(--red-dark); }
.ava--q svg { width: 30px; height: 30px; fill: none; stroke: #8a7464; stroke-width: 3; stroke-linecap: round; }
.ava--q svg circle { fill: #8a7464; stroke: none; }
.ava--a { border-radius: 14px; box-shadow: 0 3px 0 #000; }
.bub--typing { display: none; justify-content: flex-end; padding-right: 64px; }
.dots { display: inline-flex; gap: 6px; padding: 14px 18px; border-radius: 20px; border-bottom-right-radius: 6px; background: var(--ink-2); }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: dot 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: 150ms; }
.dots i:nth-child(3) { animation-delay: 300ms; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-6px); opacity: 1; } }

.ask {
  display: flex; align-items: center; gap: 10px; max-width: 860px; margin: clamp(40px, 5vw, 60px) auto 0; padding: 10px 10px 10px 24px;
  border-radius: 999px; background: var(--rice); color: var(--paper-mute); text-decoration: none;
  box-shadow: 0 6px 0 var(--red-dark), 0 20px 34px rgb(0 0 0 / 0.25);
  transition: transform 160ms var(--ease-out);
}
.ask:active { transform: scale(0.98); }
.ask__field { flex: 1; min-width: 0; font-size: clamp(15px, 1.4vw, 18px); font-weight: 600; }
.ask__send {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px;
  background: var(--red); color: var(--rice); font-family: var(--font-display); font-weight: 900; font-size: 17px;
}
.ask__send svg { width: 18px; height: 18px; }
@media (hover: hover) { .ask:hover .ask__send { background: var(--red-hi); } }

/* 스크롤해 들어오면: 질문이 뜨고 → "입력 중…" → 대표 답이 뜬다 (스크립트가 있을 때만) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-qa] .bub--q, .js [data-qa] .bub--a { opacity: 0; transform: translateY(14px) scale(0.92); transition: transform 460ms cubic-bezier(0.2, 0.9, 0.25, 1.25), opacity 260ms ease; }
  .js [data-qa] .bub--q { transform-origin: 0 100%; }
  .js [data-qa] .bub--a { transform-origin: 100% 100%; }
  .js [data-qa].is-ask .bub--q, .js [data-qa].is-answer .bub--a { opacity: 1; transform: none; }
  .js [data-qa].is-typing .bub--typing { display: flex; }
  .js [data-qa].is-answer .bub--typing { display: none; }
  .js .ask { opacity: 0; transform: translateY(20px); transition: transform 600ms var(--ease-out), opacity 400ms ease; }
  .js .ask.is-in { opacity: 1; transform: none; }
}

/* ───────── 6장: 본사 지원 ─────────
   바탕은 업무 노트 같은 흰 종이. 관리(점주님 1개 vs 본사 전부) → 교육(2주 10일) → 현장 지원(관리자 5일) → 소스 물류 */
.hq6 {
  --sheet: #fbf6ee; --sheet-ink: #241612; --sheet-mute: #6f5b4e;
  position: relative; isolation: isolate; color: var(--sheet-ink);
  padding-bottom: clamp(64px, 8vw, 110px);
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgb(176 20 27 / 0.06) 31px 32px),
    var(--sheet);
}
.hq6 .meander { margin-bottom: clamp(48px, 6vw, 88px); }
.hq6 [data-reveal] { margin-top: clamp(56px, 7vw, 110px); }
.tag { display: inline-block; padding: 5px 16px; border-radius: 999px; background: var(--red); color: var(--rice); font-family: var(--font-display); font-weight: 900; font-size: 16px; letter-spacing: -0.02em; box-shadow: 0 3px 0 var(--red-deep); }
.tag--gold { background: var(--gold); color: var(--red-dark); box-shadow: 0 3px 0 #9c7426; }
.blk__title { margin-top: 16px; font-family: var(--font-display); font-weight: 1000; font-size: clamp(30px, 3.3vw, 48px); line-height: 1.18; letter-spacing: -0.05em; }
.blk__title > span { color: var(--red); }
.blk__text { margin-top: 16px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; color: #4a352a; max-width: 34em; }
.blk__text--center { margin-inline: auto; text-align: center; }

/* 1. 관리 */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.split__owner {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(26px, 3vw, 40px) 24px 0; border-radius: 22px; background: #fff;
  box-shadow: 0 6px 0 rgb(122 70 40 / 0.14), 0 22px 34px rgb(60 30 10 / 0.1);
}
.split__who { font-family: var(--font-display); font-weight: 900; font-size: 17px; letter-spacing: -0.02em; color: var(--sheet-mute); }
.split__one { margin-top: 10px; font-family: var(--font-display); font-weight: 1000; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -0.05em; color: var(--red); }
.split__owner img { width: 108%; max-width: none; margin-top: auto; padding-top: 18px; -webkit-mask: radial-gradient(60% 70% at 50% 62%, #000 70%, transparent 100%); mask: radial-gradient(60% 70% at 50% 62%, #000 70%, transparent 100%); }
.split__hq { padding: clamp(26px, 3vw, 40px); border-radius: 22px; background: var(--ink-2); color: var(--rice); box-shadow: 0 6px 0 #3a0a0a, 0 22px 34px rgb(60 30 10 / 0.25); }
.split__hq .split__who { color: var(--gold); }
.split__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.split__list li {
  display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px; border-radius: 12px;
  background: rgb(255 248 238 / 0.07); box-shadow: inset 0 0 0 1px rgb(255 248 238 / 0.12);
  font-family: var(--font-display); font-weight: 900; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -0.03em;
}
.split__list svg { flex: none; width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--red); color: var(--gold); }
.split__list li:last-child { background: var(--red); box-shadow: 0 4px 0 var(--red-deep); }
.split__list li:last-child svg { background: var(--gold); color: var(--red-dark); }
.split__text { margin-top: 18px; font-size: 16px; line-height: 1.65; color: var(--rice-2); }

/* 2. 교육 */
.edu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.edu__books { min-width: 0; }
.fan { --dw: clamp(140px, 13vw, 200px); --spread: 34%; --tilt: 9deg; position: relative; height: calc(var(--dw) * 1.62); margin: 0; padding: 0; list-style: none; }
.doc {
  position: absolute; left: calc(50% - var(--dw) / 2); bottom: 0; width: var(--dw);
  transform-origin: 50% 115%;
  transform: translateX(calc(var(--k) * var(--spread))) rotate(calc(var(--k) * var(--tilt)));
  z-index: calc(10 - var(--k) * var(--k));
  transition: transform 520ms var(--ease-out);
}
.doc img { width: 100%; border-radius: 6px; background: #fff; box-shadow: 0 2px 0 rgb(0 0 0 / 0.06), 0 18px 30px rgb(60 30 10 / 0.22); }
@media (hover: hover) { .doc:hover { transform: translateX(calc(var(--k) * var(--spread))) rotate(calc(var(--k) * var(--tilt))) translateY(-22px); z-index: 20; } }
.edu__booknote { margin-top: 20px; text-align: center; font-size: 13px; color: var(--sheet-mute); }
.edu__body { min-width: 0; }
.edu__cal { margin-top: 24px; padding: 22px; border-radius: 18px; background: #fff; box-shadow: 0 6px 0 rgb(122 70 40 / 0.14), 0 22px 34px rgb(60 30 10 / 0.1); }
.edu__plan { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.edu__plan b { font-family: var(--font-display); font-weight: 1000; font-size: clamp(36px, 3.4vw, 50px); line-height: 1; letter-spacing: -0.05em; color: var(--red); }
.edu__plan span { font-family: var(--font-display); font-weight: 900; font-size: 17px; color: var(--sheet-ink); padding: 4px 12px; border-radius: 999px; background: rgb(255 211 107 / 0.45); }
.edu__week { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 14px; }
.edu__week > p { font-family: var(--font-display); font-weight: 900; font-size: 15px; color: var(--sheet-mute); }
.edu__week ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.edu__week li {
  position: relative; display: grid; place-items: center; height: 54px; border-radius: 10px;
  background: var(--red); color: var(--rice); box-shadow: 0 3px 0 var(--red-deep);
  font-family: var(--font-display); font-weight: 900; font-size: clamp(14px, 1.2vw, 16px); letter-spacing: -0.03em;
}
.edu__week li.is-last { background: var(--ink-2); color: var(--gold); box-shadow: 0 3px 0 #000; }
.edu__pass {
  position: absolute; right: -12px; bottom: -20px; padding: 5px 10px; border-radius: 8px; white-space: nowrap; z-index: 2;
  background: var(--gold); color: var(--red-dark); font-size: 14px; font-weight: 1000; transform: rotate(8deg);
  box-shadow: 0 3px 0 #9c7426;
}

/* 3. 현장 지원 */
.staff {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: clamp(30px, 4vw, 56px); border-radius: 24px;
  background: radial-gradient(70% 120% at 0% 50%, #3a0c0c, var(--ink-2) 70%); color: var(--rice);
  box-shadow: 0 8px 0 #3a0a0a, 0 30px 50px rgb(60 30 10 / 0.3);
}
.staff__big { display: grid; justify-items: center; text-align: center; }
.staff__big b { font-family: var(--font-display); font-weight: 1000; font-size: clamp(96px, 11vw, 168px); line-height: 0.95; letter-spacing: -0.06em; color: var(--gold); text-shadow: 0 6px 0 #000; }
.staff__big > span { margin-top: 8px; font-family: var(--font-display); font-weight: 900; font-size: 18px; line-height: 1.3; color: var(--rice-2); }
.staff__body { min-width: 0; }
.staff .blk__title { color: var(--rice); }
.staff .blk__title > span { color: var(--gold); }
.staff .blk__text { color: var(--rice-2); }
.staff__days { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 520px; margin: 24px 0 0; padding: 0; list-style: none; }
.staff__days::before { content: ""; position: absolute; left: 10%; right: 10%; top: 29px; height: 3px; background: rgb(255 211 107 / 0.3); }
.staff__days li { position: relative; display: grid; justify-items: center; gap: 4px; }
.staff__days b { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--gold); color: var(--red-dark); font-family: var(--font-display); font-weight: 1000; font-size: 26px; box-shadow: 0 4px 0 #9c7426; }
.staff__days span { font-size: 14px; font-weight: 700; color: var(--rice-3); }

/* 4. 소스 */
.sauce { text-align: center; }
.sauce .blk__title { margin-inline: auto; }
.eq { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(10px, 1.6vw, 22px); margin-top: clamp(26px, 3vw, 40px); }
.eq__box {
  position: relative; display: grid; gap: 4px; min-width: clamp(130px, 13vw, 180px); padding: 22px 20px; border-radius: 18px;
  background: #fff; box-shadow: 0 6px 0 rgb(122 70 40 / 0.14), 0 18px 30px rgb(60 30 10 / 0.1);
}
.eq__box b { font-family: var(--font-display); font-weight: 1000; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.04em; color: #8a7464; }
.eq__box span { font-size: 14px; font-weight: 700; color: var(--sheet-mute); }
.eq__box--win { background: var(--red); min-width: clamp(170px, 17vw, 240px); padding-block: 28px; box-shadow: 0 6px 0 var(--red-deep), 0 22px 36px rgb(120 10 10 / 0.3); }
.eq__box--win b { color: var(--rice); font-size: clamp(28px, 2.6vw, 38px); }
.eq__box--win span { color: var(--gold); }
.eq__stamp { position: absolute; right: -14px; top: -18px; padding: 6px 12px; border-radius: 8px; background: var(--gold); color: var(--red-dark); font-style: normal; font-family: var(--font-display); font-weight: 1000; font-size: 15px; transform: rotate(9deg); box-shadow: 0 3px 0 #9c7426; }
.eq__op { font-family: var(--font-display); font-weight: 1000; font-size: clamp(40px, 4vw, 60px); line-height: 1; color: #b49a86; }
.eq__op--gt { color: var(--red); font-size: clamp(56px, 6vw, 88px); }
.sauce__chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.sauce__chips li { padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px var(--red); color: var(--red); font-family: var(--font-display); font-weight: 900; font-size: 17px; letter-spacing: -0.02em; }

.hq6__cta { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }

/* 들어올 때 한 번씩 */
@media (prefers-reduced-motion: no-preference) {
  .js [data-kit]:not(.is-in) .doc { transform: translateY(40px) rotate(0deg); }
  .js [data-kit].is-in .doc { transition: transform 900ms cubic-bezier(0.2, 0.9, 0.25, 1.15); transition-delay: calc((var(--k) + 2) * 70ms + 150ms); }
  .js .split:not(.is-in) .split__owner { opacity: 0; transform: translateX(-50px); }
  .js .split:not(.is-in) .split__hq { opacity: 0; transform: translateX(50px); }
  .js .split.is-in > * { transition: transform 800ms var(--ease-out), opacity 500ms ease; }
  .js .split:not(.is-in) .split__list li { opacity: 0; transform: scale(0.85); }
  .js .split.is-in .split__list li { transition: transform 500ms cubic-bezier(0.2, 0.9, 0.25, 1.3), opacity 300ms ease; transition-delay: calc(var(--i) * 110ms + 450ms); }
  .js .edu:not(.is-in) .edu__week li { opacity: 0; transform: scale(0.6) rotate(-8deg); }
  .js .edu.is-in .edu__week li { transition: transform 420ms cubic-bezier(0.2, 0.9, 0.25, 1.35), opacity 260ms ease; transition-delay: calc(var(--i) * 90ms + 400ms); }
  .js .edu:not(.is-in) .edu__pass { opacity: 0; transform: rotate(30deg) scale(2); }
  .js .edu.is-in .edu__pass { animation: slam-pass 520ms cubic-bezier(0.2, 0.9, 0.25, 1.15) 1450ms both; }
  .js .staff:not(.is-in) .staff__days b { transform: scale(0); }
  .js .staff.is-in .staff__days b { transition: transform 460ms cubic-bezier(0.2, 0.9, 0.25, 1.4); transition-delay: calc(var(--i) * 140ms + 400ms); }
  .js .sauce:not(.is-in) .eq > * { opacity: 0; transform: translateY(26px); }
  .js .sauce.is-in .eq > * { transition: transform 600ms cubic-bezier(0.2, 0.9, 0.25, 1.2), opacity 400ms ease; }
  .js .sauce.is-in .eq > :nth-child(2) { transition-delay: 120ms; }
  .js .sauce.is-in .eq > :nth-child(3) { transition-delay: 240ms; }
  .js .sauce.is-in .eq > :nth-child(4) { transition-delay: 420ms; }
  .js .sauce.is-in .eq > :nth-child(5) { transition-delay: 600ms; }
  .js .sauce:not(.is-in) .sauce__chips li { opacity: 0; transform: translateY(14px) scale(0.9); }
  .js .sauce.is-in .sauce__chips li { transition: transform 460ms cubic-bezier(0.2, 0.9, 0.25, 1.3), opacity 300ms ease; transition-delay: calc(var(--i) * 80ms + 800ms); }
}
@keyframes slam-pass {
  0% { opacity: 0; transform: rotate(30deg) scale(2); }
  60% { opacity: 1; transform: rotate(6deg) scale(0.92); }
  100% { opacity: 1; transform: rotate(8deg) scale(1); }
}

/* ───────── 7장: 창업 절차 ───────── */
.steps {
  position: relative; isolation: isolate; overflow: hidden;
  padding-bottom: clamp(64px, 8vw, 110px);
  background: radial-gradient(60% 50% at 50% 40%, rgb(176 20 27 / 0.32), transparent 72%), var(--ink);
}
.steps .meander { margin-bottom: clamp(48px, 6vw, 88px); }
.road { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.road li {
  position: relative; min-width: 0; padding: 24px 22px 22px; border-radius: 18px;
  background: rgb(255 248 238 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 248 238 / 0.12);
}
.road li::after {
  content: ""; position: absolute; top: 46px; right: calc(clamp(14px, 1.8vw, 24px) * -1); width: clamp(14px, 1.8vw, 24px); height: 3px;
  background: linear-gradient(90deg, var(--gold), rgb(255 211 107 / 0.3));
}
.road li:nth-child(4n)::after, .road li:last-child::after { display: none; }
.road b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--red-dark); font-family: var(--font-display); font-weight: 1000; font-size: 19px; letter-spacing: -0.03em; box-shadow: 0 4px 0 #9c7426; }
.road h3 { margin-top: 16px; font-family: var(--font-display); font-weight: 1000; font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -0.04em; line-height: 1.25; color: var(--rice); }
.road p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--rice-2); }
.road li.is-open { background: var(--red); box-shadow: 0 6px 0 var(--red-deep), 0 20px 34px rgb(0 0 0 / 0.35); }
.road li.is-open b { background: var(--rice); color: var(--red); box-shadow: 0 4px 0 var(--red-deep); }
.road li.is-open p { color: rgb(255 248 238 / 0.9); }
.road__stamp {
  position: absolute; right: 14px; top: 16px; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%;
  background: var(--gold); color: var(--red-dark); font-family: var(--font-display); font-weight: 1000; font-size: 21px; letter-spacing: -0.04em;
  transform: rotate(-12deg); box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 5px var(--red-dark), 0 4px 0 #9c7426;
}
@media (prefers-reduced-motion: no-preference) {
  .js [data-road]:not(.is-in) li { opacity: 0; transform: translateY(34px) scale(0.94); }
  .js [data-road].is-in li { transition: transform 600ms cubic-bezier(0.2, 0.9, 0.25, 1.2), opacity 400ms ease; transition-delay: calc(var(--i) * 120ms); }
  .js [data-road]:not(.is-in) .road__stamp { opacity: 0; }
  .js [data-road].is-in .road__stamp { animation: slam 520ms cubic-bezier(0.2, 0.9, 0.25, 1.15) 1150ms both; }
}

/* ───────── 8장: 창업 비용 ───────── */
.cost {
  --sand: #f1ddc0; --sand-2: #f7e9d3;
  position: relative; isolation: isolate; color: #2a1a14;
  padding-bottom: clamp(64px, 8vw, 110px);
  background: radial-gradient(70% 40% at 50% 0%, var(--sand-2), transparent 70%), var(--sand);
}
.cost .meander { margin-bottom: clamp(48px, 6vw, 88px); }
.cost__grid { display: grid; justify-items: center; gap: clamp(32px, 4vw, 48px); max-width: 600px; margin: clamp(40px, 5vw, 64px) auto 0; }
.cost__grid .bill { width: 100%; }
.bill { transform: rotate(-1.6deg); filter: drop-shadow(0 26px 34px rgb(60 30 10 / 0.25)); }
.bill__paper {
  position: relative; padding: 34px 34px 44px; background: linear-gradient(180deg, #fffaf1, var(--paper));
  border-radius: 4px 4px 0 0;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 12px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 12px repeat-x;
}
.bill__paper::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: var(--red); }
.bill__head { text-align: center; font-family: var(--font-display); font-weight: 1000; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.05em; color: var(--red); }
.bill__sub { text-align: center; margin-top: 4px; padding-bottom: 16px; border-bottom: 2px dashed var(--paper-line); font-size: 14px; color: var(--paper-mute); }
.bill__rows div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; border-bottom: 1px dashed var(--paper-line); }
.bill__rows dt { font-family: var(--font-display); font-weight: 900; font-size: 19px; letter-spacing: -0.03em; color: #3f302a; }
.bill__rows dd { padding: 5px 12px; border-radius: 999px; background: rgb(176 20 27 / 0.1); color: var(--red); font-family: var(--font-display); font-weight: 900; font-size: 15px; white-space: nowrap; }
.bill__note { margin-top: 16px; text-align: center; font-size: 14px; line-height: 1.55; color: var(--paper-mute); }
.cost__side { display: grid; gap: 16px; min-width: 0; }
.perk { padding: 26px 28px; border-radius: 18px; background: #fffaf1; box-shadow: 0 6px 0 rgb(122 70 40 / 0.16), 0 18px 30px rgb(60 30 10 / 0.1); }
.perk h3 { margin-top: 14px; font-family: var(--font-display); font-weight: 1000; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.25; letter-spacing: -0.045em; }
.perk h3 > span { color: var(--red); }
.perk > p:last-child { margin-top: 10px; font-size: 16px; line-height: 1.65; color: #4a352a; }
.perk--dark { background: var(--ink-2); color: var(--rice); box-shadow: 0 6px 0 #3a0a0a, 0 18px 30px rgb(60 30 10 / 0.22); }
.perk--dark h3 > span { color: var(--gold); }
.perk--dark > p:last-child { color: var(--rice-2); }
.cost__btn { justify-self: center; }
@media (prefers-reduced-motion: no-preference) {
  .js .cost__grid:not(.is-in) .bill { opacity: 0; transform: translateY(-40px) rotate(-6deg); }
  .js .cost__grid.is-in .bill { transition: transform 900ms cubic-bezier(0.2, 0.9, 0.25, 1.1), opacity 500ms ease; }
  .js .cost__grid:not(.is-in) .bill__rows div { opacity: 0; transform: translateX(-16px); }
  .js .cost__grid.is-in .bill__rows div { transition: transform 450ms var(--ease-out), opacity 350ms ease; transition-delay: calc(var(--i) * 90ms + 500ms); }
  .js .cost__grid:not(.is-in) .cost__btn { opacity: 0; transform: translateY(20px); }
  .js .cost__grid.is-in .cost__btn { transition: transform 600ms var(--ease-out) 1000ms, opacity 400ms ease 1000ms; }
}

/* ───────── 9장: 상담 신청 (가맹 상담 주문서) ───────── */
.consult {
  position: relative; isolation: isolate;
  padding-bottom: clamp(64px, 8vw, 110px);
  background:
    radial-gradient(55% 60% at 15% 30%, rgb(232 40 40 / 0.35), transparent 70%),
    linear-gradient(180deg, var(--red) 0%, #8f0e14 60%, #6e0a0f 100%);
}
.consult .meander { margin-bottom: clamp(48px, 6vw, 88px); }
.consult__in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.consult__intro { position: sticky; top: calc(var(--hd-h) + 32px); }
.consult__title { margin-top: 18px; font-family: var(--font-display); font-weight: 1000; font-size: clamp(42px, 5.2vw, 78px); line-height: 1.1; letter-spacing: -0.055em; color: var(--rice); text-shadow: 0 5px 0 var(--red-dark), 0 14px 30px rgb(0 0 0 / 0.3); }
.consult__title > span { color: var(--gold); }
.consult__text { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; color: var(--rice-2); max-width: 30em; }
.consult__tel { display: inline-grid; margin-top: 26px; padding: 14px 22px; border-radius: 14px; background: rgb(20 6 6 / 0.35); box-shadow: inset 0 0 0 1.5px rgb(255 211 107 / 0.5); text-decoration: none; }
.consult__tel span { font-size: 14px; color: var(--rice-2); }
.consult__tel b { font-family: var(--font-display); font-weight: 1000; font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.03em; color: var(--gold); font-variant-numeric: tabular-nums; }

.slip { position: relative; min-width: 0; border-radius: 18px; background: #fffaf1; color: var(--paper-ink); box-shadow: 0 8px 0 var(--red-dark), 0 30px 50px rgb(0 0 0 / 0.35); }
.slip__head { display: flex; align-items: center; gap: 14px; padding: 22px 28px; border-bottom: 2px dashed var(--paper-line); }
.slip__head img { height: 40px; width: auto; }
.slip__head p { font-family: var(--font-display); font-weight: 1000; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.04em; }
.slip__head span { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--paper-mute); white-space: nowrap; }
.slip__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: 24px 28px 8px; }
.fld { min-width: 0; margin: 0; padding: 0; border: 0; }
.fld--wide { grid-column: 1 / -1; }
.fld > label, .fld > legend { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 0; font-family: var(--font-display); font-weight: 900; font-size: 16px; letter-spacing: -0.02em; }
.fld__hint { margin-left: auto; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--paper-mute); }
.fld em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--red); padding: 1px 6px; border-radius: 4px; background: rgb(176 20 27 / 0.1); }
.fld input[type="text"], .fld input[type="tel"], .fld select, .fld textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 0; border-radius: 10px;
  background: #fff; box-shadow: inset 0 0 0 1.5px #d9c9b2; color: var(--paper-ink); font-size: 16px; line-height: 1.5;
  transition: box-shadow 160ms ease;
}
.fld textarea { resize: vertical; min-height: 92px; }
.fld select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--paper-ink) 50%), linear-gradient(135deg, var(--paper-ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.fld input::placeholder, .fld textarea::placeholder { color: #a8978a; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2.5px var(--red); }
.fld [aria-invalid="true"] { box-shadow: inset 0 0 0 2.5px var(--red) !important; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: grid; place-items: center; min-height: 52px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1.5px #d9c9b2; font-family: var(--font-display); font-weight: 900; font-size: 16px; transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.seg input:checked + span { background: var(--red); color: var(--rice); box-shadow: 0 3px 0 var(--red-deep); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.fld--seg[data-invalid] .seg span { box-shadow: inset 0 0 0 2.5px var(--red); }
.fld__err { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--red); }
.agree2__box { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; font-weight: 700; min-height: 44px; }
.agree2__box input { width: 24px; height: 24px; margin: 0; accent-color: var(--red); flex: none; }
.agree2 details { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--paper-mute); }
.agree2 summary { cursor: pointer; display: inline-block; padding: 8px 0; font-weight: 700; color: var(--red); }
.agree2 details a { color: var(--red); }
.slip__foot { padding: 14px 28px 28px; }
.slip__btn { width: 100%; min-height: 64px; font-size: 21px; }
.slip__btn[disabled] { opacity: 0.6; cursor: progress; }
.slip__msg { margin-top: 12px; font-size: 15px; font-weight: 700; line-height: 1.55; color: var(--red); text-align: center; }
.slip__msg:empty { display: none; }
.slip__stamp {
  position: absolute; right: 30px; top: 86px; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  border: 4px solid var(--red); color: var(--red); font-family: var(--font-display); font-weight: 1000; font-size: 28px; letter-spacing: -0.02em;
  transform: rotate(-14deg); opacity: 0; pointer-events: none; background: rgb(255 250 241 / 0.75);
}
.slip.is-sent .slip__stamp { opacity: 1; animation: slam 520ms cubic-bezier(0.2, 0.9, 0.25, 1.15) both; }

/* ───────── 하단: 직영점과 사업자 정보 ───────── */
.ft { background: #0b0404; color: var(--rice-2); padding: clamp(48px, 6vw, 80px) 0 calc(var(--dock-h) + 32px); border-top: 1px solid rgb(255 211 107 / 0.25); }
.ft__top { display: flex; align-items: flex-end; gap: 18px; }
.ft__brand img { height: 56px; width: auto; }
.ft__brand p { margin-top: 6px; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--rice-3); }
.ft__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgb(255 248 238 / 0.1); font-size: 14px; }
.ft__legal div { display: flex; gap: 6px; }
.ft__legal dt { color: var(--rice-3); }
.ft__legal dd { color: var(--rice-2); }
.ft__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 18px; font-size: 13px; color: var(--rice-3); }
.ft__links { display: flex; gap: 18px; }
.ft__links a { display: inline-block; padding: 8px 0; color: var(--rice); text-decoration: none; font-size: 14px; }
.ft__links a:hover { text-decoration: underline; }

/* (11) 하단 상담 바: PC */
.dock {
  position: fixed; inset: auto 0 0 0; z-index: 30;
  background: linear-gradient(90deg, var(--red-deep) 0%, var(--red) 48%, var(--red) 100%);
  border-top: 1px solid var(--line-gold);
  box-shadow: 0 -14px 34px rgb(0 0 0 / 0.4);
}
.dock__in { min-height: var(--dock-h); display: flex; align-items: center; gap: 22px; }
.dock__brand { display: flex; align-items: center; gap: 16px; margin-right: auto; min-width: 0; }
.dock__brand img { height: 34px; width: auto; flex: none; }
.dock__brand b { display: block; font-family: var(--font-display); font-weight: 1000; font-size: 20px; line-height: 1.2; letter-spacing: -0.03em; white-space: nowrap; }
.dock__brand span { display: block; font-size: 13px; line-height: 1.4; color: var(--rice-2); white-space: nowrap; }
.dock__fields { display: flex; gap: 8px; }
.dock__fields input, .dock__fields select { height: 48px; border: 0; border-radius: 4px; padding: 0 14px; background: var(--rice); color: var(--paper-ink); font-size: 16px; }
.dock__fields input::placeholder { color: #8a7b6f; }
#d-name { width: 132px; }
#d-phone { width: 168px; }
#d-region { width: 138px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--paper-ink) 50%), linear-gradient(135deg, var(--paper-ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.dock__fields [aria-invalid="true"] { box-shadow: 0 0 0 3px var(--gold); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dock__agree { display: flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }
.dock__agree input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.dock__agree a { color: var(--gold); font-weight: 700; padding: 6px 2px; }
.dock__submit { min-height: 48px; padding: 0 26px; }
.dock__msg { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); max-width: min(560px, 92vw); background: var(--ink); color: var(--rice); border: 1px solid var(--line-gold); border-radius: var(--radius); padding: 10px 16px; font-size: 15px; line-height: 1.5; box-shadow: 0 10px 30px rgb(0 0 0 / 0.4); }
.dock__msg:empty { display: none; }

/* (11) 하단 상담 바: 휴대폰 */
.dock-m { display: none; }
.dock, .dock-m { transition: transform 320ms var(--ease-out), opacity 240ms ease; }
.dock.is-away, .dock-m.is-away { transform: translateY(110%); opacity: 0; pointer-events: none; }

/* 처음 들어올 때 한 번: 아래에서 떠오르며 나타나고, 영수증이 마지막에 내려앉는다 */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 700ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 100ms); }
  .receipt.rise { animation: drop 820ms var(--ease-out) both; animation-delay: 520ms; }
  .hero__img { animation: settle 1600ms var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-28px) rotate(-1deg); } to { opacity: 1; transform: rotate(2.2deg); } }
@keyframes settle { from { transform: scale(1.05); } }

@media (max-width: 1380px) {
  .dock__brand span { display: none; }
}

/* 태블릿 */
@media (max-width: 1279px) {
  .hd__nav { display: none; }
  .hd__act { margin-left: auto; }
  .hd__menu { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 -8px 0 0; background: transparent; border: 0; cursor: pointer; border-radius: 4px; }
  .hd__bars, .hd__bars::before, .hd__bars::after { display: block; width: 22px; height: 2px; background: var(--rice); border-radius: 2px; position: relative; transition: transform 200ms var(--ease-out), opacity 150ms ease; }
  .hd__bars::before, .hd__bars::after { content: ""; position: absolute; left: 0; }
  .hd__bars::before { top: -7px; }
  .hd__bars::after { top: 7px; }
  .hd__menu[aria-expanded="true"] .hd__bars { background: transparent; }
  .hd__menu[aria-expanded="true"] .hd__bars::before { transform: translateY(7px) rotate(45deg); }
  .hd__menu[aria-expanded="true"] .hd__bars::after { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 1180px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(300px, 340px); }
  .dock__brand img { display: none; }
}

/* 휴대폰·작은 태블릿 */
@media (max-width: 1023px) {
  :root { --hd-h: 64px; --dock-h: 64px; }
  body { font-size: 16px; }
  .hd__in { gap: 12px; }
  .hd__logo img { height: 34px; }
  .hd__logo-sub { font-size: 12px; padding-left: 10px; }
  .hd__tel, .hd__cta { display: none; }

  .hero { align-content: start; min-height: 0; padding-block: 30svh calc(var(--dock-h) + 32px); }
  .hero__img { object-position: 50% 30%; height: 50svh; }
  .hero__shade {
    height: 50svh;
    background:
      linear-gradient(180deg, rgb(30 4 4 / 0.05) 0%, rgb(30 4 4 / 0.3) 40%, rgb(30 4 4 / 0.9) 80%, var(--ink) 100%),
      radial-gradient(90% 40% at 20% 92%, rgb(150 14 18 / 0.45), transparent 70%);
  }
  .hero__frame { display: none; }
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero__badge { font-size: 16px; padding: 6px 14px 6px 6px; gap: 8px; }
  .hero__badge span { padding: 5px 10px; }
  .hero__title-a { font-size: clamp(32px, 9vw, 52px); }
  .hero__title-b { font-size: clamp(52px, 15vw, 92px); }
  .hero__call { font-size: 22px; }
  .hero__cta { display: grid; gap: 12px; }
  .hero__cta .btn { width: 100%; }
  .receipt { transform: rotate(1.2deg); margin-inline: 4px; }
  .receipt__paper { padding: 26px 22px 36px; }

  .dock { display: none; }
  .dock-m {
    position: fixed; inset: auto 0 0 0; z-index: 30;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
    background: rgb(20 6 6 / 0.94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-gold);
  }
  .dock-m a { display: grid; place-items: center; min-height: 50px; border-radius: var(--radius); font-family: var(--font-display); font-weight: 900; font-size: 17px; text-decoration: none; transition: transform 160ms var(--ease-out); }
  .dock-m a:active { transform: scale(0.97); }
  .dock-m__tel { color: var(--gold); box-shadow: inset 0 0 0 1.5px var(--line-gold); }
  .dock-m__go { background: var(--red); color: var(--rice); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 1023px) {
  @keyframes drop { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: rotate(1.2deg); } }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__cta { display: flex; }
  .hero__cta .btn { width: auto; }
}

/* 2장: 태블릿 이하 */
@media (max-width: 1023px) {
  .tickets { grid-template-columns: minmax(0, 1fr); }
  .reason { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .reason--flip .reason__pic { order: 0; }
  .reason__pic { width: min(82%, 440px); margin-inline: auto; }
  .chips { grid-template-columns: minmax(0, 1fr); }
  .hq { grid-template-columns: minmax(0, 1fr); }
  .menu { --cw: min(74vw, 400px); }
  .marrow { width: 46px; height: 46px; }
  .marrow svg { width: 20px; height: 20px; }
  .marrow--prev { left: calc(50% - var(--cw) / 2 - 18px); }
  .marrow--next { right: calc(50% - var(--cw) / 2 - 18px); }
  .mtabs { gap: 6px; flex-wrap: nowrap; }
  .mtab { min-height: 44px; padding: 0 12px; font-size: 15px; gap: 5px; }
  .mtab span { font-size: 13px; }
  .bub > div { max-width: 86%; }
  .ava { width: 40px; height: 40px; }
  .ava--q svg { width: 24px; height: 24px; }
  .ava--a { border-radius: 10px; }
  .bub { gap: 8px; }
  .bub__text { padding: 14px 16px; border-radius: 18px; }
  .bub--typing { padding-right: 48px; }
  .ask { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 18px; gap: 14px; text-align: center; }
  .ask__send { justify-content: center; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__owner img { width: min(80%, 320px); }
  .split__list { grid-template-columns: minmax(0, 1fr); }
  .edu { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fan { --dw: min(30vw, 130px); --spread: 40%; --tilt: 5deg; }
  .edu__cal { padding: 16px; }
  .edu__week { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .edu__week li { height: 46px; font-size: 13px; }
  .edu__pass { right: -4px; bottom: -18px; font-size: 13px; }
  .edu__cal { padding-bottom: 26px; }
  .staff { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .staff .blk__text { margin-inline: auto; }
  .staff__days { margin-inline: auto; }
  .staff__days b { width: 48px; height: 48px; font-size: 21px; }
  .staff__days::before { top: 23px; }
  .eq__box { min-width: 0; padding: 16px 14px; }
  .eq__op { font-size: 34px; }
  .eq__op--gt { flex-basis: 100%; font-size: 52px; line-height: 0.8; transform: rotate(90deg); }
  .eq__box--win { flex-basis: 100%; }
  .eq__stamp { right: 10px; top: -16px; }
  .road { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .road li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
  .road li > b { grid-row: 1 / span 2; }
  .road h3 { margin-top: 2px; }
  .road p { margin-top: 4px; }
  .road li::after { display: block !important; top: auto; bottom: -12px; left: 40px; right: auto; width: 3px; height: 12px; background: var(--gold); }
  .road li:last-child::after { display: none !important; }
  .road__stamp { width: 58px; height: 58px; font-size: 17px; top: 12px; right: 12px; }
  .road li.is-open { padding-right: 82px; }
  .bill__paper { padding: 28px 22px 40px; }
  .cost__btn { justify-self: stretch; width: 100%; }
  .consult__in { grid-template-columns: minmax(0, 1fr); }
  .consult__intro { position: static; text-align: center; }
  .consult__text { margin-inline: auto; }
  .slip__head { padding: 18px 18px; flex-wrap: wrap; }
  .slip__head img { height: 32px; }
  .slip__body { grid-template-columns: minmax(0, 1fr); padding: 20px 18px 6px; }
  .slip__foot { padding: 12px 18px 22px; }
  .slip__stamp { right: 16px; top: 70px; width: 78px; height: 78px; font-size: 22px; }

  .mcard__name { font-size: 30px; }
  .taste { flex-direction: column; align-items: flex-start; }
  .counters { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .counter + .counter::before { left: 20%; right: 20%; top: -20px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, transparent, var(--line-gold), transparent); }
  .counter__num { font-size: clamp(50px, 15vw, 84px); }
  .statshot { width: 46%; }
  .statshot figcaption { font-size: 13px; }
  .sec-title { font-size: clamp(32px, 8.4vw, 56px); }
  .pill { font-size: 15px; }
  .sales__cta { flex-direction: column; gap: 14px; }
  .sales__cta .btn { width: 100%; max-width: 420px; }
}
@media (max-width: 560px) {
  .ticket { --cut: 64px; --notch: 13px; }
  .ticket__top { padding: 0 22px; }
  .ticket__body { margin-inline: 16px; padding: 22px 6px 26px; }
  .ticket__label { font-size: 17px; }
  .ticket__num { font-size: clamp(36px, 11vw, 50px); }
  .ticket__done > span:first-child { font-size: 24px; padding: 6px 12px 7px; border-width: 3px; }
  .ticket__sparks { scale: 0.5; }
  .counter__label { font-size: 18px; }
  .counter__sub { font-size: 14px; }
  .reviews__set { gap: 18px; padding-right: 18px; }
  .reason__no b { width: 44px; height: 44px; font-size: 19px; }
  .hours { padding: 16px 12px 12px; }
  .hours__bars { gap: 2px; height: 120px; }
  .chips li { padding: 22px 22px 20px; }
}

@media (max-width: 380px) {
  .hero__title-a { font-size: 30px; }
  .hero__title-b { font-size: 48px; }
  .receipt__rows dd { font-size: 21px; }
}

/* ───────── 결과 장식: 평평한 색 위에 인쇄물 같은 결, 배너 장식, 큰 붓글씨 ─────────
   새로 그린 그림은 쓰지 않는다. 쓰는 것: 배민 배너의 모서리 장식과 회문(回), 붓글씨 로고, 청담각 음식 사진 */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --knot-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 13V1h12v9H5V5h4v2' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  --knot-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M13 13V1H1v9h8V5H5v2' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}

/* 1. 종이 결: 빨강·먹색·베이지 바탕이 화면 색이 아니라 인쇄한 종이처럼 보이게 */
:is(.sales, .why, .menu, .faq, .hq6, .steps, .cost, .consult, .ft)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--grain) repeat 0 0 / 240px 240px;
  mix-blend-mode: overlay; opacity: 0.34;
}
:is(.why, .hq6, .cost)::after { opacity: 0.22; }

/* 2. 장 머리 장식: 이름표 양옆으로 금색 줄과 회문 매듭 (배너의 중국풍 띠와 같은 말씨) */
.sec-head .pill { position: relative; --orn: rgb(255 211 107 / 0.85); }
.sec-head .pill--red { --orn: rgb(176 20 27 / 0.7); }
.sec-head .pill::before, .sec-head .pill::after {
  content: ""; position: absolute; top: 50%; width: clamp(40px, 9vw, 136px); height: 14px; margin-top: -7px;
  background: var(--orn); pointer-events: none;
}
.sec-head .pill::before {
  right: calc(100% + 12px); transform-origin: right center;
  -webkit-mask: var(--knot-r) right center / 14px 14px no-repeat, linear-gradient(90deg, transparent, #000 70%) left center / calc(100% - 20px) 2px no-repeat;
  mask: var(--knot-r) right center / 14px 14px no-repeat, linear-gradient(90deg, transparent, #000 70%) left center / calc(100% - 20px) 2px no-repeat;
}
.sec-head .pill::after {
  left: calc(100% + 12px); transform-origin: left center;
  -webkit-mask: var(--knot-l) left center / 14px 14px no-repeat, linear-gradient(270deg, transparent, #000 70%) right center / calc(100% - 20px) 2px no-repeat;
  mask: var(--knot-l) left center / 14px 14px no-repeat, linear-gradient(270deg, transparent, #000 70%) right center / calc(100% - 20px) 2px no-repeat;
}

/* 3. 배너 모서리 장식 틀: 첫 화면과 같은 금색 모서리를 2장·7장·9장에도 */
.frame { position: absolute; z-index: -1; inset: 46px 22px 22px; pointer-events: none; color: rgb(255 211 107 / 0.42); }
.frame svg { position: absolute; width: 56px; height: 56px; }
.frame .tl { top: 0; left: 0; }
.frame .tr { top: 0; right: 0; transform: scaleX(-1); }
.frame .bl { bottom: 0; left: 0; transform: scaleY(-1); }
.frame .br { bottom: 0; right: 0; transform: scale(-1, -1); }

/* 5. 8장 양옆: 청담각 음식이 화면 가장자리에 놓인다 */
.cost { overflow: clip; }
.cost__dish { position: absolute; z-index: -1; width: clamp(300px, 27vw, 440px); aspect-ratio: 1; pointer-events: none; }
.cost__dish img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask: radial-gradient(closest-side, #000 74%, transparent 100%);
  mask: radial-gradient(closest-side, #000 74%, transparent 100%);
}
.cost__dish--l { top: 22%; right: calc(50% + 318px); rotate: -8deg; }
.cost__dish--r { bottom: 8%; left: calc(50% + 318px); rotate: 10deg; }

/* 6. 5장·7장 바탕: 붓글씨 로고를 아주 옅고 크게 */
.faq { overflow: clip; }
.steps::before, .faq::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background: url("../assets/logo/brand-wordmark-rice.svg") center / contain no-repeat;
  opacity: 0.055;
}
.steps::before { left: -6%; right: -6%; bottom: -4%; height: 52%; }
.faq::before { width: min(52%, 760px); aspect-ratio: 540 / 183; right: -7%; top: 9%; rotate: -5deg; }

/* 7. 맨 아래: 회문 띠로 시작하고, 큰 붓글씨 로고가 바닥에 깔린다 */
.ft { position: relative; isolation: isolate; overflow: clip; padding-top: 0; border-top: 0; }
.ft > .meander { margin-bottom: clamp(40px, 5vw, 64px); }
.ft__mark { position: absolute; z-index: -1; right: -3%; bottom: calc(var(--dock-h) - 1%); width: min(64%, 920px); height: auto; opacity: 0.045; pointer-events: none; }

/* 8. 들어올 때 한 번: 장 머리는 이름표 → 양옆 줄 → 제목 두 줄 순서로, 회문 띠는 가운데서 양옆으로 펼쳐진다 */
@media (prefers-reduced-motion: no-preference) {
  .js .sec-head:not(.is-in) .pill { opacity: 0; transform: translateY(14px) scale(0.9); }
  .js .sec-head.is-in .pill { transition: transform 700ms var(--ease-out), opacity 400ms ease; }
  .js .sec-head:not(.is-in) .pill::before, .js .sec-head:not(.is-in) .pill::after { scale: 0 1; opacity: 0; }
  .js .sec-head.is-in .pill::before, .js .sec-head.is-in .pill::after { transition: scale 1100ms var(--ease-out) 280ms, opacity 400ms ease 280ms; }
  .js .sec-head:not(.is-in) .sec-title > span { opacity: 0; transform: translateY(0.42em); filter: blur(8px); }
  .js .sec-head.is-in .sec-title > span { transition: transform 900ms var(--ease-out) 160ms, opacity 700ms ease 160ms, filter 700ms ease 160ms; }
  .js .sec-head.is-in .sec-title > span + span { transition-delay: 320ms; }

  .js .consult__intro:not(.is-in) > * { opacity: 0; transform: translateY(26px); }
  .js .consult__intro.is-in > * { transition: transform 800ms var(--ease-out), opacity 500ms ease; }
  .js .consult__intro.is-in > :nth-child(2) { transition-delay: 110ms; }
  .js .consult__intro.is-in > :nth-child(3) { transition-delay: 220ms; }
  .js .consult__intro.is-in > :nth-child(4) { transition-delay: 330ms; }

  .js .meander:not(.is-in) { clip-path: inset(0 50%); }
  .js .meander.is-in { clip-path: inset(0 0); transition: clip-path 1400ms var(--ease-out); }

  .js .frame:not(.is-in) svg { opacity: 0; }
  .js .frame:not(.is-in) .tl { translate: -16px -16px; }
  .js .frame:not(.is-in) .tr { translate: 16px -16px; }
  .js .frame:not(.is-in) .bl { translate: -16px 16px; }
  .js .frame:not(.is-in) .br { translate: 16px 16px; }
  .js .frame.is-in svg { transition: translate 1200ms var(--ease-out) 300ms, opacity 900ms ease 300ms; }

  .js [data-up]:not(.is-in) { opacity: 0; transform: translateY(30px); }
  .js [data-up].is-in { transition: transform 850ms var(--ease-out), opacity 550ms ease; }

  .js .cost__dish:not(.is-in) { opacity: 0; }
  .js .cost__dish--l:not(.is-in) { transform: translateX(-90px) rotate(-22deg) scale(0.9); }
  .js .cost__dish--r:not(.is-in) { transform: translateX(90px) rotate(22deg) scale(0.9); }
  .js .cost__dish.is-in { transition: transform 1200ms cubic-bezier(0.2, 0.9, 0.25, 1.05), opacity 600ms ease; }
  .js .cost__dish--r.is-in { transition-delay: 160ms; }

  /* 첫 화면 영수증: 내려앉은 뒤 한 줄씩 찍힌다 */
  .receipt__rows > div { animation: rise 620ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 150ms + 1050ms); }
}

/* 9. 스크롤에 따라 아주 천천히: 사진과 큰 글씨가 바탕보다 조금 늦게 움직여 깊이가 생긴다 (지원하는 브라우저만) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero { view-timeline: --hero; }
    .hero__img { animation: settle 1600ms var(--ease-out) both, hero-px linear both; animation-timeline: auto, --hero; animation-range: normal, exit; }
    .reason__pic, .cost__dish { animation: drift-y linear both; animation-timeline: view(); }
    .steps { view-timeline: --steps; }
    .steps::before { animation: drift-x linear both; animation-timeline: --steps; }
    .faq { view-timeline: --faq; }
    .faq::before { animation: drift-x linear both reverse; animation-timeline: --faq; }
    .ft { view-timeline: --ft; }
    .ft__mark { animation: drift-x linear both; animation-timeline: --ft; }
  }
}
@keyframes hero-px { to { translate: 0 18%; } }
@keyframes drift-y { from { translate: 0 56px; } to { translate: 0 -56px; } }
@keyframes drift-x { from { translate: -4% 0; } to { translate: 4% 0; } }

/* 결 장식: 휴대폰 */
@media (max-width: 1100px) {
  .cost__dish { display: none; }
}
@media (max-width: 1023px) {
  .frame { inset: 36px 10px 10px; }
  .frame svg { width: 34px; height: 34px; }
  .faq::before { width: 92%; right: -20%; top: 4%; }
  .steps::before { height: 26%; bottom: 2%; }
  .ft__mark { width: 96%; right: -14%; }
}
@media (max-width: 560px) {
  .sec-head .pill::before, .sec-head .pill::after { width: clamp(28px, 12vw, 60px); }
}

/* 문장 단위로 줄을 바꾼다 (한 문장의 첫 어절이 윗줄 끝에 걸리지 않게) */
.sent{display:inline-block}
