/* ─────────────────────────────────────────
   햇살담은 오후 — 사이트 스타일시트
   반응형은 body.is-responsive 일 때만 적용
   기본은 1200 고정폭 (모바일도 PC 뷰로 렌더)
   ───────────────────────────────────────── */

:root {
  --bg: #ffffff;
  --ink: #000;
  --ink-2: #1a1a1a;
  --ink-3: #555;
  --rule: #e8e6e0;
  --accent: #6a5a44;
  --studio: #4a3a24;
  --paper: #ffffff;
  --shadow: 0 1px 3px rgba(30,20,10,0.04);

  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-utility: "Pretendard Variable", Pretendard, "Inter", sans-serif;

  --page-max: 1200px;
  --gutter: 40px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  min-width: 1200px;
}

body.is-responsive { min-width: 0; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* ─────────────────────────────
   Splash / ENTER
   ───────────────────────────── */
.splash-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px 80px;
  text-align: center;
}
.splash-logo {
  padding: 20px 0 30px;
}
.splash-logo img { display: inline-block; max-height: 110px; }
.splash-logo .brand-fallback {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 42px;
  letter-spacing: 0.02em;
}
/* 슬라이드쇼 히어로 - index.php ENTER 화면 */
.splash-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 40px;
  text-align: center;
}
.splash-logo { margin-bottom: 40px; }
.splash-logo img { max-height: 200px; }

.splash-hero {
  display: block;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f4f2ec;
  margin: 0 auto 36px;
  max-width: 1200px;
}
.splash-hero-lg { max-width: 1200px; }

.splash-slide {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.splash-slide.active { opacity: 1; }

/* 슬라이드 인디케이터 */
.splash-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.splash-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  transition: background .3s, width .3s;
  cursor: pointer;
}
.splash-dots span.on {
  background: rgba(0,0,0,0.8);
  width: 22px;
  border-radius: 4px;
}

.splash-enter {
  display: inline-block;
  padding: 14px 40px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4em;
  margin: 12px 0 40px;
  border: 1px solid var(--ink);
  transition: all .2s;
}
.splash-enter:hover { background: var(--ink); color: #fff; }

.splash-enter {
  display: inline-block;
  letter-spacing: 0.35em;
  font-size: 15px;
  color: var(--ink);
  padding: 14px 20px;
  border: 0;
  margin-bottom: 40px;
  position: relative;
}
.splash-enter::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 6px;
  width: 30px; height: 1px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: width .4s ease;
}
.splash-enter:hover::after { width: 60px; }

.splash-foot {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  line-height: 2;
}
.splash-foot a { color: var(--ink-2); }
.foot-copy { display: block; margin-top: 6px; color: var(--ink-3); }

/* ─────────────────────────────
   Header / Nav
   ───────────────────────────── */
.site-header {
  padding: 20px 0 16px;
  background: #fff;
  border-bottom: 1px solid #f0eee7;
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 100px;
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1;
  z-index: 2;
}
.brand img { max-height: 100px; display: block; margin: 0 auto; }
.brand-fallback {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 34px;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* 좌우 네비 · 로고 겹침 방지 padding 확보 · 아이템 nowrap */
.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  min-height: 100px;
  flex: 0 1 auto;
  max-width: calc(50% - 100px);
}
.nav-left  { justify-content: flex-start; padding-right: 20px; }
.nav-right { justify-content: flex-end;   padding-left: 20px; }

.nav-item { position: relative; display: flex; align-items: center; height: 60px; }

/* 개별 아이템 절대 줄바꿈 안 됨 · 한글에 맞게 letter-spacing 감소 */
.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--ink);
  height: 60px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* STUDIO 만 세리프 이탤릭 · 나머지 메뉴와 같은 높이 · 같은 vertical align */
.nav-link.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--studio);
  height: 60px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin: 0;
  border-bottom: none;
  position: relative;
  line-height: 1;
}
.nav-link.accent::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 16px;
  height: 1.5px;
  background: var(--studio);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}
.nav-link.accent:hover { color: var(--studio); }
.nav-link.accent:hover::before { transform: scaleX(1); transform-origin: left; }

.nav-sub {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 10px 0;
  min-width: 180px;
  display: none;
  z-index: 10;
  box-shadow: var(--shadow);
}
/* 호버 사이 공백 · 마우스 이탈 방지 */
.nav-item.has-sub::after {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 12px;
}
.nav-item.has-sub:hover .nav-sub,
.nav-item.has-sub:focus-within .nav-sub { display: block; }
.nav-caret {
  display: inline-block;
  margin-left: 4px;
  font-size: 9px;
  vertical-align: middle;
  transition: transform .2s;
  color: var(--ink-3);
}
.nav-item.has-sub:hover .nav-caret { transform: rotate(180deg); }
.nav-sub-link {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.03em;
  white-space: nowrap;
  font-weight: 500;
}
.nav-sub-link:hover { background: #f6f4ee; color: var(--ink); }

/* ─── 햄버거 버튼 · 데스크탑은 숨김 ─── */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 30;
}
.hamburger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--ink);
  transition: all .3s;
}
.hamburger span:nth-child(1) { top: 12px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger.active span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ─── 모바일 슬라이드 메뉴 (반응형에서만) ─── */
.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 40;
  opacity: 0;
  transition: opacity .3s;
}
.mobile-nav-overlay.show { display: block; opacity: 1; }
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 88%; max-width: 340px;
  height: 100vh;
  background: #fff;
  z-index: 50;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
  overflow-y: auto;
  box-shadow: -2px 0 16px rgba(0,0,0,0.12);
}
.mobile-nav.open { transform: translateX(0); }
.mnv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--rule);
}
.mnv-brand { font-size: 16px; font-weight: 700; color: var(--ink); }
.mnv-close {
  width: 40px; height: 40px;
  border: 0; background: transparent;
  font-size: 32px; line-height: 1; color: var(--ink);
  cursor: pointer; padding: 0;
}
.mnv-list { padding: 8px 0; }
.mnv-link, .mnv-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  border-bottom: 1px solid #f0eee7;
}
.mnv-link:hover, .mnv-toggle:hover { background: #fafaf5; }
.mnv-link.accent {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--studio, #000);
  letter-spacing: 0.02em;
}
.mnv-group .mnv-sub {
  display: none;
  background: #fafaf5;
  border-bottom: 1px solid #f0eee7;
}
.mnv-group.open .mnv-sub { display: block; }
.mnv-group.open .mnv-caret { transform: rotate(45deg); }
.mnv-caret {
  font-size: 18px;
  font-weight: 300;
  color: var(--ink-3);
  transition: transform .25s;
}
.mnv-sub-link {
  display: block;
  padding: 14px 24px 14px 40px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 400;
  border-bottom: 1px solid #ede9e1;
}
.mnv-sub-link:hover { background: #f4efe6; color: var(--ink); }
.mnv-sub-link:last-child { border-bottom: 0; }
.mnv-parent-link { color: var(--ink-3); font-size: 13px; }

/* ─────────────────────────────
   Main / Page shell
   ───────────────────────────── */
.site-main {
  min-height: 60vh;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 40px var(--gutter) 100px;
}

/* ─── 팝업 ─── */
/* ─── 팝업 · 레이어 방식 · 흰 배경/테두리 없이 컨텐츠만 표시 ─── */
.hs-popup-container {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}
.hs-popup {
  position: absolute;
  pointer-events: auto;
  background: transparent;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  width: 92%;
  overflow: hidden;
}
.hs-popup-center       { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hs-popup-top-left     { top: 40px;    left: 40px; }
.hs-popup-top-right    { top: 40px;    right: 40px; }
.hs-popup-bottom-left  { bottom: 40px; left: 40px; }
.hs-popup-bottom-right { bottom: 40px; right: 40px; }

.hs-popup-body {
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
  max-height: 80vh;
  overflow-y: auto;
  background: transparent;
}
.hs-popup-body img,
.hs-popup-body video,
.hs-popup-body iframe {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0;
  vertical-align: bottom;
}
.hs-popup-body img[style] { max-width: 100% !important; height: auto !important; }
.hs-popup-body figure { max-width: 100% !important; margin: 0; }
.hs-popup-body p:empty { display: none; }

/* 오늘 하루 보지 않기 · 닫기 바 · 팝업 하단 오버레이 */
.hs-popup-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(0,0,0,0.88);
  color: #fff;
  font-size: 12.5px;
}
.hs-popup-hide {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ddd;
}
.hs-popup-hide input { accent-color: #fff; margin: 0; }
.hs-popup-close {
  background: transparent;
  border: 1px solid #666;
  color: #fff;
  padding: 5px 14px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.03em;
}
.hs-popup-close:hover { background: #333; border-color: #999; }

@media (max-width: 900px) {
  .hs-popup {
    position: fixed !important;
    top: auto !important; bottom: 0 !important;
    left: 0 !important; right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 90vh;
  }
}

.page-head {
  text-align: center;
  margin-bottom: 60px;
}
.page-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  letter-spacing: 0.05em;
  margin: 0 0 6px;
}
.page-sub {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-3);
  font-size: 18px;
}
.page-count {
  font-family: var(--font-utility);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-3);
}
.empty-hint { font-size: 12px; color: var(--ink-3); }

/* ─────────────────────────────
   Grid (gallery list)
   ───────────────────────────── */
.grid {
  display: grid;
  gap: var(--gallery-gap, 24px);
  grid-template-columns: repeat(var(--gallery-cols, 4), 1fr);
}
/* 기존 명시 클래스 (backward compat · 해당 클래스가 있을 때 강제 오버라이드) */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.grid-item { display: block; }
.grid-thumb {
  aspect-ratio: var(--gallery-ratio, 3/2);
  overflow: hidden;
  background: #f2efe8;
}
.grid-thumb img {
  width: 100%; height: 100%;
  object-fit: var(--gallery-fit, cover);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.grid-item:hover .grid-thumb img { transform: scale(1.04); }

.grid-caption { text-align: center; padding: 16px 4px 4px; }
.grid-title {
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}
.grid-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 4px;
}
.grid-item:hover .grid-title { color: var(--accent); }

.thumb-blank { width:100%; height:100%; background: linear-gradient(135deg, #f6f4ee 0%, #ecebe4 100%); }

/* ─────────────────────────────
   Post detail
   ───────────────────────────── */
.post { max-width: var(--page-max); margin: 0 auto; }
.post-head { text-align: center; margin-bottom: 60px; }
.post-cat {
  font-family: var(--font-utility);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
.post-cat a { color: inherit; }
.post-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}
.post-sub {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-2);
  font-size: 19px;
}

.post-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 40px;
  padding: 0 40px;
}
.post-content img { margin: 20px auto; }
.post-content p { margin: 1em 0; }

.post-images { display: flex; flex-direction: column; gap: 24px; }
.post-image { margin: 0; }
.post-image img { width: 100%; }

.post-nav {
  border-top: 1px solid var(--rule);
  margin-top: 80px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.post-nav-list {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--ink);
  transition: background .2s, color .2s;
}
.post-nav-list:hover { background: var(--ink); color: var(--bg); }
.post-nav-side { display: flex; gap: 24px; }
.post-nav-link { font-size: 13px; color: var(--ink-3); }
.post-nav-link:hover { color: var(--ink); }

/* ─────────────────────────────
   Board (reserve)
   ───────────────────────────── */
.reserve-notices {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 0;
  margin-bottom: 32px;
}
.reserve-notice { font-size: 13px; border-bottom: 1px solid var(--rule); }
.reserve-notice:last-child { border-bottom: none; }
.reserve-notice-head { padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.reserve-notice.has-content .reserve-notice-head { cursor: pointer; }
.reserve-notice.has-content:hover .reserve-notice-head { background: #f9f6ee; }
.reserve-notice-tag {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  padding: 2px 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.reserve-notice-title { color: var(--ink); flex: 1; }
.reserve-notice-toggle { color: var(--ink-3); font-size: 14px; transition: transform .2s; }
.reserve-notice.open .reserve-notice-toggle { transform: rotate(180deg); }
.reserve-notice-body {
  display: none;
  padding: 6px 20px 20px 62px;
  color: var(--ink-2);
  line-height: 1.9;
  font-size: 13px;
  background: #fafaf5;
}
.reserve-notice.open .reserve-notice-body { display: block; }

.board {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}
.board thead th {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink);
  padding: 14px 8px;
  border-bottom: 2px solid var(--ink);
  text-align: center;
}
.board thead th:nth-child(2) { text-align: left; padding-left: 20px; }
.board tbody td {
  padding: 16px 8px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
  color: var(--ink);
}
.board tbody td.board-subject { text-align: left; padding-left: 20px; color: var(--ink); font-weight: 500; }
.board tbody td.board-subject a { color: var(--ink); }
.board tbody td.board-subject a:hover { color: var(--accent); }
.board-empty { padding: 60px 0 !important; color: var(--ink-2) !important; font-weight: 500; }
.board-badge { color: var(--accent); font-size: 11px; margin-left: 6px; }
.board-new {
  display: inline-block;
  background: #c9532b;
  color: #fff;
  font-size: 9px;
  padding: 1px 5px;
  letter-spacing: 0.05em;
  margin-left: 6px;
  vertical-align: middle;
  border-radius: 2px;
}
.board-reply { color: var(--ink-3); font-size: 11px; margin-left: 4px; }
.board-secret { font-size: 11px; margin-left: 4px; }

.board-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.board-search { display: flex; gap: 6px; }
.board-search select, .board-search input[type=text] {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--rule);
  background: var(--paper);
  font-size: 12px;
  font-family: inherit;
}
.board-search button {
  height: 32px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  cursor: pointer;
}
.btn-write {
  padding: 8px 20px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.25em;
}
.btn-write:hover { background: var(--ink); color: var(--bg); }

.pager { text-align: center; margin-top: 32px; display: flex; justify-content: center; gap: 4px; }
.pager a {
  display: inline-block;
  min-width: 32px;
  padding: 6px 8px;
  font-size: 12px;
  color: var(--ink-3);
}
.pager a.on { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--ink); }

/* ─────────────────────────────
   Forms
   ───────────────────────────── */
.form {
  max-width: 720px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.form-row:first-of-type { border-top: 2px solid var(--ink); }
.form-row label {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink);
  font-weight: 600;
}
.req { color: #c9532b; }
.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=password],
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bfbcb2;
  background: var(--paper);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}
.form-row textarea { min-height: 200px; resize: vertical; line-height: 1.7; }
.form-row small { display: block; color: var(--ink-2); font-size: 12px; margin-top: 4px; }
.form-row input[type=checkbox] { margin-right: 6px; vertical-align: middle; }

.form-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.btn-primary {
  padding: 12px 32px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  font-size: 12px;
  letter-spacing: 0.25em;
  cursor: pointer;
}
.btn-line {
  padding: 12px 32px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.25em;
  display: inline-flex; align-items: center;
}
.btn-primary:hover { opacity: 0.85; }
.btn-line:hover { background: var(--ink); color: var(--bg); }

.form-error {
  padding: 12px 16px;
  background: #fef2ec;
  border-left: 3px solid #c9532b;
  color: #c9532b;
  font-size: 13px;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════
   예약 폼 · 심플 · 흰배경 · 정돈된 간격
   ══════════════════════════════════════ */
.reserve-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 0 60px;
}
.reserve-page .page-head {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e8e6e0;
}
.reserve-page .page-title {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.reserve-page .page-sub {
  font-size: 13px;
  color: #888;
  letter-spacing: 0.02em;
  margin: 0;
}

.reserve-form {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
}
.reserve-form .fs-block {
  border: none;
  padding: 24px 0 0;
  margin: 0 0 24px;
}
.reserve-form .fs-block:first-of-type { padding-top: 0; }

.reserve-form legend {
  font-size: 13.5px;
  font-weight: 600;
  color: #000;
  margin-bottom: 12px;
  padding: 0;
  letter-spacing: 0;
  line-height: 1.5;
  display: block;
  width: 100%;
}
.reserve-form .req-inline {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #999;
  background: none;
  padding: 0;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0;
}
.reserve-form .req-inline::before { content: '· '; }

.reserve-form .fs-hint {
  font-size: 12.5px;
  color: #999;
  margin: 8px 0 0;
  line-height: 1.6;
}

/* 인풋 · 심플 하단선 스타일 */
.reserve-form input[type=text],
.reserve-form input[type=email],
.reserve-form input[type=password],
.reserve-form input[type=number],
.reserve-form input[type=tel],
.reserve-form select,
.reserve-form textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #d8d5cd;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: #000;
  transition: border-color .2s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.reserve-form select { padding-right: 24px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M0 0l5 6 5-6z' fill='%23000'/></svg>") no-repeat right 4px center; }
.reserve-form input:focus,
.reserve-form select:focus,
.reserve-form textarea:focus {
  border-bottom-color: #000;
  outline: none;
}
.reserve-form textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.7;
  padding: 12px 0;
}
.reserve-form input::placeholder,
.reserve-form textarea::placeholder { color: #bbb; }

.reserve-form .split-row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  flex-wrap: wrap;
}
.reserve-form .split-row .unit {
  font-size: 13px;
  color: #888;
  padding-bottom: 12px;
}

/* 체크박스 · 라디오 · 심플한 텍스트+체크 */
.reserve-form .check-lg,
.reserve-form .radio-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  cursor: pointer;
  font-size: 14.5px;
  color: #000;
  margin-right: 32px;
  transition: color .15s;
  background: none;
  border: none;
}
.reserve-form .check-lg:hover,
.reserve-form .radio-lg:hover { color: #000; }
.reserve-form .check-lg input,
.reserve-form .radio-lg input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #000;
  cursor: pointer;
}
.reserve-form .check-lg span,
.reserve-form .radio-lg span { line-height: 1.4; }
.reserve-form .radio-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding-top: 4px;
}

/* 상품 선택 그리드 · 심플 카드 */
.reserve-form .check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 4px;
  border-top: 1px solid #eee;
  border-left: 1px solid #eee;
}
.reserve-form .check-grid.check-extra {
  margin-top: 16px;
  border-top: 1px solid #eee;
}
.reserve-form .check-grid-title {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 500;
  color: #999;
  padding: 10px 0 6px;
  margin: 0;
  border-bottom: 1px solid #eee;
  background: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.reserve-form .check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-size: 14px;
  color: #000;
  background: #fff;
  transition: background .15s;
}
.reserve-form .check-item:hover { background: #fafafa; }
.reserve-form .check-item input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #000;
}
.reserve-form .check-item:has(input:checked) {
  background: #000;
  color: #fff;
}
.reserve-form .check-item:has(input:checked) input { accent-color: #fff; }

/* 필독사항 동의 블록 · 심플 강조 */
.reserve-form .agree-block {
  background: #fafafa;
  padding: 20px 24px !important;
  margin: 0 0 24px;
  border-left: 3px solid #000;
}
.reserve-form .agree-block legend {
  color: #000;
  font-weight: 700;
  margin-bottom: 14px;
}
.reserve-form .agree-block .check-lg {
  padding: 6px 0;
  font-size: 14.5px;
  width: 100%;
}
.reserve-form .agree-block .check-lg b { font-weight: 700; }

/* 입금정보 블록 · 심플 강조 */
.reserve-form .deposit-block {
  background: #fafafa;
  padding: 20px 24px !important;
  margin: 24px 0;
  border-left: 3px solid #000;
}
.reserve-form .deposit-block .req-inline {
  color: #000;
  font-weight: 600;
  background: none;
  display: block;
  margin: 6px 0 0;
  padding: 0;
  font-size: 13px;
}
.reserve-form .deposit-block .req-inline::before { content: ''; }

/* 액션 버튼 */
.reserve-form .form-actions {
  border-top: none;
  padding-top: 40px;
  margin-top: 40px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.reserve-form .btn-primary {
  padding: 15px 60px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  cursor: pointer;
  font-family: inherit;
}
.reserve-form .btn-primary:hover { background: #333; }
.reserve-form .btn-line {
  padding: 15px 44px;
  border: 1px solid #d8d5cd;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reserve-form .btn-line:hover { border-color: #000; }

/* ─── 예약확인 상단 필독사항 · 심플 ─── */
.reserve-prelude {
  background: #fff;
  border: 1px solid #e8e6e0;
  padding: 28px 32px;
  margin: 0 auto 40px;
  max-width: 720px;
}
.reserve-prelude h3 {
  font-size: 14px;
  color: #000;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.reserve-prelude p {
  margin: 0;
  color: #333;
  font-size: 13.5px;
  line-height: 1.9;
}

/* ─── 하단 안내 · 심플 ─── */
.reserve-footer-notice {
  padding: 24px 0 0;
  margin: 40px 0 0;
  border-top: 1px solid #e8e6e0;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}
.reserve-footer-notice p {
  margin: 0 0 12px;
  font-weight: 600;
  color: #000;
  font-size: 13.5px;
}
.reserve-footer-notice ul {
  margin: 0;
  padding-left: 16px;
  color: #666;
}
.reserve-footer-notice ul li {
  margin-bottom: 10px;
  line-height: 1.75;
}
.reserve-footer-notice ul li:last-child { margin-bottom: 0; }

/* 폼 에러 · 심플 */
.form-error {
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #d63031;
  border-left-width: 3px;
  color: #d63031;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 24px;
}

.pw-gate {
  max-width: 380px;
  margin: 60px auto;
  text-align: center;
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.pw-gate input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--rule);
  margin: 12px 0;
}

/* ─────────────────────────────
   Reserve view
   ───────────────────────────── */
.reserve-view { max-width: 800px; margin: 0 auto; }
.reserve-view-head {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  margin-bottom: 24px;
}
.reserve-view-head h2 { margin: 0 0 8px; font-size: 20px; font-weight: 500; }
.reserve-view-head .meta { font-size: 12px; color: var(--ink-3); display: flex; gap: 16px; flex-wrap: wrap; }
.reserve-view-body {
  padding: 20px 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  min-height: 200px;
}
.reserve-view-reply {
  background: #f8f6f0;
  padding: 20px 24px;
  margin-top: 20px;
  border-left: 3px solid var(--accent);
}
.reply-head { font-size: 12px; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 8px; }
.reply-body { color: var(--ink-2); }
.reserve-view-actions {
  margin-top: 40px;
  text-align: center;
}

/* ─────────────────────────────
   Studio page (BLOG 대체)
   ───────────────────────────── */
.studio-head { margin-bottom: 80px; }
.studio-eyebrow {
  font-family: var(--font-utility);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.studio-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 64px;
  color: var(--studio);
  letter-spacing: 0.01em;
}

.studio-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
}
.studio-item {
  display: block;
}
.studio-thumb {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #f2efe8;
  margin-bottom: 18px;
}
.studio-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.studio-item:hover .studio-thumb img { transform: scale(1.03); }
.studio-caption {}
.studio-date {
  font-family: var(--font-utility);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.studio-item-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 4px;
}
.studio-item-sub {
  font-size: 13px;
  color: var(--ink-3);
}

/* ─────────────────────────────
   About / page body
   ───────────────────────────── */
.about-body, .page-body {
  max-width: var(--page-max);
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
}
.about-body img, .about-body video, .about-body iframe,
.page-body img,  .page-body video,  .page-body iframe {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px auto;
}
.about-body p, .page-body p { margin: 1em 0; }
.about-para { margin: 0; }

/* ─────────────────────────────
   Footer
   ───────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 40px 20px 60px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 2;
}
.foot-inner { max-width: var(--page-max); margin: 0 auto; }
.foot-link { color: var(--ink); font-weight: 500; }
.foot-sep { color: var(--ink-3); margin: 0 8px; }
.foot-copy { color: var(--ink-3); font-size: 12px; margin-top: 6px; }

/* 좁은 데스크탑 · 메뉴 항목 살짝 축소 */
@media (min-width: 901px) and (max-width: 1180px) {
  .header-inner { gap: 12px; }
  .nav { gap: 16px; }
  .nav-link { font-size: 13px; letter-spacing: 0.03em; }
  .nav-link.accent { font-size: 22px; }
  .brand img { max-height: 84px; }
}

/* ─────────────────────────────
   Responsive (관리자에서 활성화 시)
   ───────────────────────────── */
body.is-responsive { min-width: 0; }
@media (max-width: 900px) {
  body.is-responsive {
    background: #fff;
  }

  /* ─── 헤더 · 컴팩트 · 흰배경 ─── */
  body.is-responsive .site-header {
    background: #fff;
    border-bottom: 1px solid #f0eee7;
  }
  body.is-responsive .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand hamburger";
    align-items: center;
    padding: 10px 18px;
    height: auto;
    min-height: 68px;
    gap: 0;
  }
  body.is-responsive .hamburger {
    display: block;
    grid-area: hamburger;
    justify-self: end;
    width: 36px; height: 36px;
  }
  body.is-responsive .hamburger span:nth-child(1) { top: 11px; }
  body.is-responsive .hamburger span:nth-child(2) { top: 17px; }
  body.is-responsive .hamburger span:nth-child(3) { top: 23px; }
  body.is-responsive .hamburger.active span:nth-child(1) { top: 17px; }
  body.is-responsive .hamburger.active span:nth-child(3) { top: 17px; }
  body.is-responsive .nav-left,
  body.is-responsive .nav-right { display: none; }
  body.is-responsive .brand {
    grid-area: brand;
    justify-self: start;
    order: 0;
    padding: 0;
    margin: 0;
    line-height: 0;
  }
  body.is-responsive .brand img {
    max-height: 64px;
    width: auto;
    display: block;
  }
  body.is-responsive .mobile-nav { display: block; }

  /* ─── 본문 · 상단 여백 최소화 ─── */
  body.is-responsive .site-main {
    padding: 18px 16px 60px;   /* 60px → 18px · 상단 공백 압축 */
  }
  body.is-responsive .page-head {
    margin-bottom: 28px;        /* 60px → 28px */
    padding-bottom: 20px;
    border-bottom: 1px solid #f0eee7;
  }
  body.is-responsive .page-title {
    font-size: 20px;
    letter-spacing: 0.02em;
    margin: 0 0 4px;
  }
  body.is-responsive .page-sub {
    font-size: 14px;
  }
  body.is-responsive .page-count {
    font-size: 11px;
    margin-top: 4px;
  }

  /* ─── 갤러리 · 모바일 열수 · 간격 압축 ─── */
  body.is-responsive .grid,
  body.is-responsive .grid-4,
  body.is-responsive .grid-3,
  body.is-responsive .grid-5 {
    grid-template-columns: repeat(var(--gallery-cols-mobile, 2), 1fr);
    gap: 10px 8px;
  }
  body.is-responsive .grid-caption { padding: 8px 2px 2px; }
  body.is-responsive .grid-title { font-size: 13px; }
  body.is-responsive .grid-sub { font-size: 11px; }

  body.is-responsive .studio-list { grid-template-columns: 1fr; gap: 40px; }
  body.is-responsive .studio-title { font-size: 36px; }

  /* ─── 폼 · 예약 ─── */
  body.is-responsive .form-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  body.is-responsive .reserve-form .check-grid { grid-template-columns: 1fr; }
  body.is-responsive .reserve-form .split-row { flex-direction: column; align-items: stretch; gap: 8px; }
  body.is-responsive .reserve-form .split-row .unit { padding-bottom: 0; }
  body.is-responsive .reserve-page { padding: 0 16px 40px; }
  body.is-responsive .reserve-prelude { padding: 20px 20px; }
  body.is-responsive .reserve-form .agree-block,
  body.is-responsive .reserve-form .deposit-block { padding: 16px 18px !important; }

  /* ─── 게시판 ─── */
  body.is-responsive .board thead { display: none; }
  body.is-responsive .board tbody td { display: block; padding: 4px 0; border: 0; text-align: left; }
  body.is-responsive .board tbody tr { display: block; border-bottom: 1px solid var(--rule); padding: 14px 0; }
  body.is-responsive .board-subject { padding-left: 0 !important; font-weight: 500; }
  body.is-responsive .post-content { padding: 0; }

  /* ─── 푸터 ─── */
  body.is-responsive .site-footer {
    background: #fff;
    padding: 30px 16px;
    border-top: 1px solid #f0eee7;
  }
}

/* 매우 좁은 스마트폰 */
@media (max-width: 380px) {
  body.is-responsive .brand img { max-height: 54px; }
  body.is-responsive .header-inner { padding: 8px 14px; min-height: 60px; }
  body.is-responsive .site-main { padding: 14px 12px 40px; }
}
