/* ============================================================
   FNB-CORP-002 · 본가설렁탕 · CRP 코퍼레이트·신뢰형
   가맹모집형 기업홈페이지 6p
   ============================================================ */

:root {
  --brand:       #1c3f6e;
  --brand-ink:   #ffffff;
  --accent:      #b4472e;
  --accent-ink:  #ffffff;
  --surface:     #ffffff;
  --surface-alt: #f3f1ec;
  --font-display: var(--font-serif);
  --r: var(--r-sm);
}

body { background: var(--surface); }

/* 컨테이너 좌우 여백과 같은 값 — 풀블리드 구간 정렬 기준 */
.u-edge { padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }

/* ── 공통 타입 ─────────────────────────────────────────────── */

.kicker, .label {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--brand);
}
.label { color: var(--ink-3); }
.label--light { color: color-mix(in oklab, var(--brand-ink) 62%, transparent); }

.h2 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.1; }
.h3 { font-size: var(--fs-xl); letter-spacing: var(--ls-tight); line-height: 1.25; }

.body-lg { font-size: var(--fs-md); color: var(--ink-2); max-width: 48ch; line-height: var(--lh-loose); }
.body-sm { font-size: var(--fs-sm); color: var(--ink-2); }

.rule { height: 1px; background: var(--line); border: 0; }

.seal {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-sans);
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  color: var(--accent);
  border-radius: var(--r-full);
}

/* ── 버튼 ──────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-6);
  font-family: var(--font-sans);
  font-size: var(--fs-sm); font-weight: var(--fw-bold);
  border-radius: var(--r);
  border: 1px solid transparent;
  text-align: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: var(--sp-3) var(--sp-5); }
.btn--block { width: 100%; }

.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: color-mix(in oklab, var(--accent) 82%, black); }

.btn--navy { background: var(--brand); color: var(--brand-ink); }
.btn--navy:hover { background: color-mix(in oklab, var(--brand) 82%, black); }

.btn--line { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }

.btn--ghost { border-color: color-mix(in oklab, var(--brand-ink) 45%, transparent); color: var(--brand-ink); }
.btn--ghost:hover { background: var(--brand-ink); color: var(--brand); border-color: var(--brand-ink); }

/* ── 헤더 ──────────────────────────────────────────────────── */
/* 히어로가 어두운 풀블리드 사진이다. 헤더에 항상 불투명에 가까운 배경을
   깔아 어느 스크롤 위치에서도 메뉴 글자 대비를 보장한다. */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: none;
  background: var(--brand);
  color: color-mix(in oklab, var(--brand-ink) 82%, transparent);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-base);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); padding-block: var(--sp-2); }
.topbar strong { color: var(--brand-ink); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); }
.topbar__list { display: flex; gap: var(--sp-5); }
.topbar__list li { position: relative; padding-left: var(--sp-4); }
.topbar__list li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 4px; height: 4px; border-radius: var(--r-full);
  background: color-mix(in oklab, var(--brand-ink) 55%, transparent);
  transform: translateY(-50%);
}

.head__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5);
  padding-block: var(--sp-3);
}

.brandmark { display: inline-flex; flex-direction: column; gap: 2px; }
.brandmark b {
  font-family: var(--font-display);
  font-size: var(--fs-lg); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight); line-height: 1;
  color: var(--brand);
}
.brandmark span {
  font-family: var(--font-mono);
  font-size: var(--fs-xs); letter-spacing: var(--ls-widest);
  color: var(--ink-3);
}

.gnb { display: none; gap: var(--sp-6); }
.gnb a {
  position: relative;
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
  color: var(--ink-2);
  padding-block: var(--sp-2);
  transition: color var(--dur) var(--ease);
}
.gnb a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.gnb a:hover { color: var(--brand); }
.gnb a:hover::after, .gnb a[aria-current="page"]::after { transform: scaleX(1); }
.gnb a[aria-current="page"] { color: var(--brand); font-weight: var(--fw-bold); }

.head__cta { display: none; }

/* 모바일 드로어 — <details> 라서 JS 없이도 열린다 */
.drawer { position: relative; }
.drawer > summary {
  list-style: none;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  cursor: pointer;
  color: var(--ink);
}
.drawer > summary::-webkit-details-marker { display: none; }
.drawer > summary::after {
  content: ""; width: 11px; height: 11px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat;
  transition: transform var(--dur) var(--ease);
}
.drawer[open] > summary::after { transform: rotate(45deg); }

.drawer__panel {
  position: absolute;
  top: calc(100% + var(--sp-3));
  right: 0;
  width: min(78vw, 320px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  padding: var(--sp-3);
  display: grid;
  gap: 1px;
}
.drawer__panel a {
  padding: var(--sp-4);
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
  border-bottom: 1px solid var(--line);
}
.drawer__panel a:last-of-type { border-bottom: 0; }
.drawer__panel a[aria-current="page"] { color: var(--brand); font-weight: var(--fw-bold); }
.drawer__panel .btn { margin-top: var(--sp-3); }

@media (min-width: 768px) {
  .topbar { display: block; }
}
@media (min-width: 1024px) {
  .gnb { display: flex; }
  .head__cta { display: inline-flex; }
  .drawer { display: none; }
  .head__bar { padding-block: var(--sp-4); }
}

/* ── 히어로 ────────────────────────────────────────────────── */
/* 첫 화면 전체를 사진이 덮는다. 네이비 스크림으로 헤드라인 대비를 만들고
   지표 스트립이 히어로 하단에 음수 마진으로 겹쳐 올라온다. */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding-top: var(--sp-9);
  padding-bottom: var(--sp-10);
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
  border-radius: 0;
  aspect-ratio: auto;
}
.hero__media > img { filter: saturate(.82) brightness(.92); }
.hero__scrim {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg,
      color-mix(in oklab, var(--brand) 94%, black) 0%,
      color-mix(in oklab, var(--brand) 86%, transparent) 42%,
      color-mix(in oklab, var(--brand) 30%, transparent) 78%,
      transparent 100%),
    linear-gradient(to top, color-mix(in oklab, var(--brand) 90%, black) 4%, transparent 46%);
}
.hero__inner { position: relative; z-index: 2; color: var(--brand-ink); display: grid; gap: var(--sp-5); }
.hero .kicker { color: color-mix(in oklab, var(--brand-ink) 78%, transparent); }

.hero__title {
  font-size: var(--fs-4xl);
  line-height: 1.06;
  letter-spacing: var(--ls-tighter);
  max-width: 15ch;
}
.hero__title em { font-style: normal; color: color-mix(in oklab, var(--accent) 62%, white); }

.hero__lead {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  color: color-mix(in oklab, var(--brand-ink) 82%, transparent);
  max-width: 42ch;
  line-height: var(--lh-loose);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid color-mix(in oklab, var(--brand-ink) 28%, transparent);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: color-mix(in oklab, var(--brand-ink) 70%, transparent);
}

@media (min-width: 1024px) {
  .hero { padding-top: var(--sp-10); padding-bottom: var(--sp-11); }
  .hero__title { max-width: 13ch; }
}

/* ── 지표 스트립 (히어로에 겹침) ───────────────────────────── */

.figures { position: relative; z-index: 5; margin-top: calc(var(--sp-8) * -1); }
.figures__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
}
.figure {
  padding: var(--sp-5);
  border-bottom: 1px solid var(--line);
}
.figure:nth-child(odd) { border-right: 1px solid var(--line); }
.figure:nth-last-child(-n+2) { border-bottom: 0; }
.figure dt {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: var(--ink-3);
  margin-bottom: var(--sp-3);
}
.figure dd {
  font-family: var(--font-display);
  font-size: var(--fs-2xl); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: 1;
  color: var(--brand);
}
.figure dd span { font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--ink-3); margin-left: 3px; }

@media (min-width: 768px) {
  .figures__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .figure { border-bottom: 0; padding: var(--sp-6); }
  .figure:nth-child(odd) { border-right: 0; }
  .figure + .figure { border-left: 1px solid var(--line); }
}

/* ── 티커 ──────────────────────────────────────────────────── */

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface-alt);
  padding-block: var(--sp-4);
  margin-top: var(--section-y);
}
.ticker__track {
  display: flex; align-items: center; gap: var(--sp-6);
  width: max-content;
  animation: bongaTicker 44s linear infinite;
}
.ticker__track span {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  color: var(--ink-2);
  white-space: nowrap;
}
.ticker__track i { width: 5px; height: 5px; border-radius: var(--r-full); background: var(--accent); flex: none; }
@keyframes bongaTicker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ── 섹션 헤더 (비대칭 2단 + 스티키) ───────────────────────── */

.split { display: grid; gap: var(--sp-7); }
.split__aside { display: grid; gap: var(--sp-4); align-content: start; }
.split__aside .h2 { font-size: var(--fs-2xl); letter-spacing: var(--ls-tight); }

@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--sp-9); }
  .split__aside { position: sticky; top: var(--sp-9); }
}

/* ── 브랜드 요약 (풀블리드 + 겹침 카드) ────────────────────── */

.story { position: relative; padding-bottom: var(--section-y); }
.story__media { border-radius: 0; aspect-ratio: 4 / 5; }
.story__card {
  position: relative;
  margin-top: calc(var(--sp-8) * -1);
  padding: var(--sp-6);
  background: var(--surface);
  border-top: 3px solid var(--brand);
  box-shadow: var(--sh-lg);
  display: grid;
  gap: var(--sp-4);
}
.story__list { display: grid; gap: var(--sp-4); margin-top: var(--sp-2); }
.story__list li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  line-height: var(--lh-loose);
}
.story__list b {
  font-family: var(--font-mono);
  color: var(--brand);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  padding-top: 3px;
}

@media (min-width: 768px) {
  .story__media { aspect-ratio: 21 / 9; }
  .story__card { margin-top: calc(var(--sp-10) * -1); max-width: 640px; padding: var(--sp-8); }
}

/* ── 메뉴 카드 ─────────────────────────────────────────────── */

.dishes { display: grid; gap: var(--sp-6); }
.dish { display: grid; gap: var(--sp-4); }
.dish__media { border-radius: var(--r); }
.dish__media > img { transition: transform var(--dur-slow) var(--ease-out); }
.dish:hover .dish__media > img { transform: scale(1.04); }
.dish__name { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.dish__desc { font-size: var(--fs-sm); color: var(--ink-2); line-height: var(--lh-loose); }
.dish__price {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--ink);
}
.dish__price span { font-size: var(--fs-xs); color: var(--ink-3); letter-spacing: var(--ls-wide); }

@media (min-width: 768px) { .dishes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); } }

/* ── 큰 숫자 스텝 ──────────────────────────────────────────── */

.steps { display: grid; gap: var(--sp-6); counter-reset: bstep; }
/* 트랙을 minmax(0,1fr) 로 잡아도 그리드 아이템 자체는 min-width:auto 라 안 줄어든다 */
.steps > * { min-width: 0; }
.step {
  /* 트랙을 지정하지 않으면 암묵 컬럼이 max-content 가 되어 카드 안에서 다시 터진다 */
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3);
  padding-top: var(--sp-5);
  border-top: 2px solid var(--brand);
}
.step__num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl); font-weight: var(--fw-bold);
  line-height: .9;
  letter-spacing: var(--ls-tighter);
  color: color-mix(in oklab, var(--brand) 24%, var(--surface));
}
.step__title { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.step p { font-size: var(--fs-sm); color: var(--ink-2); line-height: var(--lh-loose); }
.step__meta { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--brand); letter-spacing: var(--ls-wide); }

@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-7); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-6); } }

/* ── 헤어라인 그리드 (지원 시스템) ─────────────────────────── */

.grid-hair {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.grid-hair > * {
  background: var(--surface);
  padding: var(--sp-6);
  display: grid;
  gap: var(--sp-3);
  align-content: start;
}
.grid-hair h3 { font-size: var(--fs-md); letter-spacing: var(--ls-tight); }
.grid-hair p { font-size: var(--fs-sm); color: var(--ink-2); line-height: var(--lh-loose); }
.grid-hair .idx { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--accent); letter-spacing: var(--ls-wide); }

@media (min-width: 768px) { .grid-hair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-hair { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── 표 ────────────────────────────────────────────────────── */

.tablewrap { overflow-x: auto; border: 1px solid var(--line); }
.dtable { width: 100%; border-collapse: collapse; min-width: 520px; }
.dtable caption {
  text-align: left;
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: var(--ink-3);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}
.dtable th, .dtable td {
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
  text-align: left;
  vertical-align: top;
}
.dtable thead th {
  background: var(--surface-alt);
  font-weight: var(--fw-bold);
  color: var(--ink);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
}
.dtable td:last-child, .dtable th:last-child { text-align: right; font-family: var(--font-mono); }
.dtable tbody tr:last-child td { border-bottom: 0; }
.dtable tfoot td {
  background: color-mix(in oklab, var(--brand) 6%, var(--surface));
  font-weight: var(--fw-bold);
  color: var(--brand);
  border-bottom: 0;
}

/* ── 창업비용 계산기 ───────────────────────────────────────── */

.calc {
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: var(--sp-6);
  display: grid;
  gap: var(--sp-5);
  background: var(--surface);
}
.calc__head { display: grid; gap: var(--sp-2); }
.calc__control { display: grid; gap: var(--sp-3); }
.calc__control label { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); color: var(--ink-2); }
.calc__control input[type="range"] { width: 100%; accent-color: var(--brand); }
.calc__control output {
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--brand);
}
.calc__out { display: grid; gap: 0; }
.calc__out > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4);
  padding-block: var(--sp-3);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.calc__out dt { color: var(--ink-2); }
.calc__out dd { font-family: var(--font-mono); font-weight: var(--fw-semibold); }
.calc__total {
  border-top-width: 2px !important;
  border-top-color: var(--brand) !important;
}
.calc__total dt { color: var(--ink); font-weight: var(--fw-bold); }
.calc__total dd { color: var(--brand); font-size: var(--fs-lg); font-weight: var(--fw-bold); }
.calc__note { font-size: var(--fs-xs); color: var(--ink-3); line-height: var(--lh-loose); }

/* ── 인용 ──────────────────────────────────────────────────── */

.quote-band { background: var(--brand); color: var(--brand-ink); padding-block: var(--section-y); }
.quote-band blockquote { display: grid; gap: var(--sp-5); }
.quote-band p {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.5;
  letter-spacing: var(--ls-tight);
}
.quote-band footer { font-size: var(--fs-sm); color: color-mix(in oklab, var(--brand-ink) 66%, transparent); }
.quote-band footer b { color: var(--brand-ink); font-weight: var(--fw-bold); }

@media (min-width: 1024px) { .quote-band p { font-size: var(--fs-2xl); max-width: 22ch; } }

/* ── FAQ ───────────────────────────────────────────────────── */

.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  padding-block: var(--sp-5);
  font-size: var(--fs-md); font-weight: var(--fw-semibold);
  cursor: pointer; list-style: none;
  transition: color var(--dur) var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brand); }
.qa summary::after {
  content: ""; width: 13px; height: 13px; flex: none;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat;
  transition: transform var(--dur) var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding-bottom: var(--sp-5); font-size: var(--fs-sm); color: var(--ink-2); max-width: 68ch; line-height: var(--lh-loose); }

/* ── 페이지 헤더 (하위 페이지) ─────────────────────────────── */

.pagehead {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--sp-9) + var(--sp-6));
  padding-bottom: var(--sp-8);
  background: var(--brand);
  color: var(--brand-ink);
  overflow: hidden;
}
.pagehead__media { position: absolute; inset: 0; z-index: 0; border-radius: 0; aspect-ratio: auto; }
.pagehead__media > img { filter: saturate(.6) brightness(.5); }
.pagehead__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(92deg,
    color-mix(in oklab, var(--brand) 92%, black) 12%,
    color-mix(in oklab, var(--brand) 62%, transparent) 100%);
}
.pagehead__inner { position: relative; z-index: 2; display: grid; gap: var(--sp-4); }
.pagehead h1 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); }
.pagehead p { font-family: var(--font-sans); font-size: var(--fs-md); color: color-mix(in oklab, var(--brand-ink) 78%, transparent); max-width: 46ch; }

.crumb {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: color-mix(in oklab, var(--brand-ink) 62%, transparent);
  letter-spacing: var(--ls-wide);
}
.crumb a:hover { color: var(--brand-ink); }

@media (min-width: 1024px) {
  .pagehead { padding-top: calc(var(--sp-10) + var(--sp-6)); padding-bottom: var(--sp-9); }
  .pagehead h1 { font-size: var(--fs-4xl); }
}

/* ── 연혁 ──────────────────────────────────────────────────── */

.timeline { display: grid; gap: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: var(--sp-5);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--brand);
  letter-spacing: var(--ls-wide);
}
.timeline p { font-size: var(--fs-sm); color: var(--ink-2); line-height: var(--lh-loose); }
.timeline b { display: block; color: var(--ink); font-size: var(--fs-md); margin-bottom: var(--sp-1); }

/* ── 폼 ────────────────────────────────────────────────────── */

.form { display: grid; gap: var(--sp-5); }
.field { display: grid; gap: var(--sp-2); }
.field > label { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); color: var(--ink-2); }
.field input, .field select, .field textarea {
  padding: var(--sp-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  font-size: var(--fs-sm);
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--brand); }
.field__hint { font-size: var(--fs-xs); color: var(--ink-3); }
.form__row { display: grid; gap: var(--sp-5); }
.check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-xs); color: var(--ink-2); line-height: var(--lh-loose); }
.check input { width: 1rem; height: 1rem; margin-top: 3px; flex: none; accent-color: var(--brand); }

@media (min-width: 768px) { .form__row { grid-template-columns: 1fr 1fr; } }

/* ── 문의 사이드 카드 ──────────────────────────────────────── */

.callcard {
  background: var(--brand);
  color: var(--brand-ink);
  padding: var(--sp-6);
  border-radius: var(--r);
  display: grid;
  gap: var(--sp-4);
}
.callcard b { font-family: var(--font-display); font-size: var(--fs-2xl); letter-spacing: var(--ls-tight); }
.callcard p { font-size: var(--fs-sm); color: color-mix(in oklab, var(--brand-ink) 76%, transparent); line-height: var(--lh-loose); }
.callcard dl { display: grid; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid color-mix(in oklab, var(--brand-ink) 26%, transparent); }
.callcard dl > div { display: flex; justify-content: space-between; gap: var(--sp-4); font-size: var(--fs-xs); }
.callcard dt { color: color-mix(in oklab, var(--brand-ink) 62%, transparent); letter-spacing: var(--ls-wide); }
.callcard dd { font-family: var(--font-mono); }

/* ── 약도 ──────────────────────────────────────────────────── */

.mapbox {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 40px),
    var(--surface-alt);
  overflow: hidden;
}
.mapbox__road {
  position: absolute; left: 0; right: 0; top: 54%;
  height: 14px;
  background: color-mix(in oklab, var(--brand) 18%, var(--surface));
  transform: rotate(-4deg);
}
.mapbox__road--v { left: 62%; right: auto; top: 0; bottom: 0; width: 14px; height: auto; transform: rotate(6deg); }
.mapbox__pin {
  position: absolute; left: 38%; top: 44%;
  display: grid; gap: var(--sp-2); justify-items: center;
  transform: translate(-50%, -100%);
}
.mapbox__pin i {
  width: 14px; height: 14px; border-radius: var(--r-full);
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 22%, transparent);
}
.mapbox__pin span {
  background: var(--brand); color: var(--brand-ink);
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r);
  white-space: nowrap;
}

/* ── CTA 밴드 ──────────────────────────────────────────────── */

.cta-band {
  position: relative;
  isolation: isolate;
  background: color-mix(in oklab, var(--brand) 96%, black);
  color: var(--brand-ink);
  padding-block: var(--section-y);
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 88% 10%, color-mix(in oklab, var(--accent) 42%, transparent), transparent 62%),
    radial-gradient(ellipse 50% 60% at 4% 100%, color-mix(in oklab, var(--brand) 40%, white), transparent 58%);
  opacity: .5;
}
.cta-band__inner { display: grid; gap: var(--sp-5); justify-items: start; }
.cta-band h2 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.1; }
.cta-band p { font-family: var(--font-sans); font-size: var(--fs-md); color: color-mix(in oklab, var(--brand-ink) 78%, transparent); max-width: 44ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }

@media (min-width: 1024px) { .cta-band h2 { font-size: var(--fs-4xl); } }

/* ── 푸터 ──────────────────────────────────────────────────── */

.foot { background: var(--surface-alt); padding-block: var(--sp-8) var(--sp-6); border-top: 1px solid var(--line); }
.foot__inner { display: grid; gap: var(--sp-6); }
.foot__brand b { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--brand); display: block; margin-bottom: var(--sp-2); }
.foot__brand p { font-size: var(--fs-sm); color: var(--ink-2); line-height: var(--lh-loose); }
.foot__nav { display: grid; gap: var(--sp-3); align-content: start; }
.foot__nav b { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); color: var(--ink-3); }
.foot__nav a { font-size: var(--fs-sm); color: var(--ink-2); }
.foot__nav a:hover { color: var(--brand); }
.foot__legal {
  grid-column: 1 / -1;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-strong);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: var(--lh-loose);
}
.foot__legal strong { color: var(--ink-2); font-weight: var(--fw-semibold); }

@media (min-width: 768px) { .foot__inner { grid-template-columns: 1.6fr 1fr 1fr; gap: var(--sp-7); } }

/* ── 유틸 ──────────────────────────────────────────────────── */

.stack { display: grid; gap: var(--sp-5); }
.stack--lg { gap: var(--sp-7); }
.mt-8 { margin-top: var(--sp-8); }
.sec-head { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-7); }
.notice {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: var(--lh-loose);
  padding: var(--sp-5);
  background: var(--surface-alt);
  border-left: 3px solid var(--brand);
}

/* ============================================================
   브랜드 마크 · 아이콘 · 인터랙션 보강  ★SPEC 4-C
   레이아웃·색·타이포는 건드리지 않는다. 여기서는 더하기만 한다.
   ============================================================ */

/* ── 아이콘 ───────────────────────────────────────────────────
   currentColor 라서 부모의 color 만 정하면 된다. 1em 이라 옆 글자와 맞는다. */
.ico { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }

/* ── 브랜드 마크 — 뚝배기 위로 김이 두 줄 오른다 ─────────────
   헤더 브랜드는 2줄 조판이라 마크가 두 줄을 세로로 가로지르게 둔다. */
.brandmark {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "mark name" "mark sub";
  column-gap: var(--sp-3);
  row-gap: 2px;
}
.mark { flex: none; color: var(--brand); }
.brandmark > .mark { grid-area: mark; align-self: center; }
.brandmark b { grid-area: name; }
.brandmark > span { grid-area: sub; }

.mark__steam {
  opacity: .85;
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur) var(--ease);
}
.mark__steam--b { transition-delay: 90ms; }
.mark__pot { transition: transform var(--dur) var(--ease-out); }
.brandmark:hover .mark__steam { transform: translateY(-2.4px); opacity: 1; }
.brandmark:hover .mark__pot  { transform: translateY(1.2px); }
.brandmark b { transition: color var(--dur) var(--ease); }
.brandmark:hover b { color: var(--accent); }

.foot__brand b { display: inline-flex; align-items: center; gap: var(--sp-3); }
.foot__brand b .mark { transition: transform var(--dur-slow) var(--ease-out); }
.foot__brand:hover b .mark { transform: rotate(-8deg); }

/* ── 아이콘이 붙는 자리 ─────────────────────────────────────── */

.topbar__tel { display: inline-flex; align-items: center; gap: var(--sp-2); }
.topbar__tel .ico { font-size: var(--fs-base); }

.hero__meta span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero__meta .ico { font-size: var(--fs-base); opacity: .9; }

.story__list b { display: inline-flex; align-items: center; gap: var(--sp-2); }
.story__list b .ico { font-size: var(--fs-md); }

.callcard b { display: inline-flex; align-items: center; gap: var(--sp-3); }
.callcard dt { display: inline-flex; align-items: center; gap: var(--sp-2); }
.callcard .ico { color: var(--brand-ink); }

.foot__contact { display: grid; gap: var(--sp-3); }
.foot__contact span { display: flex; align-items: flex-start; gap: var(--sp-3); }
.foot__contact .ico { font-size: var(--fs-md); color: var(--brand); margin-top: .15em; }

/* 14px 버튼에서 1em 화살표는 뭉개진다 */
.btn__arrow {
  font-size: 1.25em;
  margin-left: 1px;
  transition: transform var(--dur) var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ── 지표 스트립 ───────────────────────────────────────────── */

.figure { transition: background var(--dur) var(--ease); }
.figure:hover { background: var(--surface-alt); }
.figure dd { transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease); }
.figure:hover dd { transform: translateY(-2px); color: var(--accent); }

/* ── 티커: 올리면 멈춘다 (읽을 수 있게) ─────────────────────── */

.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { transition: color var(--dur) var(--ease); }
.ticker:hover .ticker__track span { color: var(--ink); }

/* ── 헤어라인 그리드 ───────────────────────────────────────── */

.grid-hair > * { transition: background var(--dur) var(--ease); }
.grid-hair > *:hover { background: var(--surface-alt); }
.grid-hair h3 { transition: color var(--dur) var(--ease); }
.grid-hair > *:hover h3 { color: var(--brand); }
.grid-hair .idx { transition: letter-spacing var(--dur) var(--ease); }
.grid-hair > *:hover .idx { letter-spacing: var(--ls-widest); }

/* ── 창업 절차: 상단 선이 차오른다 ─────────────────────────── */

.step { position: relative; transition: transform var(--dur) var(--ease-out); }
.step::before {
  content: "";
  position: absolute; left: 0; top: -2px; height: 2px; width: 0;
  background: var(--accent);
  transition: width var(--dur-slow) var(--ease-out);
}
.step:hover { transform: translateY(-4px); }
.step:hover::before { width: 100%; }
.step__num { transition: color var(--dur) var(--ease); }
.step:hover .step__num { color: var(--brand); }

/* ── 메뉴 카드: 들어올려지고 사진이 당겨진다 ───────────────── */

.dish { transition: transform var(--dur) var(--ease-out); }
.dish:hover { transform: translateY(-6px); }
.dish__media { overflow: hidden; }
.dish__name { transition: color var(--dur) var(--ease); }
.dish:hover .dish__name { color: var(--brand); }
.dish__price { transition: border-color var(--dur) var(--ease); }
.dish:hover .dish__price { border-top-color: var(--accent); }

/* ── 육수 공정 목록 ────────────────────────────────────────── */

.story__list li { transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.story__list li:hover { border-top-color: var(--brand); transform: translateX(3px); }

/* ── 연혁 · 표 · 폼 · 드로어 ───────────────────────────────── */

.timeline li { transition: background var(--dur) var(--ease); }
.timeline li:hover { background: var(--surface-alt); }
.dtable tbody tr { transition: background var(--dur) var(--ease); }
.dtable tbody tr:hover { background: color-mix(in oklab, var(--brand) 5%, var(--surface)); }
.field input, .field select, .field textarea { transition: border-color var(--dur) var(--ease); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--brand); }
.drawer > summary { transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.drawer > summary:hover { border-color: var(--brand); color: var(--brand); }
.seal { transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.seal:hover { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 10%, transparent); }

/* ── 푸터 링크: 밑줄이 한쪽에서 그어진다 ────────────────────── */

.foot__nav a { position: relative; transition: color var(--dur) var(--ease); }
.foot__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.foot__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── 약도 핀이 살아난다 ────────────────────────────────────── */

.mapbox__pin i { transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.mapbox:hover .mapbox__pin i {
  transform: scale(1.12);
  box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent) 18%, transparent);
}
.mapbox__pin span { transition: transform var(--dur) var(--ease-out); }
.mapbox:hover .mapbox__pin span { transform: translateY(-2px); }

/* ── FAQ · 드로어: 열릴 때 흘러나온다 ──────────────────────── */

@keyframes bongaQaOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.qa[open] p { animation: bongaQaOpen var(--dur) var(--ease-out) both; }

@keyframes bongaDrawer {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.drawer[open] .drawer__panel { animation: bongaDrawer var(--dur) var(--ease-out) both; }

/* 상단바 "모집 중" 표시가 조용히 뛴다 */
@keyframes bongaDot {
  0%, 100% { opacity: .45; transform: translateY(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateY(-50%) scale(1.35); }
}
.topbar__list li:last-child::before { animation: bongaDot 2.8s var(--ease) infinite; }

/* ── 스크롤 등장에 계단식 지연 ─────────────────────────────── */

html.js .figures__grid .reveal:nth-child(2) { transition-delay: 60ms; }
html.js .figures__grid .reveal:nth-child(3) { transition-delay: 120ms; }
html.js .figures__grid .reveal:nth-child(4) { transition-delay: 180ms; }
html.js .dishes .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .dishes .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .steps .reveal:nth-child(2) { transition-delay: 70ms; }
html.js .steps .reveal:nth-child(3) { transition-delay: 140ms; }
html.js .steps .reveal:nth-child(4) { transition-delay: 210ms; }
html.js .grid-hair .reveal:nth-child(2) { transition-delay: 60ms; }
html.js .grid-hair .reveal:nth-child(3) { transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  .mark__steam--b { transition-delay: 0s; }
  .mark__steam, .mark__pot, .foot__brand b .mark,
  .figure:hover dd, .step:hover, .dish:hover,
  .story__list li:hover, .mapbox:hover .mapbox__pin i,
  .mapbox:hover .mapbox__pin span, .btn:hover .btn__arrow { transform: none; }
  .topbar__list li:last-child::before { animation: none; }
}


/* ===== 획일성 제거 — CRP 무드 어휘 =====================================
   160작품이 레퍼런스의 밑줄 draw·카드 리프트·대문자 킥커를 그대로 복사해
   같은 사이트 리스킨으로 보였다. 반응 방식을 무드에 맞게 갈아끼운다.
   ==================================================================== */
/* 세로 카덴스를 작품마다 다르게 — 전부 같은 --section-y 를 쓰는 게 구조적 tell 이었다 */
:root { --section-y: clamp(4.14rem, 2.5740rem + 6.7148vw, 8.28rem); }

/* 코퍼레이트 — 밑줄이 애니메이션 없이 즉시 나타난다. 신뢰형에는 절제가 맞다. */
.gnb a::after, .foot__nav a::after { display: none !important; }
.foot__nav a, .gnb a { border-bottom: 2px solid transparent; padding-bottom: 2px; }
.foot__nav a, .gnb a:hover { border-bottom-color: var(--brand); }
.figure:hover dd, .step:hover, .dish:hover, .mapbox:hover .mapbox__pin span { transform: none; }
.figure:hover dd, .step:hover, .dish:hover, .mapbox:hover .mapbox__pin span { box-shadow: 0 2px 10px color-mix(in oklab, var(--ink) 8%, transparent); }


/* ===== 티커 걷어내기 — CRP 무드에 마퀴는 어울리지 않는다 ==========
   내용(실적·목록·인증)은 실제 정보라 유지하고 장치만 바꾼다.
   ================================================================ */
/* 티커 → 격자. 실적·지점 목록은 흐르는 것보다 표로 보이는 게 신뢰를 만든다. */
.ticker { overflow: visible; }
.ticker__track {
  animation: none !important; width: auto;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line);
}
.ticker__track > span { background: var(--surface); padding: var(--sp-3) var(--sp-4); }
.ticker__track > i { display: none; }
@media (min-width: 768px) { .ticker__track { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* webit-touch */
@media (max-width: 767px) {
  .nav__inner { flex-wrap: wrap; overflow: visible; }
  .hero__actions, .hero__acts { flex-wrap: wrap; }
}
html.tier-premium .btn--solid { letter-spacing: .08em; text-transform: uppercase; font-size: .92em; }
