:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --ink: #161616;
  --ink-2: #555;
  --ink-3: #8a8a8a;
  --line: #e6e6e3;
  --accent: #d6412b;
  --accent-ink: #b8321f;
  --nav-h: 72px;
  --max: 1100px;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.75; word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- header (검정 메뉴바) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #111111; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { height: 44px; width: auto; }
.brand span { font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: #fff; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; font-size: 15px; font-weight: 600; color: #ffffff; border-radius: 6px; }
.nav a:hover { background: rgba(255,255,255,.12); }
.nav a.active { color: #fff; background: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; width: 42px; height: 42px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: var(--nav-h); background: #111; border-bottom: 1px solid rgba(255,255,255,.1); flex-direction: column; padding: 8px 12px 14px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 16px; }
}

/* ---------- page head ---------- */
.page-head { padding: 64px 0 28px; text-align: center; }
.page-head h1 { margin: 0 0 8px; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.page-head p { margin: 0; color: var(--ink-3); }
.page-head:after { content: ""; display: block; width: 44px; height: 3px; background: var(--accent); margin: 18px auto 0; }

section.block { padding: 40px 0 72px; }

/* ---------- hero (home) ---------- */
.hero { position: relative; height: calc(100vh - var(--nav-h)); min-height: 520px; overflow: hidden; background: #000; color: #fff; }
.hero .video { position: absolute; inset: 0; pointer-events: none; }
.hero .video iframe {
  position: absolute; top: 50%; left: 50%; width: 177.78vh; height: 100vh; min-width: 100%; min-height: 56.25vw;
  transform: translate(-50%, -50%); border: 0;
}
.hero .video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55)); }
.hero .inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px; }
.hero h1 { margin: 0; font-size: clamp(28px, 4.6vw, 54px); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; white-space: pre-line; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero p { margin: 14px 0 0; font-size: 18px; color: rgba(255,255,255,.85); letter-spacing: .12em; }
.hero .cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 2px solid transparent; transition: .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.home-intro { padding: 72px 0; text-align: center; }
.home-intro h2 { font-size: 26px; margin: 0 0 12px; font-weight: 800; }
.home-intro p { color: var(--ink-2); max-width: 640px; margin: 0 auto; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.quick a { display: block; padding: 26px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .15s; }
.quick a:hover { border-color: var(--ink); transform: translateY(-2px); }
.quick strong { display: block; font-size: 17px; margin-bottom: 4px; }
.quick small { color: var(--ink-3); }
@media (max-width: 760px) { .quick { grid-template-columns: repeat(2, 1fr); } }
.home-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.home-strip img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 640px) { .home-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- about slider ---------- */
.slider { position: relative; overflow: hidden; border-radius: var(--radius); background: #111; aspect-ratio: 16/9; max-height: 640px; }
.slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.slider .slide.on { opacity: 1; }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.slider .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #111; font-size: 22px; z-index: 3; }
.slider .arrow.prev { left: 14px; } .slider .arrow.next { right: 14px; }
.slider .dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.slider .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.slider .dots i.on { background: #fff; }
.about-text { text-align: center; margin-top: 36px; }
.about-text h2 { font-size: 26px; margin: 0 0 12px; font-weight: 800; }
.about-text p { margin: 4px 0; color: var(--ink-2); font-size: 17px; }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.spec div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.spec strong { display: block; font-size: 26px; font-weight: 800; }
.spec small { color: var(--ink-3); }
@media (max-width: 640px) { .spec { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: #eee; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; } }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: none; z-index: 100; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 34px; opacity: .8; }
.lightbox .x { top: 14px; right: 20px; }
.lightbox .p { left: 14px; top: 50%; } .lightbox .n { right: 14px; top: 50%; }

/* ---------- rental (플렉스라운지 스타일 카드형) ---------- */
.rental-hero { position: relative; min-height: 270px; background: #1a1919 center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.rental-hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,10,10,.55), rgba(20,10,10,.75)); }
.rental-hero .inner { position: relative; padding: 60px 20px; }
.rental-hero small { display: block; color: var(--accent); font-weight: 700; letter-spacing: .28em; font-size: 13px; margin-bottom: 10px; }
.rental-hero h1 { margin: 0; font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -.02em; }
.rental-wrap { background: #f5f4f2; padding: 36px 0 72px; }
.rental-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.rental-nav a { font-size: 13px; padding: 6px 12px; border: 1px solid #ddd; border-radius: 999px; color: var(--ink-2); background: #fff; }
.rental-nav a:hover { border-color: var(--ink); color: var(--ink); }
.rcard { background: #fff; border: 1px solid #e9e8e5; border-radius: 14px; padding: 26px 28px 28px; margin-bottom: 18px; scroll-margin-top: 90px; }
.rcard h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-size: 21px; font-weight: 800; }
.rcard h2 b { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 800; }
.rental-wrap p { margin: 4px 0; }
.rental-wrap .subh { margin: 18px 0 8px; font-size: 16px; font-weight: 700; color: var(--accent-ink); }
.rental-wrap .subgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 8px; }
.rental-wrap .subgrid.kv { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.rental-wrap .sub.wide { grid-column: 1 / -1; }
.rental-wrap .divider { grid-column: 1 / -1; margin: 10px 0 -4px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.rental-wrap .subgrid.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rental-wrap .sub { background: #faf9f7; border: 1px solid #ebe9e5; border-radius: 10px; padding: 16px 16px 14px; }
.rental-wrap .sub h4 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.rental-wrap .sub p { font-size: 14.5px; margin: 2px 0; }
.rental-wrap .subgrid.stat .sub p { font-size: 22px; font-weight: 800; margin-top: 6px; }
.rental-wrap .rows { display: flex; flex-direction: column; }
.rental-wrap .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid #ecebe8; font-size: 14.5px; }
.rental-wrap .row:last-child { border-bottom: 0; }
.rental-wrap .row.full { display: block; }
.rental-wrap .row .lbl { color: var(--ink-2); }
.rental-wrap .row .lbl small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 1px; }
.rental-wrap .row .lbl { flex: 1; }
.rental-wrap .row .val { font-weight: 700; text-align: right; flex-shrink: 0; }
.rental-wrap .row .val small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12.5px; }
.rental-wrap .row .val.plain { font-weight: 500; white-space: normal; }
.rental-wrap .rcard > .rbody > .rows { border: 1px solid #ebe9e5; border-radius: 10px; padding: 4px 16px; background: #faf9f7; margin-top: 4px; }
.rental-wrap .callout { margin-top: 16px; background: #fdf2f0; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; padding: 12px 16px; font-size: 14px; color: #5a3a35; }
.rental-wrap .callout p { margin: 2px 0; }
.rental-wrap .rbody a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.rental-wrap .fig { margin: 8px 0 0; background: #faf9f7; border: 1px solid #ebe9e5; border-radius: 10px; padding: 16px; }
.rental-wrap .fig img { max-width: 720px; margin: 0 auto; border-radius: 6px; }
.rental-wrap .flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.rental-wrap .flow span { display: inline-flex; align-items: center; gap: 8px; background: #faf9f7; border: 1px solid #ebe9e5; border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14px; font-weight: 600; }
.rental-wrap .flow span i { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-style: normal; }
@media (max-width: 640px) {
  .rcard { padding: 20px 16px; border-radius: 10px; }
  .rental-wrap .row { flex-wrap: wrap; }
}

/* ---------- cuesheet ---------- */
.cuesheet { text-align: center; }
.cuesheet .logo-link { display: inline-block; max-width: 720px; margin: 0 auto 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .15s; }
.cuesheet .logo-link:hover { box-shadow: 0 8px 30px rgba(0,0,0,.12); transform: translateY(-2px); }
.cuesheet p { white-space: pre-line; font-size: 17px; color: var(--ink-2); }
.cuesheet .btn { margin-top: 18px; }

/* ---------- directions ---------- */
.dir { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.dir .map { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.dir .map iframe { width: 100%; height: 100%; border: 0; }
.dir dl { margin: 0; }
.dir dt { font-size: 13px; color: var(--ink-3); margin-top: 18px; letter-spacing: .06em; }
.dir dd { margin: 2px 0 0; font-size: 17px; }
.dir dd a { color: var(--accent-ink); }
@media (max-width: 760px) { .dir { grid-template-columns: 1fr; } }

/* ---------- board ---------- */
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.board-top form { display: flex; gap: 6px; }
.board-top input { padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.board { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.board th, .board td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.board th { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.board td.num, .board th.num { width: 60px; color: var(--ink-3); text-align: center; }
.board td.who, .board th.who { width: 110px; }
.board td.when, .board th.when { width: 110px; color: var(--ink-3); }
.board td.title a { display: flex; gap: 8px; align-items: center; }
.board td.title a:hover { text-decoration: underline; }
.board .lock { font-size: 12px; color: var(--ink-3); }
.board .badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; }
.board .badge.wait { background: var(--bg-soft); color: var(--ink-3); border: 1px solid var(--line); }
.board .empty { text-align: center; color: var(--ink-3); padding: 40px 0; }
@media (max-width: 640px) { .board th.who, .board td.who, .board th.num, .board td.num { display: none; } }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.pager button { padding: 6px 12px; border: 1px solid var(--line); background: #fff; border-radius: 6px; }
.pager button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.form { max-width: 720px; margin: 0 auto; }
.form .row { margin-bottom: 16px; }
.form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.form label small { color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=password], .form input[type=date], .form textarea, .form select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: #fff;
}
.form textarea { min-height: 200px; resize: vertical; }
.form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }
@media (max-width: 560px) { .form .grid2 { grid-template-columns: 1fr; } }

.post { max-width: 820px; margin: 0 auto; }
.post .head { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 18px 6px; }
.post .head h2 { margin: 0 0 6px; font-size: 22px; }
.post .head .meta { color: var(--ink-3); font-size: 14px; display: flex; gap: 14px; }
.post .body { padding: 26px 6px; white-space: pre-wrap; min-height: 120px; }
.post .reply { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; margin: 8px 6px 20px; white-space: pre-wrap; }
.post .reply b { display: block; color: var(--accent-ink); margin-bottom: 6px; font-size: 14px; }
.post .actions { display: flex; gap: 8px; justify-content: space-between; padding: 0 6px; }

.notice-box { background: var(--bg-soft); border-radius: var(--radius); padding: 16px 20px; font-size: 14px; color: var(--ink-2); margin-bottom: 24px; }
.notice-box b { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--ink-3); font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer b { color: var(--ink); font-weight: 700; }
.site-footer .links a { margin-left: 14px; }
.site-footer .links a:hover { color: var(--ink); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); background: #111; color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; transition: .2s; z-index: 200; pointer-events: none; }
.toast.on { opacity: 1; }
