/* 러쉬클랜 멀티짐 — 스타일
   색: 블루코너 네이비 바탕 + 링 캔버스 섹션 + 로프 레드 포인트 */
:root {
  --ink: #0f1420;          /* 블루코너 네이비(기본 바탕) */
  --ink-2: #171e2d;
  --ink-3: #222b3e;
  --canvas: #ebe8e1;       /* 링 캔버스 */
  --canvas-2: #dfdbd1;
  --bone: #f4f2ed;
  --text: #eef0f4;
  --text-dim: #9aa3b5;
  --text-dark: #141821;
  --text-dark-dim: #5b6070;
  --red: #d92b1f;          /* 로프 레드 */
  --red-hot: #f03a2d;
  --blue: #3a63d8;
  --naver-green: #03c75a;
  --line: rgba(238, 240, 244, 0.13);
  --line-dark: rgba(20, 24, 33, 0.14);

  --f-display: "Big Shoulders Display", "Black Han Sans", Impact, "Arial Narrow", sans-serif;
  --f-ko-display: "Black Han Sans", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --f-body: "IBM Plex Sans KR", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --header-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ticker-in { animation: tick 40s linear infinite !important; }
  @media (max-width: 760px) { .ticker-in { animation-duration: 24s !important; } }
  /* 스크롤 등장 효과는 '동작 줄이기' 설정에서도 그대로 보이게 */
  html.js-reveal [data-reveal] {
    transition: opacity .75s cubic-bezier(.22,.72,.24,1), transform .75s cubic-bezier(.22,.72,.24,1) !important;
    transition-delay: var(--d, 0s) !important;
  }
}

.skip { position: absolute; left: -9999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }

/* ── 공통 텍스트 ── */
.eyebrow {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-dim); max-width: 60ch; }
.note { margin-top: 20px; font-size: 14px; color: var(--text-dim); }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-body); font-weight: 700; font-size: 15px;
  text-decoration: none; padding: 12px 20px; border-radius: var(--radius);
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-accent { background: var(--red); color: #fff; }
.btn-accent:hover { background: var(--red-hot); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--text); }
.btn-line { border-color: currentColor; color: inherit; }
.btn-blog { background: var(--naver-green); color: #04291a; }
.btn-blog:hover { background: #02b351; color: #04291a; }

/* ── 헤더 ── */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(15, 20, 32, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; color: var(--red); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-family: var(--f-display); font-weight: 900; font-size: 20px; letter-spacing: 0.02em; }
.logo-text small { font-size: 11px; color: var(--text-dim); letter-spacing: 0.1em; }
.nav { display: flex; gap: 2px; margin-left: auto; margin-right: 12px; }
.nav a { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 10px; border-radius: 4px; color: var(--text-dim); transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav-cta-m { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; color: var(--text); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .2s, top .2s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1140px) {
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--ink); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav a { font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--red-hot); }
  .nav-cta-m { display: block; margin-top: 16px; background: var(--red); text-align: center; border-radius: var(--radius); border: 0 !important; font-weight: 700; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
}

/* ── 로프(링 로프 3줄) 구분선 ── */
.ropes, .hero::after {
  height: 12px;
  background:
    linear-gradient(var(--red) 0 2px, transparent 2px 5px, var(--bone) 5px 7px, transparent 7px 10px, var(--blue) 10px 12px);
}

/* ── 히어로 ── */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px); isolation: isolate; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; opacity: .9; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg span {
  position: absolute; right: -2vw; top: 50%; transform: translateY(-52%);
  font-family: var(--f-display); font-weight: 900; font-size: clamp(180px, 34vw, 480px); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px rgba(238, 240, 244, 0.07); letter-spacing: -0.02em;
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 85% 40%, rgba(217, 43, 31, 0.22), transparent 70%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.hero h1 {
  font-family: var(--f-ko-display); font-weight: 400;
  font-size: clamp(36px, 6.6vw, 84px); line-height: 1.12; letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-addr { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--text-dim); }
.hero-addr span + span::before { content: "·"; margin-right: 18px; color: var(--red-hot); }
@media (max-width: 560px) { .hero-addr { flex-direction: column; } .hero-addr span + span::before { content: none; } }
.hero-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 1px solid var(--line); min-width: 200px; }
.hero-stats li { padding: 14px 0 14px 24px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.hero-stats li:last-child { border-bottom: 0; }
.hero-stats b { font-family: var(--f-body); font-weight: 600; font-size: clamp(30px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -0.01em; color: var(--text); font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 1px solid var(--line); min-width: 0; }
  .hero-stats li { padding: 16px 12px 0 0; border-bottom: 0; }
  .hero-stats b { font-size: 26px; }
}

/* ── 티커 ── */
.ticker { background: var(--red); color: #fff; overflow: hidden; white-space: nowrap; border-block: 1px solid rgba(0,0,0,.2); }
.ticker-in {
  display: flex; width: max-content;
  will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  animation: tick 40s linear infinite;
}
.ticker-in.js-marquee { animation: none; }
@media (max-width: 760px) { .ticker-in { animation-duration: 24s; } .ticker span { font-size: 19px; padding: 9px 18px; } }
.ticker span { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: 0.08em; padding: 10px 22px; }
.ticker span::after { content: "✕"; font-size: 12px; margin-left: 44px; opacity: .6; vertical-align: middle; }
@keyframes tick { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ── 섹션 ── */
.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec-dark { background: var(--ink-2); }
.sec-light { background: var(--canvas); color: var(--text-dark); }
.sec-light .eyebrow { color: var(--red); }
.sec-light .note { color: var(--text-dark-dim); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); flex-wrap: wrap; }
.sec-title { font-family: var(--f-ko-display); font-weight: 400; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.18; }
.more { font-weight: 700; font-size: 15px; text-decoration: none; display: inline-flex; gap: 6px; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.more:hover { color: var(--red-hot); }

/* 페이지 상단 */
.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); position: relative; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 12px; background: linear-gradient(var(--red) 0 2px, transparent 2px 5px, var(--bone) 5px 7px, transparent 7px 10px, var(--blue) 10px 12px); opacity: .9; }
.page-hero h1 { font-family: var(--f-ko-display); font-weight: 400; font-size: clamp(44px, 7vw, 88px); margin-bottom: 16px; }
.page-hero .lead a { color: var(--text); }

/* ── 프로그램 ── */
.prog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.prog-card { background: var(--ink); padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 12px; transition: background .2s; scroll-margin-top: calc(var(--header-h) + 16px); }
.sec-dark .prog-card { background: var(--ink-2); }
.prog-card:hover { background: var(--ink-3); }
.prog-top { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-display); font-weight: 700; letter-spacing: 0.12em; font-size: 13px; color: var(--text-dim); }
.prog-no { color: var(--red-hot); font-size: 15px; }
.prog-card h3 { font-size: 23px; font-weight: 700; }
.prog-card > p:not(.prog-meta) { color: var(--text-dim); font-size: 15px; }
.prog-meta { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; font-weight: 500; color: var(--text); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.ticks li { padding-left: 20px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--red); }
@media (max-width: 960px) { .prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .prog-grid { grid-template-columns: 1fr; } }

/* 시간표 */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.schedule { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; text-align: center; }
.schedule th, .schedule td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.schedule thead th { font-family: var(--f-body); font-weight: 600; letter-spacing: 0.02em; font-size: 15px; background: var(--ink-3); }
.schedule tbody th { font-family: var(--f-body); font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--text); width: 92px; }
.schedule tr:last-child th, .schedule tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; background: rgba(238,240,244,.08); }
.tag-그룹 { background: rgba(217, 43, 31, .18); color: #ff8b82; }
.tag-키즈, .tag-청소년 { background: rgba(58, 99, 216, .22); color: #9fb6ff; }
.tag-여성 { background: rgba(238, 240, 244, .12); color: var(--text); }
.tag-스파링 { background: var(--red); color: #fff; }
.tag-다이어트 { background: rgba(240, 180, 60, .16); color: #f4c86c; }
.dash { color: var(--text-dim); opacity: .5; }

/* ── 코치 ── */
.coach { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.coach-photo { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); overflow: hidden; }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; }
.coach h3 { font-family: var(--f-ko-display); font-weight: 400; font-size: clamp(34px, 4vw, 52px); margin-bottom: 16px; }
.coach-body > p:not(.eyebrow) { color: var(--text-dim); font-size: 17px; max-width: 52ch; }
.career { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.career li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; gap: 14px; }
.career li::before { content: "■"; color: var(--red); font-size: 9px; line-height: 2.7; }
.coach-list { display: grid; gap: clamp(56px, 7vw, 88px); }
.coach-list .coach:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.coach-list .coach:nth-child(even) .coach-photo { order: 2; }
@media (max-width: 760px) {
  .coach, .coach-list .coach:nth-child(even) { grid-template-columns: 1fr; }
  .coach-list .coach:nth-child(even) .coach-photo { order: 0; }
  .coach-photo { aspect-ratio: 4 / 3; }
}

/* ── 사진 자리표시 ── */
.ph {
  width: 100%; height: 100%; min-height: 200px; display: grid; place-items: center; position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(238,240,244,.035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--ink-3), var(--ink-2));
  color: var(--text-dim); font-size: 13px; letter-spacing: .04em;
}
.ph span { border: 1px dashed rgba(238,240,244,.25); padding: 6px 12px; border-radius: 99px; background: rgba(15,20,32,.6); }

/* ── 시설 ── */
.fac-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
/* 사진 7장: 큰 사진 1장(3칸×2줄) + 오른쪽 2장 + 아래 4장 */
.fac-n7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fac-n7 .fac-wide { grid-column: span 3; grid-row: span 2; }
.fac { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--ink-2); }
.fac-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.fac img, .fac .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.fac figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(10, 13, 22, .92)); display: flex; flex-direction: column; gap: 2px;
}
.fac figcaption b { font-size: 17px; }
.fac figcaption span { font-size: 13px; color: var(--text-dim); }
@media (max-width: 1000px) {
  .fac-n7 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fac-n7 .fac-wide { grid-column: span 3; grid-row: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .fac-grid, .fac-n7 { grid-template-columns: 1fr 1fr; }
  .fac-wide, .fac-n7 .fac-wide { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 480px) {
  .fac-grid, .fac-n7 { grid-template-columns: 1fr; }
  .fac-wide, .fac-n7 .fac-wide { grid-column: auto; }
}

/* ── 가격 ── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative; background: var(--bone); color: var(--text-dark);
  border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.plan h3 { font-family: var(--f-ko-display); font-weight: 400; font-size: 28px; }
.plan-desc { color: var(--text-dark-dim); font-size: 15px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; padding-block: 12px 16px; border-bottom: 1px solid var(--line-dark); margin-bottom: 4px; }
.plan-price b { font-family: var(--f-body); font-weight: 700; font-size: clamp(30px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 14px; color: var(--text-dark-dim); }
.plan-hi { background: var(--ink); color: var(--text); border-color: var(--ink); box-shadow: 0 18px 40px -20px rgba(15, 20, 32, .6); }
.plan-hi .plan-desc, .plan-hi .plan-price span { color: var(--text-dim); }
.plan-hi .plan-price { border-color: var(--line); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.price-list h3 { font-size: 20px; font-weight: 700; padding-bottom: 14px; border-bottom: 2px solid var(--text); }
.price-list dl { margin: 0; }
.price-list dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-list dt { font-weight: 500; }
.price-list dd { margin: 0; text-align: right; display: flex; flex-direction: column; }
.price-list dd b { font-family: var(--f-display); font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; }
.price-list dd small { color: var(--text-dim); font-size: 13px; }

/* ── 소식 카드 ── */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }
.post-card a { text-decoration: none; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.post-thumb { aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); margin-bottom: 6px; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card a:hover .post-thumb img { transform: scale(1.03); }
.thumb-type {
  width: 100%; height: 100%; padding: 20px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    linear-gradient(transparent 0 calc(100% - 12px), var(--red) calc(100% - 12px) calc(100% - 10px), transparent calc(100% - 10px) calc(100% - 7px), var(--bone) calc(100% - 7px) calc(100% - 5px), transparent calc(100% - 5px) calc(100% - 2px), var(--blue) calc(100% - 2px)),
    radial-gradient(80% 90% at 100% 0%, rgba(217,43,31,.35), transparent 70%),
    var(--ink-3);
  transition: background-color .3s;
}
.thumb-type span { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: rgba(238,240,244,.1); }
.thumb-type b { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 3.4vw, 42px); line-height: .9; color: rgba(238,240,244,.16); }
.post-card a:hover .thumb-type { background-color: #2a3550; }
.post-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--text-dim); }
.cat { color: var(--red-hot); font-weight: 700; }
.post-card h3 { font-size: 19px; font-weight: 700; line-height: 1.45; transition: color .15s; }
.post-card a:hover h3 { color: var(--red-hot); }
.post-card p { font-size: 14px; color: var(--text-dim); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pager a { font-weight: 700; text-decoration: none; }
.empty { color: var(--text-dim); }

/* ── 게시물 본문 ── */
.post-head { padding-block: clamp(40px, 6vw, 72px) 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-dim); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.post-head h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.post-info { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 20px; font-size: 14px; color: var(--text-dim); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post-cover { margin-bottom: 40px; }
.post-cover img { width: 100%; border-radius: var(--radius); }
.prose { font-size: 17.5px; line-height: 1.85; color: #d9dde6; padding-bottom: 48px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 25px; font-weight: 700; color: var(--text); margin-top: 2em; padding-left: 14px; border-left: 4px solid var(--red); line-height: 1.35; }
.prose h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-top: 1.6em; }
.prose a { color: #ff8b82; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--red-hot); }
.prose blockquote { margin-inline: 0; padding: 16px 20px; background: var(--ink-2); border-radius: var(--radius); border-left: 3px solid var(--blue); color: var(--text); }
.prose img { border-radius: var(--radius); margin-inline: auto; margin-block: 1.6em; }
.prose figure img { margin-block: 0; }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: 14px; color: var(--text-dim); text-align: center; margin-top: 8px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius); }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(56px, 8vw, 96px); }
.post-cta > div { display: flex; flex-direction: column; gap: 4px; }
.post-cta { padding-block: 24px; border-block: 1px solid var(--line); }
.post-cta span { font-size: 14px; color: var(--text-dim); }

/* ── 오시는 길 ── */
.loc-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) {
  /* 모바일에서는 지도를 먼저 보여줍니다 */
  .loc-wrap { grid-template-columns: 1fr; }
  .loc-wrap > :first-child { order: 2; }
  .loc-wrap > :last-child { order: 1; }
}
.loc-info { margin: 0 0 20px; display: grid; }
.loc-info > div { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.loc-info dt { font-weight: 700; color: var(--text-dim); font-size: 14px; padding-top: 2px; }
.loc-info dd { margin: 0; }
.loc-info a { text-decoration: none; font-weight: 700; }
.hours-row { display: block; font-variant-numeric: tabular-nums; }
.hours-row b { display: inline-block; min-width: 7em; font-weight: 500; color: var(--text-dim); }
.map { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); }
.map-open { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 12px; text-decoration: none; background: transparent; transition: background .2s; }
.map-open span { background: var(--ink); color: var(--text); font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 99px; box-shadow: 0 6px 18px -6px rgba(0,0,0,.55); display: inline-flex; align-items: center; gap: 6px; }
.map-open span::after { content: "↗"; font-size: 12px; }
.map-open:hover { background: rgba(15,20,32,.2); }
.map-open:hover span { background: var(--red); color: #fff; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ── FAQ ── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--red-hot); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--text-dim); }

/* ── CTA 띠 ── */
.cta-band { background: var(--red); color: #fff; padding-block: clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.cta-band::before { content: "3:00"; position: absolute; right: -1vw; bottom: -0.2em; font-family: var(--f-display); font-weight: 900; font-size: clamp(140px, 22vw, 300px); line-height: 1; color: rgba(0,0,0,.1); pointer-events: none; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; }
.cta-band .eyebrow { color: #fff; opacity: .85; }
.cta-title { font-family: var(--f-ko-display); font-weight: 400; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.2; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-accent { background: var(--ink); }
.cta-band .btn-accent:hover { background: #000; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.5); background: transparent; color: #fff; }
.cta-band .btn-ghost:hover { border-color: #fff; }

/* ── 푸터 ── */
.site-footer { background: #0a0e17; padding-block: 56px 32px; font-size: 14px; color: var(--text-dim); }
.footer-in { display: grid; grid-template-columns: 1.2fr 2fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 12px; }
.footer-info { margin: 0; display: grid; gap: 10px; }
.footer-info > div { display: grid; grid-template-columns: 44px 1fr; gap: 8px; }
.footer-info dt { color: var(--text); font-weight: 700; }
.footer-info dd { margin: 0; }
.footer-info a { text-decoration: none; }
.footer-nav, .footer-sns { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a, .footer-sns a { text-decoration: none; }
.footer-nav a:hover, .footer-sns a:hover { color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 900px) { .footer-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-in { grid-template-columns: 1fr; } }

/* ── 모바일 하단 고정 버튼 ── */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(10, 14, 23, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bar a {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 9px 4px 10px; text-decoration: none; color: var(--text-dim); font-size: 11.5px; font-weight: 600;
  border-left: 1px solid var(--line);
}
.mobile-bar a:first-child { border-left: 0; }
.mobile-bar a[data-k="phone"] { background: var(--red); color: #fff; }
.mobile-bar a[data-k="phone"]:active { background: var(--red-hot); }
.mobile-bar a[data-k="blog"] { background: var(--naver-green); color: #04291a; }
.mobile-bar a[data-k="blog"]:active { background: #02b351; }
.mobile-bar a:active { background: rgba(238,240,244,.07); }
.mobile-bar svg { width: 21px; height: 21px; color: currentColor; }
.mobile-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 900px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
}

/* ── 사진 크게 보기 ── */
.fac img.zoomable { cursor: zoom-in; }
body.lb-open { overflow: hidden; }
.lightbox[hidden] { display: none !important; }
.lightbox {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: max(16px, env(safe-area-inset-top, 0px)) 12px calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(8, 11, 18, .94);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: lb-in .2s ease-out;
}
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-fig { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; border-radius: var(--radius); box-shadow: 0 30px 70px -30px #000; }
.lb-fig figcaption { color: var(--text-dim); font-size: 14px; text-align: center; }
.lb-fig figcaption:empty { display: none; }
.lb-btn {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(23, 30, 45, .9); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.lb-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.lb-close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; font-size: 20px; width: 44px; height: 44px; }
@media (max-width: 700px) {
  .lb-prev, .lb-next { position: absolute; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
  .lb-fig img { max-height: calc(100vh - 190px); }
}

/* ── 첫 화면 버튼 4개 ── */
.hero-actions .btn { flex: 0 1 auto; }
@media (max-width: 560px) {
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .btn { width: 100%; padding: 14px 10px; font-size: 15px; }
}

/* ── 러쉬클랜 추가 (복구) ── */
.nav-cta-m2 { background: transparent !important; border: 2px solid var(--line) !important; margin-top: 8px !important; }
.prog-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .prog-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .prog-n4 { grid-template-columns: 1fr; } }
.sec-lead { margin-top: 14px; font-size: 16px; }
.aud-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.aud { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.aud-en { font-family: var(--f-display); font-weight: 700; letter-spacing: .14em; font-size: 13px; color: var(--red-hot); }
.aud h3 { font-size: 20px; font-weight: 700; }
.aud p:last-child { color: var(--text-dim); font-size: 15px; }
@media (max-width: 900px) { .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .aud-grid { grid-template-columns: 1fr; } .aud { padding-right: 0; } }
.schedule td.off { background: rgba(238,240,244,.04); color: var(--text-dim); font-weight: 600; letter-spacing: .04em; border-left: 1px solid var(--line); }
.tag-오전부 { background: rgba(58, 99, 216, .22); color: #9fb6ff; }
.tag-오후부 { background: rgba(217, 43, 31, .18); color: #ff8b82; }
.plan h3 { margin-bottom: 4px; }
.plan-long { margin: 4px 0 0; display: grid; }
.plan-long > div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line-dark); font-variant-numeric: tabular-nums; font-size: 15px; }
.plan-long > div:last-child { border-bottom: 0; }
.plan-long dt { color: var(--text-dark-dim); }
.plan-long dd { margin: 0; font-weight: 600; }
.price-scroll { border-color: var(--line-dark); background: var(--bone); }
.price-table { width: 100%; min-width: 580px; border-collapse: collapse; color: var(--text-dark); font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 18px 14px; text-align: center; border-bottom: 1px solid var(--line-dark); white-space: nowrap; }
.price-table thead th { font-family: var(--f-body); font-size: 14px; letter-spacing: .02em; color: var(--red); font-weight: 600; background: var(--canvas-2); }
.price-table tbody th { font-family: var(--f-body); font-weight: 700; font-size: 17px; text-align: left; letter-spacing: -0.01em; }
.price-table td { font-family: var(--f-body); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.post-cta-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.fac .ph span { font-size: 12px; }

/* ── 언어 전환 (복구) ── */
.lang { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 99px; padding: 3px; flex-shrink: 0; }
.lang span, .lang a { font-size: 12.5px; font-weight: 600; line-height: 1; padding: 7px 11px; border-radius: 99px; text-decoration: none; white-space: nowrap; }
.lang .lang-now { background: var(--text); color: var(--ink); }
.lang .lang-alt { color: var(--text-dim); }
.lang .lang-alt:hover { color: var(--text); }
.note-lang { margin-top: 0; margin-bottom: 24px; }
@media (max-width: 1140px) {
  .nav { margin-right: 0; }
  .nav a { white-space: normal; }
  .lang { margin-left: auto; }
  .nav-toggle { margin-left: 2px; flex-shrink: 0; }
  .header-in { flex-wrap: nowrap; }
}
@media (max-width: 520px) {
  .logo-text small { display: none; }
  .logo-text b { font-size: 17px; letter-spacing: 0; }
  .logo { gap: 8px; }
  .logo-mark { width: 30px; height: 30px; }
  .header-in { gap: 8px; }
  .lang { padding: 2px; }
  .lang span, .lang a { padding: 6px 8px; font-size: 11.5px; }
  .nav-toggle { width: 40px; }
}

/* ── 스크롤 등장 효과 (복구) ── */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .8s cubic-bezier(.22,.72,.24,1), transform .8s cubic-bezier(.22,.72,.24,1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
html.js-reveal [data-reveal="zoom"] { transform: scale(.955) translate3d(0, 18px, 0); }
@media (max-width: 760px) {
  html.js-reveal [data-reveal] { transform: translate3d(0, 44px, 0); transition-duration: .7s; }
  html.js-reveal [data-reveal="zoom"] { transform: scale(.93) translate3d(0, 30px, 0); }
}
html.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
