/* 수상한 거리 2호점 — styles.css */
:root {
  --black: #000;
  --ink: #111;
  --text: #222;
  --text-2: #555;
  --text-3: #888;
  --line: #e5e5e5;
  --bg: #fff;
  --bg-soft: #f6f6f6;
  --accent: #111;
  --font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --header-h: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
main :focus-visible { outline-color: var(--ink); }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── 상단 바 ── */
.site-header { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); padding-block: 14px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 34px; font-size: 16px; font-weight: 700; }
.nav a { position: relative; padding: 6px 0; color: #fff; opacity: .92; transition: opacity .15s; }
.nav a:hover { opacity: 1; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff; transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; flex-direction: column; justify-content: center; gap: 6px; }
.menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── 첫 화면 ── */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; background: #000 center/cover no-repeat; color: #fff; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.7)); z-index: -1; }
.hero-inner { padding-block: 90px; max-width: 760px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; line-height: 1.3; letter-spacing: -.01em; white-space: pre-line; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero .hero-sub { margin-top: 44px; font-size: clamp(14px, 1.3vw, 16px); font-weight: 700; line-height: 1.85; white-space: pre-line; }
.hero .hero-tag { font-weight: 900; margin-bottom: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 24px; border-radius: 2px; border: 1px solid transparent; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #e9e9e9; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.btn-outline:hover { background: #fff; color: #000; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-dark:disabled { opacity: .5; cursor: wait; }
.btn-ghost { background: #fff; border-color: #cfcfcf; color: var(--ink); }
.btn-ghost:hover { border-color: #000; }

/* ── 페이지 공통 ── */
.page { padding-block: 64px 96px; }
.page-title { font-size: clamp(26px, 3vw, 34px); font-weight: 900; letter-spacing: -.01em; margin-bottom: 36px; }
.page-title small { display: block; font-size: 13px; font-weight: 500; color: var(--text-3); letter-spacing: .2em; margin-bottom: 8px; }

/* 대관 안내: 왼쪽 큰 제목 / 오른쪽 내용 */
.info-list { display: grid; gap: 0; }
.info-row { display: grid; grid-template-columns: 300px 1fr; gap: 24px 48px; padding-block: 44px; border-top: 1px solid var(--line); }
.info-row:last-child { border-bottom: 1px solid var(--line); }
.info-row h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; line-height: 1.35; color: var(--ink); }
.info-row .body { font-size: 17px; font-weight: 700; line-height: 1.9; white-space: pre-line; color: var(--text); }
.info-row .body a { text-decoration: underline; text-underline-offset: 3px; }
.info-figure { margin-top: 20px; }
.info-figure img { border: 1px solid var(--line); }

/* 대관 안내 (카드형) */
.page-rental { padding-top: 0; background: #f4f4f4; }
.page-hero { position: relative; color: #fff; text-align: center; padding: 96px 20px; background: #111 center/cover no-repeat; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); z-index: -1; }
.page-hero .kicker { letter-spacing: .3em; font-size: 13px; font-weight: 700; color: #d0d0d0; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: -.01em; }
.quick-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.quick-nav .wrap { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 12px; }
.quick-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 8px; border: 1px solid #d5d5d5; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: #fff; transition: background .15s, color .15s, border-color .15s; }
.quick-nav a .no { width: 22px; height: 22px; border-radius: 50%; background: #000; color: #fff; font-size: 12px; display: inline-grid; place-items: center; }
.quick-nav a:hover { background: #000; color: #fff; border-color: #000; }
.quick-nav a:hover .no { background: #fff; color: #000; }
.rental-block { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 30px 34px; margin-bottom: 20px; scroll-margin-top: calc(var(--header-h) + 70px); }
.rental-block > h2 { font-size: 22px; font-weight: 900; margin: 0 0 20px; padding-bottom: 14px; border-bottom: 2px solid #000; display: flex; align-items: center; gap: 12px; }
.rental-block > h2.center { justify-content: center; border: 0; font-size: 24px; }
.rental-block > h2 .no { color: #fff; background: #000; min-width: 38px; height: 38px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.rb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.rb-grid + .rb-grid, .rb-grid + .plain, .plain + .rb-grid, .note + .rb-grid, .rb-grid + .note { margin-top: 16px; }
.price-card { background: #f8f8f8; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.price-card.hot { border-color: #000; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.price-card h4 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.price-card .tag { font-size: 12.5px; color: var(--text-3); margin: -2px 0 10px; }
.price-card .line { font-size: 14.5px; color: var(--text); padding: 2px 0; font-weight: 500; }
.price-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px dashed #dcdcdc; font-size: 14.5px; }
.price-row:first-of-type, .price-card h4 + .price-row, .price-card .tag + .price-row { border-top: 0; }
.price-row span { color: var(--text-2); }
.price-row b { font-weight: 800; text-align: right; }
.price-row.stack { flex-direction: column; gap: 4px; }
.price-row.stack span { font-size: 13px; }
.price-row.stack b { text-align: left; font-size: 16px; }
.note { background: #f3f3f3; border-left: 4px solid #000; padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: 14.5px; color: var(--text); margin-top: 16px; line-height: 1.8; }
.note strong { display: block; margin-bottom: 6px; font-weight: 800; }
.plain { color: var(--text); font-size: 15.5px; line-height: 1.85; font-weight: 500; }
.plain + .plain { margin-top: 12px; }
.plain a, .note a, .price-card a { text-decoration: underline; text-underline-offset: 3px; }
.steps { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.steps .s { background: #f8f8f8; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 14.5px; }
.steps .arrow { color: #000; font-weight: 900; font-size: 18px; }
.tel-big { text-align: center; padding: 6px 0; }
.tel-big a { font-size: clamp(28px, 5vw, 44px); font-weight: 900; display: block; line-height: 1.3; letter-spacing: .02em; }
.tel-big a:hover { text-decoration: underline; text-underline-offset: 6px; }
.rental-block .info-figure { margin-top: 20px; text-align: center; }
.rental-block .info-figure img { display: inline-block; max-width: 520px; width: 100%; border-radius: 10px; }
.rental-block.floorplan figure { margin: 0; background: #f8f8f8; border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; }
.rental-block.floorplan img { margin-inline: auto; max-width: 900px; width: 100%; }

/* 큐시트 */
.cuesheet { text-align: center; padding-block: 40px 20px; }
.cuesheet .logo-link { display: inline-block; background: #000; padding: 40px 60px; border-radius: 4px; transition: transform .15s; }
.cuesheet .logo-link:hover { transform: translateY(-2px); }
.cuesheet .logo-link img { height: 110px; width: auto; }
.cuesheet p { margin-top: 32px; font-size: 17px; font-weight: 700; line-height: 1.9; white-space: pre-line; }
.cuesheet .btn { margin-top: 24px; }

/* 갤러리 */
.gallery-stack { display: grid; gap: 24px; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery-stack figure { margin: 0; }
.gallery-stack img { width: 100%; cursor: zoom-in; background: var(--bg-soft); }
.gallery-stack figcaption { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; width: 48px; height: 48px; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 28px; }
.lightbox .lb-prev { left: 16px; } .lightbox .lb-next { right: 16px; }

/* 오시는 길 */
.directions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.directions .col { display: grid; gap: 34px; }
.directions h2 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.directions .body { font-size: 17px; font-weight: 700; line-height: 1.9; white-space: pre-line; }
.directions .body a:hover { text-decoration: underline; }
.map-frame { width: 100%; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* 게시판 */
.board-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.board-head .page-title { margin-bottom: 0; }
.board-head p { color: var(--text-2); font-size: 15px; margin-top: 6px; max-width: 62ch; }
.write-form { display: grid; gap: 16px; border: 1px solid #000; padding: 28px; margin-bottom: 32px; background: var(--bg-soft); }
.write-form h2 { font-size: 20px; font-weight: 900; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.field > span em { color: #d33; font-style: normal; }
.field > span small { font-weight: 400; color: var(--text-3); }
.field input, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid #cfcfcf; background: #fff; font: inherit; color: var(--text); border-radius: 2px; }
.field input:focus, .field textarea:focus { border-color: #000; outline: none; }
textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-inline { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.check-inline input { accent-color: #000; }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; gap: 10px; }
.form-status { font-size: 14px; color: #d33; min-height: 1.2em; }
.board-meta { font-size: 13.5px; color: var(--text-3); margin-bottom: 8px; }
.board-note { background: #000; color: #fff; padding: 12px 16px; font-size: 14.5px; margin-bottom: 12px; }
.board-list { border-top: 2px solid #000; }
.post { border-bottom: 1px solid var(--line); }
.post-head { width: 100%; display: grid; grid-template-columns: 56px 1fr auto 120px 100px; align-items: center; gap: 12px; padding: 16px 8px; background: none; border: 0; text-align: left; font: inherit; }
.post-head:not(:disabled):hover { background: var(--bg-soft); }
.post-head:disabled { cursor: default; color: var(--text-3); }
.post-no { color: var(--text-3); font-size: 14px; text-align: center; }
.post-title { font-weight: 700; font-size: 16px; }
.post-status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid #cfcfcf; color: var(--text-3); }
.post-status.done { border-color: #000; color: #000; }
.post-name { font-size: 14px; color: var(--text-2); text-align: center; }
.post-date { font-size: 13px; color: var(--text-3); text-align: right; }
.post-body { padding: 8px 20px 28px 76px; font-size: 15.5px; line-height: 1.8; }
.post-answer { margin-top: 18px; padding: 16px 18px; background: var(--bg-soft); border-left: 3px solid #000; }
.answer-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.board-empty { padding: 48px 16px; text-align: center; color: var(--text-3); }

/* ── 푸터 ── */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-block: 32px 40px; font-size: 12.5px; color: var(--text-2); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: start; }
.footer-left { display: grid; gap: 14px; }
.footer-left .copy { font-weight: 700; color: var(--ink); }
.sns { display: flex; gap: 14px; }
.sns a { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #cfcfcf; display: grid; place-items: center; color: var(--text-2); transition: border-color .15s, color .15s; }
.sns a:hover { border-color: #000; color: #000; }
.sns svg { width: 15px; height: 15px; }
.footer-right { text-align: right; font-weight: 700; color: var(--ink); line-height: 1.9; }
.footer-right .sep { color: #bbb; margin-inline: 8px; }
.admin-link { color: #bbb; font-weight: 400; }
.admin-link:hover { color: #000; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.footer-nav a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { height: 34px; }
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #000; flex-direction: column; gap: 0; padding: 8px 24px 20px; border-top: 1px solid #222; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #1c1c1c; font-size: 17px; }
  .nav a::after { display: none; }
  .info-row { grid-template-columns: 1fr; gap: 12px; padding-block: 32px; }
  .page-hero { padding: 64px 20px; }
  .rental-block { padding: 20px 18px 24px; border-radius: 10px; }
  .rental-block > h2 { font-size: 19px; }
  .quick-nav .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .quick-nav a { flex-shrink: 0; }
  .directions { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .post-head { grid-template-columns: 1fr auto; grid-template-areas: "title status" "meta meta"; gap: 6px 12px; }
  .post-no { display: none; }
  .post-title { grid-area: title; }
  .post-status { grid-area: status; }
  .post-name { grid-area: meta; text-align: left; font-size: 13px; }
  .post-name::after { content: ""; }
  .post-date { display: none; }
  .post-body { padding-left: 8px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-right { text-align: left; }
  .cuesheet .logo-link { padding: 28px 32px; }
  .cuesheet .logo-link img { height: 70px; }
}
@media (max-width: 480px) {
  .wrap { width: min(1200px, 100% - 32px); }
  .hero-inner { padding-block: 60px; }
}
