/* 다섯잔 사주찻집 — 사주 카페 디자인 샘플 (디코랩)
   구성: 페이지 = 유리 찻잔의 단면. 섹션 다섯 개가 목·화·토·금·수 한 층씩(배경 틴트 + 물결 윗선)이고,
   스크롤하면 아래층부터 찻잔이 차오른다. 메뉴 = 데스크톱 왼쪽 고정 「찻잔 차림표」 / 모바일 머리글 아래 다섯 층 띠 */

:root {
  --hanji: #F7F1E3;         /* 크림 한지 — 배경 */
  --paper: #FFFBF2;         /* 찻상 종이 — 카드·입력 면 */
  --ink: #1E2433;           /* 먹 남색 — 본문 글자 */
  --ink-soft: #4B5263;      /* 보조 글자 (hanji 대비 7:1) */
  --line: #CFC6B2;          /* 한지 결 선 */
  --jjok: #23395B;          /* 쪽빛 — 머리글·주 버튼·푸터 */
  --jjok-deep: #172741;

  /* 오행 — 찻잔 속 차 색(층) */
  --tea-wood: #6FA052;      /* 녹차 */
  --tea-fire: #C8473B;      /* 오미자 */
  --tea-earth: #D9A033;     /* 대추·유자 */
  --tea-metal: #E6DCC2;     /* 배도라지 */
  --tea-water: #3B3840;     /* 흑임자 */
  /* 오행 — 글자·표시용(틴트 위 대비 4.5:1 이상) */
  --el-wood: #3D7438;
  --el-fire: #A93529;
  --el-earth: #8A5F0E;
  --el-metal: #5F6570;
  --el-water: #2E2C34;
  /* 오행 — 층 배경 틴트 */
  --tint-wood: #E7EFDF;
  --tint-fire: #F7E5DE;
  --tint-earth: #F5EAD1;
  --tint-metal: #ECEDEE;
  --tint-water: #E1E5EC;

  --kakao: #FEE500;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-title: "Gowun Dodum", "Pretendard Variable", Pretendard, sans-serif;

  --fs-h1: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  --fs-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --radius: 14px;
  --rail-w: 224px;
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 124px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--hanji);
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--font-title); font-weight: 400; line-height: 1.3; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--jjok); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--tea-earth); outline-offset: 3px; }

.container { width: min(1040px, 100% - 36px); margin-inline: auto; }

/* 자리표시 */
.ph { display: inline-block; padding: 0 .4em; border: 1.5px dashed #9A917D; border-radius: 4px; color: var(--ink-soft); font-size: .92em; line-height: 1.6; }
.ph--dark { border-color: #7F8DA6; color: #D5DCE8; }

/* ---------- 안내 띠 ---------- */
.sample-banner { background: var(--jjok-deep); color: #E3E8F1; font-size: .82rem; line-height: 1.55; }
.sample-banner__inner { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.sample-banner__tag { flex: none; background: var(--tea-earth); color: var(--ink); font-weight: 700; border-radius: 4px; padding: 1px 8px; font-size: .76rem; margin-top: 1px; }
.sample-banner a { color: #fff; font-weight: 600; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 10px 20px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.3; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--jjok { background: var(--jjok); color: var(--paper); }
.btn--jjok:hover { background: var(--jjok-deep); }
.btn--line { background: transparent; color: var(--jjok); border-color: var(--jjok); }
.btn--line:hover { background: var(--paper); }
.btn--kakao { background: var(--kakao); color: #191600; }
.btn--kakao:hover { background: #F2D900; }
.btn--big { min-height: 54px; padding: 12px 26px; font-size: 1.05rem; }
.btn--small { min-height: 42px; padding: 8px 14px; font-size: .9rem; }

/* ---------- 머리글 ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--hanji); border-bottom: 1.5px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); padding: 0 18px; max-width: 1440px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo b { font-family: var(--font-title); font-weight: 400; font-size: 1.22rem; color: var(--jjok); letter-spacing: -0.02em; }
.logo b span { color: var(--ink-soft); }
.header-hours { display: none; color: var(--ink-soft); font-size: .9rem; }
.header-tel { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--jjok); font-weight: 700; min-height: 44px; padding: 0 4px; }
.header-tel svg { width: 20px; height: 20px; }
.header-cta { display: none; }

/* 모바일 다섯 층 띠 */
.strip { border-top: 1px solid var(--line); background: var(--paper); }
.strip__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.strip__item a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 6px 2px 9px; text-decoration: none; color: var(--ink-soft); font-size: .76rem; line-height: 1.3; transition: background-color .25s, color .25s; }
.strip__item b { font-family: var(--font-title); font-weight: 400; font-size: 1.05rem; line-height: 1.2; color: var(--c); }
.strip__item a::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 3px; height: 4px; border-radius: 4px; background: var(--t); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.strip__item a.is-filled::after { transform: scaleX(1); }
.strip__item a.is-active { background: var(--tint); color: var(--ink); font-weight: 700; }
.strip__item--wood { --c: var(--el-wood); --t: var(--tea-wood); --tint: var(--tint-wood); }
.strip__item--fire { --c: var(--el-fire); --t: var(--tea-fire); --tint: var(--tint-fire); }
.strip__item--earth { --c: var(--el-earth); --t: var(--tea-earth); --tint: var(--tint-earth); }
.strip__item--metal { --c: var(--el-metal); --t: #B9BDC4; --tint: var(--tint-metal); }
.strip__item--water { --c: var(--el-water); --t: var(--tea-water); --tint: var(--tint-water); }

/* 데스크톱 왼쪽 고정 찻잔 차림표 */
.rail { display: none; }

/* ---------- 찻잔 공통 ---------- */
.cup { display: block; overflow: visible; }
.cup__layer { transform: translateY(calc(var(--y) * 1px)); transition: transform .85s cubic-bezier(.3, .7, .2, 1) var(--d, 0s); }
.has-motion .cup--hero:not(.is-poured) .cup__layer,
.has-motion .cup--calc:not(.is-poured) .cup__layer { transform: translateY(124px); }
.steam path { fill: none; stroke: var(--jjok); stroke-width: 4; stroke-linecap: round; opacity: .22; }
.has-motion .steam path { opacity: 0; animation: steam 3.4s ease-in-out 3 both; }
.has-motion .steam path:nth-child(2) { animation-delay: .9s; }
.has-motion .steam path:nth-child(3) { animation-delay: 1.7s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(14px); }
  40% { opacity: .38; }
  100% { opacity: 0; transform: translateY(-10px); }
}

/* ---------- 히어로 ---------- */
.hero { padding: 36px 0 72px; }
.hero__grid { display: grid; gap: 28px; }
.hero__kicker { display: inline-block; color: var(--jjok); font-weight: 700; font-size: .92rem; padding: 3px 12px; border: 1.5px solid var(--jjok); border-radius: 999px; background: var(--paper); }
.hero__title { font-size: var(--fs-h1); margin-top: 14px; color: var(--jjok); }
.hero__lead { margin-top: 14px; font-size: 1.04rem; color: var(--ink-soft); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__note { margin-top: 12px; font-size: .9rem; color: var(--ink-soft); }
.hero__art { margin: 0; justify-self: center; width: min(420px, 100%); }
.cup--hero { width: 100%; height: auto; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; margin-top: 10px; font-size: .86rem; color: var(--ink-soft); }
.legend__i { display: inline-flex; align-items: center; gap: 5px; }
.legend__i b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-family: var(--font-title); font-weight: 400; font-size: .82rem; color: #fff; background: var(--c); }
.legend__i--wood { --c: var(--el-wood); }
.legend__i--fire { --c: var(--el-fire); }
.legend__i--earth { --c: var(--el-earth); }
.legend__i--metal { --c: var(--el-metal); }
.legend__i--water { --c: var(--el-water); }

/* ---------- 층(섹션) ---------- */
.layer { position: relative; background: var(--tint); padding: 72px 0 80px; overflow-x: clip; }
.layer::before {
  content: ""; position: absolute; left: -80px; right: -80px; top: -21px; height: 22px; background: var(--tint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 22'%3E%3Cpath d='M0 12Q40 0 80 12T160 12V22H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 160px 22px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 22'%3E%3Cpath d='M0 12Q40 0 80 12T160 12V22H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 160px 22px;
  transition: transform 1.8s cubic-bezier(.3, .7, .2, 1);
}
.has-motion .layer:not(.is-in)::before { transform: translateX(-60px); }
.layer--wood { --tint: var(--tint-wood); --c: var(--el-wood); --t: var(--tea-wood); }
.layer--fire { --tint: var(--tint-fire); --c: var(--el-fire); --t: var(--tea-fire); }
.layer--earth { --tint: var(--tint-earth); --c: var(--el-earth); --t: var(--tea-earth); }
.layer--metal { --tint: var(--tint-metal); --c: var(--el-metal); --t: #B9BDC4; }
.layer--water { --tint: var(--tint-water); --c: var(--el-water); --t: var(--tea-water); }

.layer__head { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin-bottom: 32px; }
.layer__mark { display: grid; place-items: center; width: 46px; height: 46px; font-size: 1.4rem !important; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--font-title); font-size: 1.7rem; line-height: 1; box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .14); }
.layer__kicker { color: var(--c); font-weight: 700; font-size: .92rem; }
.layer__head h2 { font-size: var(--fs-h2); color: var(--jjok); margin-top: 2px; }
.layer__lead { margin-top: 10px; color: var(--ink-soft); max-width: 40em; }

/* 등장 */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.has-motion .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }

/* ---------- 입력 공통 ---------- */
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .95rem; padding: 0; }
.field small { font-weight: 400; color: var(--ink-soft); }
.field input[type="date"], .field select {
  width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid #B8AE98; border-radius: 10px;
}
.field__hint { font-size: .86rem; color: var(--ink-soft); }
.field__hint.is-warn { color: var(--el-fire); font-weight: 700; }

/* ---------- 오행 찻잔 ---------- */
.oheng { display: grid; gap: 24px; }
.oheng__form { display: grid; gap: 16px; align-content: start; background: var(--paper); border: 1.5px solid #C9D6BF; border-radius: var(--radius); padding: 22px; }
.oheng__go { width: 100%; }
.oheng__fine { font-size: .86rem; color: var(--ink-soft); background: var(--tint-wood); border-radius: 10px; padding: 12px 14px; }
.oheng__fine b { color: var(--el-wood); }
.oheng__result { display: grid; gap: 16px; align-content: start; }
.cup--calc { width: min(340px, 100%); height: auto; justify-self: center; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pillar { display: grid; gap: 4px; text-align: center; }
.pillar small { font-size: .8rem; color: var(--ink-soft); font-weight: 700; }
.pillar b { display: grid; place-items: center; gap: 0; min-height: 52px; padding: 4px 2px; border-radius: 10px; background: var(--paper); border: 2px solid var(--line); font-family: var(--font-title); font-weight: 400; font-size: 1.4rem; line-height: 1.1; color: var(--ink); }
.pillar b span { font-family: var(--font); font-size: .72rem; color: var(--ink-soft); }
.pillar b[data-el="0"] { border-color: var(--tea-wood); background: var(--tint-wood); }
.pillar b[data-el="1"] { border-color: var(--tea-fire); background: var(--tint-fire); }
.pillar b[data-el="2"] { border-color: var(--tea-earth); background: var(--tint-earth); }
.pillar b[data-el="3"] { border-color: #B9BDC4; background: var(--tint-metal); }
.pillar b[data-el="4"] { border-color: var(--tea-water); background: var(--tint-water); }
.pillar.is-empty b { border-style: dashed; color: var(--ink-soft); }

.tally { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tally__i { display: grid; justify-items: center; gap: 2px; padding: 8px 2px; border-radius: 10px; background: var(--paper); font-size: .82rem; color: var(--ink-soft); border: 1.5px solid transparent; }
.tally__i b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--c); font-family: var(--font-title); font-weight: 400; font-size: .92rem; }
.tally__i span { font-size: 1.15rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.tally__i.is-low { border-color: var(--c); background: #fff; }
.tally__i--wood { --c: var(--el-wood); }
.tally__i--fire { --c: var(--el-fire); }
.tally__i--earth { --c: var(--el-earth); }
.tally__i--metal { --c: var(--el-metal); }
.tally__i--water { --c: var(--el-water); }

.pick { background: var(--paper); border: 1.5px solid var(--line); border-left: 6px solid var(--pick, var(--jjok)); border-radius: var(--radius); padding: 16px 18px; }
.pick__lead { color: var(--ink-soft); }
.pick__title { font-family: var(--font-title); font-size: 1.25rem; color: var(--jjok); line-height: 1.4; }
.pick__text { margin-top: 6px; color: var(--ink-soft); font-size: .95rem; }
.pick__go { margin-top: 10px; display: inline-flex; font-weight: 700; color: var(--jjok); min-height: 44px; align-items: center; }
.pick__fine { margin-top: 4px; font-size: .82rem; color: var(--ink-soft); }

/* ---------- 차 메뉴 ---------- */
.menu { display: grid; gap: 24px; }
.menu__list { list-style: none; margin: 0; padding: 8px 18px; background: var(--paper); border-radius: var(--radius); border: 1.5px solid #E2C9BF; }
.tea { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1.5px dashed #E0D3C4; transition: background-color .3s; }
.tea:last-child { border-bottom: 0; }
.tea__cup { width: 44px; height: 37px; }
.tea__name { font-family: var(--font-title); font-size: 1.18rem; color: var(--jjok); line-height: 1.35; }
.tea__name b { font-weight: 400; color: var(--c); margin-right: 2px; }
.tea__desc { font-size: .92rem; color: var(--ink-soft); margin-top: 2px; }
.tea__price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; align-self: start; padding-top: 2px; }
.tea__tag { display: inline-block; margin-left: 6px; vertical-align: 2px; font-family: var(--font); font-size: .74rem; font-weight: 700; color: #fff; background: var(--c); border-radius: 999px; padding: 1px 9px; }
.tea--wood { --c: var(--el-wood); --tint: var(--tint-wood); }
.tea--fire { --c: var(--el-fire); --tint: var(--tint-fire); }
.tea--earth { --c: var(--el-earth); --tint: var(--tint-earth); }
.tea--metal { --c: var(--el-metal); --tint: var(--tint-metal); }
.tea--water { --c: var(--el-water); --tint: var(--tint-water); }
.tea.is-picked { background: var(--tint); margin: 0 -18px; padding-left: 18px; padding-right: 18px; box-shadow: inset 5px 0 0 var(--c); }
.menu__side { display: grid; gap: 14px; align-content: start; }
.snack { background: var(--paper); border-radius: var(--radius); padding: 18px; border: 1.5px solid #E2C9BF; }
.snack svg { width: 120px; height: 70px; }
.snack__name { font-family: var(--font-title); font-size: 1.15rem; color: var(--jjok); margin-top: 6px; }
.snack__price { font-weight: 800; }
.snack__desc { font-size: .9rem; color: var(--ink-soft); }
.menu__note { font-size: .88rem; color: var(--ink-soft); }

/* ---------- 상담 코스 ---------- */
.courses { display: grid; gap: 14px; }
.course { background: var(--paper); border: 1.5px solid #E1CFA6; border-radius: var(--radius); padding: 20px 22px; }
.course h3 { font-size: 1.45rem; color: var(--jjok); }
.course__cups { display: flex; gap: 6px; margin-bottom: 8px; }
.course__cups i { width: 26px; height: 20px; border: 2px solid var(--jjok); border-top-width: 3px; border-radius: 2px 2px 13px 13px; background: linear-gradient(to top, var(--tea-earth) 62%, transparent 62%); }
.course__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 4px; }
.course__meta span { color: var(--el-earth); font-weight: 700; }
.course__meta b { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.course ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--ink-soft); }
.course li + li { margin-top: 2px; }
.course--pair { background: var(--jjok); color: var(--paper); border-color: var(--jjok); }
.course--pair h3 { color: var(--paper); }
.course--pair .course__meta span { color: #F2CF86; }
.course--pair ul { color: #D9DFEA; }
.course--pair .course__cups i { border-color: var(--paper); }
.course__note { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); }

.first { margin-top: 44px; }
.first h3 { font-size: 1.4rem; color: var(--jjok); }
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; align-content: start; }
.steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--el-earth); color: var(--el-earth); font-weight: 800; background: var(--paper); }
.steps p { color: var(--ink-soft); font-size: .95rem; }
.steps strong { display: block; color: var(--ink); font-size: 1.02rem; }

/* ---------- 예약 ---------- */
.book { display: grid; gap: 22px; }
.book__fields { display: grid; gap: 18px; background: var(--paper); border-radius: var(--radius); padding: 22px; border: 1.5px solid #CFD2D7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1.5px solid #B8BCC4; border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; font-size: .95rem; transition: background-color .2s, color .2s, border-color .2s; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label:has(input:checked) { background: var(--jjok); color: var(--paper); border-color: var(--jjok); }
.chips label:has(input:focus-visible) { outline: 3px solid var(--tea-earth); outline-offset: 2px; }
.chips small { font-weight: 400; opacity: .85; color: inherit; }
.chips--wide label { width: 100%; justify-content: space-between; border-radius: 12px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--jjok); }

.ticket { position: relative; background: var(--paper); border-radius: var(--radius); padding: 22px; border: 2px dashed #9EA3AD; }
.ticket__title { font-family: var(--font-title); font-size: 1.3rem; color: var(--jjok); }
.ticket__sum { font-weight: 800; color: var(--el-metal); margin-top: 2px; font-variant-numeric: tabular-nums; }
.ticket textarea { width: 100%; margin-top: 10px; font: inherit; font-size: 1rem; line-height: 1.65; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; resize: vertical; }
.ticket__info { margin-top: 8px; font-size: .88rem; color: var(--ink-soft); }
.ticket__actions { display: grid; gap: 8px; margin-top: 14px; }
.ticket__status { margin-top: 8px; min-height: 1.6em; font-size: .9rem; font-weight: 700; color: var(--el-wood); }

/* ---------- 질문·오시는 길 ---------- */
.visit { display: grid; gap: 28px; }
.faq details { background: var(--paper); border-radius: 12px; border: 1.5px solid #C9CFDA; margin-bottom: 8px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--jjok); border-bottom: 2px solid var(--jjok); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 16px 16px; color: var(--ink-soft); }
.map { width: 100%; height: auto; display: block; }
.map__label { font: 600 15px var(--font); fill: #5A6273; }
.map__shop { font: 400 20px var(--font-title); fill: #FFFBF2; }
.map__bus { font: 700 13px var(--font); fill: #fff; }
.map__sub { font: 600 15px var(--font); fill: #4B5263; }
.info { margin: 18px 0 0; display: grid; gap: 10px; }
.info div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; }
.info dt { font-weight: 700; color: var(--jjok); }
.info dd { margin: 0; }
.info small { display: block; color: var(--ink-soft); font-size: .86rem; }
.info a { font-weight: 700; color: var(--jjok); }
.place__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--jjok); color: #D5DCE8; padding: 40px 0 36px; font-size: .9rem; }
.site-footer__inner { display: grid; gap: 18px; }
.site-footer__logo { font-family: var(--font-title); font-size: 1.3rem; color: var(--paper); }
.site-footer__biz { margin-top: 6px; line-height: 1.9; }
.site-footer a { color: #fff; }
.site-footer__links { margin-top: 8px; display: flex; gap: 14px; }
.site-footer__links .strong { font-weight: 800; }
.site-footer__credit { color: #B8C3D6; }

/* ---------- 모바일 하단 바 ---------- */
.quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--paper); border-top: 1.5px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.quickbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; text-decoration: none; font-weight: 700; color: var(--jjok); font-size: .95rem; }
.quickbar svg { width: 20px; height: 20px; }
.quickbar__kakao { background: var(--kakao); color: #191600 !important; }
.quickbar__cta { background: var(--jjok); color: var(--paper) !important; }
body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }

/* 안내 알림 */
.toast { position: fixed; left: 50%; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 60; width: min(420px, calc(100% - 32px)); margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--jjok-deep); color: #fff; font-size: .92rem; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .25s, transform .25s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.tea.is-flash { animation: flash 1.6s ease 1; }
@keyframes flash { 0%, 100% { opacity: 1; } 30% { opacity: .45; } 60% { opacity: 1; } }

/* ---------- 넓은 화면 ---------- */
@media (min-width: 640px) {
  .ticket__actions { grid-template-columns: repeat(3, auto); justify-content: start; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .hero { padding: 56px 0 96px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
  .layer { padding: 96px 0 104px; }
  .layer__head { gap: 16px; }
  .layer__mark { width: 58px; height: 58px; font-size: 1.7rem !important; }
  .oheng { grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
  .menu { grid-template-columns: 1.7fr 1fr; gap: 28px; }
  .courses { grid-template-columns: 1fr 1.3fr; }
  .course--pair { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 32px; align-items: center; }
  .course--pair .course__cups, .course--pair h3, .course--pair .course__meta { grid-column: 1; }
  .course--pair ul { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps li { grid-template-columns: 1fr; }
  .book { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .book__out { position: sticky; top: 90px; }
  .visit { grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
  .header-hours { display: block; }
  .header-cta { display: inline-flex; }
  .quickbar { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 1100px) {
  html { scroll-padding-top: 80px; }
  .strip { display: none; }
  .site-header__inner { padding: 0 28px 0 18px; max-width: none; }
  main, .site-footer { margin-left: var(--rail-w); }
  .rail {
    position: fixed; left: 0; top: 61px; z-index: 30;
    display: flex; flex-direction: column; gap: 10px;
    width: var(--rail-w); height: calc(100vh - 61px - var(--sample-banner-h, 0px));
    padding: 20px 18px 18px; background: var(--paper); border-right: 1.5px solid var(--line); overflow-y: auto;
  }
  .rail__title { font-family: var(--font-title); font-size: 1.12rem; color: var(--jjok); }
  .cup--rail { width: 150px; height: auto; margin: 4px auto 0; }
  .rail__list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 2px; }
  .rail__item a { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px; text-decoration: none; color: var(--ink-soft); transition: background-color .25s, color .25s; }
  .rail__item b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--c); color: var(--c); font-family: var(--font-title); font-weight: 400; background: #fff; transition: background-color .25s, color .25s; }
  .rail__item span { font-weight: 700; font-size: .95rem; line-height: 1.3; }
  .rail__item small { display: block; font-weight: 400; font-size: .78rem; }
  .rail__item a:hover { background: var(--hanji); }
  .rail__item a.is-filled b { background: var(--c); color: #fff; }
  .rail__item a.is-active { background: var(--tint); color: var(--ink); }
  .rail__item--wood { --c: var(--el-wood); --tint: var(--tint-wood); }
  .rail__item--fire { --c: var(--el-fire); --tint: var(--tint-fire); }
  .rail__item--earth { --c: var(--el-earth); --tint: var(--tint-earth); }
  .rail__item--metal { --c: var(--el-metal); --tint: var(--tint-metal); }
  .rail__item--water { --c: var(--el-water); --tint: var(--tint-water); }
  .rail__now { font-size: .84rem; color: var(--ink-soft); margin-top: auto; }
  .container { width: min(1040px, 100% - 72px); }
}

@media (max-height: 760px) and (min-width: 1100px) {
  .cup--rail { width: 110px; }
  .rail__item small { display: none; }
}

/* ---------- 동작 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .steam { display: none; }
  /* 3단계(색 피드백)는 남긴다 */
  .btn, .chips label, .strip__item a, .rail__item a, .tea { transition-duration: .2s !important; }
}
