/* 희올람 스토어 — 백년가게 지도 (#map) and 부모산가든 이야기 (#story). */

/* ---------- map ---------- */
.mapv { display: grid; gap: 28px; padding-bottom: 40px; }
.mapv__main, .mapv__side { min-width: 0; }
.mapv__chips { margin-bottom: 12px; }
.mapv__stage { position: relative; height: min(62vh, 560px); min-height: 380px; overflow: hidden; border-radius: 18px; background: #EDF1EA; cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; }
.mapv__stage.is-grab { cursor: grabbing; }
.mapv__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mp-land { fill: #E0E7DB; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; transition: fill .3s; }
.mp-land.is-on { fill: #FBE0CC; }
.mp-water { fill: #C8DEEC; }
.mp-river { fill: none; stroke: #B3D2E6; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mp-fort { fill: none; stroke: #B9A68C; stroke-width: 1.5; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.mapv__pins { position: absolute; inset: 0; pointer-events: none; }
.mapv__pins > button { pointer-events: auto; }
.mp-dl { position: absolute; left: 0; top: 0; translate: -50% -50%; font-size: 13px; font-weight: 700; letter-spacing: -0.03em; color: rgba(25, 25, 25, .36); white-space: nowrap; pointer-events: none; }
.mp-dl.is-on { color: var(--c-brand-ink); }
.mp-cl { position: absolute; left: 0; top: 0; translate: -50% -50%; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(25, 25, 25, .86); color: #fff; font: 600 13px/1 var(--font-en); box-shadow: 0 0 0 5px rgba(25, 25, 25, .12), 0 4px 10px rgba(0, 0, 0, .18); transition: scale .15s; }
@media (hover: hover) { .mp-cl:hover { scale: 1.08; } }
/* each pin is a 40px hit box centred on its point; children are placed from the centre (20px, 20px) */
.mp-pin { position: absolute; left: 0; top: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; }
.mp-pin__dot { position: absolute; left: 13px; top: 13px; width: 14px; height: 14px; border: 2.5px solid #fff; border-radius: 50%; background: #2B2B2E; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .2s var(--ease), background .2s; }
.mp-pin--other .mp-pin__dot { background: #A8A8AE; }
.mp-pin--partner .mp-pin__dot { left: 9px; top: 9px; width: 22px; height: 22px; border-width: 3px; background: var(--c-brand); }
.mp-pin--partner::after { content: ""; position: absolute; left: 9px; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-brand); pointer-events: none; animation: pinPulse 2.2s var(--ease) infinite; }
@keyframes pinPulse { from { transform: scale(1); opacity: .42; } to { transform: scale(2.7); opacity: 0; } }
.mp-pin__label { position: absolute; left: 38px; top: 5px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--c-text); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 30px; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.mp-pin__label--up, .mp-pin__label--down { left: 20px; translate: -50% 0; }
.mp-pin__label--up { top: -34px; }
.mp-pin__label--down { top: 44px; }
.mp-pin__label--left { left: auto; right: 38px; }
.mp-pin__label--up::after, .mp-pin__label--down::after { content: ""; position: absolute; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 2px; background: var(--c-text); transform: rotate(45deg); }
.mp-pin__label--up::after { bottom: -4px; }
.mp-pin__label--down::after { top: -4px; }
.mp-pin__name { position: absolute; left: 20px; top: 30px; translate: -50% 0; font-size: 11.5px; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; color: var(--c-text); text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 6px #fff; pointer-events: none; }
.mp-pin.is-sel .mp-pin__dot { transform: scale(1.35); background: var(--c-brand); }
.mp-pin:focus-visible { outline: none; }
.mp-pin:focus-visible .mp-pin__dot { outline: 2px solid var(--c-brand); outline-offset: 3px; }
.mapv__ctrl { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: var(--sh-float); }
.mapv__btn { display: grid; place-items: center; width: 42px; height: 42px; color: var(--c-text); }
.mapv__btn + .mapv__btn { border-top: 1px solid var(--c-line); }
.mapv__btn[disabled] { color: var(--c-line-2); cursor: default; }
.mapv__btn .ic { width: 20px; height: 20px; }
.mapv__quick { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.mapv__pill { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 13px 0 11px; border-radius: var(--r-pill); background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .14); font-size: 13px; font-weight: 500; }
.mapv__pill .ic { width: 16px; height: 16px; color: var(--c-brand-ink); }
.mapv__hint { position: absolute; left: 50%; top: 50%; z-index: 3; translate: -50% -50%; padding: 10px 16px; border-radius: 12px; background: rgba(17, 17, 20, .8); color: #fff; font-size: 14px; white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; }
.mapv__hint.is-on { opacity: 1; }
.mapv__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin-top: 12px; font-size: 12px; color: var(--c-text-3); }
.mapv__how { flex-basis: 100%; color: var(--c-text-4); }
.whatis { margin-bottom: 22px; border-radius: 14px; background: var(--c-band); }
.whatis summary { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; }
.whatis summary::-webkit-details-marker { display: none; }
.whatis summary .ic { width: 18px; height: 18px; color: var(--c-brand-ink); }
.whatis summary .whatis__chev { margin-left: auto; color: var(--c-text-4); transition: transform .25s var(--ease); }
.whatis[open] .whatis__chev { transform: rotate(180deg); }
.whatis p { padding: 0 16px; font-size: 14px; line-height: 1.7; color: var(--c-text-2); }
.whatis ul { display: grid; gap: 4px; padding: 10px 16px 16px; font-size: 13.5px; color: var(--c-text-2); }
.whatis li, .media li { position: relative; padding-left: 12px; }
.whatis li::before, .media li::before { content: ""; position: absolute; left: 0; top: .75em; width: 4px; height: 4px; border-radius: 50%; background: var(--c-text-4); }
.mapv__lh { padding-bottom: 10px; border-bottom: 1px solid var(--c-text); }
.mapv__lh h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.03em; }
.mapv__lh h2 .num { color: var(--c-brand-ink); }
.mapv__lh p { font-size: 13px; color: var(--c-text-3); }
@media (min-width: 900px) {
  .mapv { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-bottom: 80px; }
  .mapv__stage { height: 660px; }
  .mapv__how { display: none; }
  .mapv__list { max-height: 548px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}

/* store sheet */
.store { display: grid; gap: 14px; }
.store__top { display: flex; align-items: center; gap: 14px; }
.store__ava { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--c-band); font-size: 22px; font-weight: 900; color: var(--c-text-2); }
.store__ava.is-partner { background: var(--c-brand); color: #fff; }
.store__meta { font-size: 13px; color: var(--c-text-3); }
.store__name { font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: -0.045em; }
.store__spec { font-size: 14px; color: var(--c-text-2); }
.store__kit { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--c-brand-soft); font-size: 14px; color: var(--c-brand-ink); }
.store__kit .ic { width: 20px; height: 20px; }
.store__kit b { font-family: var(--font-en); font-weight: 600; }
.store__line { font-size: 15px; line-height: 1.7; }
.store__facts { display: grid; border-top: 1px solid var(--c-line); }
.store__facts div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding-block: 11px; border-bottom: 1px solid var(--c-line); font-size: 14px; }
.store__facts dt { color: var(--c-text-3); }
.store__facts dd { margin: 0; }
.store__copy { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 2px; border-radius: 50%; color: var(--c-text-3); vertical-align: middle; }
.store__copy .ic { width: 16px; height: 16px; }
.store .tag-check { justify-self: start; }
.mlist { display: grid; }

/* ---------- story ---------- */
.story__head { padding-block: 28px 22px; }
.story__k { font-size: 13px; font-weight: 700; color: var(--c-brand-ink); }
.story__t { margin-top: 10px; font-size: 26px; font-weight: 700; line-height: 1.38; letter-spacing: -0.05em; }
.story__s { margin-top: 10px; font-size: 14px; color: var(--c-text-3); }
.story__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.story__chips li { height: 28px; padding: 0 11px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--c-line-2); font-size: 12.5px; line-height: 28px; color: var(--c-text-2); }
.story__hero { margin: 0; }
.story__hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--c-band); }
.story__hero figcaption { padding-top: 8px; font-size: 12px; color: var(--c-text-4); }
.story__tabs { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hd-stuck)); z-index: 40; margin-top: 24px; background: rgba(255, 255, 255, .97); }
.story__tabs .tabs { gap: 0; }
.story__tabs .tab { flex: 1 0 auto; padding: 0 12px; }
.story__body { padding-bottom: 48px; }
@media (min-width: 900px) {
  .story__head { padding-block: 60px 36px; text-align: center; }
  .story__chips { justify-content: center; }
  .story__t { font-size: 42px; line-height: 1.3; }
  .story__s { font-size: 16px; }
  .story__hero { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter) var(--gutter-r); }
  .story__hero img { aspect-ratio: 2 / 1; border-radius: 22px; }
  .story__hero figcaption.wrap { padding-inline: 0; }
  .story__tabs { margin-top: 40px; }
  .story__tabs .tabs { justify-content: center; }
  .story__tabs .tab { flex: none; padding: 0 24px; }
  .story__body { max-width: 840px; }
}

.ssec { padding-block: 40px; scroll-margin-top: calc(var(--hd-stuck) + 56px); }
.ssec + .ssec { border-top: 1px solid var(--c-line); }
.ssec__t { margin-bottom: 18px; font-size: 21px; font-weight: 700; line-height: 1.35; letter-spacing: -0.045em; }
.ssec__lead { display: flex; gap: 8px; margin-bottom: 28px; padding: 12px 14px; border-radius: 10px; background: #FFF7E0; font-size: 13px; line-height: 1.6; color: #6E4A00; }
.ssec__note { margin-top: 14px; font-size: 12.5px; color: var(--c-text-4); }
@media (min-width: 900px) { .ssec { padding-block: 64px; } .ssec__t { margin-bottom: 26px; font-size: 28px; } }

/* timeline */
.tl { position: relative; display: grid; gap: 34px; padding-left: 30px; }
.tl::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--c-brand-line), var(--c-line) 70%); }
.tl__item { position: relative; }
.tl__item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--c-brand); }
.tl__era { display: inline-block; font-size: 13px; font-weight: 700; color: var(--c-brand-ink); }
.tl__era--year { font: 600 16px/1.2 var(--font-en); letter-spacing: .01em; }
.tl__t { margin-top: 4px; font-size: 18px; font-weight: 700; letter-spacing: -0.04em; }
.tl__d { margin-top: 6px; font-size: 15px; line-height: 1.75; color: var(--c-text-2); }
.tl__q { margin: 14px 0 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--c-brand); }
.tl__q p { font-size: 16px; font-weight: 500; line-height: 1.6; letter-spacing: -0.03em; }
.tl__q cite { display: block; margin-top: 4px; font-size: 13px; font-style: normal; color: var(--c-text-3); }
.tl__body > .tag-check { margin-top: 10px; }
.tl__fig { margin: 16px 0 0; }
.tl__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--c-band); }
.tl__img img { width: 100%; height: 100%; object-fit: cover; }
.tl__fig figcaption { margin-top: 6px; font-size: 12px; color: var(--c-text-4); }
.legend { margin-top: 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--c-line); }
.legend summary { display: flex; align-items: center; gap: 4px; min-height: 46px; padding: 0 14px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 500; color: var(--c-text-2); }
.legend summary::-webkit-details-marker { display: none; }
.legend__chev { width: 18px; height: 18px; margin-left: auto; color: var(--c-text-4); transition: transform .25s var(--ease); }
.legend[open] .legend__chev { transform: rotate(180deg); }
.legend p { padding: 0 14px 12px; font-size: 14px; line-height: 1.75; color: var(--c-text-2); }

/* 석갈비 */
.dish { display: grid; gap: 12px; padding: 24px 20px; border-radius: 18px; background: var(--c-band); }
.dish__mark { display: flex; align-items: baseline; gap: 10px; }
.dish__han { font-size: 50px; font-weight: 900; line-height: 1; color: var(--c-brand); }
.dish__plus { font: 300 28px var(--font-en); color: var(--c-text-4); }
.dish__word { font-size: 42px; font-weight: 900; line-height: 1; letter-spacing: -0.06em; }
.dish__d { font-size: 15px; line-height: 1.75; color: var(--c-text-2); }
.process { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.process li { display: grid; gap: 4px; align-content: start; padding: 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--c-line); }
.process__no { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c-text); color: #fff; font: 600 12px/1 var(--font-en); }
.process b { margin-top: 6px; font-size: 16px; font-weight: 700; }
.process li > span:last-child { font-size: 13px; line-height: 1.6; color: var(--c-text-3); }
@media (min-width: 900px) {
  .dish { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 36px; padding: 32px 36px; }
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 3 generations */
.gens { display: grid; gap: 10px; }
.gen { display: grid; gap: 4px; align-content: start; padding: 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--c-line); }
.gen__no { font-size: 13px; font-weight: 700; color: var(--c-brand-ink); }
.gen__who { font-size: 15px; color: var(--c-text-3); }
.gen__who b { margin-right: 2px; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; color: var(--c-text); }
.gen__role { font-size: 14px; line-height: 1.7; color: var(--c-text-2); }
.gen .tag-check { justify-self: start; margin-top: 6px; }
@media (min-width: 900px) { .gens { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

/* menu */
.menu { border-top: 1px solid var(--c-text); }
.menu li { display: flex; align-items: baseline; gap: 10px; padding-block: 14px; border-bottom: 1px solid var(--c-line); }
.menu__name { font-size: 15px; font-weight: 500; }
.menu__name small { display: block; font-size: 12.5px; font-weight: 400; color: var(--c-text-3); }
.menu__dots { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--c-line-2); transform: translateY(-4px); }
.menu__price { font-size: 15px; font-weight: 700; }

/* store info */
.infotable { display: grid; border-top: 1px solid var(--c-text); }
.infotable > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--c-line); font-size: 14px; }
.infotable dt { color: var(--c-text-3); }
.infotable dd { margin: 0; line-height: 1.7; }
.infotable dd small { display: block; font-size: 12.5px; color: var(--c-text-4); }
.media { display: grid; gap: 4px; }
.infobtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.infobtns .ic { width: 18px; height: 18px; }

/* quotes and the closing call to action */
.bigquote { margin: 0; padding: 44px 4px; text-align: center; }
.bigquote p { font-size: 21px; font-weight: 700; line-height: 1.6; letter-spacing: -0.045em; text-wrap: balance; }
.bigquote cite { display: block; margin-top: 12px; font-size: 13px; font-style: normal; color: var(--c-text-3); }
.storycta { margin-top: 8px; padding: 34px 22px; border-radius: 22px; background: var(--c-text); color: #fff; text-align: center; }
.storycta__k { font: 600 12px var(--font-en); letter-spacing: .1em; color: #FFB27D; }
.storycta__t { margin-top: 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.045em; }
.storycta__d { max-width: 420px; margin: 8px auto 22px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .74); }
@media (min-width: 900px) {
  .bigquote { padding-block: 72px; }
  .bigquote p { font-size: 28px; }
  .storycta { padding: 52px 32px; }
  .storycta__t { font-size: 28px; }
}
