/* version2 모션 홈 (/version2/) 전용. 클래스는 m- 로 시작 (기존 styles.css 와 겹치지 않게) */
body.v2-home { background: var(--night); color: var(--cream); }
.m-main { display: block; }
.m-main svg { width: auto; height: auto; display: inline-block; }
.m-grain { position: fixed; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 90; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.m-loading { min-height: 100vh; min-height: 100dvh; }
.m-loading .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v2-home #site-footer.v2-footer { margin-top: 0; border-radius: 0; border-top: 1px solid rgba(244,239,230,.08); }
.v2-home .v2-foot-top { display: none; }
.v2-home .v2-foot-in { padding-top: 40px; }

/* 공용 조각(.m-wrap .m-sec .m-light .m-dark .m-sheet .m-label .m-h2 .v2-btn)은 v2-sections.css 에 있음 */

/* ── 히어로 ── */
.m-hero { position: relative; min-height: 640px; height: 100vh; height: 100dvh; overflow: hidden; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: center;
  padding: 110px var(--gutter) 0; background: radial-gradient(70% 80% at 72% 48%, #232326 0%, rgba(19,19,20,0) 70%), var(--night); }
.m-hero-copy { position: relative; z-index: 3; max-width: 640px; padding-bottom: 70px; }
.m-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .2em; color: rgba(244,239,230,.6); display: flex; align-items: center; gap: 12px; margin: 0 0 28px; }
.m-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.m-hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 6.1vw, 92px); line-height: 1.08; letter-spacing: -.045em; margin: 0 0 28px; color: var(--cream); }
.m-hero h1 .ln { display: block; white-space: nowrap; }
.m-hero h1 .ln2 { color: #CDBF9F; }
.m-hero h1 em { font-style: normal; color: var(--cream); position: relative; }
.m-hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .05em; background: var(--brand); transform-origin: left; transform: scaleX(var(--u, 1)); transition: transform 1s var(--ease-out) .9s; }
.m-hero .m-sub { font-size: clamp(15.5px, 1.25vw, 18px); line-height: 1.7; color: rgba(244,239,230,.68); max-width: 30rem; margin: 0 0 36px; }
.m-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.m-stage { position: relative; z-index: 2; height: 100%; display: grid; place-items: center; }
.m-ghost { position: absolute; right: -1vw; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font-family: var(--serif); font-weight: 900; font-size: min(23vh, 190px); line-height: .85; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(244,239,230,.1); user-select: none; pointer-events: none; z-index: 0; white-space: nowrap; }
.m-steamer-wrap { position: relative; width: min(38vw, 60vh, 600px); aspect-ratio: 1; z-index: 2; margin-top: -40px; }
.m-steamer-shadow { position: absolute; inset: 6%; border-radius: 50%; box-shadow: 0 60px 120px rgba(0,0,0,.65), 0 20px 40px rgba(0,0,0,.4); }
.m-steamer { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; z-index: 1; will-change: transform;
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 66.5%, transparent 67.5%); mask: radial-gradient(circle at 50% 50%, #000 66.5%, transparent 67.5%); }
.m-steamer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s cubic-bezier(.4,0,.2,1); }
.m-steamer img.on { opacity: 1; }
.m-steam { position: absolute; left: 50%; top: 6%; width: 70%; height: 70%; transform: translateX(-50%); pointer-events: none; z-index: 3; filter: blur(22px); }
.m-steam span { position: absolute; bottom: 0; width: 38%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,250,240,.5), rgba(255,250,240,0)); opacity: 0; animation: m-rise 7.5s cubic-bezier(.4,0,.2,1) infinite; }
.m-steam span:nth-child(1) { left: 8%; animation-delay: .4s; }
.m-steam span:nth-child(2) { left: 34%; width: 44%; animation-delay: 2.9s; }
.m-steam span:nth-child(3) { left: 58%; animation-delay: 5.2s; }
@keyframes m-rise { 0% { transform: translateY(30%) scale(.6); opacity: 0; } 25% { opacity: .55; } 70% { opacity: .18; } 100% { transform: translateY(-70%) scale(1.5, 1.9); opacity: 0; } }
.m-switch { position: absolute; left: 50%; bottom: -74px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(244,239,230,.06); box-shadow: inset 0 0 0 1px rgba(244,239,230,.12); z-index: 4; }
.m-switch button { font: 600 13px/1 "Pretendard Variable", Pretendard, sans-serif; color: rgba(244,239,230,.6); background: transparent; border-radius: 999px; padding: 11px 18px; min-height: 40px; white-space: nowrap; }
.m-switch button[aria-pressed="true"] { background: var(--cream); color: var(--night); }
.m-tag { position: absolute; right: -6%; top: 12%; z-index: 4; background: var(--cream); color: var(--night); border-radius: 20px; padding: 14px 18px 14px 16px; box-shadow: 0 18px 40px rgba(0,0,0,.35); transform: rotate(4deg); }
.m-tag b { display: block; font-family: var(--serif); font-size: 20px; letter-spacing: -.03em; line-height: 1.2; }
.m-tag small { display: block; font-size: 12px; color: #6b6457; margin-top: 2px; }
.m-strip { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0 max(24px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(244,239,230,.1); font-size: 13px; color: rgba(244,239,230,.55); }
.m-strip .items { display: flex; gap: 28px; flex-wrap: wrap; }
.m-strip .items span:first-child { color: var(--cream); font-weight: 600; }
.m-cue { display: flex; align-items: center; gap: 10px; }
.m-cue i { width: 1px; height: 28px; background: linear-gradient(rgba(244,239,230,.7), rgba(244,239,230,0)); }

/* ── 흐르는 띠 ── */
.m-marquee { background: var(--brand); color: #FFF6EA; overflow: hidden; padding: 22px 0; position: relative; z-index: 5; }
.m-track { display: flex; width: max-content; animation: m-mq 38s linear infinite; }
.m-track span { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -.03em; white-space: nowrap; padding: 0 22px; display: flex; align-items: center; gap: 44px; }
.m-track span::after { content: ""; width: 12px; height: 12px; background: #FFF6EA; transform: rotate(45deg); opacity: .75; }
@keyframes m-mq { to { transform: translateX(-50%); } }
.m-marquee:has(+ .m-sheet) { padding-bottom: 70px; }
@supports not selector(:has(*)) { .m-marquee + .m-sheet { margin-top: 0; border-radius: 0; } }

/* ── 이야기 ── */
.m-manifesto { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3.9vw, 58px); line-height: 1.32; letter-spacing: -.04em; color: var(--navy); margin: 34px 0 0; max-width: 22ch; }
.m-manifesto .w { opacity: .14; transition: opacity .25s linear; }
.m-manifesto .w.on { opacity: 1; }
.m-story-grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: clamp(40px,6vw,96px); margin-top: clamp(72px,9vw,128px); align-items: end; }
.m-photo { border-radius: 32px; overflow: hidden; aspect-ratio: 4/5; position: relative; box-shadow: 0 30px 60px rgba(20,30,40,.14); margin: 0; }
.m-photo img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.m-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(244,239,230,.92); color: var(--text); font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.m-pillars { position: relative; display: flex; flex-direction: column; gap: 14px; padding-left: 28px; }
.m-pline { position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: rgba(20,63,107,.12); overflow: hidden; }
.m-pline i { position: absolute; inset: 0; background: var(--brand); transform-origin: top; transform: scaleY(1); }
.m-pillar { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 28px 30px; background: #fff; border-radius: 26px;
  box-shadow: 0 1px 0 rgba(20,30,40,.03), 0 18px 40px rgba(20,30,40,.07); transition: box-shadow .4s, background .4s; }
.m-pillar:hover { box-shadow: 0 1px 0 rgba(20,30,40,.03), 0 26px 50px rgba(20,30,40,.12); }
.m-pcount { position: absolute; right: 16px; top: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(19,19,20,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: rgba(244,239,230,.7); font-family: var(--serif); font-size: 15px; letter-spacing: .02em; font-variant-numeric: tabular-nums; display: none; }
.m-pcount b { color: #fff; font-weight: 700; }
/* 고정 무대: 넓은 화면에서만 (home-v2.js 가 html 에 m-pin-on 을 붙임). 스크롤로 상자가 하나씩 올라옴 */
.m-pin-on .m-ppin { position: relative; }
.m-pin-on .m-pstage { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; align-items: center; padding-top: 70px; }
.m-pin-on .m-pstage .m-story-grid { margin-top: 0; width: 100%; align-items: center; }
.m-pin-on .m-photo { aspect-ratio: auto; height: min(calc(100vh - 150px), 640px); height: min(calc(100dvh - 150px), 640px); }
.m-pin-on .m-pcount { display: block; }
.m-js.m-pin-on .m-pillars .m-pillar[data-pi] { --e: 0; opacity: var(--e); filter: blur(calc((1 - var(--e)) * 10px));
  transform: translate3d(0, calc((1 - var(--e)) * 140px), 0) scale(calc(.94 + var(--e) * .06)); transition: box-shadow .4s, background .4s; will-change: transform, opacity; }
.m-pin-on .m-pillar.on { box-shadow: 0 0 0 2px var(--brand), 0 26px 50px rgba(228,85,43,.16); }
.m-pin-on .m-pillar.past { background: rgba(255,255,255,.72); }
.m-pin-on .m-pillar.past h3 { color: #5f7792; }
.m-pillar .n { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--brand); padding-top: 4px; }
.m-pillar h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(21px,1.8vw,26px); letter-spacing: -.035em; line-height: 1.3; color: var(--navy); margin: 0 0 8px; }
.m-pillar p { margin: 0; color: #5A5D63; font-size: 15.5px; line-height: 1.7; max-width: 34rem; }

/* ── 두 판다 ── */
.m-pandas { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(40px,6vw,110px); align-items: center; }
/* 뒤에 둥근 종이(sheet)가 48px 올라타므로 아래를 그만큼 늘려 마크 위·아래 여백을 맞춤 */
.m-pandas-sec:has(+ .m-sheet) { padding-bottom: calc(clamp(96px, 12vw, 168px) + 48px); }
.m-panda-art { aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.m-panda-art img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease-out); will-change: transform; }
.m-panda-copy p { font-size: clamp(16px,1.3vw,18.5px); line-height: 1.85; color: #4B4F56; margin: 26px 0 0; max-width: 30rem; }
.m-sign { margin-top: 30px; font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 15px; display: flex; align-items: center; gap: 12px; }
.m-sign::before { content: ""; width: 28px; height: 1.5px; background: var(--brand); }

/* ── 만두 (옆으로 흐르는 카드) ── */
.m-pin { position: relative; }
.m-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; padding-top: max(100px, 11vh); }
.m-menu-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 0 var(--gutter); margin-bottom: clamp(18px,3vh,36px); }
.m-menu-head .m-h2 { margin-top: 12px; font-size: clamp(30px,3.6vw,54px); }
.m-meta { text-align: right; font-size: 14px; color: rgba(244,239,230,.55); line-height: 1.6; flex-shrink: 0; }
.m-meta b { display: block; font-family: var(--serif); color: var(--cream); font-size: clamp(40px,4.4vw,64px); line-height: 1; letter-spacing: -.04em; font-weight: 500; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
/* 옆으로 넘기라는 안내 (넘기기 시작하면 home-v2.js 가 .done 을 붙여 사라짐) */
.m-swipe { display: flex; width: fit-content; margin: 14px 0 0 auto; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; line-height: 1; color: rgba(244,239,230,.6); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.m-swipe[hidden] { display: none; }
.m-swipe i { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(244,239,230,.22); display: grid; place-items: center; color: var(--cream); overflow: hidden; flex: none; }
.m-swipe i svg { width: 11px; height: 11px; animation: m-swipe 2.6s cubic-bezier(.4,0,.2,1) infinite; }
.m-swipe.done { opacity: 0; transform: translateX(10px); }
.m-swipe.done i svg { animation: none; }
@keyframes m-swipe { 0% { transform: translateX(-150%); opacity: 0; } 30%, 62% { transform: none; opacity: 1; } 100% { transform: translateX(150%); opacity: 0; } }
.m-rail.m-nudge { animation: m-nudge 1.6s cubic-bezier(.4,0,.2,1) .4s 1 both; }
@keyframes m-nudge { 0%, 100% { translate: 0 0; } 42% { translate: -36px 0; } }
.m-rail { display: flex; gap: clamp(16px,1.6vw,24px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.m-card { position: relative; width: clamp(280px,25vw,370px); flex-shrink: 0; border-radius: 28px; overflow: hidden; background: #1b1b1d; box-shadow: inset 0 0 0 1px rgba(244,239,230,.07); display: flex; flex-direction: column; }
.m-card .ph { aspect-ratio: 4/3.7; overflow: hidden; position: relative; max-height: 30vh; width: 100%; background: #222; display: grid; place-items: center; font-size: 64px; }
.m-card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.m-card:hover .ph img { transform: scale(1.05); }
.m-card .ph::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(27,27,29,.95)); }
.m-card.sold .ph img { filter: grayscale(1); opacity: .5; }
.m-card .idx { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 12px; font-weight: 600; letter-spacing: .14em; padding: 7px 12px; border-radius: 999px; background: rgba(19,19,20,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: rgba(244,239,230,.85); }
.m-card .tag { position: absolute; top: 16px; right: 16px; z-index: 2; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: var(--brand); color: #fff; }
.m-card .body { padding: 4px 24px 24px; margin-top: -30px; position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; }
.m-card h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(22px,1.8vw,26px); letter-spacing: -.04em; line-height: 1.25; margin: 0; color: var(--cream); }
.m-card h3 small { display: block; font-family: "Pretendard Variable", Pretendard, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--brand); margin-bottom: 6px; }
.m-card p { font-size: 14.5px; line-height: 1.6; color: rgba(244,239,230,.62); margin: 8px 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.95em; }
.m-card .foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(244,239,230,.1); font-size: 13px; color: rgba(244,239,230,.5); margin-top: auto; }
.m-card .foot b { font-family: var(--serif); font-size: 20px; color: var(--cream); letter-spacing: -.02em; font-weight: 700; display: block; }
.m-card .ctl .add-btn { height: 40px; padding: 0 18px; background: var(--brand); color: #fff; border-radius: 999px; font-size: 14px; }
.m-card .ctl .stepper { background: rgba(244,239,230,.08); height: 40px; }
.m-card .ctl .stepper button { color: var(--cream); width: 40px; height: 40px; }
.m-card .ctl .stepper span { color: var(--cream); }
.m-card .ctl .badge { background: rgba(240,68,82,.18); color: #ff8a93; }
.m-card .info-link { background: none; padding: 0; font-size: 12.5px; color: rgba(244,239,230,.45); font-weight: 500; margin: -6px 0 14px; align-self: flex-start; }
.m-card .info-link:hover { color: var(--cream); }
.m-card.end { background: var(--brand); padding: 32px; color: #fff; box-shadow: none; justify-content: space-between; }
.m-card.end h3 { font-size: clamp(28px,2.4vw,36px); line-height: 1.2; color: #fff; white-space: pre-line; }
.m-card.end p { color: rgba(255,255,255,.85); min-height: 0; -webkit-line-clamp: unset; display: block; }
.m-card.end .v2-btn { background: #fff; color: var(--brand); padding: 14px 16px 14px 24px; align-self: flex-start; }
.m-card.end .v2-btn .arr { background: rgba(228,85,43,.12); }
.m-progress { margin: clamp(22px,4vh,40px) var(--gutter) 0; height: 2px; background: rgba(244,239,230,.1); border-radius: 2px; overflow: hidden; }
.m-progress i { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(0); }

/* ── 배송 ── */
.m-ship-top { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: clamp(40px,6vw,96px); align-items: end; }
.m-now { margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 12px 22px 12px 14px; font-size: 15.5px; font-weight: 600; color: var(--text); box-shadow: 0 0 0 .5px rgba(0,0,0,.05), 0 4px 30px rgba(0,0,0,.06); }
.m-now .dot { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: #fff; flex: none; }
.m-now em { font-style: normal; color: var(--brand); }
.m-ship-photo { border-radius: 32px; overflow: hidden; aspect-ratio: 3/2; background: #fff; box-shadow: 0 30px 60px rgba(20,30,40,.12); margin: 0; }
.m-ship-photo img { width: 100%; height: 100%; object-fit: cover; }
/* 발송 일정 카드(.m-sched .m-slot)는 v2-sections.css 에 있음 */
.m-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px,7vw,96px); border-top: 1px solid rgba(20,63,107,.16); }
.m-fact { padding: 28px 24px 0 0; }
.m-fact + .m-fact { padding-left: 24px; border-left: 1px solid rgba(20,63,107,.16); }
.m-fact b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(40px,4.4vw,64px); line-height: 1; letter-spacing: -.05em; color: var(--navy); font-variant-numeric: tabular-nums; }
.m-fact b sup { font-size: .36em; letter-spacing: -.02em; margin-left: 4px; vertical-align: .95em; color: var(--brand); font-weight: 700; }
.m-fact span { display: block; margin-top: 12px; font-size: 14px; line-height: 1.6; color: #5A5D63; }
.m-origin { margin-top: clamp(56px,7vw,88px); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.m-origin .t { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--brand); margin-right: 10px; }
.m-origin span:not(.t) { font-size: 13.5px; padding: 9px 16px; border-radius: 999px; background: #fff; color: #4B4F56; box-shadow: 0 0 0 1px rgba(20,63,107,.08); }
.m-origin span b { color: var(--navy); font-weight: 700; margin-right: 6px; }
.m-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid rgba(20,63,107,.3); padding-bottom: 3px; }
.m-more:hover { border-color: var(--brand); }
.m-ship-foot { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.m-ship-foot.solo { grid-template-columns: 1fr; }
.m-ship-foot .m-area, .m-ship-foot .m-origin { margin-top: 0; }
.m-ship-foot .m-area { max-width: none; }
.m-ship-side { display: flex; flex-direction: column; align-items: flex-start; }
.m-ship-side .m-origin .t { flex-basis: 100%; margin: 0 0 4px; }
.m-area { margin-top: 28px; max-width: 46rem; font-size: 14px; color: #5A5D63; }
.m-area .area-info { background: #fff; border-radius: 24px; padding: 20px 22px; box-shadow: 0 0 0 1px rgba(20,63,107,.08); }

/* ── 인스타 ── */
.m-ig-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.m-handle { font-family: var(--serif); font-weight: 900; font-size: clamp(44px,8.5vw,136px); letter-spacing: -.06em; line-height: .95; margin: 20px 0 0; color: var(--cream); }
.m-handle span { color: rgba(244,239,230,.32); }
.m-bio { max-width: 24rem; font-size: 15px; line-height: 1.75; color: rgba(244,239,230,.6); margin: 0; }
.m-ig-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: clamp(150px,19vw,290px); grid-auto-flow: dense; gap: 14px; margin-top: clamp(48px,6vw,80px); }
.m-ig { position: relative; border-radius: 24px; overflow: hidden; background: #1b1b1d; display: block; }
.m-ig.tall { grid-row: span 2; }
.m-ig.wide { grid-column: span 2; }
.m-ig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.m-ig .cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: linear-gradient(transparent 35%, rgba(10,10,11,.86)); color: var(--cream); font-size: 14px; line-height: 1.55; opacity: 0; transition: opacity .4s; }
.m-ig .cap small { font-size: 11.5px; letter-spacing: .14em; color: rgba(244,239,230,.55); margin-bottom: 6px; font-weight: 600; }
.m-ig:hover img, .m-ig:focus-visible img { transform: scale(1.05); }
.m-ig:hover .cap, .m-ig:focus-visible .cap { opacity: 1; }
.m-ig .disc { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(19,19,20,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; color: var(--cream); transition: transform .3s var(--ease-out); }
.m-ig:hover .disc { transform: rotate(-45deg); }

/* ── 오시는 길 ── */
.m-visit { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(40px,6vw,96px); align-items: center; }
.m-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; font-weight: 600; color: var(--text); background: #fff; padding: 10px 18px 10px 14px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(20,63,107,.08); }
.m-status i { width: 9px; height: 9px; border-radius: 50%; background: #9AA0A6; position: relative; }
.m-status.open i { background: #2BA866; }
.m-status.open i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid #2BA866; animation: m-ping 2s var(--ease-out) infinite; }
@keyframes m-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.m-info { margin: 40px 0 0; }
.m-info div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(20,63,107,.16); font-size: 16px; color: var(--text); }
.m-info div:last-child { border-bottom: 1px solid rgba(20,63,107,.16); }
.m-info dt { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--brand); padding-top: 4px; }
.m-info dd { margin: 0; line-height: 1.7; }
.m-info dd small { color: #6A6E75; font-size: 14px; }
.m-info a { color: inherit; border-bottom: 1px solid rgba(20,63,107,.3); text-decoration: none; }
.m-map { position: relative; border-radius: 36px; overflow: hidden; background: #EBE3D4; aspect-ratio: 1/1; box-shadow: 0 30px 60px rgba(20,30,40,.12); }
.m-map > svg, .m-map > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.m-map .pin { transform-origin: 50% 100%; animation: m-drop 1s var(--ease-out) both; animation-play-state: paused; }
.m-map.in .pin { animation-play-state: running; }
@keyframes m-drop { from { transform: translateY(-40px); opacity: 0; } }
.m-map .open-map { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; background: var(--night); color: var(--cream); border-radius: 20px; padding: 16px 16px 16px 22px; font-size: 14.5px; font-weight: 600; text-decoration: none; transition: transform .3s var(--ease-out); }
.m-map .open-map:hover { transform: translateY(-2px); }
.m-map .open-map .arr { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; transition: transform .3s var(--ease-out); }
.m-map .open-map:hover .arr { transform: rotate(-45deg); }

/* ── 마지막 ── */
.m-final { text-align: center; padding: clamp(110px,14vw,190px) var(--gutter) clamp(80px,10vw,120px); }
.m-final .big { font-family: var(--serif); font-weight: 900; font-size: clamp(64px,15vw,230px); line-height: 1; letter-spacing: -.07em; margin: 0; color: var(--cream); }
.m-final .big span { display: block; font-size: .26em; letter-spacing: -.02em; color: rgba(244,239,230,.4); font-weight: 700; margin-bottom: .5em; }
.m-final p { color: rgba(244,239,230,.6); margin: 40px auto; max-width: 30rem; font-size: 16px; }

/* 장바구니 막대 (담으면 아래에 나타남) */
.v2-home .cta-bar { background: linear-gradient(to top, rgba(19,19,20,.92) 60%, rgba(19,19,20,0)); z-index: 30; }
.v2-home .cta-bar .hint { color: #ffb59c; }

/* ── 움직임 ── */
.m-js [data-in] { opacity: 0; transform: translateY(26px); filter: blur(10px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0s); }
.m-js.m-loaded [data-in] { opacity: 1; transform: none; filter: none; }
.m-js .m-hero h1 em { --u: 0; }
.m-js.m-loaded .m-hero h1 em { --u: 1; }
.m-js .m-steamer-wrap { opacity: 0; transform: scale(.92) rotate(-20deg); transition: opacity 1.4s var(--ease-out) .15s, transform 1.8s var(--ease-out) .15s; }
.m-js.m-loaded .m-steamer-wrap { opacity: 1; transform: none; }
/* 좁은 화면: 상자는 보일 때 아래에서 하나씩 크게 올라옴 */
.m-js .m-pillar[data-rv]:not(.in) { transform: translateY(70px) scale(.96); filter: blur(6px); }
.m-js .m-pillar[data-rv] { transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), filter .9s var(--ease-out), box-shadow .4s; }
@media (prefers-reduced-motion: reduce) {
  .m-js [data-in], .m-js [data-rv], .m-js .m-steamer-wrap { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .m-steam, .m-cue i { display: none; }
  .m-swipe i svg, .m-rail.m-nudge { animation: none; }
  .m-track { animation: none; }
  .m-manifesto .w { opacity: 1; }
  .m-status.open i::after, .m-map .pin { animation: none; }
}

/* ── 화면 크기 ── */
@media (max-width: 900px) {
  .m-hero { grid-template-columns: 1fr; align-content: start; padding-top: 92px; height: auto; min-height: 100vh; min-height: 100dvh; padding-bottom: 84px; }
  .m-stage { order: -1; height: auto; padding: 8px 0 70px; }
  .m-steamer-wrap { width: min(72vw, 420px); margin-top: 0; }
  .m-ghost { font-size: min(19vw, 120px); right: -4vw; top: 44%; }
  .m-hero-copy { padding-bottom: 20px; }
  .m-eyebrow { margin-bottom: 18px; }
  .m-switch { bottom: -60px; }
  .m-tag { right: -6%; top: 2%; padding: 10px 14px; border-radius: 16px; }
  .m-tag b { font-size: 16px; }
  .m-strip .items { gap: 6px 16px; }
  .m-marquee:has(+ .m-sheet) { padding-bottom: 54px; }
  .m-cue { display: none; }
  .m-story-grid, .m-pandas, .m-ship-top, .m-visit, .m-ship-foot { grid-template-columns: 1fr; }
  .m-pandas .m-panda-art { max-width: 360px; }
  .m-pandas { gap: 56px; }
  .m-pandas-sec { padding-top: 72px; }
  .m-pandas-sec:has(+ .m-sheet) { padding-bottom: calc(clamp(96px, 12vw, 168px) + 32px); }
  .m-sticky { position: relative; height: auto; padding: clamp(88px,14vw,120px) 0; }
  .m-pin { height: auto !important; }
  .m-scroller { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .m-scroller::-webkit-scrollbar { display: none; }
  .m-rail { transform: none !important; }
  .m-card { scroll-snap-align: center; width: 78vw; max-width: 340px; }
  .m-card .ph { max-height: none; }
  .m-menu-head { flex-direction: column; align-items: flex-start; }
  .m-meta { text-align: left; }
  .m-swipe { margin-left: 0; }
  .m-progress { display: none; }
  .m-facts { grid-template-columns: 1fr 1fr; }
  .m-fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .m-fact { padding-bottom: 28px; }
  .m-fact:nth-child(n+3) { border-top: 1px solid rgba(20,63,107,.16); }
  .m-ig-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .m-ig.wide { grid-column: auto; }
  .m-ig.m-wide { grid-column: span 2; }
  .m-ig .cap { opacity: 1; font-size: 12.5px; padding: 14px; background: linear-gradient(transparent 45%, rgba(10,10,11,.8)); }
  .m-ig .cap small { display: none; }
}
@media (max-width: 560px) {
  .m-hero h1 { font-size: clamp(38px, 11vw, 50px); }
  .m-hero h1 .ln { white-space: normal; }
  .m-cta { flex-direction: column; }
  .m-cta .v2-btn { justify-content: center; }
  .m-strip { font-size: 12px; }
  .m-pillar { grid-template-columns: 1fr; gap: 6px; padding: 22px 22px; }
  .m-pillars { padding-left: 18px; }
  .m-info div { grid-template-columns: 1fr; gap: 4px; }
  .m-meta b { font-size: 40px; }
}
@media (max-height: 760px) and (min-width: 901px) {
  .m-hero h1 { font-size: clamp(40px, 5.4vw, 78px); }
  .m-eyebrow { margin-bottom: 18px; }
  .m-hero .m-sub { margin-bottom: 26px; }
  .m-card .ph { max-height: 28vh; }
  .m-card p { -webkit-line-clamp: 2; min-height: 3.2em; }
}

/* ── 2026-11 추가: 첫 화면 새 메뉴 배지, 메뉴 카드 꼬리표·매운맛, 배송 카운트다운 자리, 오시는 길 안내·예약·매장 사진 ── */
.m-new { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(244,239,230,.07); box-shadow: inset 0 0 0 1px rgba(244,239,230,.16); color: rgba(244,239,230,.85); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .25s; }
.m-new:hover { background: rgba(244,239,230,.12); }
.m-new i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(228,85,43,.25); animation: m-ping 2.2s var(--ease-out) infinite; }
.m-new svg { width: 11px; height: 11px; opacity: .7; }
.m-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; }
.m-tags span { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; background: rgba(244,239,230,.08); color: rgba(244,239,230,.78); }
.m-spice { display: inline-flex; gap: 3px; align-items: center; margin-left: 2px; }
.m-spice i { width: 7px; height: 7px; border-radius: 50%; background: rgba(244,239,230,.16); }
.m-spice i.on { background: var(--brand); }
.m-card .m-rate { font-size: 12.5px; color: #F7C948; margin: 2px 0 8px; letter-spacing: .02em; }
.m-now-wrap { margin-top: 30px; }
.m-sched-wrap { margin-top: clamp(56px, 7vw, 96px); }
.m-tips { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; max-width: 34rem; }
.m-tips li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; font-size: 14px; line-height: 1.6; color: #4B4F56; }
.m-tips li b { color: var(--navy); font-weight: 700; }
.m-visit-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.m-map-col { position: relative; }
.m-front { position: absolute; left: -24px; bottom: 90px; width: clamp(140px, 13vw, 190px); margin: 0; padding: 8px 8px 10px; background: #fff; border-radius: 16px; box-shadow: 0 24px 50px rgba(20,30,40,.22); transform: rotate(-6deg); z-index: 2; }
.m-front img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; }
.m-front figcaption { font-size: 11px; color: #6A6E75; margin-top: 8px; text-align: center; }
@media (max-width: 900px) {
  .m-front { position: static; width: 100%; max-width: 420px; margin: 18px auto 0; transform: none; padding: 0; background: none; box-shadow: none; }
  .m-front img { aspect-ratio: 4/3; border-radius: 22px; }
  .m-tips li { grid-template-columns: 64px 1fr; }
}
