@charset "utf-8";
/* ==================================================================
   Bingle's — 제주 애월 베이커리 & 캐릭터샵
   여백 중심 미니멀 / 큰 이미지 + 짧은 설명 / 스크롤로 브랜드를 경험하는 흐름
   ================================================================== */

/* ── tokens ─────────────────────────────────────────────────── */
:root {
  --bg:        #f7f4ef;
  --bg-2:      #efe9e0;
  --ink:       #1b1917;
  --ink-2:     #6d665c;
  --ink-3:     #a49b8e;
  --line:      rgba(27, 25, 23, .14);
  --accent:    #a9803f;

  --dark:      #14120f;
  --dark-2:    #1e1b17;
  --on-dark:   #f2ede4;
  --on-dark-2: #a49c8e;
  --line-dark: rgba(242, 237, 228, .16);

  --font-kr: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
             system-ui, 'Segoe UI', 'Noto Sans KR', 'Hiragino Sans', 'Yu Gothic',
             'Microsoft YaHei', sans-serif;
  --font-dp: 'Cormorant Garamond', 'Times New Roman', serif;

  --wrap:    1320px;
  --gut:     clamp(20px, 5vw, 72px);
  --sec-pad: clamp(88px, 13vw, 190px);
  --hdr-h:   72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-kr);
  font-size: clamp(15px, .48vw + 13.6px, 17px);
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: -.005em;
  /* 공백 없는 중국어·일본어가 컨테이너를 넘치지 않게 (keep-all 은 한국어에만) */
  overflow-wrap: anywhere;
}
html[lang="ko"] body { word-break: keep-all; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 12px 18px;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* ── type ───────────────────────────────────────────────────── */
.h-display {
  font-size: clamp(2.4rem, 6.4vw, 5.2rem);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -.03em;
}
.h-lg {
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -.028em;
}
/* 줄바꿈 헬퍼 — 전용 클래스로 한정 (태그 셀렉터로 넓히지 말 것) */
.ln { display: block; }
/* 좁은 화면에서는 줄을 이어 흐르게 두되, 이어 붙는 자리에 띄어쓰기를 넣는다.
   안 넣으면 「만나는베이커리와」처럼 두 줄이 붙어 버린다(2026-09-18). */
@media (max-width: 640px) {
  .ln { display: inline; }
  .ln + .ln::before { content: ' '; }
}

.eyebrow {
  font-family: var(--font-dp);
  font-size: clamp(.78rem, 1.1vw, .9rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.lead {
  max-width: 46ch;
  color: var(--ink-2);
  font-size: clamp(.98rem, .9vw + .7rem, 1.12rem);
  line-height: 1.85;
}
.note { color: var(--ink-3); font-size: .92rem; }

.pending {
  display: inline-block;
  padding: 2px 9px;
  border: 1px dashed var(--ink-3);
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .02em;
  color: var(--ink-3);
  white-space: nowrap;
}

.wordmark {
  font-family: var(--font-dp);
  font-weight: 400;
  font-size: 1.42rem;
  letter-spacing: .04em;
  line-height: 1;
}

/* ── header ─────────────────────────────────────────────────── */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--hdr-h);
  color: var(--on-dark);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr__inner {
  height: 100%;
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hdr.is-solid {
  background: rgba(247, 244, 239, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.hdr.is-hidden { transform: translateY(-100%); transition: transform .35s var(--ease); }

.nav { display: none; }
@media (min-width: 1000px) { .nav { display: block; } }
.nav__list { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.nav__link {
  position: relative;
  display: inline-flex; flex-direction: column; gap: 1px;
  font-size: .84rem; letter-spacing: .06em; font-weight: 500;
  padding-block: 6px;
  opacity: .82; transition: opacity .25s var(--ease);
}
.nav__link:hover, .nav__link.is-current { opacity: 1; }
.nav__link.is-current::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
}
.nav__sub { font-size: .66rem; letter-spacing: .04em; opacity: .55; font-weight: 400; }

.hdr__right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; align-items: center; gap: 2px; }
.lang__item {
  font-family: var(--font-dp);
  font-size: .82rem; letter-spacing: .1em;
  padding: 4px 7px; border-radius: 3px;
  opacity: .55; transition: opacity .25s var(--ease);
}
.lang__item:hover { opacity: .9; }
.lang__item.is-active { opacity: 1; font-weight: 500; }
.lang__item.is-active::after { content: ''; }

.burger {
  width: 34px; height: 34px; display: grid; place-content: center; gap: 6px;
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger span {
  display: block; width: 22px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ── mobile menu ────────────────────────────────────────────── */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--dark); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hdr-h) + 24px) var(--gut) 40px;
  opacity: 0; transition: opacity .35s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__nav ul { display: grid; gap: clamp(18px, 4vw, 30px); }
.menu__nav .nav__link { font-size: clamp(1.6rem, 7vw, 2.4rem); letter-spacing: -.02em; opacity: 1; }
.menu__nav .nav__sub { font-size: .82rem; letter-spacing: .06em; opacity: .5; }
.menu__lang { margin-top: clamp(36px, 8vw, 64px); display: flex; gap: 6px; }
.menu__lang .lang__item { border: 1px solid var(--line-dark); padding: 7px 12px; }

/* ── media slot ─────────────────────────────────────────────── */
.media {
  position: relative; overflow: hidden;
  aspect-ratio: var(--ratio, 3 / 2);
  background: var(--bg-2);
  border-radius: 2px;
}
.media__el { width: 100%; height: 100%; object-fit: cover; }
.media--cover { border-radius: 0; }

/* 촬영본 도착 전 자리표시 */
.media--empty {
  display: grid; place-content: center; gap: 10px; text-align: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(169,128,63,.10), rgba(27,25,23,.05) 60%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(27,25,23,.028) 12px 24px),
    var(--bg-2);
  border: 1px dashed var(--line);
}
.media__tag {
  justify-self: center;
  font-family: var(--font-dp); font-size: .7rem; letter-spacing: .2em;
  padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--accent);
}
.media__label {
  font-size: clamp(.76rem, 1.4vw, .88rem); line-height: 1.6;
  color: var(--ink-2); max-width: 34ch;
}
.sec--shop .media--empty, .menu .media--empty {
  background:
    linear-gradient(135deg, rgba(169,128,63,.16), rgba(242,237,228,.03) 60%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(242,237,228,.03) 12px 24px),
    var(--dark-2);
  border-color: var(--line-dark);
}
.sec--shop .media__label { color: var(--on-dark-2); }
.sec--shop .media__tag { border-color: var(--line-dark); }

/* ── hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: end;
  background: var(--dark); color: var(--on-dark);
  overflow: hidden;
}
@supports not (min-height: 100svh) { .hero { min-height: 100vh; } }
.hero__media { position: absolute; inset: 0; }
.hero__media .media { width: 100%; height: 100%; aspect-ratio: auto; border: 0; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,18,15,.55) 0%, rgba(20,18,15,.10) 32%, rgba(20,18,15,.82) 100%);
}
.hero__body {
  position: relative;
  max-width: var(--wrap); width: 100%; margin-inline: auto;
  padding: 0 var(--gut) clamp(96px, 16vh, 180px);
}
.hero__mark {
  font-family: var(--font-dp); font-weight: 300;
  font-size: clamp(3.4rem, 14vw, 10rem);
  line-height: .95; letter-spacing: .01em;
  margin-bottom: clamp(16px, 2.4vw, 28px);
}
.hero__tagline {
  font-size: clamp(1rem, 1.5vw + .6rem, 1.5rem);
  font-weight: 300; letter-spacing: -.01em; max-width: 30ch;
}
.hero__place {
  margin-top: 14px;
  font-family: var(--font-dp);
  font-size: .88rem; letter-spacing: .16em; color: var(--on-dark-2);
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font-family: var(--font-dp); font-size: .66rem; letter-spacing: .3em;
  color: var(--on-dark-2);
}
.hero__scroll i { width: 1px; height: 42px; background: currentColor; transform-origin: top; animation: scroll-cue 2.4s var(--ease) infinite; }
@keyframes scroll-cue {
  0%   { transform: scaleY(0);   opacity: 0; }
  35%  { transform: scaleY(1);   opacity: 1; }
  100% { transform: scaleY(1);   opacity: 0; }
}

/* ── sections ───────────────────────────────────────────────── */
.sec { padding-block: var(--sec-pad); scroll-margin-top: var(--hdr-h); }
.sec__head { margin-bottom: clamp(44px, 7vw, 84px); }
.sec__head .lead { margin-top: clamp(20px, 2.6vw, 32px); }
.sec__head--center { text-align: center; }
.sec__head--center .lead, .sec__head--center .note { margin-inline: auto; }

/* BRAND */
/* 🔴 max-width 의 ch 는 .stmt 의 글자 크기(1rem) 기준이라 220px 밖에 안 됐다.
   2026-09-18 에 머리말이 「제주 애월에서 만나는 / 베이커리와 캐릭터샵」으로 길어지면서
   한 줄에 네 글자씩 일곱 줄로 쪼개졌다. 폭을 넓히고 브랜드 구획만 글자를 줄인다. */
.sec--brand .stmt { max-width: 42ch; }
.sec--brand .h-display { font-size: clamp(1.8rem, 5.2vw, 3.2rem); }
.stmt__body {
  margin: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px);
  margin-left: auto;
  max-width: 52ch;
  display: grid; gap: 1.1em;
  color: var(--ink-2);
}
@media (min-width: 900px) {
  .sec--brand .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .sec--brand .stmt { grid-column: 1; }
  .stmt__body { grid-column: 2; margin: 0; padding-top: .8em; }
  .brand__media { grid-column: 1 / -1; margin-top: clamp(56px, 8vw, 110px); }
}
.brand__media { display: grid; gap: clamp(12px, 1.6vw, 22px); }
@media (min-width: 760px) { .brand__media { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; } }

/* BAKERY */
.sec--bakery { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
/* 광고주가 지정한 줄바꿈 자리를 그대로 살리려면 한 줄(최대 43자)이 들어갈 폭이 필요하다.
   기본 46ch(≈25자)로는 지정한 줄이 또 두 줄로 쪼개진다(2026-09-19). */
.sec--bakery .sec__head .lead { max-width: 80ch; }
.bleed { margin-bottom: clamp(12px, 1.6vw, 22px); }

/* 포스터형 메뉴 사진 — 광고주 수정1안 5쪽: 배경 판 위에 사진 수만큼 지그재그로 놓는다.
   짝수 번째를 아래로 내려 엇갈리게 한다. 내린 만큼 판 아래 여백을 더 준다. */
.posters {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  padding: clamp(22px, 4vw, 56px) clamp(16px, 3vw, 48px);
  background: var(--dark); border-radius: 4px;
  align-items: start;
}
.poster { margin: 0; }
/* ⚠️ margin 의 % 는 칸 **폭** 기준이다(높이 아님). 4:5 사진이라 38% ≈ 사진 높이의 30% */
.poster:nth-child(even) { margin-top: 38%; }
.poster img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.poster figcaption { margin-top: 10px; color: var(--on-dark-2); font-size: .82rem; letter-spacing: -.01em; }
@media (min-width: 640px) { .posters { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .posters { grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); }
  .poster:nth-child(even) { margin-top: 42%; }
}
.duo { display: grid; gap: clamp(12px, 1.6vw, 22px); }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } }
.points {
  margin-top: clamp(56px, 8vw, 104px);
  display: grid; gap: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line); padding-top: clamp(36px, 5vw, 56px);
}
@media (min-width: 760px) { .points { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 56px); } }
.points h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.points p { color: var(--ink-2); font-size: .95rem; }

/* SHOP — 같은 브랜드 안에서 층이 바뀌었음을 색으로 구분 */
.sec--shop { background: var(--dark); color: var(--on-dark); }
.sec--shop .lead, .sec--shop .note { color: var(--on-dark-2); }
.sec--shop .media { background: var(--dark-2); }
.duo--tall { margin-top: clamp(12px, 1.6vw, 22px); }
.sec--shop .note {
  margin-top: clamp(36px, 5vw, 60px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line-dark);
  max-width: 44ch;
}

/* TODAY */
.cards { display: grid; gap: clamp(24px, 3vw, 40px) clamp(14px, 1.8vw, 24px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card__name { margin-top: 18px; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.card__desc { margin-top: 6px; color: var(--ink-2); font-size: .9rem; }

/* VISIT */
.sec--visit { background: var(--bg-2); }
.visit__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info__row {
  display: grid; grid-template-columns: 5.5em 1fr; gap: 16px;
  padding-block: clamp(14px, 1.8vw, 20px);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.info__row dt { color: var(--ink-3); font-size: .85rem; letter-spacing: .02em; }
.info__row dd { margin: 0; }
.btns { margin-top: clamp(26px, 3.4vw, 38px); display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; letter-spacing: -.005em;
  border: 1px solid var(--ink); transition: background .25s var(--ease), color .25s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn.is-todo { border-style: dashed; border-color: var(--ink-3); color: var(--ink-3); cursor: not-allowed; }
.btn.is-todo em { font-style: normal; font-size: .72rem; opacity: .8; }
.info__sub { display: block; margin-top: 4px; color: var(--ink-3); font-size: .8rem; }

/* 대표 메뉴 + 회전 레일 사진 — 넓은 화면에서 나란히, 좁으면 위아래 */
.rail-row { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .rail-row { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.rail-photo { margin: 0; }
.rail-photo img { display: block; width: 100%; height: auto; border-radius: 2px; }

/* 대표 메뉴 — 이름 · 점선 · 가격 */
.menu-list { max-width: 40rem; }
.menu-list__title { font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--accent); margin-bottom: 14px; }
.menu-list ul { border-top: 1px solid var(--line); }
.menu-list li {
  display: flex; align-items: baseline; gap: 12px;
  padding-block: 14px; border-bottom: 1px solid var(--line);
}
.menu-list__name { font-weight: 500; min-width: 0; }
.menu-list__name em { font-style: normal; color: var(--ink-3); font-size: .85rem; margin-left: 4px; }
.menu-list__dots { flex: 1 1 24px; border-bottom: 1px dotted var(--ink-3); transform: translateY(-4px); }
.menu-list__price { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 약도 — SVG 를 HTML 에 직접 넣는다(map.mjs). 크기는 여기서만 정한다(인라인 style 금지) */
.map { margin-top: clamp(40px, 6vw, 80px); display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
/* 옆 칸으로 나누는 것은 1280px 부터 — 그 아래에서 나누면 약도 글자가 9px 대로 떨어진다(1024px 실측 8.8px) */
@media (min-width: 1280px) { .map { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.map__fig { border: 1px solid var(--line); background: var(--bg); max-width: 880px; }
.map__fig .map-svg { display: block; width: 100%; height: auto; font-family: var(--font-kr); }
.map-mob { display: none; }
@media (max-width: 760px) {
  .map__fig .map-desk { display: none; }
  .map__fig .map-mob { display: block; }
}
.map__h { font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }
.map__list { border-top: 1px solid var(--line); }
.map__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-block: 11px; border-bottom: 1px solid var(--line); font-size: .94rem;
}
.map__list b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.map__guide .map__note { text-align: left; }
.map__guide .btns { margin-top: 18px; }
/* 길찾기 3종 — 위 목록과 같은 왼쪽 선에서 시작해 한 줄로 늘어놓는다.
   좁은 화면에서는 한 줄에 세 개가 못 들어가 글자가 잘리므로 위아래로 쌓는다. */
.btns--row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.btns--row .btn { justify-content: center; padding-inline: 14px; }
@media (min-width: 560px) {
  .btns--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .btns--row .btn { font-size: .84rem; text-align: center; }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 62rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding-block: clamp(18px, 2.4vw, 26px);
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(1rem, 1.2vw, 1.12rem); font-weight: 500;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; margin-left: auto; color: var(--accent);
  font-family: var(--font-dp); font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
/* 답변에도 광고주가 지정한 줄바꿈이 있다. 60ch(≈33자)면 그 줄이 또 쪼개진다(2026-09-19). */
.faq__a { padding-bottom: clamp(18px, 2.4vw, 26px); color: var(--ink-2); max-width: 82ch; }

/* ── footer ─────────────────────────────────────────────────── */
.ftr { background: var(--dark); color: var(--on-dark); padding-top: clamp(56px, 8vw, 96px); }
.ftr__inner { display: grid; gap: clamp(32px, 5vw, 56px); }
@media (min-width: 760px) { .ftr__inner { grid-template-columns: 2fr 1fr 1fr; } }
.wordmark--ftr { font-size: 1.7rem; margin-bottom: 16px; }
.ftr__addr { color: var(--on-dark-2); font-size: .92rem; }
.ftr__updated { margin-top: 10px; color: var(--on-dark-2); font-size: .82rem; }
.ftr__h { font-family: var(--font-dp); font-size: .72rem; letter-spacing: .22em; color: var(--accent); margin-bottom: 16px; }
.ftr__nav ul { display: grid; gap: 10px; font-size: .92rem; }
.ftr__nav a { color: var(--on-dark-2); }
.ftr__nav a:hover { color: var(--on-dark); }
.lang--ftr { flex-wrap: wrap; }
.lang--ftr .lang__item { border: 1px solid var(--line-dark); padding: 6px 11px; }
.ftr__base {
  margin-top: clamp(48px, 7vw, 80px);
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-2); font-size: .8rem;
}

/* ── mobile CTA bar (문의 우선순위: 전화 > 인스타 > 길찾기) ──── */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: rgba(20, 18, 15, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 1000px) { .mbar { display: none; } }
.mbar__item {
  display: grid; place-content: center;
  padding: 15px 8px; text-align: center;
  color: var(--on-dark); font-size: .84rem; font-weight: 500;
  border-left: 1px solid var(--line-dark);
}
.mbar__item:first-child { border-left: 0; }
.mbar__item.is-todo { color: var(--on-dark-2); opacity: .6; }


/* ── reveal ─────────────────────────────────────────────────────
   JS가 살아 있을 때만 숨긴다. 스크립트가 죽어도 본문이 보이지 않는 사고를 막는다. */
html.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

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

.map__note{margin-top:14px;text-align:center}

/* ── 모바일 보완 (2026-08-26 점검) ──────────────────────────────
   규칙: 모바일·태블릿·데스크톱 × 전 언어에서 가로 넘침 0, 터치 대상 확보 */

/* 소식 화면 헤더 — 홈과 달리 햄버거 메뉴가 없다.
   `.nav` 를 그대로 쓰면 1000px 아래에서 숨어 **이동할 길이 사라진다.** */
.nav--compact { display: block; min-width: 0; }
.nav--compact .nav__list {
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  gap: clamp(12px, 3vw, 40px);
}
.nav--compact .nav__list::-webkit-scrollbar { display: none; }
.nav--compact .nav__link {
  min-height: 44px;                 /* 터치 대상 */
  justify-content: center;
  white-space: nowrap;
  font-size: clamp(.74rem, 2.2vw, .84rem);
}
.nav--compact .nav__sub { display: none; }
@media (min-width: 1000px) { .nav--compact .nav__sub { display: block; } }

/* 언어 전환·햄버거 — 손가락으로 누를 수 있는 크기로 */
.lang__item { min-height: 40px; display: inline-flex; align-items: center; }
.burger { width: 44px; height: 44px; }

/* 하단 고정 바가 있을 때만 자리를 비운다.
   문의 링크가 하나도 확정되지 않으면 바 자체를 만들지 않는다(build.mjs). */
@media (max-width: 999px) {
  body { padding-bottom: 0; }
  body.has-mbar { padding-bottom: 58px; }
  /* 첫 화면이 하단 바에 가려 스크롤이 생기던 것을 막는다 */
  body.has-mbar .hero { min-height: calc(100svh - 58px); }
  .hero__scroll { bottom: 26px; }
  body.has-mbar .hero__scroll { bottom: 74px; }
}

/* ── 첫 화면 좌우 분할 (2026-08-26 광고주 요청) ─────────────────
   2F 베이커리 / 1F 캐릭터샵을 나란히 둔다.
   넓은 화면은 좌우, 좁은 화면은 위아래. 가운데 브랜드 블록이 이음매에 걸친다. */
.hero--split {
  display: grid;
  grid-template-rows: 1fr 1fr;          /* 모바일 기본: 위아래 */
  align-items: stretch;
  gap: 0;
  padding: 0;
}
@media (min-width: 860px) {
  .hero--split {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
    /* 한쪽에 마우스를 올리면 그쪽이 넓어진다 */
    transition: grid-template-columns .55s var(--ease);
  }
  .hero--split:has(.half--left:hover)  { grid-template-columns: 1.18fr .82fr; }
  .hero--split:has(.half--right:hover) { grid-template-columns: .82fr 1.18fr; }
}

.half {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--on-dark);
  min-height: 0;                        /* grid 안에서 넘치지 않게 */
  isolation: isolate;
}
.half + .half { border-top: 1px solid var(--line-dark); }
@media (min-width: 860px) {
  .half + .half { border-top: 0; border-left: 1px solid var(--line-dark); }
}

.half__media { position: absolute; inset: 0; }
.half__media .media { width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; }
.half__media .media__el { width: 100%; height: 100%; object-fit: cover; }

.half__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,15,.86) 0%, rgba(20,18,15,.30) 46%, rgba(20,18,15,.52) 100%);
  transition: background .5s var(--ease);
}
.half:hover .half__scrim {
  background: linear-gradient(to top, rgba(20,18,15,.80) 0%, rgba(20,18,15,.18) 46%, rgba(20,18,15,.46) 100%);
}

.half__body {
  position: relative; z-index: 1;
  padding: clamp(22px, 3.4vw, 54px);
  display: grid; gap: 4px;
}
/* 위쪽 칸의 글은 위로 붙인다 — 가운데 이음매의 브랜드 블록과 겹치지 않게 */
@media (max-width: 859px) {
  .half--left { align-items: flex-start; }
}
.half__floor {
  font-family: var(--font-dp); font-size: .82rem; letter-spacing: .24em; color: var(--accent);
}
.half__title {
  margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 500;
  letter-spacing: -.02em; line-height: 1.15;
}
.half__sub { color: var(--on-dark-2); font-size: clamp(.86rem, 1.2vw, 1rem); }
.half__go {
  position: relative;
  margin-top: 10px; justify-self: start;
  font-size: .82rem; letter-spacing: .04em; font-weight: 500;
  padding-bottom: 3px; border-bottom: 1px solid rgba(242,237,228,.45);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.half:hover .half__go { border-color: var(--accent); color: var(--accent); }

/* ── 면에 마우스를 올리면(또는 키보드 포커스가 오면) 그 면의 글이 반응한다
      (2026-08-28 요청) ────────────────────────────────────────────
   🔴 기본 상태를 흐리게 두고 hover 로 밝히지 않는다. 손으로 만지는 화면에는
   hover 가 없어서, 그렇게 만들면 폰에서는 영영 흐린 글이 된다.
   hover 는 "더해지는" 연출이어야 한다. */
.half__body > * { transition: transform .6s var(--ease), color .3s var(--ease); }
.half__media .media__el { transition: transform 1.4s var(--ease); }
.half__title { transform-origin: left bottom; }

/* 층 표시 — 왼쪽에서 금색 선이 자라나고 글자가 그만큼 밀려난다 */
.half__floor { position: relative; }
.half__floor::before {
  content: ''; position: absolute; left: -30px; top: 50%;
  width: 0; height: 1px; background: var(--accent);
  transition: width .55s var(--ease);
}
.half:hover .half__floor,
.half:focus-visible .half__floor { transform: translate(30px, -16px); }
.half:hover .half__floor::before,
.half:focus-visible .half__floor::before { width: 26px; }

/* 아래로 갈수록 조금씩 늦게 — 되돌아올 때는 지연 없이 한 번에 */
.half:hover .half__title, .half:focus-visible .half__title {
  transform: translateY(-16px) scale(1.06); transition-delay: .06s;
}
/* 제목(Bakery / Character Shop)은 더 크게 키운다 — hover 가 있는 화면에서만.
   왼쪽 아래를 기준으로 커져야 글이 제자리에서 자라는 것처럼 보인다.
   ⚠️ font-size 가 아니라 transform 으로 키운다. 글자 크기를 바꾸면 줄이 밀려
   레이아웃이 흔들리고 그 흔들림이 CLS 점수로 잡힌다. */
@media (min-width: 860px) and (hover: hover) {
  .half:hover .half__title, .half:focus-visible .half__title {
    transform: translateY(-18px) scale(1.2);
  }
}
.half:hover .half__sub, .half:focus-visible .half__sub {
  transform: translateY(-16px); transition-delay: .12s;
}
.half:hover .half__go, .half:focus-visible .half__go {
  transform: translateY(-16px); transition-delay: .18s;
}

.half:hover .half__media .media__el,
.half:focus-visible .half__media .media__el { transform: scale(1.08); }

/* 밑줄이 왼쪽에서 자라나고( ::before ), 화살표가 오른쪽으로 밀려난다( ::after ) */
.half__go::before {
  content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.half__go::after {
  content: '\2192'; display: inline-block; margin-left: 8px;
  transition: transform .45s var(--ease);
}
.half:hover .half__go::before,
.half:focus-visible .half__go::before { transform: scaleX(1); transition-delay: .18s; }
.half:hover .half__go::after,
.half:focus-visible .half__go::after { transform: translateX(8px); transition-delay: .18s; }

/* 폰에는 hover 가 없다. 그래서 첫 화면이 열릴 때 한 번, 두 면의 글도 차례로 올라온다.
   🔴 채우기를 `backwards` 로 둔다. `forwards`/`both` 로 두면 끝난 애니메이션 값이
   hover 의 transform 을 눌러 버려서 위의 연출이 통째로 죽는다. */
html.js .half__body > * { animation: heroRiseIn .8s var(--ease) backwards; }
html.js .half__floor { animation-delay: .18s; }
html.js .half__title { animation-delay: .26s; }
html.js .half__sub   { animation-delay: .34s; }
html.js .half__go    { animation-delay: .42s; }

/* 가운데 브랜드 — 두 칸에 걸친다. 클릭은 아래 칸으로 통과시킨다. */
.hero__center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; pointer-events: none;
  width: min(100%, 760px);
  padding-inline: var(--gut);
  text-align: center; color: var(--on-dark);
}
.hero__center .hero__mark {
  font-family: var(--font-dp); font-weight: 300;
  font-size: clamp(2.6rem, 9vw, 6.4rem);
  line-height: .98; letter-spacing: .01em; margin: 0 0 12px;
  text-shadow: 0 2px 30px rgba(20,18,15,.55);
}
.hero__center .hero__tagline {
  font-size: clamp(1rem, 1.6vw, 1.42rem); font-weight: 300;
  letter-spacing: .01em;
  max-width: none; text-shadow: 0 1px 18px rgba(20,18,15,.6);
}
/* 위치 — 작아서 안 보인다는 지적(2026-08-28). 키우고 밝히고, 가는 선으로 띄웠다 */
.hero__center .hero__place {
  position: relative;
  margin-top: 22px; padding-top: 22px;
  font-family: var(--font-dp);
  font-size: clamp(.95rem, 1.15vw, 1.18rem);
  letter-spacing: .14em; color: var(--on-dark);
  text-shadow: 0 1px 16px rgba(20,18,15,.7);
}
.hero__center .hero__place::before {
  content: ''; position: absolute; top: 0; left: 50%;
  width: 56px; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* 화면이 열릴 때 한 번 — 마크가 자간을 좁히며 올라오고 그 아래가 따라온다.
   🔴 `html.js` 가 붙었을 때만 건다. 애니메이션이 시작 상태(투명)로 멈추면 브랜드명이
   통째로 안 보인다. 스크립트가 죽은 화면에서는 애니메이션 없이 그냥 보이는 편이 맞다
   (등장 애니메이션 전체가 이 프로젝트에서 지키는 규칙이다). */
/* ⚠️ 자간(letter-spacing)을 애니메이션하면 글자가 좌우로 밀려 레이아웃이 흔들린다.
   첫 화면에서 가장 큰 요소라 그 흔들림이 그대로 CLS 점수로 잡힌다.
   움직임은 transform·opacity 로만 준다. */
@keyframes heroMarkIn {
  from { opacity: 0; transform: translateY(20px) scale(1.035); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroRiseIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroRuleIn {
  from { transform: translateX(-50%) scaleX(0); opacity: 0; }
  to   { transform: translateX(-50%) scaleX(1); opacity: 1; }
}
html.js .hero__center .hero__mark    { animation: heroMarkIn 1.1s var(--ease) backwards; }
html.js .hero__center .hero__tagline { animation: heroRiseIn .9s var(--ease) .28s backwards; }
html.js .hero__center .hero__place   { animation: heroRiseIn .9s var(--ease) .52s backwards; }
html.js .hero__center .hero__place::before { animation: heroRuleIn .8s var(--ease) .62s backwards; }

/* 한쪽 면이 넓어지면 이음매가 움직인다. 가운데 블록도 그 이음매를 따라간다.
   ⚠️ 1100px 미만에서는 760px 블록이 화면 밖으로 밀려 가로 스크롤이 생긴다.
   넓은 화면에서만 건다. */
@media (min-width: 1100px) {
  .hero__center { transition: left .55s var(--ease); }
  .hero--split:has(.half--left:hover)  .hero__center { left: 59%; }
  .hero--split:has(.half--right:hover) .hero__center { left: 41%; }
}

/* BRAND 구획의 공간 영상 */
.brand__video { margin-top: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .sec--brand .brand__video { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  .hero--split, .half__scrim, .half__go, .hero__center { transition: none; }
  .half__body > *, .half__media .media__el,
  .half__go::before, .half__go::after, .half__floor::before { transition: none; }
  .half:hover .half__floor, .half:focus-visible .half__floor,
  .half:hover .half__title, .half:focus-visible .half__title,
  .half:hover .half__sub,   .half:focus-visible .half__sub,
  .half:hover .half__go,    .half:focus-visible .half__go,
  .half:hover .half__go::after, .half:focus-visible .half__go::after,
  .half:hover .half__media .media__el,
  .half:focus-visible .half__media .media__el { transform: none; }
  /* ⚠️ 등장 애니메이션 쪽이 `html.js` 로 시작하므로 여기도 같이 붙여야 이긴다 */
  html.js .hero__center .hero__mark, html.js .hero__center .hero__tagline,
  html.js .hero__center .hero__place, html.js .hero__center .hero__place::before,
  html.js .half__body > * { animation: none; }
}

/* ── 화면이 낮을 때 (폰을 가로로 든 경우) ──────────────────────
   위아래로 나누면 한 칸이 180px 밖에 안 돼 가운데 브랜드 글과 패널 글이 겹친다.
   낮고 넓은 화면에서는 좌우로 나눈다. */
@media (max-height: 520px) and (min-width: 560px) {
  .hero--split { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .half { align-items: flex-end; }
  .half + .half { border-top: 0; border-left: 1px solid var(--line-dark); }
}

/* 낮은 화면에서는 글자와 여백을 함께 줄인다 */
@media (max-height: 560px) {
  .half__body { padding: clamp(14px, 2.4vw, 24px); gap: 2px; }
  .half__title { font-size: clamp(1.15rem, 2.6vw, 1.5rem); }
  .half__sub { font-size: .8rem; }
  .half__go { margin-top: 6px; }
  .hero__center .hero__mark { font-size: clamp(2rem, 7vw, 3.4rem); margin-bottom: 4px; }
  .hero__center .hero__tagline { font-size: clamp(.82rem, 1.6vw, 1rem); }
  /* 가로로 든 폰 — 자리가 없어 줄이되, 읽히는 크기는 지킨다 */
  .hero__center .hero__place { margin-top: 10px; padding-top: 11px; font-size: .86rem; }
  .hero__center .hero__place::before { width: 38px; }
  .hero__scroll { display: none; }   /* 자리가 없다 */
}

/* 낮은 화면에서는 가운데 브랜드를 위로 올린다.
   패널 글이 아래에 붙어 있어, 한가운데 두면 14px 정도 겹친다(740×360 실측). */
@media (max-height: 560px) {
  .hero__center { top: 32%; }
  .half__go { display: none; }   /* 면 전체가 링크라 없어도 눌린다 */
}
