/* 자연을 요리하는 김밥 — v5 */
:root {
  --bg: #FFFCF9;
  --alt: #F9E1D5;
  --surface: #FFFFFF;
  --text: #382C27;
  --title: #2B201C;
  --muted: #77675F;
  --primary: #B8442D;
  --primary-ink: #FFFFFF;
  --primary-soft: #F9E1D5;
  --secondary: #376A78;
  --accent: #E7B34C;
  --line: #EAD8CF;
  --green: #4E8A4F;
  --soft: var(--primary-soft);

  --f-head: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, sans-serif;
  --f-body: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, sans-serif;

  --r-btn: 12px;
  --r-card: 14px;
  --r-photo: 18px;
  --gutter: 22px;
  --maxw: 1160px;
  --hd-h: 60px;
  --tab-h: 64px;
  --sec: 64px;
  --shadow: 0 1px 2px rgba(57, 44, 40, .04), 0 8px 24px -12px rgba(57, 44, 40, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 8px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6; letter-spacing: -0.012em;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--title); margin: 0; letter-spacing: -0.035em; line-height: 1.25; }
p { margin: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 18px; height: 18px; flex: none; vertical-align: -3px; }

/* ---------- 헤더 ---------- */
.hd { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .2s; }
.hd.scrolled { box-shadow: 0 1px 0 var(--line); }
.hd-in { max-width: var(--maxw); margin: 0 auto; height: var(--hd-h); display: flex; align-items: center; gap: 12px; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-name { font-family: var(--f-head); font-weight: 800; font-size: 21px; letter-spacing: -0.05em; color: var(--primary); white-space: nowrap; }
.bn-full { display: none; }
body.on-home .hd:not(.scrolled) { background: var(--alt); }
.hd-status { margin-left: auto; padding: 5px 12px 5px 10px; font-size: 13px; white-space: nowrap; }
.hd-status.open { background: var(--primary); border-color: var(--primary); }
.hd-status.open b { color: #fff; }
.hd-status.open .dot { background: #fff; animation: none; box-shadow: none; }
.topnav { display: none; }
.hd-call { display: none; margin-left: auto; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--primary); font-weight: 700; font-size: 14px; }
.hd-call svg { width: 18px; height: 18px; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; padding: 0 18px; border-radius: var(--r-btn); font-weight: 700; font-size: 16px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn .i { width: 20px; height: 20px; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-soft { background: var(--surface); color: var(--title); border-color: var(--line); }
.btn-soft .i { color: var(--primary); }
.btn-naver, .btn-kakao { background: var(--primary); color: var(--primary-ink); }

/* ---------- 공통 섹션 ---------- */
.sec { padding: var(--sec) 0; }
.sec-alt { background: var(--alt); }
.sec-tight { padding: 8px 0 var(--sec); }
.sec-alt + .sec-tight, .sec + .sec-tight { padding-top: 0; }
.kicker { font-size: 13.5px; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; margin-bottom: 6px; }
.sec h2 { font-size: 27px; font-weight: 800; line-height: 1.28; letter-spacing: -0.045em; margin-bottom: 16px; }
.sec p + p { margin-top: 10px; }
.lead { font-size: 18px; font-weight: 600; color: var(--title); margin-bottom: 8px !important; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 600; color: var(--muted); white-space: nowrap; padding: 6px 0; }
.link { display: inline-flex; align-items: center; gap: 2px; margin-top: 14px; font-weight: 700; color: var(--primary); font-size: 15px; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-photo); }
.hint { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px !important; padding: 12px 14px; background: var(--surface); border-radius: var(--r-card); font-size: 14.5px; color: var(--muted); border: 1px solid var(--line); }
.hint .i { color: var(--accent); margin-top: 2px; }
.hint b { color: var(--title); }

/* 등장 효과 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 1. 첫 화면 ---------- */
.hero { background: linear-gradient(var(--alt) 0, var(--alt) 45%, var(--bg) 100%); }
.hero-copy { padding: 14px var(--gutter) 0; }
.eyebrow { font-size: 13.5px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.hero-title { font-size: clamp(36px, 10vw, 42px); font-weight: 800; line-height: 1.14; letter-spacing: -0.055em; }
.hero-sub { margin-top: 12px; font-size: 16.5px; color: var(--text); line-height: 1.6; }
.hero-photo { margin-top: -8px; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 70%; -webkit-mask-image: linear-gradient(transparent 0, #000 22%); mask-image: linear-gradient(transparent 0, #000 22%); }
.hero-act { padding: 0 var(--gutter); margin-top: -34px; position: relative; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 11px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.status b { font-weight: 700; color: var(--title); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #B9A9A2; flex: none; }
.status.open .dot { background: #2FA55A; box-shadow: 0 0 0 0 rgba(47, 165, 90, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(47, 165, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 165, 90, 0); } }
.actions { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.actions .btn { padding: 0 10px; box-shadow: 0 6px 18px -10px rgba(56, 44, 39, .35); }

/* ---------- 2. 한눈에 ---------- */
.facts { list-style: none; margin: 18px auto 0; padding: 4px var(--gutter); display: flex; flex-wrap: wrap; gap: 0 18px; max-width: var(--maxw); }
.facts li { display: flex; align-items: center; gap: 7px; padding: 8px 0; font-size: 14px; color: var(--muted); white-space: nowrap; }
.facts li:first-child { flex-basis: 100%; border-bottom: 1px solid var(--line); }
.facts .i { width: 20px; height: 20px; color: var(--primary); }
.facts b { color: var(--title); font-weight: 700; margin-right: 4px; }

/* ---------- 가로 레일 ---------- */
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 12px; scroll-padding: 0 var(--gutter); scrollbar-width: none; max-width: var(--maxw); margin: 0 auto; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }

/* ---------- 3. 대표 메뉴 ---------- */
.sig { width: clamp(176px, 46vw, 230px); background: var(--surface); border-radius: var(--r-photo); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sig figure { position: relative; }
.sig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s; }
.sig:hover img { transform: scale(1.04); }
.sig figure { overflow: hidden; }
.sig .badge { position: absolute; top: 10px; left: 10px; }
.sig div { padding: 13px 15px 16px; }
.sig small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.sig b { display: block; font-family: var(--f-head); font-size: 17px; font-weight: 800; color: var(--title); letter-spacing: -0.03em; }
.sig p { font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.sig { box-shadow: none; border: 1px solid var(--line); }
.badge { display: inline-block; font-size: 11.5px; font-weight: 800; line-height: 1; padding: 5px 8px; border-radius: 99px; background: var(--primary); color: var(--primary-ink); vertical-align: 2px; letter-spacing: 0; }
.badge.new { background: var(--green); }

/* ---------- 4. 이름 ---------- */
.name-grid, .kitchen-grid, .maker { display: grid; gap: 0; }
.g-head h2 { margin-bottom: 18px; }
.g-body { margin-top: 22px; }
.roll-card { background: rgba(255, 255, 255, .55); border-radius: 24px; padding: 24px 18px 18px; text-align: center; cursor: pointer; }
.roll-svg { width: min(66vw, 300px); height: auto; margin: 0 auto; display: block; }
.r-nori { stroke-dasharray: 1; stroke-dashoffset: var(--nori, 1); }
.r-rice { transform-origin: 200px 200px; transform: scale(var(--rice, 0)); }
.r-fill { opacity: var(--fill-o, 0); }
.r-fill .f { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.r-land { opacity: var(--land, 0); }
.r-sun { transform: translateY(calc((1 - var(--land, 0)) * 40px)); }
.r-wave { animation: wave 3s ease-in-out infinite; }
@keyframes wave { 50% { transform: translateX(-8px); } }
.roll-caps { list-style: none; padding: 0; margin: 14px 0 6px; position: relative; height: 74px; }
.roll-caps li { position: absolute; inset: 0; opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
.roll-caps li.on { opacity: 1; transform: none; }
.roll-caps b { display: block; font-family: var(--f-head); font-weight: 800; font-size: 18px; color: var(--title); letter-spacing: -0.03em; }
.roll-caps span { font-size: 14px; color: var(--muted); }
.roll-dots { display: flex; justify-content: center; gap: 6px; }
.roll-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line); transition: width .3s, background .3s; }
.roll-dots i.on { width: 18px; background: var(--primary); }
.parts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.parts li { background: var(--surface); border-radius: var(--r-card); padding: 12px 14px; display: grid; grid-template-columns: 12px 1fr; column-gap: 8px; align-items: baseline; }
.parts i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.parts b { font-family: var(--f-head); font-size: 16px; font-weight: 800; color: var(--title); }
.parts span { grid-column: 2; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.thread-line { margin-top: 16px !important; font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.thread-line::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--accent); flex: none; }

/* ---------- 5. 열린 주방 ---------- */
#kitchen .photo { margin: 0 calc(var(--gutter) * -1); }
#kitchen .photo img { border-radius: 0; aspect-ratio: 16 / 10; }
.promises { list-style: none; counter-reset: p; padding: 0; margin: 18px 0 0; display: grid; }
.promises li { counter-increment: p; position: relative; padding: 13px 0 13px 46px; border-bottom: 1px solid var(--line); }
.promises li:first-child { border-top: 1px solid var(--line); }
.promises li::before { content: "0" counter(p); position: absolute; left: 0; top: 13px; width: 32px; height: 24px; border-radius: 99px; background: var(--accent); color: var(--title); font-size: 12.5px; font-weight: 800; display: grid; place-items: center; letter-spacing: 0; }
.promises b { display: block; font-family: var(--f-head); font-size: 16.5px; font-weight: 700; color: var(--title); letter-spacing: -0.03em; }
.promises span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; line-height: 1.5; }

/* ---------- 6. 재료 ---------- */
.ing { width: 116px; text-align: center; }
.ing img { width: 116px; height: 116px; object-fit: cover; border-radius: var(--r-card); background: var(--surface); }
.ing h3 { font-size: 15px; font-weight: 700; margin-top: 9px; letter-spacing: -0.03em; }
.ing p { font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 1px; }

/* ---------- 7. 만든 사람 ---------- */
.maker .photo img { aspect-ratio: 16 / 10; }
.letter { position: relative; background-color: #FFFDF8; background-image: repeating-linear-gradient(transparent 0 35px, #F0E0D6 35px 36px); background-position: 0 -6px; background-origin: content-box; background-clip: content-box; border: 1px solid var(--line); border-radius: 4px 4px 22px 4px; padding: 22px 22px 18px; box-shadow: var(--shadow); font-family: "Nanum Pen Script", cursive; color: #3B2A23; }
.letter::before { content: ""; position: absolute; top: -9px; left: 50%; width: 84px; height: 20px; margin-left: -42px; background: rgba(231, 179, 76, .55); transform: rotate(-2deg); border-radius: 2px; }
.sec .letter p { font-size: 25px; line-height: 36px; letter-spacing: 0; margin: 0; }
.letter .sign { margin-top: 0 !important; text-align: right; color: var(--primary); font-size: 27px; font-weight: 400; }

/* ---------- 8. 단체 · 노래 ---------- */
.duo { display: grid; gap: 12px; }
.card-group { display: grid; grid-template-columns: 1fr 104px; gap: 14px; align-items: center; background: var(--alt); border-radius: var(--r-photo); padding: 18px 16px 18px 20px; }
.card-group img { width: 104px; height: 104px; object-fit: cover; border-radius: var(--r-card); }
.card-group h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.04em; }
.card-group p { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.pill-btn { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; height: 36px; padding: 0 14px; border-radius: 99px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; }
.card-song { display: grid; grid-template-columns: 1fr auto 52px; gap: 12px; align-items: center; background: var(--secondary); color: #fff; border-radius: var(--r-photo); padding: 16px 14px 16px 20px; }
.card-song h3 { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -0.04em; }
.card-song p { font-size: 13px; opacity: .8; margin-top: 2px; }
.wave { display: flex; align-items: center; gap: 3px; height: 28px; }
.wave i { width: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .7); height: var(--h, 10px); }
.wave i:nth-child(3n) { --h: 22px; }
.wave i:nth-child(4n+1) { --h: 6px; }
.wave i:nth-child(5n+2) { --h: 16px; }
.card-song.playing .wave i { animation: wv .9s ease-in-out infinite alternate; }
.card-song.playing .wave i:nth-child(2n) { animation-delay: -.4s; }
.card-song.playing .wave i:nth-child(3n) { animation-delay: -.7s; }
@keyframes wv { to { transform: scaleY(.35); } }
.song-play { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.song-play svg { width: 22px; height: 22px; }

/* ---------- 9. 오시는 길 ---------- */
.find { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.find > *, .visit > * { min-width: 0; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.info-list .i { color: var(--primary); margin-top: 3px; }
.info-list small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.info-list a { font-weight: 700; color: var(--title); }
.map-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.route { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-photo); padding: 18px 14px; font-size: 13.5px; font-weight: 700; color: var(--title); }
.route > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; flex: none; }
.route .i { width: 16px; height: 16px; }
.route-st { border: 1.5px solid var(--title); border-radius: 99px; padding: 4px 10px; }
.route-exit { background: var(--accent); border-radius: 99px; padding: 4px 9px; margin-left: 12px; position: relative; }
.route-exit::before { content: ""; position: absolute; right: 100%; top: 50%; width: 12px; border-top: 2px solid var(--title); }
.route-walk { flex: 1 1 auto !important; justify-content: center; position: relative; font-size: 12px; color: var(--muted); font-weight: 600; padding: 0 6px 22px; }
.route-walk::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; border-top: 2px dashed var(--primary); }
.route-pin { background: var(--primary); color: #fff; border-radius: 99px; padding: 4px 11px 4px 8px; }
.copy { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; font-size: 12px; padding: 1px 9px; margin-left: 4px; cursor: pointer; color: var(--muted); }

@media (max-width: 379px) {
  .route { padding: 16px 10px; font-size: 12.5px; }
  .route-st { padding: 4px 8px; }
  .route-exit { margin-left: 10px; padding: 4px 7px; }
  .route-exit::before { width: 10px; }
  .route-pin { padding: 4px 9px 4px 6px; }
  .hd-status { font-size: 12px; padding: 5px 10px 5px 8px; }
}

/* ---------- 하위 페이지 공통 ---------- */
.page { animation: pageIn .35s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.page-head { padding-top: 22px; padding-bottom: 6px; }
.page-head h1 { font-size: 32px; font-weight: 800; }
.page-head p { color: var(--muted); margin-top: 6px; }
.block-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 19px; font-weight: 800; margin: 34px 0 14px; }
.block-title .i { color: var(--primary); }
.small { font-size: 13.5px; color: var(--muted); }

/* ---------- 메뉴 ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gutter); scrollbar-width: none; max-width: var(--maxw); margin: 0 auto; }
.chips::-webkit-scrollbar { display: none; }
.chips.sticky { position: sticky; top: var(--hd-h); z-index: 20; background: var(--bg); }
.chip { flex: none; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); border-radius: 99px; padding: 8px 16px; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.panel { display: grid; gap: 16px; padding-top: 6px; }
.panel-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-photo); }
.panel-txt { margin-top: 14px; }
.panel-txt h2 { font-size: 24px; font-weight: 800; }
.panel-txt h2 small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.panel-txt p { color: var(--muted); margin-top: 4px; }
.panel-note { font-size: 14px; background: var(--alt); border-radius: 12px; padding: 10px 12px; margin-top: 10px !important; }
.items { list-style: none; padding: 0; margin: 0; background: var(--surface); border-radius: var(--r-photo); border: 1px solid var(--line); }
.item { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item h4 { font-size: 17px; font-weight: 800; }
.item h4 .badge { margin-left: 4px; }
.item p { font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.item img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex: none; }
.allergy { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.allergy span { font-size: 11.5px; color: var(--muted); background: var(--bg); border-radius: 6px; padding: 1px 7px; }
#sub-origin { margin-top: 30px; }
.note-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-photo); padding: 20px 18px; }
.note-box h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.origin { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 12px; }
.origin td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.origin td:last-child { text-align: right; color: var(--muted); }
.tips { display: grid; gap: 10px; }
.tip { background: var(--alt); border-radius: var(--r-card); padding: 16px; }
.tip b { font-family: var(--f-head); font-size: 16px; font-weight: 800; color: var(--title); }
.tip p { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- 노래 ---------- */
.songs-layout { display: grid; gap: 14px; padding-top: 10px; padding-bottom: 24px; }
.player-col { display: grid; gap: 14px; align-content: start; min-width: 0; }
.lyrics-col { position: relative; min-width: 0; }

/* 지금 듣는 곡 */
.now { background: var(--title); color: #fff; border-radius: 22px; padding: 18px 18px 14px; box-shadow: 0 14px 34px -18px rgba(43, 32, 28, .55); }
.now-top { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; }
.now-art { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; background: #4a3b35; }
.now-meta { min-width: 0; }
.now-meta small { display: block; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.now-meta b { display: block; font-family: var(--f-head); font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; margin-top: 2px; }
.now-blurb { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; color: rgba(255, 255, 255, .72); line-height: 1.45; margin-top: 3px; }
.now-bar { margin-top: 16px; }
.now-bar input { --p: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
.now-bar input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(255, 255, 255, .22) var(--p)); }
.now-bar input::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(255, 255, 255, .22) var(--p)); }
.now-bar input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; border: 0; }
.now-bar input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.now-time { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; margin-top: -2px; }
.now-ctrl { display: flex; justify-content: space-between; align-items: center; margin: 6px 4px 0; }
.now-ctrl button { position: relative; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; }
.now-ctrl button svg { width: 26px; height: 26px; }
.now-ctrl .sm { color: rgba(255, 255, 255, .6); }
.now-ctrl .sm svg { width: 22px; height: 22px; }
.now-ctrl .sm em { display: none; position: absolute; top: 8px; right: 7px; font-style: normal; font-size: 9px; font-weight: 800; background: var(--accent); color: var(--title); border-radius: 6px; padding: 0 3px; line-height: 13px; }
.now-ctrl #bRepeat.on { color: var(--accent); }
.now-ctrl #bRepeat.on em { display: block; }
.now-ctrl .big { width: 64px; height: 64px; background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(184, 68, 45, .8); }
.now-ctrl .big svg { width: 30px; height: 30px; }
.now-ctrl button:active { transform: scale(.94); }
.now-player.off .now-bar, .now-player.off #bPlay { opacity: .35; pointer-events: none; }

/* 가사 미리보기 (모바일) */
.peek { display: block; width: 100%; text-align: left; border: 0; font: inherit; color: inherit; cursor: pointer; background: var(--alt); border-radius: 18px; padding: 14px 18px 16px; }
.peek:active { transform: scale(.99); }
.peek-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.peek-head b { color: var(--primary); font-weight: 800; letter-spacing: .04em; }
.peek-head span { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 600; }
.peek-head .i { width: 15px; height: 15px; }
.peek-lines { display: block; margin-top: 8px; }
.pk { display: block; font-size: 17px; line-height: 1.65; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s, opacity .3s; }
.pk.on { color: var(--title); font-weight: 800; }
.pk.past { opacity: .55; }
.plist-head { font-size: 18px; font-weight: 800; margin: 10px 4px -4px; }
.plist-head span { color: var(--primary); }

/* 전체 곡 */
.plist { list-style: none; margin: 0; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.plist li + li { border-top: 1px solid var(--line); }
.plist button { width: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 0; background: transparent; border-radius: 12px; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.plist li.on button { background: var(--alt); }
.pl-art { position: relative; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--alt); }
.pl-art img { width: 100%; height: 100%; object-fit: cover; }
.pl-art .eq { position: absolute; inset: 0; height: auto; display: none; justify-content: center; align-items: center; background: rgba(43, 32, 28, .5); }
.plist li.live .eq { display: flex; }
.pl-txt b { display: block; font-size: 16px; font-weight: 700; color: var(--title); letter-spacing: -0.02em; }
.pl-txt small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plist li.on .pl-txt b { color: var(--primary); }
.pl-end { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pl-end em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--secondary); background: #E4EEF0; border-radius: 999px; padding: 3px 8px; }
.plist li.no-audio .pl-txt b { color: var(--text); }
.eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 16px; }
.eq i { width: 3px; height: 6px; border-radius: 2px; background: #fff; animation: eq 1s infinite ease-in-out; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; }
.eq.paused i { animation-play-state: paused; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 16px; } }

/* 가사 */
.lyrics-box { position: relative; height: 62vh; min-height: 340px; overflow-y: auto; padding: 26vh 12px 30vh; text-align: center; scrollbar-width: none; overscroll-behavior: contain; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 82%, transparent); }
.lyrics-box::-webkit-scrollbar { display: none; }
.lyrics-box.static { padding: 28px 18px 40px; -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
.lyrics-box .blk { margin: 0 0 22px; }
.lyrics-box .ln { display: block; padding: 4px 6px; font-size: 18px; line-height: 1.55; color: var(--text); border-radius: 10px; transition: color .35s, opacity .35s, transform .35s; transform-origin: center; }
.lyrics-box.timed .ln { cursor: pointer; color: var(--muted); opacity: .55; }
.lyrics-box.timed .ln.past { opacity: .4; }
.lyrics-box.timed .ln.on { color: var(--title); opacity: 1; font-weight: 800; transform: scale(1.08); }
.lyrics-box.timed .ln:hover { opacity: .9; }
.lyrics-box .chorus .ln { font-weight: 600; }
.lyrics-box.static .chorus .ln { color: var(--primary); }
.lyrics-box .inst { color: var(--accent); font-size: 18px; }
/* 전체 화면 가사 (모바일) */
.lyr-top, .lyr-bot { display: none; }
@media (max-width: 959px) {
  .lyrics-col { display: none; }
  body > .lyrics-col.open { display: flex; }
  .lyrics-col.open { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 60; background: var(--title); color: #fff; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
  .lyr-lock, .lyr-lock body { overflow: hidden; }
  .open .lyr-top { display: flex; align-items: center; gap: 6px; padding: 8px 12px 4px; }
  .lyr-top button { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
  .lyr-top svg { width: 28px; height: 28px; }
  .lyr-top b { display: block; font-size: 16px; font-weight: 800; color: #fff; }
  .lyr-top small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
  .open .lyrics-box { flex: 1; height: auto; min-height: 0; padding: 32vh 22px 42vh; }
  .open .lyrics-box .ln { color: #fff; font-size: 22px; }
  .open .lyrics-box.timed .ln { color: #fff; opacity: .4; }
  .open .lyrics-box.timed .ln.past { opacity: .28; }
  .open .lyrics-box.timed .ln.on { opacity: 1; }
  .open .lyrics-box.static { padding: 24px 22px 60px; }
  .open .lyrics-box.static .chorus .ln { color: var(--accent); }
  .open .lyr-bot { display: block; padding: 0 18px 10px; }
  .open #bView { visibility: hidden; }
  .open .follow { bottom: calc(env(safe-area-inset-bottom) + 160px); background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .2); }
}
.follow { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; border: 1px solid transparent; border-radius: 999px; padding: 7px 14px 7px 11px; background: rgba(43, 32, 28, .78); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: inherit; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap; animation: followIn .25s ease; }
.follow[hidden] { display: none; }
.follow .i { width: 15px; height: 15px; transform: rotate(90deg); transition: transform .2s; }
.follow.up .i { transform: rotate(-90deg); }
@keyframes followIn { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- 오시는 길 ---------- */
.visit { display: grid; gap: 22px; padding-top: 12px; }
.visit .info-list { background: var(--surface); border-radius: var(--r-photo); padding: 18px; border: 1px solid var(--line); }
.status-sm { margin: 0; padding: 3px 10px 3px 9px; font-size: 13px; }
.hours { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r-photo); overflow: hidden; border: 1px solid var(--line); }
.hours td { padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { background: var(--alt); font-weight: 800; color: var(--title); }
.hours tr.off td:last-child { color: var(--muted); }
#hoursNote { margin-top: 10px; }
#sub-group { margin-top: 38px; }
.group-card { background: var(--surface); border-radius: var(--r-photo); overflow: hidden; box-shadow: var(--shadow); }
.group-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.group-card > div { padding: 20px 18px 22px; }
.group-card h2 { font-size: 23px; font-weight: 800; margin-bottom: 8px; }
.group-card .btn { margin-top: 16px; width: 100%; }
.checks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.checks li { position: relative; padding-left: 24px; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(-45deg); }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 0 16px; }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 700; color: var(--title); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-weight: 800; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 15px; color: var(--muted); font-size: 15px; }
.faq a { color: var(--primary); font-weight: 700; }

/* ---------- 푸터 ---------- */
.ft { margin-top: var(--sec); padding: 34px 0 30px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.page[data-page="home"] ~ .ft { margin-top: 0; }
.ft-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--title); font-family: var(--f-head); font-size: 16px; }
.ft p + p { margin-top: 6px; }
.ft-legal { font-size: 12px; }

/* ---------- 하단 탭 · 미니 플레이어 · 토스트 ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: color-mix(in srgb, var(--surface) 94%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--muted); }
.tabbar svg { width: 24px; height: 24px; }
.tabbar a.on { color: var(--primary); font-weight: 800; }
.tabbar a.on svg { background: var(--primary-soft); border-radius: 99px; padding: 2px 14px; width: 54px; box-sizing: content-box; height: 22px; margin: -2px 0; }
.mini { position: fixed; left: 10px; right: 10px; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 8px); z-index: 39; display: grid; grid-template-columns: 44px 1fr 36px; gap: 8px; align-items: center; background: var(--title); color: #fff; border-radius: 16px; padding: 7px 8px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.mini button { width: 40px; height: 40px; border: 0; background: transparent; color: #fff; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.mini-play { background: var(--primary) !important; }
.mini svg { width: 20px; height: 20px; }
.mini-info b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-bar { display: block; height: 3px; background: rgba(255, 255, 255, .25); border-radius: 3px; margin-top: 5px; overflow: hidden; }
.mini-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 24px); transform: translate(-50%, 20px); background: var(--title); color: #fff; padding: 10px 16px; border-radius: 99px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 70; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 태블릿 ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; --sec: 80px; }
  .hero-photo { padding: 0 var(--gutter); }
  .hero-photo img { aspect-ratio: 16 / 9; }
  .actions { max-width: 520px; }
  .facts { max-width: 700px; margin-left: var(--gutter); }
  .parts { grid-template-columns: repeat(4, 1fr); }
  .duo { grid-template-columns: 1.2fr 1fr; }
  .tips { grid-template-columns: 1fr 1fr; }
}

/* ---------- 데스크톱 ---------- */
@media (min-width: 960px) {
  :root { --hd-h: 72px; --sec: 104px; --gutter: 40px; }
  body { padding-bottom: 0; font-size: 17px; }
  .tabbar { display: none; }
  .mini { left: auto; right: 24px; bottom: 24px; width: 340px; }
  .toast { bottom: 32px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 19px; }
  .topnav { display: flex; gap: 4px; margin-left: auto; }
  .topnav a { padding: 8px 16px; border-radius: 99px; font-weight: 700; font-size: 16px; color: var(--muted); transition: color .2s, background .2s; }
  .topnav a:hover { color: var(--title); }
  .topnav a.on { color: var(--primary); background: var(--primary-soft); }
  .hd-call { display: inline-flex; margin-left: 8px; height: 44px; padding: 0 18px; }
  .hd-status { display: none; }
  .bn-short { display: none; }
  .bn-full { display: inline; }
  .brand-name { font-size: 20px; color: var(--title); }

  .hero { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto auto; column-gap: 48px; align-items: center; padding: 40px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 56px; background: linear-gradient(var(--alt), var(--alt) 70%, var(--bg)); }
  .hero-copy { padding: 0; grid-column: 1; grid-row: 1; align-self: end; }
  .hero-act { grid-column: 1; grid-row: 2; align-self: start; padding: 0; margin-top: 28px; }
  .hero-photo { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .hero-photo img { aspect-ratio: 4 / 3; border-radius: 28px; -webkit-mask-image: none; mask-image: none; }
  .hero-title { font-size: 64px; }
  .hero-sub { font-size: 20px; }
  .eyebrow { font-size: 15px; }
  .actions { grid-template-columns: auto auto auto; justify-content: start; }
  .actions .btn { padding: 0 22px; min-height: 54px; }
  .facts { margin: 0 auto; max-width: var(--maxw); padding: 22px var(--gutter); gap: 0 48px; flex-wrap: nowrap; }
  .facts li:first-child { flex-basis: auto; border-bottom: 0; }
  .facts li { font-size: 15.5px; }

  .sec h2 { font-size: 40px; margin-bottom: 18px; }
  .sec-head { margin-bottom: 26px; }
  .lead { font-size: 21px; }
  .sig { width: auto; flex: 1 1 0; min-width: 190px; }
  .rail { padding-bottom: 16px; }
  .name-grid, .kitchen-grid, .maker { grid-template-columns: 1fr 1fr; grid-template-areas: "art head" "art body"; column-gap: 72px; align-items: start; }
  .name-grid > .roll-card, .kitchen-grid > .photo, .maker > .photo { grid-area: art; align-self: center; }
  .g-head { grid-area: head; align-self: end; }
  .g-body { grid-area: body; margin-top: 0; }
  .roll-card { padding: 40px 24px 24px; }
  .roll-svg { width: 340px; }
  .parts { grid-template-columns: 1fr 1fr; }
  #kitchen .photo { margin: 0; }
  #kitchen .photo img { aspect-ratio: 4 / 5; border-radius: var(--r-photo); }
  .ing { width: auto; flex: 1 1 0; min-width: 130px; }
  .ing img { width: 100%; height: auto; aspect-ratio: 1; }
  .maker .photo img { aspect-ratio: 4 / 5; }
  .sec .letter p { font-size: 27px; line-height: 38px; }
  .letter { background-image: repeating-linear-gradient(transparent 0 37px, #F0E0D6 37px 38px); padding: 30px 32px 24px; background-position: 0 -6px; }
  .duo { grid-template-columns: 2fr 1fr; }
  .card-group { grid-template-columns: 1fr 160px; padding: 24px 24px 24px 32px; }
  .card-group img { width: 160px; height: 140px; }
  .card-group h3, .card-song h3 { font-size: 23px; }
  .card-song { grid-template-columns: 1fr 64px; padding: 24px; }
  .card-song .wave { display: none; }
  .song-play { width: 64px; height: 64px; }
  .find { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }

  .page-head { padding-top: 48px; padding-bottom: 12px; }
  .page-head h1 { font-size: 46px; }
  .chips { padding-top: 16px; padding-bottom: 16px; }
  .panel { grid-template-columns: 420px 1fr; gap: 40px; align-items: start; padding-top: 14px; }
  .panel-side { position: sticky; top: calc(var(--hd-h) + 80px); }
  .item img { width: 96px; height: 96px; }
  .tips { grid-template-columns: repeat(4, 1fr); }
  .songs-layout { grid-template-columns: 400px minmax(0, 1fr); align-items: start; gap: 28px; padding-bottom: 48px; }
  .player-col { position: sticky; top: calc(var(--hd-h) + 20px); }
  .peek, #bView { display: none; }
  .plist { max-height: calc(100vh - var(--hd-h) - 300px); overflow-y: auto; scrollbar-width: thin; }
  .lyrics-col { position: sticky; top: calc(var(--hd-h) + 20px); }
  .lyrics-box { height: calc(100vh - 270px); min-height: 440px; padding: 30vh 48px 36vh; }
  .lyrics-box.static { padding: 40px 48px 60px; }
  .lyrics-box { overscroll-behavior: auto; }
  .lyrics-box .ln { font-size: 22px; }
  .visit { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .group-card { display: grid; grid-template-columns: 1fr 1fr; }
  .group-card img { height: 100%; aspect-ratio: auto; }
  .group-card > div { padding: 40px; }
  .group-card .btn { width: auto; }
  .faq { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
