/* ==========================================================================
   ARAM (아람) — 자연이 무르익어, 맛이 되다.
   기존 공개 홈페이지의 구성과 디자인을 그대로 두고, 색만 변수로 정리했습니다.
   - data-theme="moss"    : 제안서 기준 모스 그린 · 따뜻한 아이보리 (기본)
   - data-theme="classic" : 기존 브라운 · 샴페인 · 아이보리
   ========================================================================== */

:root,
[data-theme="classic"] {
  --bg-ivory: #FCF9F4;
  --bg-cream: #F5EFE4;
  --bg-sand: #EDE3D3;
  --bg-surface: #FFFDF9;
  --bg-dark: #2C231C;
  --bg-dark-card: #382D24;
  --bg-footer: #261E18;
  --bg-video: #211A14;

  --ink: #362B22;
  --brand: #5A4632;
  --brand-hover: #473625;
  --accent: #B59162;
  --accent-light: #F3EAD9;
  --border: rgba(145, 114, 78, 0.22);
  --active-grad-end: #F6EFE2;

  --text-primary: #342A21;
  --text-secondary: #685A4E;
  --text-muted: #948475;
  --text-on-dark: #F8F3EB;
  --on-dark-accent: #E2C596;
  --on-dark-accent-strong: #F2D9B1;
  --on-dark-tag: #F5E6CE;

  --rgb-accent: 181, 145, 98;
  --rgb-brand: 90, 70, 50;
  --rgb-ink: 54, 43, 34;
  --rgb-ivory: 252, 249, 244;
  --rgb-cream: 245, 239, 228;
  --rgb-sand: 237, 227, 211;
  --rgb-dark: 44, 35, 28;
  --rgb-video: 33, 26, 20;
  --rgb-border: 145, 114, 78;
  --rgb-on-dark-accent: 226, 197, 150;
  --rgb-surface: 255, 253, 249;
  --page-filter: sepia(0.18) saturate(0.9) brightness(1.03);
}

[data-theme="moss"] {
  --bg-ivory: #FAF8F1;
  --bg-cream: #F1F0E4;
  --bg-sand: #E4E5D2;
  --bg-surface: #FFFEF9;
  --bg-dark: #252A1F;
  --bg-dark-card: #30362A;
  --bg-footer: #1E2219;
  --bg-video: #1B1F17;

  --ink: #2E3427;
  --brand: #4F5D3A;
  --brand-hover: #3F4B2E;
  --accent: #8A9A5B;
  --accent-light: #E9ECD8;
  --border: rgba(96, 110, 70, 0.22);
  --active-grad-end: #EEF0E1;

  --text-primary: #2D3227;
  --text-secondary: #5C6253;
  --text-muted: #898E7D;
  --text-on-dark: #F3F3EA;
  --on-dark-accent: #C9D3A0;
  --on-dark-accent-strong: #DDE5BB;
  --on-dark-tag: #E8EDD3;

  --rgb-accent: 138, 154, 91;
  --rgb-brand: 79, 93, 58;
  --rgb-ink: 46, 52, 39;
  --rgb-ivory: 250, 248, 241;
  --rgb-cream: 241, 240, 228;
  --rgb-sand: 228, 229, 210;
  --rgb-dark: 37, 42, 31;
  --rgb-video: 27, 31, 23;
  --rgb-border: 96, 110, 70;
  --rgb-on-dark-accent: 201, 211, 160;
  --rgb-surface: 255, 254, 249;
  --page-filter: saturate(0.55) brightness(1.04);
}

:root {
  --shadow-soft: 0 14px 36px rgba(var(--rgb-ink), 0.06);
  --shadow-hover: 0 22px 48px rgba(var(--rgb-ink), 0.12);
  --font-serif-kr: 'Gowun Batang', serif;
  --font-serif-en: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --transition: 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 84px; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg-ivory);
  color: var(--text-primary);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url('/assets/pampas-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.38;
  filter: var(--page-filter);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(var(--rgb-ivory), 0.62) 0%, rgba(var(--rgb-cream), 0.72) 50%, rgba(var(--rgb-ivory), 0.65) 100%);
  pointer-events: none;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.container { width: min(1220px, 92%); margin: 0 auto; }

/* Preview banner (관리자 미리보기에서만) */
.preview-banner {
  position: sticky;
  top: 0;
  z-index: 400;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: #1f2a44;
  color: #fff;
  font-size: 0.9rem;
}
.preview-banner strong { background: #f2c94c; color: #1f2a44; padding: 2px 10px; border-radius: 999px; }
.preview-banner a { text-decoration: underline; }
.is-preview .navbar { top: 44px; }

/* Top Scroll Progress Bar */
.scroll-progress-track { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 250; background: rgba(var(--rgb-accent), 0.14); }
.scroll-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width 0.1s ease-out; }

/* Navigation Header */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(var(--rgb-ivory), 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 6px 24px rgba(var(--rgb-ink), 0.06); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand-logo { display: inline-flex; align-items: center; gap: 8px; }
.nav-symbol { height: 30px; width: auto; object-fit: contain; }
.logo-en { font-family: var(--font-serif-en); font-size: 1.75rem; font-weight: 600; letter-spacing: 0.14em; color: var(--ink); }
.logo-kr { font-family: var(--font-serif-kr); font-size: 0.92rem; font-weight: 700; color: var(--accent); padding-left: 8px; border-left: 1px solid var(--border); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--text-secondary); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; border-radius: 999px; transition: var(--transition); }
.btn-primary { background: var(--brand); color: var(--bg-surface); padding: 14px 28px; font-size: 0.95rem; box-shadow: 0 8px 22px rgba(var(--rgb-brand), 0.22); }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-2px); }
.btn-secondary-hero { background: rgba(var(--rgb-surface), 0.85); color: var(--ink); border: 1px solid var(--border); padding: 14px 26px; font-size: 0.95rem; }
.btn-secondary-hero:hover { background: #fff; border-color: var(--accent); transform: translateY(-2px); }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.mobile-menu-btn span { width: 22px; height: 2px; background: var(--text-primary); transition: 0.25s; }

/* Editorial Chapter Header Bar */
.editorial-chapter-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.chapter-index { font-family: var(--font-serif-en); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.16em; color: var(--brand); white-space: nowrap; }
.chapter-line { flex: 1; min-width: 24px; height: 1px; background: linear-gradient(90deg, var(--border), rgba(var(--rgb-border), 0.06)); }
.chapter-name { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; color: var(--text-muted); white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.editorial-chapter-bar.dark .chapter-index { color: var(--on-dark-accent); }
.editorial-chapter-bar.dark .chapter-line { background: linear-gradient(90deg, rgba(var(--rgb-on-dark-accent), 0.35), rgba(var(--rgb-on-dark-accent), 0.05)); }
.editorial-chapter-bar.dark .chapter-name { color: rgba(255, 255, 255, 0.6); }

/* 1. Main Hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 68px 0 84px; }
.hero-media-wrapper { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; filter: var(--page-filter); }
.hero-clean-veil { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(var(--rgb-ivory), 0.84) 0%, rgba(var(--rgb-cream), 0.76) 60%, rgba(var(--rgb-sand), 0.68) 100%); }
.hero-split-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; }
.hero-identity-box {
  padding: 42px 38px;
  border-radius: var(--radius-lg);
  background: rgba(var(--rgb-surface), 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-edition-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; color: var(--accent); margin-bottom: 14px; }
.hero-logo-frame { width: min(350px, 88%); margin: 0 auto 16px; }
.hero-brand-emblem { width: 100%; height: auto; margin: 0 auto; }
.hero-text-logo { font-family: var(--font-serif-en); font-size: 3.4rem; letter-spacing: 0.2em; color: var(--ink); margin-bottom: 16px; }
.hero-essence { font-family: var(--font-serif-kr); font-size: 1.04rem; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.75; }
.hero-cta-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hero-video-stage { width: 100%; }
.hero-video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-dark);
  border: 1px solid rgba(var(--rgb-accent), 0.42);
  box-shadow: 0 26px 60px rgba(var(--rgb-ink), 0.16);
}
.hero-video-card.is-portrait { aspect-ratio: 9 / 16; width: min(100%, 420px, 62vh); margin: 0 auto; }
.hero-main-player { width: 100%; height: 100%; object-fit: cover; background: #000; }
.hero-player-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  color: var(--text-on-dark);
  transition: opacity 0.45s ease;
}
.hero-player-cover.hidden, .video-custom-cover.hidden { opacity: 0; pointer-events: none; }
.hero-cover-kenburns {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurnsAmbient 16s ease-in-out infinite alternate;
  filter: brightness(0.62) contrast(1.04);
}
.hero-cover-kenburns.is-plain { background: var(--bg-dark); animation: none; }
.hero-player-cover::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at center, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.12) 70%); pointer-events: none; }
.hero-player-quote, .hero-player-hint { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
@keyframes kenBurnsAmbient { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
.hero-cover-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero-player-tag {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--on-dark-tag);
  margin-bottom: 14px;
}
.hero-player-quote { font-family: var(--font-serif-kr); font-size: 1.45rem; color: #FFFDF9; margin-bottom: 20px; }
.hero-player-hint { margin-top: 18px; font-size: 0.83rem; color: rgba(255, 255, 255, 0.86); }

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--brand);
  font-weight: 600;
}
.scroll-line { width: 1px; height: 30px; background: linear-gradient(to bottom, var(--accent), transparent); }

/* Embedded / poster media */
.video-poster { position: absolute; inset: 0; object-fit: cover; }
.embed-slot { position: absolute; inset: 0; }
.embed-slot iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }

/* Common Section Layouts */
.section { padding: 105px 0; }
.section-header { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: var(--font-serif-kr); font-size: clamp(1.85rem, 3.2vw, 2.55rem); line-height: 1.34; color: var(--ink); margin-bottom: 16px; letter-spacing: -0.02em; }
.section-desc { color: var(--text-secondary); font-size: 1.02rem; }
.story-body .section-desc + .section-desc { margin-top: 6px; }

/* 2. Collection */
.botanicals-section { background: rgba(var(--rgb-cream), 0.78); backdrop-filter: blur(2px); }
.botanical-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.botanical-product-grid[data-count="1"] { grid-template-columns: minmax(0, 420px); justify-content: center; }
.botanical-product-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.botanical-product-grid[data-count="4"] { grid-template-columns: repeat(2, 1fr); }
.botanical-product-item {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: var(--transition);
  outline: none;
}
.botanical-product-item:hover, .botanical-product-item:focus-within, .botanical-product-item:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.bp-image-box { position: relative; height: 350px; overflow: hidden; }
.bp-image-box img, .bp-image-empty { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s ease; }
.bp-image-empty { background: linear-gradient(135deg, var(--bg-cream), var(--bg-sand)); }
.botanical-product-item:hover .bp-image-box img, .botanical-product-item:focus-within .bp-image-box img { transform: scale(1.06); }
.bp-hover-panel {
  position: absolute;
  inset: 0;
  background: rgba(var(--rgb-dark), 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-on-dark);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.botanical-product-item:hover .bp-hover-panel,
.botanical-product-item:focus-within .bp-hover-panel,
.botanical-product-item:focus-visible .bp-hover-panel,
.botanical-product-item.touch-open .bp-hover-panel { opacity: 1; transform: translateY(0); pointer-events: auto; }
.bp-hover-eyebrow { font-size: 0.74rem; font-weight: 700; color: var(--on-dark-accent); letter-spacing: 0.06em; margin-bottom: 8px; }
.bp-hover-panel h4 { font-family: var(--font-serif-kr); font-size: 1.22rem; color: #FFFDF9; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.bp-hover-list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; line-height: 1.62; color: rgba(255, 255, 255, 0.9); }
.bp-hover-list strong { color: var(--on-dark-accent-strong); }
.bp-caption-bar { padding: 18px 22px; background: var(--bg-surface); display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); }
.bp-title-group { display: flex; flex-direction: column; gap: 2px; }
.bp-product-type { font-size: 0.74rem; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; }
.bp-small-title { font-family: var(--font-serif-kr); font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.bp-hover-trigger {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--bg-cream);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: var(--transition);
}
.botanical-product-item:hover .bp-hover-trigger { background: var(--brand); color: var(--bg-surface); border-color: var(--brand); }

/* 3. Brand Story */
.story-section { background: rgba(var(--rgb-ivory), 0.76); backdrop-filter: blur(2px); }
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; }
.story-grid.no-image { grid-template-columns: minmax(0, 760px); justify-content: center; }
.story-image-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--border); position: relative; }
.story-image-card img { width: 100%; height: 480px; object-fit: cover; }
.img-caption { position: absolute; bottom: 0; inset-inline: 0; padding: 18px 24px; background: linear-gradient(to top, rgba(var(--rgb-dark), 0.8), transparent); color: #FFFDF9; font-size: 0.86rem; }
.story-steps { display: flex; flex-direction: column; gap: 20px; }
.step-card { display: flex; gap: 20px; padding: 26px; background: rgba(var(--rgb-surface), 0.94); border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow-soft); transition: var(--transition); }
.step-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.step-num { font-family: var(--font-serif-en); font-size: 2.1rem; font-weight: 700; color: var(--accent); line-height: 1; }
.step-body h3 { font-family: var(--font-serif-kr); font-size: 1.2rem; color: var(--ink); margin-bottom: 8px; }
.step-body p { color: var(--text-secondary); font-size: 0.94rem; }

/* 4. Process */
.process-section { background: rgba(var(--rgb-cream), 0.78); backdrop-filter: blur(2px); }
.process-track-wrapper { position: relative; }
.process-connector-line { position: absolute; top: 108px; left: 12%; right: 12%; height: 2px; background: rgba(var(--rgb-accent), 0.25); z-index: 0; }
.process-connector-fill { height: 100%; width: 25%; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.process-visual-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 1; }
.process-visual-track[data-count="1"] { grid-template-columns: minmax(0, 320px); justify-content: center; }
.process-visual-track[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.process-visual-track[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.process-visual-track[data-count="5"] { grid-template-columns: repeat(5, 1fr); }
.process-visual-track[data-count="6"] { grid-template-columns: repeat(6, 1fr); }
.process-icon-node {
  background: rgba(var(--rgb-surface), 0.95);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
}
.process-icon-node:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-hover); }
.process-icon-node.active { background: linear-gradient(180deg, var(--bg-surface) 0%, var(--active-grad-end) 100%); border-color: var(--brand); box-shadow: 0 18px 40px rgba(var(--rgb-brand), 0.14); }
.node-step-num { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 16px; }
.node-emblem { width: 84px; height: 84px; border-radius: 50%; background: var(--bg-cream); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--brand); margin-bottom: 18px; transition: var(--transition); }
.node-emblem svg { width: 44px; height: 44px; }
.process-icon-node.active .node-emblem, .process-icon-node:hover .node-emblem { background: var(--brand); color: var(--bg-surface); border-color: var(--brand); transform: scale(1.06); }
.node-title { font-family: var(--font-serif-kr); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.node-click-hint { font-size: 0.78rem; font-weight: 600; color: var(--brand); padding: 5px 14px; border-radius: 999px; background: var(--accent-light); transition: var(--transition); }
.process-icon-node.active .node-click-hint { background: var(--brand); color: var(--bg-surface); }

.process-detail-drawer { margin-top: 26px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease; }
.process-detail-drawer.open { max-height: 1400px; opacity: 1; }
.drawer-inner { background: var(--bg-surface); border: 1.5px solid var(--accent); border-radius: var(--radius-lg); padding: 34px 40px; box-shadow: var(--shadow-soft); display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; }
.drawer-inner.no-image { grid-template-columns: 1fr; }
.drawer-inner.no-image .drawer-media { display: none; }
.drawer-media img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--border); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer-badge { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: var(--brand); background: var(--accent-light); padding: 5px 14px; border-radius: 999px; }
.drawer-close-btn { font-size: 0.84rem; color: var(--text-muted); padding: 6px 12px; border-radius: 999px; background: var(--bg-cream); }
.drawer-close-btn:hover { color: var(--ink); }
.drawer-title { font-family: var(--font-serif-kr); font-size: 1.38rem; color: var(--ink); margin-bottom: 12px; }
.drawer-desc { font-size: 0.96rem; color: var(--text-secondary); line-height: 1.78; margin-bottom: 18px; white-space: pre-line; }
.drawer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer-tags span { font-size: 0.8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--bg-cream); color: var(--brand); }

/* 5. Film */
.film-section { background: var(--bg-dark); color: var(--text-on-dark); }
.film-section .eyebrow { color: var(--on-dark-accent); }
.film-section .section-title { color: #FFFDF9; }
.film-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 54px; align-items: center; }
.film-desc { color: rgba(255, 255, 255, 0.82); margin-bottom: 30px; font-size: 1rem; line-height: 1.75; }
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42); border: 1px solid rgba(var(--rgb-on-dark-accent), 0.24); aspect-ratio: 16 / 9; background: var(--bg-video); }
.showcase-video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.video-frame.is-portrait { aspect-ratio: 9 / 16; width: min(100%, 400px, 62vh); margin: 0 auto; }
.video-frame.is-portrait .video-custom-cover { padding: 24px 18px; }
.video-frame.is-portrait .video-custom-cover h3 { font-size: 1.25rem; }
.video-custom-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--rgb-video), 0.9) 0%, rgba(var(--rgb-video), 0.45) 55%, rgba(var(--rgb-video), 0.72) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  transition: opacity 0.4s ease;
}
.cover-badge { font-size: 0.74rem; letter-spacing: 0.18em; padding: 5px 14px; border-radius: 999px; background: rgba(var(--rgb-on-dark-accent), 0.2); color: var(--on-dark-accent); margin-bottom: 16px; font-weight: 700; }
.video-custom-cover h3 { font-family: var(--font-serif-kr); font-size: 1.55rem; margin-bottom: 10px; }
.video-custom-cover p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); margin-bottom: 24px; }
.play-circle-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFDF9;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(var(--rgb-accent), 0.28);
  transition: var(--transition);
}
.play-circle-btn:hover { transform: scale(1.08); background: var(--brand); }

/* 6. Space & FAQ */
.faq-section { background: rgba(var(--rgb-ivory), 0.78); backdrop-filter: blur(2px); }
.space-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 84px; }
.space-cards-grid[data-count="1"] { grid-template-columns: minmax(0, 420px); justify-content: center; }
.space-cards-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; }
.space-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; transition: var(--transition); }
.space-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow-hover); }
.space-badge { align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--brand); background: var(--accent-light); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.space-card h3 { font-family: var(--font-serif-kr); font-size: 1.26rem; color: var(--ink); margin-bottom: 8px; }
.space-address { font-size: 0.92rem; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.space-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.68; flex: 1; }
.space-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.btn-copy-email { font-size: 0.8rem; font-weight: 600; color: var(--ink); background: var(--bg-cream); padding: 7px 14px; border-radius: 999px; transition: var(--transition); }
.btn-copy-email:hover { background: var(--brand); color: var(--bg-surface); }
.btn-mail-link { font-size: 0.82rem; font-weight: 600; color: var(--brand); }
.btn-mail-link:hover { text-decoration: underline; }

.faq-narrow { max-width: 820px; margin: 0 auto; }
.faq-header { margin-bottom: 36px; }
.accordion { display: flex; flex-direction: column; gap: 14px; }
.accordion-item { background: var(--bg-surface); border-radius: var(--radius-md); border: 1px solid var(--border); overflow: hidden; }
.accordion-heading { font: inherit; margin: 0; }
.accordion-header { width: 100%; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.acc-icon { font-size: 1.3rem; color: var(--accent); font-weight: 700; flex: none; }
.accordion-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s ease; }
.accordion-inner { overflow: hidden; }
.accordion-item.active .accordion-body { grid-template-rows: 1fr; }
.accordion-body p { padding: 0 24px 22px; font-size: 0.94rem; color: var(--text-secondary); }

/* Footer */
.footer { background: var(--bg-footer); color: rgba(255, 255, 255, 0.76); padding: 54px 0 48px; font-size: 0.9rem; border-top: 1px solid rgba(var(--rgb-on-dark-accent), 0.16); }
.footer-clean { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.footer-brand-block { display: flex; flex-direction: column; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-brand .logo-en { color: #FFFDF9; }
.footer-brand .logo-kr { color: var(--on-dark-accent); }
.footer-slogan { font-family: var(--font-serif-kr); font-size: 0.98rem; color: rgba(255, 255, 255, 0.88); }
.footer-company-info { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.78); line-height: 1.65; }
.footer-company-info strong { color: var(--on-dark-accent); font-weight: 600; }
.footer-company-info a:hover { color: #FFFDF9; text-decoration: underline; }
.info-divider { margin: 0 8px; color: rgba(255, 255, 255, 0.25); }
.copyright { font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  background: var(--ink);
  color: #FFFDF9;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(var(--rgb-on-dark-accent), 0.45);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Scroll Reveal & Responsive */
.reveal-up { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-up { opacity: 1; transform: none; transition: none; }
  .hero-cover-kenburns { animation: none; }
}

@media (max-width: 1024px) {
  .hero-split-layout, .story-grid, .film-layout, .drawer-inner { grid-template-columns: 1fr; }
  .process-connector-line { display: none; }
  .process-visual-track, .process-visual-track[data-count] { grid-template-columns: repeat(2, 1fr); }
  .botanical-product-grid, .botanical-product-grid[data-count="4"], .space-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px;
    inset-inline: 0;
    background: var(--bg-ivory);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .is-preview .nav-links { top: 120px; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu-btn { display: flex; }
  .hero-identity-box { padding: 32px 22px; }
  .section { padding: 80px 0; }
  .editorial-chapter-bar { gap: 10px; }
  .chapter-name { white-space: normal; text-align: right; letter-spacing: 0.12em; line-height: 1.4; }
  .process-visual-track, .process-visual-track[data-count], .botanical-product-grid, .botanical-product-grid[data-count], .space-cards-grid, .space-cards-grid[data-count] { grid-template-columns: 1fr; }
  .bp-image-box { height: 300px; }
  .story-image-card img { height: 340px; }
  .drawer-inner { padding: 24px 20px; }
  .toast { left: 16px; right: 16px; text-align: center; border-radius: 18px; }
}
