/* ============================================
   해오름 한옥펜션 — 전통 한옥 감성 스타일
   먹빛 · 한지 · 황토 우드 톤
   ============================================ */

:root {
  --ink:        #2b2622;   /* 먹빛 */
  --ink-soft:   #4a4239;
  --hanji:      #f4ede0;   /* 한지 베이지 */
  --hanji-warm: #ebe0cd;
  --wood:       #8b5e3c;   /* 황톳빛 우드 */
  --wood-dark:  #6b4226;
  --clay:       #b5824f;   /* 황토 */
  --pine:       #3d4a3a;   /* 솔잎 다크그린 */
  --pine-deep:  #2a3328;
  --gold:       #c9a44c;   /* 단청 금 */
  --line:       rgba(43, 38, 34, 0.12);
  --shadow:     0 18px 50px -20px rgba(43, 38, 34, 0.35);

  --serif: 'Nanum Myeongjo', serif;
  --sans:  'Noto Sans KR', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--hanji);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 한지 질감 배경 오버레이 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(181,130,79,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(61,74,58,0.04) 0%, transparent 50%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.serif { font-family: var(--serif); }

/* ── 헤더 ───────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
  padding: 22px 0;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(43,38,34,0.55) 0%, rgba(43,38,34,0) 100%);
  opacity: 1;
  transition: opacity .3s;
  pointer-events: none;
  z-index: -1;
}
.site-header.scrolled::before { opacity: 0; }
.site-header.scrolled {
  background: rgba(244, 237, 224, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}
.header-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-img {
  height: 56px; width: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  transition: height .4s ease;
}
.site-header.scrolled .logo-img { height: 44px; }
.logo-mark {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--ink);
}
.site-header:not(.scrolled) .logo-mark,
.site-header:not(.scrolled) .logo-sub { color: var(--hanji); }
.logo-sub {
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--wood);
  margin-top: 4px;
}
.gnb { display: flex; gap: 38px; }
.gnb a {
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  transition: color .3s;
}
.site-header:not(.scrolled) .gnb a { color: rgba(244,237,224,0.9); }
.gnb a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}
.gnb a:hover::after, .gnb a.is-active::after { width: 100%; }

.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.header-tel-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--wood);
}
.site-header:not(.scrolled) .header-tel-label { color: var(--gold); }
.header-tel-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}
.site-header:not(.scrolled) .header-tel-num { color: var(--hanji); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: .3s;
}
.site-header:not(.scrolled) .menu-toggle span { background: var(--hanji); }

/* ── 히어로 ─────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--hanji);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,23,18,0.72), rgba(20,23,18,0.45) 40%, rgba(20,23,18,0.8)),
              var(--pine-deep);
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: heroZoom 20s ease-out forwards;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; max-width: 900px; }
.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 10px;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s ease .3s forwards;
  text-shadow: 0 1px 6px rgba(0,0,0,0.95), 0 2px 16px rgba(0,0,0,0.7);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.3;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 4px 30px rgba(0,0,0,0.7);
  opacity: 0;
  animation: fadeUp 1s ease .5s forwards;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
.hero-desc {
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 300;
  margin-top: 30px;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeUp 1s ease .7s forwards;
  text-shadow: 0 1px 6px rgba(0,0,0,0.95), 0 2px 16px rgba(0,0,0,0.7);
}
.hero-cta {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease .9s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 11px;
  letter-spacing: 4px;
  color: rgba(244,237,224,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 46px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { opacity: .3; transform: scaleY(.6); }
  50%     { opacity: 1;  transform: scaleY(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 버튼 ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all .3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover {
  background: #d9b65e;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(201,164,76,0.6);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(244,237,224,0.5);
  color: var(--hanji);
}
.btn-ghost:hover {
  background: rgba(244,237,224,0.12);
  border-color: var(--hanji);
}
.btn-wood {
  background: var(--wood-dark);
  color: var(--hanji);
}
.btn-wood:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

/* ── 섹션 공통 ──────────────────────────── */
.section { padding: 110px 0; position: relative; z-index: 2; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--wood);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.4;
  color: var(--ink);
}
.section-title em { font-style: normal; color: var(--wood); }
.section-desc {
  margin-top: 18px;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── 인트로 (소개) 섹션 ─────────────────── */
.intro { background: var(--hanji); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-text .section-eyebrow,
.intro-text .section-title { text-align: left; }
.intro-text .section-title { margin-bottom: 28px; }
.intro-text p {
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 16.5px;
  margin-bottom: 18px;
}
.intro-text .vbar {
  display: inline-block;
  width: 46px; height: 2px;
  background: var(--gold);
  margin: 8px 0 26px;
}
.intro-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--pine) 0%, var(--pine-deep) 100%);
}
.intro-visual::after {
  content: '韓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 180px;
  color: rgba(244,237,224,0.07);
}
.intro-visual img { width: 100%; height: 100%; object-fit: cover; }
.intro-badge {
  position: absolute;
  bottom: -28px; left: -28px;
  background: var(--hanji);
  padding: 26px 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.intro-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 38px;
  color: var(--wood);
  line-height: 1;
}
.intro-badge span { font-size: 13px; color: var(--ink-soft); letter-spacing: 1px; }

/* ── 객실 섹션 ──────────────────────────── */
.rooms { background: var(--hanji-warm); }
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
}
.room-card {
  background: var(--hanji);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 12px 40px -24px rgba(43,38,34,0.4);
  transition: transform .4s ease, box-shadow .4s ease;
}
.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.room-thumb {
  aspect-ratio: 3/2;
  background: linear-gradient(135deg, var(--clay), var(--wood-dark));
  position: relative;
  overflow: hidden;
}
.room-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.room-card:hover .room-thumb img { transform: scale(1.06); }
.room-thumb-label {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(43,38,34,0.8);
  color: var(--hanji);
  font-size: 12px;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 2px;
}
.room-body { padding: 28px 28px 32px; }
.room-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 23px;
  margin-bottom: 8px;
}
.room-spec {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.room-spec span { display: inline-flex; align-items: center; gap: 5px; }
.room-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.room-price strong {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--wood);
}
.room-price span { font-size: 13px; color: var(--ink-soft); }
.room-more {
  font-size: 14px;
  color: var(--wood-dark);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .3s;
}
.room-card:hover .room-more { gap: 12px; }

/* ── 특징 섹션 ──────────────────────────── */
.features {
  background: var(--pine-deep);
  color: var(--hanji);
}
.features .section-title { color: var(--hanji); }
.features .section-title em { color: var(--gold); }
.features .section-eyebrow { color: var(--gold); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(244,237,224,0.1);
  border: 1px solid rgba(244,237,224,0.1);
}
.feature-item {
  background: var(--pine-deep);
  padding: 48px 36px;
  text-align: center;
  transition: background .4s ease;
}
.feature-item:hover { background: var(--pine); }
.feature-icon {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 20px;
}
.feature-item h3 {
  font-family: var(--serif);
  font-size: 21px;
  margin-bottom: 12px;
}
.feature-item p {
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(244,237,224,0.7);
}

/* ── 갤러리 프리뷰 ──────────────────────── */
.gallery-preview { background: var(--hanji); }
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery-mosaic a {
  overflow: hidden;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--clay), var(--pine));
  position: relative;
}
.gallery-mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-mosaic a:nth-child(6) { grid-column: span 2; }
.gallery-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-mosaic a:hover img { transform: scale(1.08); }

/* ── 예약 CTA 밴드 ──────────────────────── */
.reserve-band {
  background: var(--wood-dark);
  color: var(--hanji);
  text-align: center;
  padding: 90px 0;
  position: relative;
  z-index: 2;
}
.reserve-band .section-title { color: var(--hanji); }
.reserve-band p { font-weight: 300; margin: 18px 0 36px; opacity: .9; }
.reserve-band .cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.reserve-tel {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

/* ── 공지 미리보기 ──────────────────────── */
.notice-preview { background: var(--hanji-warm); }
.notice-list { max-width: 800px; margin: 0 auto; }
.notice-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s ease;
}
.notice-row:hover { padding-left: 18px; }
.notice-tag {
  font-size: 12px;
  background: var(--wood);
  color: var(--hanji);
  padding: 4px 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.notice-row .t { flex: 1; font-size: 16px; }
.notice-row .d { font-size: 13px; color: var(--ink-soft); flex-shrink: 0; }

/* ── 푸터 ───────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(244,237,224,0.75);
  position: relative;
  z-index: 2;
  padding-top: 70px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 50px;
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1fr;
  gap: 50px;
}
.footer-logo {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 26px;
  color: var(--hanji);
  margin-bottom: 14px;
}
.footer-tagline { font-weight: 300; font-size: 14px; }
.footer-info p { font-size: 14px; margin-bottom: 8px; }
.footer-info strong { color: var(--gold); font-weight: 500; margin-right: 8px; }
.footer-info a:hover { color: var(--gold); }
.footer-biz { font-size: 12.5px; opacity: .6; margin-top: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  position: relative;
  border-top: 1px solid rgba(244,237,224,0.1);
  padding: 24px 40px;
  text-align: center;
  font-size: 12.5px;
  opacity: .55;
}

/* ── 플로팅 버튼 그룹 (전화/위로가기/예약문의) ── */
/* 구 .float-reserve 단일 버튼을 대체 */
.float-menu {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.float-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(43, 38, 34, .5);
  transition: transform .25s ease;
}
.float-btn:hover { transform: scale(1.06); text-decoration: none; }
.float-btn .float-icon { display: flex; }
.float-tel {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  gap: 1px;
}
.float-tel:hover { color: #fff; }
.float-tel .float-label { font-size: 9px; font-weight: 600; letter-spacing: .03em; line-height: 1; }
.float-top {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--hanji);
  border: 1px solid var(--line);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}
.float-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.float-top.show:hover { transform: scale(1.06); }
.float-cta {
  flex-direction: row;
  padding: 14px 24px;
  border-radius: 30px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 30px -8px rgba(201,164,76,0.6);
  animation: floatPulse 3s ease-in-out infinite;
}
.float-cta:hover { color: var(--ink); }
@keyframes floatPulse {
  0%,100% { box-shadow: 0 14px 30px -8px rgba(201,164,76,0.6); }
  50%     { box-shadow: 0 14px 40px -4px rgba(201,164,76,0.9); }
}
@media (max-width: 768px) {
  .float-menu { right: 14px; bottom: 16px; gap: 10px; }
  .float-tel { width: 50px; height: 50px; }
  .float-tel .float-icon svg { width: 17px; height: 17px; }
  .float-top { width: 44px; height: 44px; }
  .float-cta { padding: 12px 20px; font-size: 13px; }
}

/* ── 스크롤 등장 애니메이션 ─────────────── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── 반응형 ─────────────────────────────── */
@media (max-width: 980px) {
  .intro-grid { grid-template-columns: 1fr; gap: 50px; }
  .intro-badge { left: auto; right: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); }
  .gallery-mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-mosaic a:nth-child(6) { grid-column: span 2; }
}
@media (max-width: 768px) {
  .header-inner { padding: 0 22px; }
  .header-tel { display: none; }
  .menu-toggle { display: flex; }
  .gnb {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    padding: 96px 36px 40px;
    transition: right .4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .gnb.open { right: 0; }
  .gnb a, .site-header:not(.scrolled) .gnb a {
    color: var(--hanji);
    font-size: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(244,237,224,0.1);
  }
  .section { padding: 70px 0; }
  .container, .header-inner { padding-left: 22px; padding-right: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============================================
   서브페이지 공통
   ============================================ */
.page-hero {
  position: relative;
  height: 44vh;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--hanji);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}
.page-hero-eyebrow {
  position: relative; z-index: 2;
  font-size: 13px; letter-spacing: 6px; text-transform: uppercase;
  margin-bottom: 16px; opacity: 0; animation: fadeUp .8s ease .2s forwards;
  text-shadow: 0 1px 6px rgba(0,0,0,0.95), 0 2px 16px rgba(0,0,0,0.7);
}
.page-hero-title {
  position: relative; z-index: 2;
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(30px, 5vw, 52px); letter-spacing: 2px;
  opacity: 0; animation: fadeUp .8s ease .4s forwards;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 4px 30px rgba(0,0,0,0.7);
}
.breadcrumb {
  margin-top: 18px; font-size: 13px;
  display: flex; gap: 10px; align-items: center;
  opacity: 0; animation: fadeUp .8s ease .6s forwards;
  text-shadow: 0 1px 6px rgba(0,0,0,0.95), 0 2px 16px rgba(0,0,0,0.7);
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: .5; }

/* 본문 좁은 컨테이너 */
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 40px; }

/* 객실 상세 */
.room-detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.room-gallery-main {
  aspect-ratio: 4/3; border-radius: 3px; overflow: hidden;
  background: linear-gradient(135deg, var(--clay), var(--wood-dark)); margin-bottom: 14px;
}
.room-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.room-gallery-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.room-gallery-thumbs div {
  aspect-ratio: 1; border-radius: 2px; overflow: hidden; cursor: pointer;
  background: linear-gradient(135deg, var(--clay), var(--pine)); opacity: .75; transition: opacity .3s;
}
.room-gallery-thumbs div:hover { opacity: 1; }
.room-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.room-info-name { font-family: var(--serif); font-weight: 800; font-size: 34px; margin-bottom: 8px; }
.room-info-summary { color: var(--ink-soft); margin-bottom: 26px; }
.room-info-table { width: 100%; border-top: 2px solid var(--ink); margin-bottom: 26px; }
.room-info-table th, .room-info-table td { padding: 14px 4px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.room-info-table th { width: 110px; color: var(--wood); font-weight: 500; }
.room-info-price { background: var(--hanji-warm); padding: 24px; border-radius: 3px; margin-bottom: 24px; }
.room-info-price .row { display: flex; justify-content: space-between; padding: 6px 0; }
.room-info-price strong { font-family: var(--serif); color: var(--wood); font-size: 20px; }
.amenity-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.amenity-list span { background: var(--hanji-warm); padding: 8px 16px; border-radius: 30px; font-size: 13.5px; }

/* 소개 페이지 */
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-bottom: 90px; }
.about-section:nth-child(even) .about-visual { order: -1; }
.about-visual { aspect-ratio: 4/3; border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(135deg, var(--pine), var(--wood-dark)); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-text h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 18px; color: var(--ink); }
.about-text .vbar { display:inline-block; width:46px; height:2px; background:var(--gold); margin-bottom:22px; }
.about-text p { color: var(--ink-soft); font-weight: 300; font-size: 16px; margin-bottom: 14px; }

/* 갤러리 페이지 */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid a {
  aspect-ratio: 4/3; border-radius: 2px; overflow: hidden;
  background: linear-gradient(135deg, var(--clay), var(--pine)); position: relative;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-grid a:hover img { transform: scale(1.07); }

/* 오시는 길 */
.map-box { aspect-ratio: 16/7; border-radius: 3px; overflow: hidden; background: var(--hanji-warm); margin-bottom: 40px; box-shadow: var(--shadow); }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.location-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 30px; }
.location-card { background: var(--hanji-warm); padding: 30px; border-radius: 3px; }
.location-card h4 { font-family: var(--serif); font-size: 19px; margin-bottom: 12px; color: var(--wood); }
.location-card p { font-size: 14.5px; color: var(--ink-soft); font-weight: 300; }

/* 공지 페이지 */
.notice-board { max-width: 880px; margin: 0 auto; }
.notice-board-row {
  display: flex; align-items: center; gap: 18px; padding: 24px 10px;
  border-bottom: 1px solid var(--line); transition: background .3s;
}
.notice-board-row:hover { background: var(--hanji-warm); }
.notice-board-row .num { font-size: 13px; color: var(--ink-soft); width: 48px; flex-shrink: 0; }
.notice-board-row .t { flex: 1; font-size: 16.5px; }
.notice-board-row .pin { font-size: 11px; background: var(--wood); color: var(--hanji); padding: 3px 10px; border-radius: 2px; white-space: nowrap; display: inline-block; }
.notice-board-row .d { font-size: 13px; color: var(--ink-soft); }
.notice-view { max-width: 880px; margin: 0 auto; }
.notice-view-head { border-bottom: 2px solid var(--ink); padding-bottom: 24px; margin-bottom: 30px; }
.notice-view-head h2 { font-family: var(--serif); font-size: 28px; margin-bottom: 12px; }
.notice-view-meta { font-size: 13px; color: var(--ink-soft); }
.notice-view-body { font-size: 16px; line-height: 1.9; color: var(--ink-soft); min-height: 200px; white-space: pre-line; }

/* 예약 페이지 */
.reserve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.reserve-channels { display: flex; flex-direction: column; gap: 16px; }
.channel-card {
  display: flex; align-items: center; gap: 20px; padding: 26px 28px;
  border-radius: 3px; transition: transform .3s; border: 1px solid var(--line);
}
.channel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.channel-card.naver { background: #03c75a; color: #fff; border: none; }
.channel-card.kakao { background: #fee500; color: #3a1d1d; border: none; }
.channel-card.tel { background: var(--wood-dark); color: var(--hanji); border: none; }
.channel-icon { font-size: 30px; width: 50px; text-align: center; }
.channel-text strong { display: block; font-size: 18px; font-family: var(--serif); }
.channel-text span { font-size: 13.5px; opacity: .85; }
.reserve-form { background: var(--hanji-warm); padding: 40px; border-radius: 3px; }
.reserve-form h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 6px; }
.reserve-form .sub { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 26px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; margin-bottom: 7px; color: var(--ink); font-weight: 500; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--sans); font-size: 14.5px; background: var(--hanji); color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--wood); }
.form-row textarea { resize: vertical; min-height: 100px; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-msg { padding: 14px; border-radius: 2px; margin-bottom: 18px; font-size: 14px; display: none; }
.form-msg.ok { background: #e3f0e0; color: var(--pine); display: block; }
.form-msg.err { background: #f3dede; color: #9b3535; display: block; }

/* 환불/이용안내 박스 */
.policy-box { background: var(--hanji-warm); padding: 30px; border-radius: 3px; margin-top: 30px; }
.policy-box h4 { font-family: var(--serif); font-size: 18px; margin-bottom: 14px; color: var(--wood); }
.policy-box ul { list-style: none; }
.policy-box li { padding: 7px 0 7px 22px; position: relative; font-size: 14.5px; color: var(--ink-soft); }
.policy-box li::before { content: '·'; position: absolute; left: 6px; color: var(--gold); font-weight: 700; }

@media (max-width: 980px) {
  .room-detail-grid, .about-section, .reserve-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-section:nth-child(even) .about-visual { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .container-narrow { padding-left: 22px; padding-right: 22px; }
  .form-grid2 { grid-template-columns: 1fr; }
}

/* 카카오맵 roughmap 반응형 */
.map-box .root_daum_roughmap { width: 100% !important; }
.map-box .root_daum_roughmap .wrap_map { width: 100% !important; height: 360px !important; }
.map-box .root_daum_roughmap_landing { width: 100% !important; }
@media (max-width: 768px) {
  .map-box .root_daum_roughmap .wrap_map { height: 280px !important; }
}

/* ===== 주변 관광지 ===== */
.attr-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 20px; }
.attr-card { background: var(--hanji); border: 1px solid var(--line, #e7ddca); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.attr-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.attr-thumb { aspect-ratio: 4/3; background-size: cover; background-position: center; background-image: linear-gradient(135deg, var(--pine), var(--wood-dark)); }
.attr-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.attr-body h3 { font-family: var(--serif); font-size: 21px; color: var(--ink); margin: 0 0 10px; }
.attr-body p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; font-weight: 300; margin: 0 0 16px; flex: 1; }
.attr-link { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--wood-dark); text-decoration: none; padding: 8px 16px; border: 1px solid var(--gold); border-radius: 4px; transition: background .2s, color .2s; }
.attr-link:hover { background: var(--gold); color: #fff; }
@media (max-width: 980px) { .attr-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .attr-grid { grid-template-columns: 1fr; } }

/* 숨김 관리자 링크 */
.footer-admin {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  opacity: 0.15;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
}
.footer-admin:hover { opacity: 0.9; }

/* ── 예약현황 캘린더 (calendar.php) ───────────────── */
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 20px;
}
.cal-nav-btn {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  transition: all .2s;
}
.cal-nav-btn:hover { border-color: var(--wood); color: var(--wood); }
.cal-nav-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  min-width: 130px;
  text-align: center;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  max-width: 1000px;
  margin: 0 auto;
}
.cal-cell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 6px;
  background: #fff;
}
.cal-cell.dow {
  min-height: 0;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 4px 0;
}
.cal-cell.empty { border: none; background: transparent; }
.cal-cell .cal-date { font-size: 14px; font-weight: 600; color: var(--ink); }
.cal-dow-inline { display: none; }
.cal-cell.past { background: #f5f4f1; }
.cal-cell.past .cal-date { color: #b6b2aa; }
.cal-past-label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #c3bfb7;
}
.cal-room-list {
  list-style: none;
  margin: 5px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cal-rm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 1px 0;
  font-size: 11.5px;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--ink-soft);
}
.cal-rm .cal-rm-name { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cal-rm.done { opacity: .55; }
.cal-rm.done .cal-rm-name { color: #98918a; }
.cal-rm .nm-short { display: none; }
/* 상태 필 뱃지 (가능/완료) */
.bk-badge {
  display: inline-block;
  flex-shrink: 0;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .03em;
  color: #fff;
  transition: filter .15s, transform .15s, box-shadow .15s;
}
.bk-badge.open { background: var(--pine); }
.bk-badge.done { background: #96685a; cursor: default; }
/* [가능] 뱃지는 예약문의 링크 — hover 시 클릭 가능함을 암시 */
a.bk-badge { text-decoration: none; }
a.bk-badge:hover, a.bk-badge:focus {
  text-decoration: none;
  color: #fff;
  filter: brightness(1.3);
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(43, 38, 34, .25);
}
.cal-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 16px;
  font-size: 14px;
  color: var(--ink-soft);
}
.cal-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.cal-guide {
  max-width: 1000px;
  margin: 0 auto 20px;
  padding: 14px 20px;
  background: var(--hanji);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.9;
}
.cal-guide .bk-badge { vertical-align: 1px; margin: 0 2px; }
.cal-guide strong { color: var(--ink); }
.cal-guide-tel {
  color: var(--wood);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 94, 60, .35);
}
.cal-guide-tel:hover { color: var(--wood-dark); border-bottom-color: var(--wood-dark); }
.cal-note {
  max-width: 1000px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}
/* 태블릿(769~1000px): 칸이 좁아지면 객실명 축약 + 뱃지 컴팩트 */
@media (max-width: 1000px) and (min-width: 769px) {
  .cal-grid { gap: 4px; }
  .cal-cell { padding: 5px 4px; border-radius: 6px; }
  .cal-rm { font-size: 10.5px; }
  .cal-rm .nm-full { display: none; }
  .cal-rm .nm-short { display: inline; }
  .bk-badge { padding: 1px 7px; font-size: 10px; }
}
/* 모바일(768px 이하): 그리드 대신 날짜별 세로 리스트로 전환 */
@media (max-width: 768px) {
  .cal-grid { display: block; }
  .cal-cell.dow, .cal-cell.empty { display: none; }
  .cal-cell { margin-bottom: 10px; padding: 10px 14px; }
  .cal-cell .cal-date { font-size: 15px; }
  .cal-dow-inline { display: inline; font-weight: 400; color: var(--ink-soft); margin-left: 3px; font-size: 12px; }
  .cal-cell.past { padding: 6px 14px; }
  .cal-past-label { display: inline; margin: 0 0 0 8px; }
  .cal-room-list { margin-top: 7px; gap: 4px; }
  .cal-rm { font-size: 13px; padding: 2px 0; border-top: 1px dashed var(--line); padding-top: 5px; }
  .cal-rm:first-child { border-top: none; padding-top: 2px; }
  .cal-nav { gap: 10px; }
  .cal-nav-title { font-size: 18px; min-width: 96px; }
  .cal-nav-btn { padding: 6px 10px; font-size: 13px; }
  .cal-legend { gap: 16px; font-size: 13px; }
  .cal-guide { font-size: 13px; padding: 11px 14px; line-height: 1.8; }
}

/* 갤러리 라이트박스 */
.gallery-grid a { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,13,11,0.92);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lb-figure { margin: 0; max-width: 90vw; max-height: 88vh; text-align: center; }
.lb-img {
  max-width: 90vw; max-height: 80vh; width: auto; height: auto;
  border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.5);
  display: inline-block;
}
.lb-caption { color: #f0ece5; font-size: 15px; margin-top: 14px; font-weight: 300; }
.lb-close, .lb-prev, .lb-next {
  position: fixed; background: rgba(255,255,255,.12); color: #fff;
  border: none; cursor: pointer; width: 48px; height: 48px;
  border-radius: 50%; font-size: 30px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 24px; right: 24px; font-size: 34px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); color: #d8d2c8; font-size: 14px; }
@media (max-width: 600px) {
  .lb-close { top: 14px; right: 14px; width: 42px; height: 42px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-prev, .lb-next { width: 42px; height: 42px; font-size: 26px; }
  .lb-img { max-height: 70vh; }
}

/* 스토리 (wizm 이식, 한옥 팔레트) */
.story-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.story-chip {
  font-size: 14px; padding: 8px 18px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink-soft); background: #fff; transition: all .25s;
}
.story-chip:hover { border-color: var(--wood); color: var(--wood-dark); }
.story-chip.is-active { background: var(--pine); border-color: var(--pine); color: var(--hanji); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.story-empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--ink-soft); }
.story-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.story-thumb { position: relative; aspect-ratio: 16/10; background: var(--hanji-warm) center/cover no-repeat; }
.story-tag {
  position: absolute; top: 12px; left: 12px; font-size: 12px;
  background: var(--pine); color: var(--hanji); padding: 4px 12px; border-radius: 999px;
}
.story-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.story-body h3 { font-family: var(--serif); font-size: 19px; line-height: 1.4; }
.story-body p { color: var(--ink-soft); font-size: 14.5px; font-weight: 300; flex: 1; line-height: 1.7; }
.story-body time { font-size: 13px; color: var(--ink-soft); }

.story-article { max-width: 760px; margin: 0 auto; }
.story-article-head { border-bottom: 2px solid var(--ink); padding-bottom: 26px; margin-bottom: 34px; }
.story-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.story-cat { color: var(--pine); font-weight: 500; }
.story-article-head h2 { font-family: var(--serif); font-size: 30px; line-height: 1.35; }
.story-lead { margin-top: 12px; color: var(--ink-soft); font-size: 16px; font-weight: 300; }
.story-cover { margin-bottom: 34px; }
.story-cover img { width: 100%; border-radius: 3px; }
.story-content { font-size: 16px; line-height: 1.9; color: var(--ink-soft); }
.story-content > * + * { margin-top: 1.1em; }
.story-content h2 { font-family: var(--serif); color: var(--ink); font-size: 24px; margin-top: 1.8em; }
.story-content h3 { font-family: var(--serif); color: var(--ink); font-size: 20px; margin-top: 1.5em; }
.story-content a { color: var(--wood); text-decoration: underline; }
.story-content img { max-width: 100%; border-radius: 3px; margin: 1.4em 0; }
.story-content blockquote { border-left: 3px solid var(--gold); padding-left: 18px; }
.story-content ul, .story-content ol { padding-left: 1.3em; }
.story-content li + li { margin-top: .4em; }
.story-content code { background: var(--hanji-warm); padding: 2px 7px; border-radius: 4px; font-size: .9em; }
.story-content pre { background: var(--ink); color: #fff; padding: 18px 20px; border-radius: 4px; overflow-x: auto; }
.story-content pre code { background: none; padding: 0; color: inherit; }
.story-table { overflow-x: auto; margin: 1.4em 0; }
.story-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.story-table th, .story-table td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.story-table th { background: var(--hanji-warm); }
@media (max-width: 980px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-article-head h2 { font-size: 24px; }
}

/* 모바일 메뉴: 햄버거→X 토글 + 배경 딤 */
@media (max-width: 768px) {
  .menu-toggle { position: relative; z-index: 120; }
  .menu-toggle.open span,
  .site-header:not(.scrolled) .menu-toggle.open span { background: var(--hanji); }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open::before {
    content: '';
    position: fixed; inset: 0;
    background: rgba(15,13,11,0.5);
    z-index: 99;
  }
}

/* GNB 드롭다운 */
.gnb-item { position: relative; display: inline-flex; align-items: center; }
.gnb-parent { display: inline-flex; align-items: center; gap: 4px; }
.gnb-caret { font-size: 10px; opacity: .7; transition: transform .2s; }
.gnb-item:hover .gnb-caret { transform: rotate(180deg); }
.gnb-sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; min-width: 140px; padding: 10px 0; border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; z-index: 200;
}
.gnb-item:hover .gnb-sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.gnb-sub a { display: block; padding: 9px 20px; color: var(--ink); font-size: 15px; white-space: nowrap; }
.gnb-sub a::after { display: none; }
.gnb-sub a:hover, .gnb-sub a.is-active { background: var(--hanji); color: var(--wood); }
/* 투명 헤더(스크롤 전)일 때도 드롭다운 안 글자는 먹색 유지 */
@media (min-width: 769px) {
  .site-header:not(.scrolled) .gnb .gnb-sub a { color: var(--ink); }
  .site-header:not(.scrolled) .gnb .gnb-sub a:hover,
  .site-header:not(.scrolled) .gnb .gnb-sub a.is-active { color: var(--wood); }

  /* 드롭다운이 쉽게 닫히는 문제 해결:
     ① 부모↔서브 사이 틈을 투명 브릿지로 메움 ② 닫힐 때 0.3초 유예 */
  .gnb-sub::before {
    content: '';
    position: absolute;
    top: -16px; left: -14px; right: -14px; height: 16px;
  }
  .gnb-sub {
    transition: opacity .2s ease .3s, transform .2s ease .3s, visibility 0s linear .5s;
  }
  .gnb-item:hover .gnb-sub {
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
  }
}

/* 모바일 드롭다운 (아코디언) */
@media (max-width: 768px) {
  .gnb-item { display: block; width: 100%; flex-direction: column; align-items: stretch; }
  .gnb-parent { justify-content: center; }
  .gnb-sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; background: transparent; min-width: auto; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .gnb-item.sub-open .gnb-sub { max-height: 240px; }
  .gnb-item.sub-open .gnb-caret { transform: rotate(180deg); }
  .gnb-sub a { text-align: center; padding: 12px; color: rgba(244,237,224,0.85); }
  .gnb-sub a:hover, .gnb-sub a.is-active { background: rgba(255,255,255,.08); color: #fff; }
}

/* 스토리 v2 (2026-07-03): 카테고리 칩 .pf-chip, 히어로 리드, 목록 back 링크 */
.pf-chip {
  font-size: 14px; padding: 8px 18px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink-soft); background: #fff; transition: all .25s;
}
.pf-chip:hover { border-color: var(--wood); color: var(--wood-dark); }
.pf-chip.is-active { background: var(--pine); border-color: var(--pine); color: var(--hanji); }
.page-hero-lead {
  margin-top: 14px; font-size: 15px; font-weight: 300;
  color: rgba(244,237,224,0.88); letter-spacing: 1px;
  opacity: 0; animation: fadeUp .8s ease .5s forwards;
  text-shadow: 0 1px 6px rgba(0,0,0,0.95), 0 2px 16px rgba(0,0,0,0.7);
}
.story-back {
  display: inline-block; font-size: 14px; color: var(--wood);
  margin-bottom: 18px; transition: color .2s;
}
.story-back:hover { color: var(--wood-dark); text-decoration: underline; }
