/* =========================================================
   BJ FOOD site
   Ref: neowavip(블랙 · Anton 디스플레이 · sticky 카드) +
        dongbangfood / sunbikkoma(플로팅 헤더 · 워드마크)
   ========================================================= */
:root {
    --bg: #000;
    --bg-2: #0d0d0d;
    --line: #262626;
    --text: #ddd;
    --text-dim: #8a8a8a;
    --white: #fff;
    --accent: #168413;      /* BJ FOOD CI 초록 */
    --accent-text: #2aa526; /* 검정 배경 작은 글씨용 밝은 초록 */
    --brand: var(--accent-text);
    --kakao: #fee500;
    --hd-h: 72px;
    --gutter: clamp(16px, 4vw, 48px);
    --radius: 28px;
    --f-display: 'Anton', 'Pretendard Variable', Pretendard, sans-serif;
    --f-body: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 24px); }
body.site {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: var(--f-body); font-size: 16px; line-height: 1.7;
    -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-x: hidden;
}
.site img { max-width: 100%; display: block; }
.site a { color: inherit; text-decoration: none; }
/* :where()로 명시도 0 처리 - 클래스별 margin이 리셋에 덮이지 않도록 */
.site :where(h1, h2, h3, p, ul, dl, figure) { margin: 0; }
.site :where(ul) { padding: 0; list-style: none; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--white); color: #000; padding: 8px 16px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- type ---------- */
.display-xl, .display-lg, .display-md {
    font-family: var(--f-display); font-weight: 400; line-height: 1.02;
    letter-spacing: -.01em; color: var(--white); text-transform: none;
}
.display-xl { font-size: clamp(56px, 11vw, 176px); }
.display-lg { font-size: clamp(44px, 7vw, 104px); }
.display-md { font-size: clamp(32px, 4.4vw, 60px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lead { margin-top: 20px; color: var(--text-dim); font-size: 17px; }
.center { text-align: center; }

/* 스크롤 진행에 따라 회색 → 흰색으로 채워지는 텍스트 */
.scrub {
    background: linear-gradient(90deg, var(--white) var(--p, 0%), #3a3a3a var(--p, 0%));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- layout ---------- */
.inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(96px, 14vw, 180px) 0; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split > * { min-width: 0; } /* 내용이 길어도 그리드 칸이 화면 밖으로 늘어나지 않게 */
.split-head { position: sticky; top: calc(var(--hd-h) + 48px); }

/* ---------- header (floating bar) ---------- */
#site-hd { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px var(--gutter); transition: transform .4s var(--ease); }
#site-hd.is-hidden { transform: translateY(-110%); }
.hd-bar {
    display: flex; align-items: center; gap: 24px; height: var(--hd-h); padding: 0 12px 0 24px;
    background: rgba(20, 20, 20, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .08); border-radius: 999px;
}
.hd-logo img { height: 34px; width: auto; }
.gnb { flex: 1; display: flex; justify-content: center; }
.gnb > ul { display: flex; }
.gnb > ul > li { position: relative; }
.gnb > ul > li > a { display: flex; flex-direction: column; padding: 8px clamp(14px, 2vw, 30px); border-left: 1px solid rgba(255, 255, 255, .1); line-height: 1.25; }
.gnb > ul > li:first-child > a { border-left: 0; }
.gnb b { font-family: var(--f-display); font-weight: 400; font-size: 17px; letter-spacing: .03em; color: var(--white); }
.gnb span { font-size: 12px; color: var(--text-dim); }
.gnb li.is-active > a b, .gnb > ul > li > a:hover b { color: var(--accent-text); }
.gnb .sub {
    position: absolute; left: 50%; top: calc(100% + 14px); min-width: 150px; padding: 10px;
    background: #141414; border: 1px solid var(--line); border-radius: 16px;
    opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: .25s var(--ease);
}
.gnb .sub::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
.gnb .has-sub:hover .sub, .gnb .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb .sub a { display: block; padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.gnb .sub a:hover { background: #222; color: var(--white); }
.hd-util { display: flex; align-items: center; gap: 10px; margin-left: auto; }
/* 헤더 전화번호 롤링 (PC) - 2개 번호를 4초 간격으로 위로 넘김, 마우스 올리면 멈춤 */
.hd-tels { height: 46px; overflow: hidden; border: 1px solid #333; border-radius: 999px; }
.hd-tels .tel-hd { display: flex; flex-direction: column; animation: hdTels 8s var(--ease) infinite; }
.hd-tels:hover .tel-hd { animation-play-state: paused; }
.hd-tels .tel { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; white-space: nowrap; color: #fff !important; }
.hd-tels .tel-label { font-size: 12px; font-weight: 600; color: #9a9a9a; }
.hd-tels .tel-label em { display: none; }
.hd-tels .tel-num { font-size: 15px; font-weight: 700; letter-spacing: .02em; }
@keyframes hdTels { 0%, 42% { transform: translateY(0); } 50%, 92% { transform: translateY(-44px); } 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hd-tels .tel-hd { animation: none; } }
/* 메뉴와 겹치지 않도록 넓은 화면에서만 노출 */
@media (max-width: 1200px) { .hd-tels { display: none; } }
.hd-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #222; cursor: pointer; padding: 0; position: relative; }
.hd-toggle i { position: absolute; left: 13px; width: 18px; height: 2px; background: var(--white); transition: .3s; }
.hd-toggle i:nth-child(1) { top: 15px; } .hd-toggle i:nth-child(2) { top: 21px; } .hd-toggle i:nth-child(3) { top: 27px; }

/* ---------- buttons ---------- */
.btn-kakao, .btn-gold, .btn-line {
    display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px;
    border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: transform .3s var(--ease), background .3s;
}
.btn-kakao { background: var(--kakao); color: #191919 !important; padding-left: 10px; }
.btn-kakao .kakao-logo { width: 30px; height: 30px; }
.btn-gold { background: var(--brand); color: #111 !important; margin-top: 32px; }
.btn-line { border: 1px solid #555; color: var(--white); }
.btn-kakao:hover, .btn-gold:hover, .btn-line:hover { transform: translateY(-2px); }
.text-link { margin-left: 12px; font-size: 14px; color: var(--brand); border-bottom: 1px solid currentColor; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; background: #000; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 9s var(--ease) forwards; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.58) 50%, #000 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { position: relative; z-index: 1; padding: calc(var(--hd-h) + 60px) var(--gutter) 80px; }
.hero-logo img { width: clamp(120px, 14vw, 200px); height: auto; margin: 0 auto 36px; }
/* LCP: 첫 화면 글자는 opacity 0으로 숨기지 않고 위치만 움직임 */
.hero-title { animation: rise 1.2s .1s var(--ease) both; }
.hero-ko { margin-top: 22px; font-size: clamp(16px, 1.6vw, 21px); color: #eee; animation: rise 1.2s .3s var(--ease) both; font-weight: 500; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; color: var(--text-dim); padding-bottom: 46px; }
.hero-scroll::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 1px; height: 38px; background: linear-gradient(var(--text-dim), transparent); animation: line 2s infinite; }
@keyframes line { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes rise { from { transform: translateY(40px); } to { transform: none; } }

.hero-sub { min-height: 72svh; }
.hero-brand .brand-logo img { width: clamp(200px, 24vw, 340px); }
.hero-slogan { font-family: var(--f-body); font-size: clamp(22px, 2.8vw, 38px); color: var(--white); font-weight: 700; }
.hero-en { margin-top: 10px; font-family: var(--f-display); font-size: clamp(18px, 2vw, 26px); letter-spacing: .04em; color: var(--brand); }
.hero.is-solid {
    background:
        radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--brand) 55%, transparent) 0%, transparent 60%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 120px),
        repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 120px),
        #050505;
}
.menu-hero-logo { width: clamp(140px, 14vw, 200px); height: auto; margin: 0 auto 28px; }

/* ---------- intro / wordmark ---------- */
.intro .inner { max-width: 980px; }
.wordmark {
    font-family: var(--f-display); font-size: clamp(80px, 19vw, 280px); line-height: .9; letter-spacing: -.01em;
    color: var(--accent); margin-bottom: 48px;
}
.intro-logo { width: 140px; height: auto; margin: 0 auto 48px; }
.intro-title { font-family: var(--f-body); font-size: clamp(24px, 3vw, 40px); line-height: 1.45; color: var(--white); margin-top: 36px; text-wrap: balance; }
.intro-text { margin: 28px auto 0; max-width: 720px; font-size: clamp(16px, 1.4vw, 18px); color: #b9b9b9; }

/* ---------- box rows (neowavip 테두리 리스트) ---------- */
.box-rows { display: grid; gap: 18px; }
.box-row { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 30px 32px; border: 1px solid var(--line); background: var(--bg-2); transition: border-color .3s; }
a.box-row:hover { border-color: var(--brand); }
.box-label { color: var(--brand); font-weight: 700; font-size: 17px; line-height: 1.5; }
.box-label b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 52px; line-height: 1; margin-bottom: 8px; }
.box-label small { display: block; margin-top: 4px; color: var(--text-dim); font-weight: 500; font-size: 13px; }
.box-text { color: #d0d0d0; }

/* ---------- floors (스크롤 고정 + 층별 활성화) ---------- */
.floors { position: relative; height: calc(var(--steps) * 75vh + 100vh); }
.floors-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.floors-grid { align-items: center; }
.floor-big { position: relative; height: clamp(150px, 20vw, 300px); margin-top: 36px; overflow: hidden; font-family: var(--f-display); font-size: clamp(150px, 20vw, 300px); line-height: 1; }
.floor-big span { position: absolute; left: 0; top: 0; color: var(--c, var(--accent)); opacity: 0; transform: translateY(100%); transition: transform .8s var(--ease), opacity .8s var(--ease); }
.floor-big span.is-active { opacity: 1; transform: none; }
.floor-big span.is-past { transform: translateY(-100%); }
/* 마무리 BJ: 벌어진 글자가 가운데로 모이며 합쳐짐 */
.floor-big span.is-merge { transform: none; letter-spacing: .5em; transition: letter-spacing 1s var(--ease), opacity .6s var(--ease); }
.floor-big span.is-merge.is-active { letter-spacing: -.01em; }
/* What BJ Means: 오른쪽 큰 글자, 왼쪽 설명은 한 번에 하나 */
.floors-bj .bj-big { justify-self: end; margin-top: 0; width: 100%; height: clamp(220px, 30vw, 440px); font-size: clamp(220px, 30vw, 440px); text-align: right; }
.floors-bj .bj-big span { left: auto; right: 0; color: var(--accent); }
.bj-texts { position: relative; margin-top: 56px; min-height: 140px; }
.bj-text { position: absolute; inset: 0 auto auto 0; max-width: 460px; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.bj-text.is-active { opacity: 1; transform: none; }
.bj-text.is-past { transform: translateY(-30px); }
.bj-text h3 { font-size: 22px; color: var(--accent-text); font-weight: 700; }
.bj-text h3 small { margin-left: 8px; font-size: 14px; color: var(--text-dim); font-weight: 500; }
.bj-text p { margin-top: 12px; font-size: 18px; color: #d6d6d6; }
.floors-list .box-row { opacity: .28; transition: opacity .6s var(--ease), border-color .6s, background .6s; }
.floors-list .box-row.is-active { opacity: 1; border-color: var(--brand); background: #141414; }

/* ---------- arrange (sticky 제목 + 스크롤 카드) ---------- */
.arrange-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.arrange-head { position: sticky; top: calc(var(--hd-h) + 60px); }
.arrange-list { display: grid; gap: clamp(64px, 9vw, 140px); }
.arr-card { display: grid; gap: 28px; }
.arr-media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #111; }
.arr-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); transition: transform .9s var(--ease), filter .6s; }
.arr-card:hover .arr-media img { transform: scale(1.04); filter: brightness(1); }
.arr-media.is-logo { display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--brand) 45%, #000) 0%, #070707 70%); }
.arr-media.is-logo img { width: 42%; height: auto; object-fit: contain; filter: none; }
.arr-logo { height: 54px; width: auto; margin-bottom: 18px; }
.arr-big { margin-top: 56px; }

/* 메인 브랜드 카드: 오른쪽 화면 끝까지 꽉 찬 사진 + 텍스트 오버레이 + 우하단 큰 버튼 */
.brand-cards { gap: 24px; margin-right: calc(-1 * (max(0px, (100vw - 1240px) / 2) + var(--gutter))); }
.brand-cards .arr-card { position: relative; display: block; min-height: 88vh; border-radius: var(--radius) 0 0 var(--radius); overflow: hidden; }
.brand-cards .arr-media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.brand-cards .arr-media img { filter: none; }
.brand-cards .arr-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 65%, rgba(0,0,0,.9) 100%); pointer-events: none; }
.brand-cards .arr-media.is-logo::after { display: none; }
.brand-cards .arr-body { position: absolute; left: 48px; bottom: 48px; z-index: 1; max-width: 46%; pointer-events: none; }
.brand-cards .arr-body li, .brand-cards .arr-slogan { color: #fff; }
.brand-cards .arr-cat { color: #d0d0d0; }
.brand-cards .arr-links { position: absolute; right: 48px; bottom: 48px; z-index: 1; margin: 0; gap: 12px; }
.brand-cards .arr-links a { height: 64px; display: inline-flex; align-items: center; padding: 0 36px; font-size: 17px; font-weight: 700; border: 1px solid rgba(255,255,255,.6); color: #fff; background: rgba(0,0,0,.25); backdrop-filter: blur(6px); }
.brand-cards .arr-links a:last-child { background: var(--brand); border-color: var(--brand); color: #111; }
.brand-cards .arr-links a:hover { transform: translateY(-2px); color: #fff; border-color: #fff; }
.brand-cards .arr-links a:last-child:hover { color: #111; }
.arr-title { display: flex; align-items: flex-end; gap: 16px; }
.arr-title .arr-logo { margin: 0; }
.arr-cat { padding-bottom: 4px; font-size: 14px; font-weight: 500; color: var(--text-dim); }
.arr-body h3 { font-size: clamp(22px, 2vw, 28px); color: var(--white); font-weight: 700; }
.arr-body h3 small { display: block; margin-top: 4px; font-size: 14px; color: var(--text-dim); font-weight: 500; }
.arr-slogan { margin-top: 12px; font-family: var(--f-body); color: var(--brand); font-size: 18px; }
.arr-body > p { margin-top: 12px; color: #c4c4c4; }
.arr-body ul { margin-top: 18px; display: grid; gap: 6px; }
.arr-body li { position: relative; padding-left: 18px; color: #cfcfcf; }
.arr-body li::before { content: ''; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.arr-links { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.arr-links a { padding: 10px 20px; border: 1px solid #444; border-radius: 999px; font-size: 14px; transition: .3s; }
.arr-links a:hover { border-color: var(--brand); color: var(--brand); }
.arr-card.is-text { padding: 40px; border: 1px solid var(--line); background: var(--bg-2); border-radius: var(--radius); }

/* ---------- band (full-bleed image) ---------- */
.band { position: relative; min-height: 80svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.band-bg { position: absolute; inset: 0; }
.band-bg img { position: absolute; left: 0; top: -7.5%; width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.band-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.band-inner { position: relative; z-index: 1; max-width: 880px; padding: 80px var(--gutter); }
.band-title { font-family: var(--f-body); font-size: clamp(28px, 4vw, 52px); line-height: 1.35; color: var(--white); margin-bottom: 24px; }
.band-inner p:last-child { color: #e2e2e2; font-size: 17px; }

/* ---------- letters (about) ---------- */
.letters { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; }
.letter { padding: 48px; border: 1px solid var(--line); background: var(--bg-2); }
.letter-big { font-family: var(--f-display); font-size: clamp(120px, 16vw, 220px); line-height: .85; color: var(--accent); margin-bottom: 28px; }
.letter h3 { font-family: var(--f-display); font-weight: 400; font-size: 32px; color: var(--white); letter-spacing: .01em; }
.letter h3 small { display: block; font-family: var(--f-body); font-size: 14px; color: var(--text-dim); margin-top: 6px; }
.letter p { margin-top: 18px; color: #c9c9c9; }

/* ---------- chef ---------- */
.chef-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.chef { position: relative; overflow: hidden; }
.chef .chef-grid { position: relative; z-index: 1; }
/* 셰프 사진: 오른쪽 하단에 은은하게, 왼쪽·아래로 페이드 */
.chef-portrait {
    position: absolute; right: max(0px, calc(50% - 760px)); bottom: 0; height: 92%; width: auto; max-width: none;
    opacity: .28; pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%), linear-gradient(to top, transparent 0%, #000 30%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 45%), linear-gradient(to top, transparent 0%, #000 30%); mask-composite: intersect;
}
.chef-media { border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.chef-name { margin: 20px 0 18px; font-size: 24px; color: var(--white); }
.chef-body > p { color: #c9c9c9; }
.chef-meta { display: grid; grid-template-columns: 64px 1fr; gap: 10px 16px; margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); font-size: 15px; }
.chef-meta dt { color: var(--accent-text); font-weight: 700; }

/* ---------- values (gabin) ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 72px; }
.value { padding: 36px 28px; border: 1px solid var(--line); background: var(--bg-2); }
.value-no { font-family: var(--f-display); font-size: 44px; color: var(--brand); line-height: 1; margin-bottom: 26px; }
.value h3 { font-size: 24px; color: var(--white); }
.value h3 small { display: block; font-size: 13px; color: var(--text-dim); font-weight: 500; margin-top: 4px; letter-spacing: .04em; }
.value-meaning { margin: 18px 0 10px; color: var(--brand); font-weight: 600; }
.value p:last-child { color: #c4c4c4; font-size: 15px; }

/* ---------- signature menu ---------- */
.sig { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.sig-media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #0e0e0e; }
.sig-media img { width: 100%; height: 100%; object-fit: cover; }
.sig-name { font-family: var(--f-body); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.3; color: var(--white); }
.sig-price { margin: 24px 0 36px; font-family: var(--f-display); font-size: clamp(40px, 5vw, 68px); color: var(--brand); line-height: 1.1; }
.check-list { display: grid; gap: 10px; padding-top: 36px; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding-left: 28px; color: #d6d6d6; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* ---------- menu page ---------- */
.menu-tabs {
    position: sticky; top: calc(var(--hd-h) + 28px); z-index: 50; display: flex; align-items: stretch; gap: 40px;
    padding: 0 max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter)));
    background: #000; border-top: 1px solid #1c1c1c; border-bottom: 1px solid #1c1c1c;
}
/* 분류 탭: 텍스트 + 활성 밑줄 (필/배경 없음) */
.menu-tabs ul { display: flex; gap: 32px; margin-left: auto; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.menu-tabs a { position: relative; display: block; padding: 20px 0 18px; font-size: 15px; white-space: nowrap; color: #777; transition: color .25s; }
.menu-tabs a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .35s var(--ease); }
.menu-tabs a:hover, .menu-tabs a.is-on { color: #fff; }
.menu-tabs a.is-on::after { transform: scaleX(1); }
.menu-sec { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid #141414; }
.menu-grid-wrap { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.menu-head { position: sticky; top: calc(var(--hd-h) + 110px); }
.menu-head .display-md { color: var(--brand); font-size: clamp(32px, 3.4vw, 50px); }
/* 헤더가 숨겨지면 메뉴 탭을 상단으로 붙임 */
body:has(#site-hd.is-hidden) .menu-tabs { top: 14px; }
.menu-head h2 { margin-top: 12px; font-size: 22px; color: var(--white); }
.menu-note { margin-top: 10px; display: inline-block; padding: 4px 12px; border: 1px solid #444; border-radius: 999px; font-size: 13px; color: #bbb; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 36px 24px; }
.menu-card { display: flex; flex-direction: column; }
.menu-thumb { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #0e0e0e; }
.menu-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.menu-card:hover .menu-thumb img { transform: scale(1.05); }
.menu-body { padding-top: 18px; }
.menu-body h3 { font-size: 18px; color: var(--white); font-weight: 700; line-height: 1.45; }
.menu-en { margin-top: 2px; font-size: 13px; color: var(--text-dim); letter-spacing: .02em; }
.menu-desc { margin-top: 6px; font-size: 14px; color: #a9a9a9; }
.menu-price { margin-top: 10px; font-weight: 700; color: var(--brand); font-size: 17px; }
.menu-notice { padding-top: 60px; }
.menu-notice ul { display: grid; gap: 8px; padding: 32px; border: 1px solid var(--line); font-size: 14px; color: #a9a9a9; }
.menu-notice li::before { content: '※ '; }
.menu-other { display: flex; gap: 12px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.menu-other a { padding: 14px 26px; border: 1px solid var(--brand); color: var(--brand); border-radius: 999px; font-weight: 600; transition: .3s; }
.menu-other a:hover { background: var(--brand); color: #111; }

/* ---------- 메뉴 보기 전환 + 전체 메뉴판 ---------- */
.view-switch { flex: none; display: flex; align-items: center; }
.view-switch button { position: relative; border: 0; cursor: pointer; padding: 20px 0 18px; background: none; color: #777; font: 600 15px var(--f-body); white-space: nowrap; transition: color .25s; }
.view-switch button + button { margin-left: 18px; padding-left: 19px; }
.view-switch button + button::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; background: #444; transform: translateY(-50%); }
.view-switch button.is-on { color: #fff; }
.menu-tabs.is-board .tab-links { display: none; }
.menu-tabs .tab-links { min-width: 0; }

.board { border: 1px solid var(--line); background: #0b0b0b; padding: clamp(28px, 5vw, 64px); }
.board-head { display: flex; align-items: center; gap: 28px; padding-bottom: 32px; border-bottom: 2px solid var(--brand); }
.board-head img { width: 110px; height: auto; }
.board-head .display-md { color: var(--brand); font-size: clamp(30px, 3.6vw, 48px); }
.board-head h2 { margin-top: 6px; font-size: 18px; color: #fff; }
.board-row { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.board-row .bn { color: #f0f0f0; font-weight: 600; }
.board-row .bn small { margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--text-dim); }
.board-row .dots { flex: 1; min-width: 20px; border-bottom: 1px dotted #444; transform: translateY(-4px); }
.board-row .bp { color: var(--brand); font-weight: 700; white-space: nowrap; }
.board-sig { margin: 32px 0 8px; padding: 24px 28px; background: #141414; border-left: 3px solid var(--brand); }
.board-sig-label { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .06em; }
.board-sig .board-row { font-size: 20px; }
.board-sig-items { font-size: 14px; color: #a9a9a9; }
.board-cols { columns: 2; column-gap: clamp(32px, 5vw, 72px); margin-top: 24px; }
.board-sec { break-inside: avoid; padding-top: 32px; }
.board-sec h3 { font-size: 19px; color: #fff; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.board-sec h3 small { margin-left: 8px; font-family: var(--f-display); font-weight: 400; font-size: 16px; color: var(--brand); letter-spacing: .02em; }
.board-note { display: inline-block; margin: 6px 0 4px; padding: 2px 10px; border: 1px solid #444; border-radius: 999px; font-size: 12px; color: #aaa; }

/* ---------- map (카카오맵 전체 폭) ---------- */
.map-full { width: 100%; margin-top: -40px; }
.map-full .root_daum_roughmap { width: 100% !important; }
.map-full .root_daum_roughmap .wrap_map { height: 520px !important; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); background: var(--bg-2); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 64px 24px 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 17px; color: var(--white); font-weight: 600; }
.faq summary::after { content: ''; position: absolute; right: 28px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 28px 26px; color: #bdbdbd; }

/* ---------- CTA ---------- */
.cta { text-align: center; border-top: 1px solid #141414; }
.cta-title { margin-top: 28px; font-size: 22px; color: var(--white); }
.cta-note { margin-top: 10px; color: var(--text-dim); }
.cta-actions { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ---------- footer ---------- */
#site-ft { border-top: 1px solid #1a1a1a; padding: 80px 0 40px; }
.ft-inner { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
.ft-brand img { width: 110px; height: auto; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 36px; }
.ft-nav a { font-family: var(--f-display); font-size: 18px; color: var(--white); letter-spacing: .02em; }
.ft-nav a:hover { color: var(--accent); }
.ft-info { padding-top: 24px; border-top: 1px solid var(--line); }
.ft-info dl { display: grid; grid-template-columns: 56px 1fr; gap: 10px 18px; font-size: 14px; }
.ft-info dt { color: var(--text-dim); }
.ft-info dd { margin: 0; color: #d3d3d3; }
.ft-info dd span { display: block; }
.ft-esg { display: flex; align-items: center; gap: 18px; margin: 24px 0; font-size: 13px; line-height: 1.7; color: var(--text-dim); }
.ft-esg img { flex: none; width: 145px; height: auto; }
@media (max-width: 560px) { .ft-esg { flex-direction: column; align-items: flex-start; gap: 10px; } }
.ft-copy { max-width: 1240px; margin: 60px auto 0; padding: 0 var(--gutter); font-size: 12px; color: #555; }

/* ---------- floating kakao ---------- */
.float-btns { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; justify-items: center; gap: 12px; }
.float-kakao { width: 64px; height: 64px; border-radius: 50%; background: var(--kakao); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .3s var(--ease); }
.float-kakao .kakao-logo { width: 42px; height: 42px; }
.float-kakao:hover { transform: translateY(-4px) scale(1.04); }

/* ---------- reveal ---------- */
.fade-up { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.fade-up.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .fade-up, .hero-title, .hero-ko { opacity: 1; transform: none; }
    .scrub { --p: 100% !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    :root { --hd-h: 60px; }
    #site-hd { padding: 10px 12px; }
    /* backdrop-filter는 fixed 자식(모바일 GNB)의 기준을 바꾸므로 모바일에서 제거 */
    .hd-bar { padding: 0 8px 0 18px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(20, 20, 20, .94); }
    .hd-logo img { height: 28px; }
    .hd-util .btn-kakao, .hd-tels { display: none; }
    .hd-toggle { display: block; }
    .gnb { position: fixed; inset: 0; z-index: -1; display: block; padding: calc(var(--hd-h) + 48px) 28px 40px; background: #050505; opacity: 0; visibility: hidden; transition: .35s var(--ease); overflow-y: auto; }
    body.nav-open .gnb { opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }
    body.nav-open .hd-toggle i:nth-child(1) { top: 21px; transform: rotate(45deg); }
    body.nav-open .hd-toggle i:nth-child(2) { opacity: 0; }
    body.nav-open .hd-toggle i:nth-child(3) { top: 21px; transform: rotate(-45deg); }
    .gnb > ul { flex-direction: column; }
    .gnb > ul > li { border-bottom: 1px solid var(--line); }
    .gnb > ul > li > a { border: 0; padding: 20px 0; flex-direction: row; align-items: baseline; gap: 14px; }
    .gnb b { font-size: 32px; }
    /* 모바일 하위메뉴: 데스크톱 hover 이동 무효화 + 2열 텍스트 그리드 */
    .gnb .sub, .gnb .has-sub:hover .sub, .gnb .has-sub:focus-within .sub { position: static; opacity: 1; visibility: inherit; transform: none; background: none; border: 0; padding: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-width: 0; }
    .gnb .sub::before { display: none; }
    .gnb .sub a { border: 0; border-radius: 0; padding: 6px 2px 12px; font-size: 15px; color: #bbb; display: block; }
    .gnb .sub li + li a { padding-left: 16px; border-left: 1px solid #1f1f1f; }
    .gnb .sub a:hover { background: none; color: #fff; }
    .split, .arrange-grid, .sig, .chef-grid, .menu-grid-wrap, .ft-inner, .letters { grid-template-columns: 1fr; }
    .split-head, .arrange-head, .menu-head { position: static; }
    /* 모바일: 층 고정 연출 해제, 전체 노출 */
    .floors { height: auto; padding: 96px 0; }
    .floors-pin { position: static; height: auto; display: block; }
    .floor-big { display: none; }
    .board-cols { columns: 1; }
    .board-head { gap: 16px; }
    .board-head img { width: 72px; }
    .brand-cards { margin-right: calc(-1 * var(--gutter)); }
    .brand-cards .arr-card { min-height: 78vh; }
    .brand-cards .arr-body { left: 24px; right: 24px; bottom: 120px; max-width: none; }
    .brand-cards .arr-links { left: 24px; right: 24px; bottom: 28px; }
    .brand-cards .arr-links a { flex: 1; justify-content: center; height: 56px; padding: 0 16px; font-size: 15px; }
    .bj-texts { min-height: 0; margin-top: 32px; display: grid; gap: 28px; }
    .bj-text { position: static; opacity: 1; transform: none; }
    .floors-list .box-row { opacity: 1; }
    .box-row { grid-template-columns: 1fr; gap: 10px; padding: 24px; }
    .menu-tabs { top: calc(var(--hd-h) + 14px); gap: 22px; }
    .menu-tabs ul { gap: 22px; }
}
/* 작은 화면: 보기 전환과 분류 탭을 두 줄로 분리 (분류 탭이 좁아지지 않게) */
@media (max-width: 600px) {
    .menu-tabs { flex-wrap: wrap; gap: 0; }
    .view-switch { width: 100%; border-bottom: 1px solid #1c1c1c; }
    .view-switch button { padding: 14px 0 12px; }
    .menu-tabs .tab-links { width: 100%; margin-left: 0; }
    .menu-tabs a { padding: 14px 0 12px; }
}
@media (max-width: 560px) {
    .values { grid-template-columns: 1fr; }
    .menu-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
    .menu-body h3 { font-size: 16px; }
    .letter { padding: 32px 24px; }
    .arr-card.is-text { padding: 28px; }
    .float-btns { right: 16px; bottom: 16px; gap: 10px; }
    .float-kakao { width: 56px; height: 56px; }
}

/* ---------- 게시판 (공지사항 · 이벤트) ---------- */
.board-hero { min-height: 52svh; }
.board-hero .hero-inner { padding: calc(var(--hd-h) + 120px) var(--gutter) 40px; } /* PC: 제목을 헤더에서 조금 더 아래로 */
.board-sec .inner { max-width: 1040px; }
.post-list { border-top: 1px solid #2a2a2a; }
.post-list li { border-bottom: 1px solid #1c1c1c; }
.post-list a { display: flex; align-items: center; gap: 24px; padding: 24px 4px; transition: background .25s; }
.post-list a:hover { background: #0d0d0d; }
.post-tag { flex: none; min-width: 64px; font-family: var(--f-display); font-size: 15px; letter-spacing: .04em; color: var(--text-dim); }
.post-list .is-fixed .post-tag { color: var(--accent-text); }
.post-title { flex: 1; min-width: 0; color: #eee; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-list a:hover .post-title { color: #fff; }
.post-date { flex: none; font-size: 14px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.board-empty { padding: 48px 0; text-align: center; color: var(--text-dim); border-top: 1px solid #2a2a2a; border-bottom: 1px solid #1c1c1c; }
.board-switch { display: flex; justify-content: center; gap: 28px; margin-bottom: 48px; }
.board-switch a { font-size: 15px; color: #777; padding-bottom: 6px; border-bottom: 2px solid transparent; }
.board-switch a.is-on { color: #fff; border-color: var(--accent); }
.site-paging #border-pagination { display: flex; justify-content: center; gap: 6px; margin: 40px 0 0; padding: 0; list-style: none; }
.site-paging #border-pagination a { display: block; min-width: 36px; padding: 6px 10px; text-align: center; color: #888; font-size: 14px; }
.site-paging #border-pagination a.active { color: #fff; border-bottom: 2px solid var(--accent); }

.post-head { padding-bottom: 28px; border-bottom: 1px solid #2a2a2a; }
.post-head h1 { font-size: clamp(24px, 3vw, 34px); color: #fff; line-height: 1.4; }
.post-head time { display: block; margin-top: 12px; color: var(--text-dim); font-size: 14px; }
.post-body { padding: 40px 0; color: #d6d6d6; font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.post-body img { max-width: 100%; height: auto; margin: 16px 0; }
.post-body ul { list-style: disc; padding-left: 1.4em; }
.post-body ol { list-style: decimal; padding-left: 1.4em; }
.post-body a { color: var(--accent-text); text-decoration: underline; }
.post-files { padding: 20px 0; border-top: 1px solid #1c1c1c; display: grid; gap: 6px; font-size: 14px; }
.post-files p { color: var(--text-dim); }
.post-files a { color: #ddd; text-decoration: underline; }
.post-actions { margin-top: 40px; padding-top: 32px; border-top: 1px solid #2a2a2a; text-align: center; }

/* 메인 News */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); margin-top: 48px; }
.news-grid > * { min-width: 0; } /* 긴 제목(한 줄 말줄임)이 칸을 화면 밖으로 늘리지 않게 */
.news-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 16px; }
.news-head h3 { font-size: 22px; color: #fff; }
.news-head h3 small { margin-left: 8px; font-family: var(--f-display); font-weight: 400; font-size: 16px; color: var(--accent-text); letter-spacing: .03em; }
.news-head a { font-size: 14px; color: #999; border-bottom: 1px solid #555; }
.news .post-list a { padding: 18px 2px; }
.news .post-title { font-size: 16px; }

.ft-admin { margin-left: 14px; color: #444; font-size: 11px; }
.ft-admin:hover { color: #888; }

@media (max-width: 960px) {
    .news-grid { grid-template-columns: 1fr; }
    .post-list a { gap: 14px; padding: 18px 2px; }
    .post-tag { display: none; }
    .post-title { font-size: 15px; }
}

/* ---------- 게시판 관리자 버튼 · 글쓰기 폼 (관리자 로그인 시) ---------- */
.board-admin { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.btn-admin { display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--accent); color: #fff !important; font: 700 14px var(--f-body); cursor: pointer; transition: transform .3s var(--ease); }
.btn-admin:hover { transform: translateY(-2px); }
.btn-admin.is-danger { background: #3a1414; color: #ff8a8a !important; }
.post-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.board-write { display: grid; gap: 16px; }
.bw-check { display: inline-flex; align-items: center; gap: 8px; color: #ccc; font-size: 14px; cursor: pointer; }
.bw-title, .bw-file input[type=text] { width: 100%; height: 52px; padding: 0 18px; border: 1px solid #333; border-radius: 6px; background: #0d0d0d; color: #fff; font: 16px var(--f-body); }
.bw-title:focus, .bw-file input[type=text]:focus { outline: none; border-color: var(--accent); }
.bw-editor { border-radius: 6px; overflow: hidden; background: #fff; color: #111; }
.bw-editor .note-editor.note-frame { border: 0; margin: 0; }
.bw-editor .note-editable { min-height: 360px; }
.bw-files { display: grid; gap: 10px; }
.bw-file { display: flex; gap: 10px; }
.bw-file input[type=text] { flex: 1; cursor: pointer; }
.bw-file .btn-line { flex: none; height: 52px; background: transparent; cursor: pointer; font-family: var(--f-body); }
.bw-editor .note-editor.note-frame .note-toolbar { background: #f4f4f4; }
.board-write .post-actions { margin-top: 24px; }
#loading.hide { display: none; }

/* ---------- 찾아오시는 길 (약도) ---------- */
.directions { padding-bottom: 80px; }
.dir-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.dir-addr { color: #cfcfcf; }
.dir-addr b { display: block; color: var(--accent-text); font-size: 14px; margin-bottom: 4px; }
.dir-map-wrap { border-radius: 16px; overflow: hidden; background: #fff; }
.dir-map { display: block; width: 100%; height: auto; }
.dir-routes { margin-top: 28px; padding: 28px 32px; border: 1px solid #222; border-radius: 16px; background: #0b0b0b; }
.dir-routes h3 { font-size: 18px; color: #fff; margin-bottom: 16px; }
.dir-routes ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dir-routes li { position: relative; padding-left: 44px; }
/* 경로 아이콘: 초록 원 + 흰 아이콘 (지하철 / 자동차) */
.dir-routes li::before { content: ''; position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); }
.dir-routes li::after { content: ''; position: absolute; left: 7px; top: 5px; width: 18px; height: 18px; background: #fff; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.dir-ico--subway { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c-4 0-8 .5-8 4v9.5A3.5 3.5 0 0 0 7.5 19L6 20.5v.5h12v-.5L16.5 19a3.5 3.5 0 0 0 3.5-3.5V6c0-3.5-4-4-8-4zM7.5 17a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm3.5-7H6V6h5v4zm2 0V6h5v4h-5zm3.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E"); }
.dir-ico--car { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 6c-.2-.6-.8-1-1.4-1h-11c-.7 0-1.2.4-1.4 1L3 12v8c0 .6.4 1 1 1h1c.6 0 1-.4 1-1v-1h12v1c0 .6.4 1 1 1h1c.6 0 1-.4 1-1v-8l-2.1-6zM6.5 16a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm11 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E"); }
.dir-from { color: #fff; font-weight: 700; }
.dir-from span { font-weight: 500; }
.dir-path { margin-top: 4px; font-size: 14px; color: #bdbdbd; }
.dir-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding: 22px 32px; border-radius: 16px; background: #1b1b1b; }
.dir-bar p b { font-family: var(--f-display); font-weight: 400; font-size: 26px; color: #fff; margin-right: 12px; }
.dir-bar p span { color: #aaa; font-size: 14px; }
.dir-bar a { font-size: 22px; font-weight: 800; color: var(--accent-text); }
@media (max-width: 960px) {
    .dir-routes ol { grid-template-columns: 1fr; }
    .dir-routes, .dir-bar { padding: 22px; }
}

/* ---------- 메인 임시 팝업 ---------- */
body.pop-open { overflow: hidden; }
.site-pop { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.site-pop[hidden] { display: none; }
.site-pop-dim { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.site-pop-box { position: relative; width: 100%; max-height: calc(100svh - 32px); overflow: auto; background: #0d0d0d; border: 1px solid #262626; border-radius: 18px; animation: popIn .5s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.site-pop-visual { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.site-pop-visual > img:first-child { width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); }
.site-pop-logo { position: absolute; left: 50%; top: 50%; width: 92px; height: auto; transform: translate(-50%, -50%); }
.site-pop-body { padding: 26px 28px 22px; text-align: center; }
.site-pop-body h2 { margin-top: 6px; font-size: 26px; color: #fff; }
.site-pop-lead { margin-top: 6px; color: #aaa; font-size: 14px; }
.site-pop-body dl { display: grid; grid-template-columns: 76px 1fr; gap: 10px 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #222; text-align: left; font-size: 14px; }
.site-pop-body dt { color: #ff7a6b; font-weight: 700; }
.site-pop-body dd { margin: 0; color: #e6e6e6; }


/* 예약하기 말풍선 (플로팅 버튼 위 · 둥둥) */
.float-bubble { position: relative; width: 64px; padding: 9px 0 8px; margin-bottom: 8px; border: 0; border-radius: 16px; background: #fff; color: #111; cursor: pointer; display: grid; justify-items: center; gap: 3px; box-shadow: 0 10px 30px rgba(0,0,0,.45); animation: bubbleFloat 2.4s ease-in-out infinite; }
.float-bubble::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; background: #fff; border-radius: 3px; transform: translateX(-50%) rotate(45deg); }
.float-bubble span { position: relative; z-index: 1; font: 800 12px var(--f-body); letter-spacing: -.02em; }
@keyframes bubbleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-bubble { animation: none; } }
@media (max-width: 560px) { .float-bubble { width: 56px; padding: 7px 0 6px; } }

.float-bubble span { font-size: 11px; }

/* ---------- 문의 전화 (BJ FOOD / 가빈 & 쌈온) - 배지 없이 라벨 텍스트 + 번호 ---------- */
.tel-list { display: inline-flex; flex-wrap: wrap; gap: 8px 28px; vertical-align: middle; }
.tel { display: inline-flex; align-items: baseline; gap: 12px; color: #fff; }
.tel-label { font-size: 13px; font-weight: 700; color: #9a9a9a; white-space: nowrap; }
.tel-label em { font-style: normal; font-weight: 500; color: #666; margin-left: 6px; }
.tel-num { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .25s; }
.tel:hover .tel-num { color: var(--accent-text); }
.tel-chip { display: grid; gap: 8px; }
.tel-chip .tel-label { min-width: 74px; }

/* 예약 및 문의: 두 번호를 세로선으로 나눈 큰 타이포 */
.cta-actions { flex-direction: column; align-items: center; gap: 36px; }
.tel-btn { display: flex; gap: 0; }
.tel-btn .tel { flex-direction: column; align-items: center; gap: 8px; padding: 0 clamp(24px, 4vw, 56px); }
.tel-btn .tel + .tel { border-left: 1px solid #333; }
.tel-btn .tel-label { font-size: 14px; color: #aaa; }
.tel-btn .tel-label em { display: block; margin: 4px 0 0; text-align: center; font-size: 12px; }
.tel-btn .tel-num { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: .01em; }

/* 팝업: 가로 2버튼 (BJ FOOD 초록 · 가빈&쌈온 흰색) */
.site-pop-tels { margin-top: 24px; }
.site-pop-tels .tel-pop { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.tel-pop .tel { flex-direction: column; align-items: center; gap: 2px; padding: 13px 8px 12px; border-radius: 12px; }
.tel-pop .tel-label { font-size: 12px; }
.tel-pop .tel-label em { display: none; }
.tel-pop .tel-num { font-size: 17px; }
.tel-pop .tel--bj { background: #161616; }
.tel-pop .tel--bj .tel-label { color: rgba(255,255,255,.8); }
.tel-pop .tel--gabin { background: #161616; }
.tel-pop .tel--gabin .tel-label { color: #555; }
.tel-pop .tel--gabin .tel-num { color: #fff; }
.tel-pop .tel:hover .tel-num { color: inherit; }
.dir-bar .tel-chip { display: flex; gap: 8px 32px; }
.dir-bar .tel-num { font-size: 20px; color: #fff; }
.ft-info .tel-num { font-size: 14px; }

/* 플로팅 전화: 어두운 세로 카드 하나에 2개 묶음 (초록 아이콘 · 흰 글자 · 사이 구분선) */
.float-calls { width: 72px; border: 1px solid #2c2c2c; border-radius: 20px; background: rgba(17,17,17,.94); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.float-call { display: grid; justify-items: center; gap: 6px; padding: 14px 4px 12px; color: #fff; transition: background .25s; }
.float-call + .float-call { border-top: 1px solid #2c2c2c; }
.float-call svg { width: 20px; height: 20px; color: var(--accent-text); }
.float-call span { font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; white-space: nowrap; }
.float-call:hover { background: #1d1d1d; }
@media (max-width: 560px) {
    .float-calls { width: 64px; border-radius: 18px; }
    .float-call { padding: 12px 4px 10px; gap: 5px; }
    .float-call svg { width: 18px; height: 18px; }
    .float-call span { font-size: 10px; }
    .tel-btn { flex-direction: column; gap: 22px; }
    .tel-btn .tel + .tel { border-left: 0; }
}
.site .float-call { color: #fff; }
.ft-info dd .tel-list { display: grid; gap: 6px; }
.ft-info dd .tel span { display: inline-flex; }
/* 좁은 화면: 라벨과 번호가 한 줄에 안 들어가면 번호를 다음 줄로 */
.tel-chip .tel { flex-wrap: wrap; row-gap: 2px; }

/* 팝업: 사진 위에 로고 · 제목 · 문구 */
.site-pop-visual { aspect-ratio: 16 / 10; }
.site-pop-visual > img:first-child { filter: none; }
.site-pop-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 24px 26px; text-align: center; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 45%, rgba(13,13,13,.96) 100%); }
.site-pop-cover .site-pop-logo { position: static; transform: none; width: 64px; margin-bottom: 16px; }
.site-pop-cover h2 { margin-top: 6px; font-size: 28px; color: #fff; }
.site-pop-cover .site-pop-lead { margin-top: 6px; color: #d6d6d6; font-size: 14px; }
.site-pop-body { padding: 4px 28px 26px; }
.site-pop-body dl { margin-top: 0; padding-top: 22px; row-gap: 12px; }

.site-pop-body { padding-bottom: 28px; }
.pop-today { display: inline-flex; align-items: center; gap: 8px; color: #999 !important; font-size: 13px !important; text-decoration: underline; text-underline-offset: 3px; }
.pop-today i { width: 16px; height: 16px; border: 1px solid #666; border-radius: 50%; position: relative; }
.pop-today:hover i::after { content: ''; position: absolute; left: 4px; top: 2px; width: 5px; height: 8px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.pop-today:hover { color: #fff !important; }
.pop-x { position: relative; width: 32px; height: 32px; }
.pop-x::before, .pop-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 1.5px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.pop-x::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* 팝업 구조: 모달 밖 상단 컨트롤 + 모달 푸터 전화 버튼 */
.site-pop-wrap { position: relative; width: min(440px, 100%); animation: popIn .5s var(--ease); }
.site-pop-outer { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding: 0 4px; }
.site-pop-outer button { border: 0; background: none; cursor: pointer; }
.site-pop-outer .pop-today { color: #ddd !important; }
.site-pop-box { animation: none; max-height: calc(100svh - 80px); }
.site-pop-body { padding-bottom: 24px; }
.site-pop-tels { margin-top: 0; }
/* 팝업 간략 약도 */
.site-pop-map { display: block; margin-top: 20px; border-radius: 12px; overflow: hidden; }
/* 모바일: 약도가 들어간 만큼 상단 사진 높이를 줄여 전화 버튼까지 한 화면에 */
@media (max-width: 600px) { .site-pop-visual { aspect-ratio: 16 / 10; } .site-pop-body dl { row-gap: 8px; } .site-pop-map { margin-top: 14px; } }
.site-pop-tels .tel-pop { gap: 0; }
.tel-pop .tel { border-radius: 0; padding: 12px 8px 11px; }
.tel-pop .tel-num { font-size: 18px; }


/* ---------- 브랜드 이름 이야기: 조각이 떠다니다 중앙으로 뭉침 → 설명 슬라이드업 ---------- */
.brand-gather { position: relative; overflow: hidden; }
.brand-gather > .inner { position: relative; z-index: 1; }
/* 고정 배경 사진: 위아래 검정 그라데이션으로 이어지고, 뭉칠 때 은은하게 나타남 */
.bg-photo { position: absolute; inset: 0; background: center / cover no-repeat fixed; opacity: 0; transition: opacity 1.6s var(--ease); }
.bg-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.82) 30%, rgba(0,0,0,.82) 70%, #000 100%); }
.brand-gather.is-gathered .bg-photo { opacity: 1; }
/* 터치 기기는 fixed 배경 미지원(iOS) → 일반 배경 */
@media (hover: none) { .bg-photo { background-attachment: scroll; } }
.bg-stage { position: relative; min-height: clamp(320px, 52vh, 560px); display: grid; place-content: center; justify-items: center; text-align: center; }
.bg-word { display: flex; justify-content: center; align-items: baseline; white-space: nowrap; font-family: var(--f-display); font-size: clamp(80px, 14vw, 220px); line-height: .95; color: var(--brand); }
.bg-part { display: inline-block; transition: transform 1.3s var(--ease); transition-delay: calc(var(--i) * .08s); }
/* 흩어진 위치: 회전 없이 첫 조각은 왼쪽, 다음 조각은 오른쪽 (가로로만 모임) */
.bg-part:nth-child(odd)  { transform: translateX(-32vw); }
.bg-part:nth-child(even) { transform: translateX(32vw); }
.bg-part.is-ko { font-family: var(--f-body); font-weight: 900; letter-spacing: -.04em; }
.bg-bob { display: inline-block; animation: bgBob 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
@keyframes bgBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.bg-name { margin-top: 14px; font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .3em; color: #fff; opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease) .9s, transform .8s var(--ease) .9s; }
.bg-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px clamp(28px, 4vw, 56px); margin-top: clamp(24px, 4vw, 56px); }
.bg-col { opacity: 0; transform: translateY(48px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(1s + var(--i) * .15s); }
.bg-col h3 { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #262626; }
.bg-col h3 b { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1; color: var(--brand); }
.bg-col h3 b.is-ko { font-family: var(--f-body); font-weight: 900; font-size: 26px; letter-spacing: -.03em; }
.bg-col h3 span { font-size: 14px; color: #888; font-weight: 600; }
.bg-col p { color: #c9c9c9; font-size: 15px; line-height: 1.8; }
/* 뭉친 상태 */
.brand-gather.is-gathered .bg-part { transform: none; }
.brand-gather.is-gathered .bg-bob { animation-play-state: paused; }
.brand-gather.is-gathered .bg-name, .brand-gather.is-gathered .bg-col { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .bg-part, .bg-name, .bg-col { transform: none !important; opacity: 1 !important; }
    .bg-bob { animation: none; }
}

/* 아주 작은 화면(≤380px): 브랜드 카드 버튼 한 줄 유지 + 플로팅 버튼 축소 (본문 가림 최소화) */
@media (max-width: 380px) {
    .brand-cards .arr-links { left: 16px; right: 16px; gap: 8px; }
    .brand-cards .arr-links a { height: 48px; padding: 0 8px; font-size: 14px; white-space: nowrap; }
    .float-btns { right: 10px; bottom: 10px; gap: 8px; }
    .float-kakao { width: 48px; height: 48px; }
    .float-kakao .kakao-logo { width: 32px; height: 32px; }
    .float-calls { width: 56px; border-radius: 16px; }
    .float-call { padding: 10px 2px 8px; gap: 4px; }
    .float-call svg { width: 16px; height: 16px; }
    .float-call span { font-size: 9px; letter-spacing: -.04em; }
    .float-bubble { width: 48px; padding: 6px 0 5px; margin-bottom: 6px; }
    .float-bubble span { font-size: 10px; }
}

/* 모바일: 예약문의 말풍선 숨김 */
@media (max-width: 960px) {
    .float-bubble { display: none; }
}

/* 팝업 전화 버튼: 윗줄 업체명 / 아랫줄 '전화 연결' + 전화기 아이콘 (번호 비노출, 누르면 바로 전화) */
.tel-pop .tel-num { display: none; }
.tel-pop .tel { gap: 6px; padding: 14px 8px 13px; }
.tel-pop .tel-label, .tel-pop .tel--bj .tel-label, .tel-pop .tel--gabin .tel-label { font-size: 15px; font-weight: 800; color: inherit; }
.tel-pop .tel::after { content: '전화 연결'; padding-right: 22px; font-size: 13px; font-weight: 700; line-height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232aa526' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") right center / 16px no-repeat; }
.site .tel-pop .tel { color: #fff; }
/* 팝업 전화: 두 칸 같은 어두운 톤 + 초록 전화 아이콘, 위·가운데 구분선 */
.site-pop-tels { border-top: 1px solid #262626; }
/* 팝업: 위쪽 내용만 스크롤, 전화 버튼은 하단 고정 */
.site-pop-box { display: flex; flex-direction: column; overflow: hidden; }
.site-pop-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.site-pop-tels { flex: none; }
@media (max-width: 600px) { .site-pop-box { max-height: calc(100svh - 180px); } } /* 모바일: 팝업 높이 축소 (나머지는 스크롤) */
.tel-pop .tel + .tel { border-left: 1px solid #262626; }
.tel-pop .tel { transition: background .25s; }
.tel-pop .tel:hover { background: #1f1f1f; }

/* 모바일 브랜드 카드: 둥근 카드 + 스크롤 시 위로 쌓이는 스택 (뒤 카드가 앞 카드를 덮음) */
@media (max-width: 960px) {
    .brand-cards { margin-right: 0; gap: 20px; }
    .brand-cards .arr-card { position: sticky; top: calc(var(--hd-h) + 24px); border-radius: 20px; box-shadow: 0 -10px 30px rgba(0,0,0,.55); }
    .brand-cards .arr-card:nth-child(2) { top: calc(var(--hd-h) + 38px); }
    .brand-cards .arr-card:nth-child(3) { top: calc(var(--hd-h) + 52px); }
}

/* 모바일 셰프: 사람 사진을 위쪽 배경으로 온전히 노출 → 몸통 높이부터 글자 시작, 기능장패는 맨 아래로 */
@media (max-width: 960px) {
    .chef-portrait {
        right: auto; bottom: auto; top: 24px; left: 50%; transform: translateX(-50%); height: 364px; opacity: .5;
        -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 85%); mask-image: linear-gradient(to bottom, #000 40%, transparent 85%);
        -webkit-mask-composite: source-over; mask-composite: add;
    }
    .chef .chef-grid { padding-top: 175px; }
    .chef-media { order: 2; }
}

/* 모바일: 오시는 길 하단 전화 박스 숨김 (아래 예약·문의 CTA와 중복) */
@media (max-width: 960px) { .dir-bar { display: none; } }

/* 모바일 게시판 상단(Notice/Event): 고정 높이 해제하고 위아래 여백 축소 */
@media (max-width: 960px) {
    .board-hero { min-height: 0; }
    .board-hero .hero-inner { padding: calc(var(--hd-h) + 56px) var(--gutter) 44px; }
}

/* 모바일 전체 메뉴: 2차 메뉴가 있는 항목은 제목 아래 여백 축소 (제목과 2차 메뉴를 가깝게) */
@media (max-width: 960px) { .gnb .has-sub > a { padding-bottom: 8px; } }

/* 모바일 브랜드 이름 영역: 고정 높이 해제로 위아래 여백 축소 (아래 여백을 더 줄임) */
@media (max-width: 960px) {
    .bg-stage { min-height: 0; padding: 40px 0 0; }
    .bg-cols { margin-top: 36px; }
}

/* 모바일: 섹션 사이 여백 축소 + 줄글 줄 길이 균형 (한 단어만 다음 줄로 떨어지지 않게 2~3줄로 고르게) */
@media (max-width: 960px) {
    .sec { padding: 56px 0; }
    .site :where(p, dd, li, h2, h3) { text-wrap: balance; }
}

/* 모바일 대표 메뉴: 화면 끝까지 꽉 찬 사진(모서리 없음) + 아래 검정 그라데이션 위에 메뉴명·가격 */
@media (max-width: 960px) {
    #sig { padding-top: 0; }
    .sig { gap: 0; }
    .sig-media { position: relative; margin: 0 calc(-1 * var(--gutter)); border-radius: 0; }
    .sig-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 15%, rgba(0,0,0,.72) 48%, rgba(0,0,0,.92) 72%, #000 100%); pointer-events: none; }
    .sig-body { position: relative; z-index: 1; margin-top: -190px; }
    .sig-price { margin: 16px 0 28px; }
}

/* 팝업: 운영 정보 줄 간격 축소 + 하단 전화 버튼 높이 축소 */
.site-pop-body dl { row-gap: 6px; }
.site-pop-body dt, .site-pop-body dd { line-height: 1.5; }
.tel-pop .tel { gap: 2px; padding: 10px 8px 9px; }

/* 브랜드 하이라이트 번호 (01, 02 …) */
.arr-num { display: block; margin-bottom: 10px; font-family: var(--f-display); font-size: 28px; line-height: 1; color: var(--brand); }
/* 브랜드 하이라이트: 항목 사이마다 가로선, 선 위아래 여백 동일 / 사진 없는 항목은 박스 없이 글자만 */
.arrange-list:not(.brand-cards) { gap: clamp(32px, 4vw, 56px); }
.arrange-list:not(.brand-cards) > .arr-card + .arr-card { padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.arr-card.is-text { padding: 0; border: 0; border-radius: 0; background: none; }

/* 모바일 브랜드 상단: 화면을 꽉 채우지 않고 아래 내용이 살짝 보이게 (스크롤 유도) */
@media (max-width: 960px) { .hero-brand { min-height: 78svh; } }

/* 모바일 브랜드 페이지: 대표 메뉴의 '전체 메뉴 보기'는 꽉 찬 큰 버튼, Highlights의 '메뉴 보기'는 숨김 (중복) */
@media (max-width: 960px) {
    .brand-page .sig-body .btn-gold { display: flex; justify-content: center; width: 100%; height: 58px; font-size: 16px; }
    .brand-page .arrange-head .btn-gold { display: none; }
}

/* 모바일 메뉴 탭 바: 헤더 바로 아래에 붙고, 헤더가 숨으면 화면 맨 위(0)에 붙음 + 2단 구성 정리 */
@media (max-width: 960px) {
    .menu-tabs { top: calc(var(--hd-h) + 10px); padding: 0; transition: top .4s var(--ease); }
    body:has(#site-hd.is-hidden) .menu-tabs { top: 0; }
    /* 1단: 보기 전환 - 반반 나눈 탭, 선택된 쪽만 흰 글자 + 브랜드색 밑줄 */
    .view-switch { display: grid; grid-template-columns: 1fr 1fr; }
    .view-switch button, .view-switch button + button { margin: 0; padding: 15px 0 13px; text-align: center; font-size: 15px; border-bottom: 2px solid transparent; }
    .view-switch button + button::before { height: 14px; }
    .view-switch button.is-on { border-bottom-color: var(--brand); }
    /* 2단: 분류 탭 - 작은 글자로 가로 스크롤 */
    .menu-tabs .tab-links { gap: 20px; padding: 0 var(--gutter); }
    .menu-tabs a { padding: 12px 0 11px; font-size: 14px; }
}

/* ---------- 사진 없는 메뉴: 빈 칸 없이 글만 ---------- */
.sig.no-media { grid-template-columns: 1fr; max-width: 760px; }
.menu-card.is-text .menu-body { padding-top: 20px; border-top: 1px solid var(--line); }
/* 시그니처 사진 모서리 안내 문구 (이미지컷) */
.sig-media { position: relative; }
.img-note { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 5px 10px; border-radius: 6px; background: rgba(0,0,0,.55); font-size: 12px; color: rgba(255,255,255,.85); }

/* What BJ Means: 제목 영역과 설명 사이 구분선 (오른쪽 BJ 끝까지) */
.floors-bj .bj-texts { padding-top: 40px; }
.floors-bj .bj-texts::before { content: ''; position: absolute; top: 0; left: 0; width: calc(225% + clamp(40px, 6vw, 96px)); height: 1px; background: var(--line); }
.floors-bj .bj-text { top: 40px; }

@media (max-width: 960px) {
    .sig.no-media .sig-body { margin-top: 0; }
    .floors-bj .bj-texts { position: relative; padding-top: 32px; }
    .floors-bj .bj-texts::before { width: 100%; }
}
