/* ==========================================================================
   LUXURY STAY MAGAZINE LANDING SYSTEM (최고급 감성 독채 숙소 매거진)
   - 뉴트럴 톤앤매너 (오프화이트, 소프트 베이지, 웜 그레이, 딥 차콜 브라운)
   - 우아한 명조체 대제목 & 정갈한 고딕체 본문
   - 사용자 플로우: 오프닝 -> 숙소 목록 화면 -> 숙소 상세 매거진
   - 동적 시네마틱 켄 번스(Ken Burns) 히어로 슬라이드쇼
   - 카카오맵 API 인터랙티브 지도 & 안전한 Fallback
   - 모바일 Fluid Clamp 가변 타이포그래피 & 럭셔리 반응형 레이아웃
   - A4 매거진 브로슈어 인쇄/PDF 전용 스타일 (@media print)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Noto+Serif+KR:wght@300;400;500;600;700;900&family=Pretendard:wght@300;400;500;600;700&display=swap');

:root {
  /* Warm Neutral Palette */
  --bg-linen: #fcfbf8;          /* Pure off-white linen */
  --bg-sand: #f5f2eb;           /* Soft beige sand */
  --bg-subtle: #eeeadf;         /* Muted sand border */
  --bg-dark: #1d1b18;           /* Deep espresso charcoal */

  --text-main: #22201d;         /* Warm deep charcoal */
  --text-secondary: #57534e;    /* Warm mid-grey */
  --text-muted: #8c857b;        /* Soft stone grey */
  --text-light: #b0a99f;        /* Delicate caption */

  --accent-brass: #9d7e52;      /* Raw warm brass gold */
  --accent-brass-light: #f7f3eb;

  --emerald-cert: #2d5a43;      /* Forest cert green */
  --emerald-bg: #edf5f0;

  --border-light: rgba(34, 32, 29, 0.09);
  --border-dark: rgba(34, 32, 29, 0.2);

  --radius-subtle: 3px;
  --radius-card: 6px;
  --radius-pill: 9999px;

  --shadow-soft: 0 10px 30px rgba(34, 32, 29, 0.04);
  --shadow-card: 0 14px 36px rgba(34, 32, 29, 0.08);
  --shadow-float: 0 14px 40px rgba(34, 32, 29, 0.12);
  --shadow-modal: 0 30px 80px rgba(18, 16, 14, 0.35);

  --font-serif: "Noto Serif KR", "Cormorant Garamond", Georgia, serif;
  --font-en-serif: "Cormorant Garamond", "Noto Serif KR", Georgia, serif;
  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-gentle: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-quick: all 0.2s ease;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-linen);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-linen);
  color: var(--text-main);
  line-height: 1.75;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 36px;
}

/* ==========================================================================
   1. OPENING SPLASH SCREEN (부드러운 슬라이드업 오프닝)
   ========================================================================== */
.splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #f6f4ee;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.85s ease;
}

.splash-overlay.slide-up {
  transform: translateY(-100%);
  pointer-events: none;
}

.splash-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 20px;
  animation: splashFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-symbol {
  font-family: var(--font-en-serif);
  font-size: clamp(20px, 4.5vw, 28px);
  letter-spacing: 0.25em;
  color: var(--accent-brass);
  text-transform: uppercase;
}

.splash-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 5.5vw, 32px);
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.splash-sub {
  font-family: var(--font-serif);
  font-size: clamp(13px, 3.2vw, 15.5px);
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: subFadeIn 1s 0.3s ease forwards;
}

.splash-hint {
  position: absolute;
  bottom: 40px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-light);
  text-transform: uppercase;
}

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

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

/* ==========================================================================
   2. VIEW TOGGLE SYSTEM (목록 허브 vs 상세 매거진)
   ========================================================================== */
.view-panel {
  display: none;
  width: 100%;
}

.view-panel.active-view {
  display: block;
  animation: viewFadeIn 0.4s ease;
}

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

/* ==========================================================================
   3. STAY COLLECTION HUB VIEW (오프닝 직후 숙소 목록 허브)
   ========================================================================== */
.collection-hero {
  padding: 140px 0 80px;
  background-color: var(--bg-linen);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.collection-header-box {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.collection-main-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 6.5vw, 48px);
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.collection-main-desc {
  font-size: clamp(14px, 3.8vw, 16.5px);
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
}

.collection-grid-section {
  padding: 80px 0 140px;
  background-color: var(--bg-sand);
}

.collection-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 36px;
}

.collection-stay-card {
  background: var(--bg-linen);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-light);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.collection-stay-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(34, 32, 29, 0.12);
  border-color: var(--accent-brass);
}

.collection-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  background: #ede9df;
  overflow: hidden;
}

.collection-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.collection-stay-card:hover .collection-card-img {
  transform: scale(1.05);
}

.collection-region-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(29, 27, 24, 0.8);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-en-serif);
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.collection-card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
  justify-content: space-between;
}

.collection-card-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 4.5vw, 24px);
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.35;
}

.collection-card-specs {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.btn-explore-stay {
  appearance: none;
  background: var(--text-main);
  color: #ffffff;
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius-subtle);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-quick);
  margin-top: 8px;
}

.collection-stay-card:hover .btn-explore-stay {
  background: var(--accent-brass);
}

/* ==========================================================================
   4. STICKY MINIMAL HEADER (상세 페이지)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-gentle);
}

.site-header.scrolled {
  background: rgba(252, 251, 248, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 48px;
}

.header-brand {
  font-family: var(--font-en-serif);
  font-size: clamp(17px, 3.5vw, 21px);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-main);
  text-transform: uppercase;
  cursor: pointer;
}

.site-header.on-hero .header-brand {
  color: #ffffff;
}
.site-header.scrolled .header-brand {
  color: var(--text-main);
}

.header-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.header-nav-links a, .header-nav-btn {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-quick);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
}

.site-header.on-hero .header-nav-links a,
.site-header.on-hero .header-nav-btn {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.site-header.scrolled .header-nav-links a,
.site-header.scrolled .header-nav-btn {
  color: var(--text-secondary);
  text-shadow: none;
}

.header-nav-links a:hover,
.header-nav-btn:hover {
  color: var(--accent-brass);
}

/* Button to return to Collection List */
.btn-back-to-collection {
  background: rgba(30, 28, 25, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: var(--transition-quick);
  min-height: 38px;
}

.btn-back-to-collection:hover {
  background: var(--accent-brass);
  border-color: var(--accent-brass);
}

.site-header.scrolled .btn-back-to-collection {
  background: var(--bg-sand);
  border-color: rgba(34, 32, 29, 0.2);
  color: var(--text-main) !important;
  box-shadow: none;
}

.site-header.scrolled .btn-back-to-collection:hover {
  background: var(--accent-brass);
  color: #ffffff !important;
}

/* Stay Switcher Selector Dropdown */
.stay-select-menu {
  appearance: none;
  background-color: rgba(28, 25, 22, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 34px 7px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: var(--transition-quick);
  min-height: 38px;
}

.stay-select-menu option {
  background-color: #22201d !important;
  color: #ffffff !important;
  padding: 10px 14px;
}

.site-header.scrolled .stay-select-menu {
  background-color: var(--bg-sand);
  border-color: rgba(34, 32, 29, 0.2);
  color: var(--text-main) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2322201d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  box-shadow: none;
}

.site-header.scrolled .stay-select-menu option {
  background-color: #fcfbf8 !important;
  color: var(--text-main) !important;
}

/* ==========================================================================
   5. HERO SECTION (동적 시네마틱 켄 번스 슬라이드쇼)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
  overflow: hidden;
  background-color: #1a1816;
}

.hero-slides-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow: hidden;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide.active {
  opacity: 1;
  animation: kenBurnsZoom 8s ease-out infinite alternate;
}

@keyframes kenBurnsZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(20, 18, 16, 0.45) 0%, rgba(20, 18, 16, 0.1) 40%, rgba(20, 18, 16, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-bottom: 90px;
}

.hero-tagline {
  font-family: var(--font-en-serif);
  font-size: clamp(11.5px, 2.8vw, 13.5px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-brass-light);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 6.5vw, 50px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.hero-desc {
  font-size: clamp(14px, 3.8vw, 16.5px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  line-height: 1.7;
}

/* Hero Slideshow Navigation Controls */
.hero-slides-controls {
  position: absolute;
  bottom: 36px;
  right: 48px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 18, 16, 0.5);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-slide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 24px;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-dot::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.hero-slide-dot.active {
  color: #ffffff;
  transform: scale(1.4);
}

.hero-slide-counter {
  font-family: var(--font-en-serif);
  font-size: 11.5px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
}

/* Scroll Down 1px Line */
.scroll-down-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  cursor: pointer;
}

.scroll-text {
  font-family: var(--font-en-serif);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #ffffff;
  animation: scrollDrop 1.8s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ==========================================================================
   6. ABOUT & STORY SECTION (비대칭 매거진 에디토리얼)
   ========================================================================== */
.story-section {
  padding: 130px 0 90px;
  background-color: var(--bg-linen);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.story-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.section-eyebrow {
  font-family: var(--font-en-serif);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-brass);
}

.story-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.story-body {
  font-size: clamp(14px, 3.5vw, 15.5px);
  color: var(--text-secondary);
  line-height: 1.85;
  font-weight: 300;
}

.story-quote-box {
  border-left: 2px solid var(--accent-brass);
  padding: 14px 20px;
  background: var(--bg-sand);
  margin-top: 8px;
  border-radius: 0 var(--radius-subtle) var(--radius-subtle) 0;
}

.story-quote {
  font-family: var(--font-serif);
  font-size: clamp(13.5px, 3.5vw, 15px);
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
}

.story-specs-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  margin-top: 8px;
}

.spec-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-k {
  font-family: var(--font-en-serif);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spec-v {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-main);
}

/* Right Tall Editorial Photography Snap */
.story-right {
  position: relative;
}

.story-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  background: #edebe4;
}

.story-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.story-photo-frame:hover .story-photo-img {
  transform: scale(1.03);
}

.story-photo-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(252, 251, 248, 0.94);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  border-radius: var(--radius-subtle);
}

/* ==========================================================================
   7. SPACES GALLERY SECTION (보더리스 공간별 갤러리)
   ========================================================================== */
.gallery-section-main {
  padding: 100px 0 120px;
  background-color: var(--bg-sand);
}

.section-header-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-main-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 5.5vw, 34px);
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(13.5px, 3.5vw, 15px);
  color: var(--text-muted);
  font-weight: 300;
}

/* Gallery Filter Tabs */
.spaces-tab-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.spaces-tab-btn {
  appearance: none;
  border: 1px solid var(--border-light);
  background: var(--bg-linen);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-quick);
  min-height: 40px;
}

.spaces-tab-btn:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}

.spaces-tab-btn.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

/* Borderless Photo Cards Grid */
.spaces-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 36px 28px;
}

.space-photo-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: zoom-in;
  background: transparent;
}

.space-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: linear-gradient(90deg, #ede9e0 0%, #f7f4ee 50%, #ede9e0 100%);
  background-size: 200% 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.space-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.space-photo-card:hover .space-card-img {
  transform: scale(1.04);
}

.space-card-caption-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.space-card-label {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
}

.space-card-category {
  font-family: var(--font-en-serif);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-brass);
}

.amenities-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.amenity-bullet {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   8. INFORMATION & RULES SECTION (2단 그리드 & 접이식 아코디언)
   ========================================================================== */
.info-section-main {
  padding: 120px 0;
  background-color: var(--bg-linen);
}

.info-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}

/* Left: Big Time Numbers */
.info-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.time-highlight-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}

.time-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.time-label {
  font-family: var(--font-en-serif);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.time-number {
  font-family: var(--font-serif);
  font-size: clamp(30px, 7vw, 40px);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1;
}

.info-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: clamp(13.5px, 3.5vw, 14.5px);
  color: var(--text-secondary);
}

.info-bullet-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.bullet-dot {
  color: var(--accent-brass);
  font-size: 12px;
}

/* Right: Accordion Menus */
.info-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  min-height: 48px;
}

.accordion-title {
  font-family: var(--font-serif);
  font-size: clamp(15.5px, 4vw, 17px);
  font-weight: 500;
  color: var(--text-main);
}

.accordion-icon {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.accordion-item.active .accordion-panel {
  max-height: 450px;
  padding-bottom: 24px;
}

.accordion-panel p {
  margin-bottom: 8px;
}
.accordion-panel p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   9. FOOTER & KAKAO MAP CONTAINER & FLOATING CONTACT
   ========================================================================== */
footer {
  background-color: var(--bg-sand);
  border-top: 1px solid var(--border-light);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-title {
  font-family: var(--font-en-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-main);
  text-transform: uppercase;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.7;
}

.footer-location-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-address-box {
  background: var(--bg-linen);
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}

.address-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
}

/* Kakao Map Interactive Container */
.kakao-map-wrapper {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-subtle);
  background: #ede9df;
  overflow: hidden;
  border: 1px solid var(--border-light);
  position: relative;
}

.location-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-copy-address, .btn-map-link {
  appearance: none;
  background: var(--text-main);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-subtle);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-quick);
  min-height: 40px;
}

.btn-map-kakao {
  background: #fae100;
  color: #371d1e;
  font-weight: 600;
}
.btn-map-naver {
  background: #03c75a;
  color: #ffffff;
  font-weight: 600;
}

.btn-copy-address:hover {
  background: var(--accent-brass);
}
.btn-map-kakao:hover {
  background: #eed700;
}
.btn-map-naver:hover {
  background: #02b150;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--emerald-bg);
  color: var(--emerald-cert);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* Floating Contact Button */
.floating-contact-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 2000;
  background: var(--text-main);
  color: #ffffff;
  border: none;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-float);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-gentle);
  min-height: 48px;
}

.floating-contact-btn:hover {
  background: var(--accent-brass);
  transform: translateY(-3px);
}

/* Contact Modal */
.contact-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(29, 27, 24, 0.65);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-quick);
}

.contact-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.contact-modal-box {
  background: var(--bg-linen);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-modal);
  width: 100%;
  max-width: 440px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.contact-modal-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-main);
}

.contact-modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.channel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius-subtle);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-quick);
  min-height: 48px;
}

.channel-kakao {
  background: #fee500;
  color: #191919;
}
.channel-insta {
  background: #fdf2f4;
  color: #c13584;
  border: 1px solid #f7d2db;
}
.channel-close {
  background: var(--bg-sand);
  color: var(--text-secondary);
  border: none;
}

.copy-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(34, 32, 29, 0.94);
  color: #ffffff;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-float);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-gentle);
}

.copy-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 16, 14, 0.96);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  position: relative;
  width: 90vw;
  max-width: 1100px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.lightbox-caption-bar {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #ffffff;
  font-size: 13.5px;
  font-family: var(--font-serif);
}

.btn-close-lightbox {
  position: absolute;
  top: 24px;
  right: 32px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-quick);
  z-index: 5010;
}

.btn-close-lightbox:hover {
  border-color: #ffffff;
}

.lightbox-nav-btn, .gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5010;
  transition: var(--transition-quick);
}

.lightbox-nav-btn:hover, .gallery-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev, .gallery-nav-prev { left: -60px; }
.lightbox-next, .gallery-nav-next { right: -60px; }

.btn-zoom-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

@keyframes imgFadeIn {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* ==========================================================================
   10. PRINT / PDF BROCHURE STYLES (@media print)
   ========================================================================== */
@media print {
  body {
    background-color: #ffffff !important;
    color: #111111 !important;
    font-size: 12pt;
    line-height: 1.5;
  }

  #splash-screen,
  #site-header,
  #view-collection,
  .scroll-down-indicator,
  .hero-slides-controls,
  .floating-contact-btn,
  .contact-modal-backdrop,
  .copy-toast,
  .lightbox-backdrop,
  .spaces-tab-nav,
  .location-actions-row,
  .btn-share-stay {
    display: none !important;
  }

  #view-detail {
    display: block !important;
  }

  .hero-section {
    min-height: auto !important;
    height: auto !important;
    padding: 40px 0 !important;
    background: #ffffff !important;
    color: #111111 !important;
    border-bottom: 2pt solid #9d7e52;
  }

  .hero-overlay, .hero-slides-wrapper {
    display: none !important;
  }

  .hero-title {
    color: #111111 !important;
    font-size: 26pt !important;
  }

  .hero-desc {
    color: #444444 !important;
  }

  .story-section, .gallery-section-main, .info-section-main, footer {
    padding: 24px 0 !important;
    background: #ffffff !important;
    border: none !important;
    page-break-inside: avoid;
  }

  .story-grid, .info-grid, .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }

  .accordion-panel {
    max-height: none !important;
    display: block !important;
    padding-bottom: 10px !important;
  }

  .accordion-icon {
    display: none !important;
  }

  .space-photo-card {
    page-break-inside: avoid;
  }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .story-grid, .info-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .site-header {
    padding: 16px 24px;
  }
  .site-header.scrolled {
    padding: 12px 24px;
  }
  .lightbox-prev, .gallery-nav-prev { left: 10px; }
  .lightbox-next, .gallery-nav-next { right: 10px; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  .collection-hero {
    padding: 110px 0 60px;
  }
  .collection-grid-section {
    padding: 60px 0 100px;
  }
  .collection-cards-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .story-section, .gallery-section-main, .info-section-main {
    padding: 70px 0;
  }
  .site-header {
    padding: 14px 18px;
  }
  .header-nav-links {
    gap: 10px;
  }
  .header-nav-links a:not(.header-nav-btn) {
    display: none;
  }
  .spaces-photo-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .time-highlight-box {
    grid-template-columns: 1fr 1fr;
    padding: 20px 0;
  }
  .floating-contact-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 18px;
    font-size: 13px;
  }
  .hero-slides-controls {
    right: 18px;
    bottom: 76px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding-bottom: 80px;
  }
  .hero-tagline {
    font-size: 11px;
    letter-spacing: 0.18em;
  }
  .story-photo-frame {
    aspect-ratio: 4 / 3;
  }
}
