:root {
  --bg: #FFFFFF;
  --text: #2D2B2A;
  --accent: #72655B;
  --border: rgba(45, 43, 42, 0.15);
  --font-head: 'Cormorant Garamond', 'Nanum Myeongjo', serif;
  --font-body: 'Lato', 'Noto Sans KR', sans-serif;
  --header-h: 80px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.8 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }
p { margin: 0 0 0.5em; }
p:last-child { margin-bottom: 0; }

/* Multilingual overrides */
:lang(ko) { word-break: keep-all; }
:lang(ja), :lang(zh) { word-break: normal; overflow-wrap: anywhere; }

/* Typography */
h1, h2, h3, .page-title {
  font-family: var(--font-head);
  font-weight: 400;
  margin: 0 0 1em;
  color: var(--text);
}
.page-title { font-size: 44px; text-align: center; margin-bottom: 60px; letter-spacing: 0.02em; }

/* Buttons */
.btn-solid, .btn-outline, .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-solid, .btn-submit {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-solid:hover, .btn-submit:hover {
  background: var(--text);
  border-color: var(--text);
  opacity: 1;
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: #fff;
  opacity: 1;
}

/* Header */
.hd {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s ease;
}
.hd-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 40px;
}
.hd-logo img { height: 32px; width: auto; }
.hd-nav { display: flex; gap: 48px; }
.hd-nav a {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.hd-nav a[aria-current]::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--text);
}
.hd-utils { display: flex; align-items: center; gap: 24px; }
.hd-lang { display: flex; gap: 16px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: #888; }
.hd-lang a[aria-current] { font-weight: 600; color: var(--text); }
.hd-burger { display: none; background: none; border: none; padding: 5px; cursor: pointer; width: 30px; height: 20px; flex-direction: column; justify-content: space-between; }
.hd-burger span { display: block; height: 1px; background: var(--text); width: 100%; }

/* Drawer */
.drawer[hidden] { display: none; }
.drawer {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.drawer-x {
  position: absolute; top: 20px; right: 20px; width: 48px; height: 48px;
  font-size: 40px; background: none; border: none; color: var(--text); cursor: pointer; line-height: 1; z-index: 201;
  display: flex; align-items: center; justify-content: center;
}
.drawer-nav { display: flex; flex-direction: column; gap: 32px; text-align: center; }
.drawer-nav a { font-family: var(--font-head); font-size: 32px; letter-spacing: 0.05em; }
.drawer-lang { margin-top: 60px; display: flex; gap: 24px; }
.drawer-lang a { font-size: 14px; text-transform: uppercase; color: #888; }
.drawer-lang a[aria-current] { font-weight: bold; color: var(--text); border-bottom: 1px solid var(--text); }

/* Footer */
.ft { border-top: 1px solid var(--border); padding: 80px 5%; font-size: 12px; line-height: 2; text-align: center; background: var(--bg); }
.ft-logo { margin-bottom: 40px; display: flex; justify-content: center; }
.ft-logo img { opacity: 0.8; }
.biz { margin-bottom: 30px; color: #777; font-size: 11px; line-height: 2; }
.biz p { margin: 0; }
@media (min-width: 761px) {
  .biz p { display: inline-block; margin: 0 10px; position: relative; }
  .biz p:not(:last-child)::after { content: '|'; position: absolute; right: -12px; color: #ddd; }
}
.biz-no { font-family: var(--font-body); letter-spacing: 0.05em; }
.ft-lang { display: flex; justify-content: center; gap: 24px; margin-top: 40px; }
.ft-lang a { color: #999; text-transform: uppercase; letter-spacing: 0.05em; }
.ft-lang a[aria-current] { font-weight: 600; color: var(--text); }

/* Layout - Page Sections */
.page-sec { padding: 120px 5%; max-width: 1200px; margin: 0 auto; min-height: 60vh; }

/* Home - Split Screen */
.split-wrap { display: flex; align-items: flex-start; }
.split-left {
  position: sticky;
  top: var(--header-h);
  width: 50%;
  height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 8%;
  background: var(--bg);
  z-index: 10;
  overflow-y: auto;
  scrollbar-width: none;
}
.split-left::-webkit-scrollbar { display: none; }
.intro-badges { display: flex; gap: 20px; margin-bottom: 40px; }
.intro-badges img { width: 72px; height: 72px; object-fit: contain; }
.intro-h {
  font-size: 20px;
  font-family: var(--font-body);
  line-height: 1.6;
  margin-bottom: 30px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.intro-h span { display: block; }
.intro-addr {
  font-size: 13px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.8;
}
.intro-btns { display: flex; flex-wrap: wrap; gap: 16px; }

.split-right { width: 50%; }
.r-panel { width: 100%; }
.r-img, .r-video, .r-room { height: calc(100vh - var(--header-h)); }
.r-img img, .r-video video { width: 100%; height: 100%; object-fit: cover; }
.r-dp { background: #1A1918; color: #FFF; display: flex; flex-direction: column; }
.dp-text-wrap { padding: 120px 10% 80px; text-align: center; max-width: 800px; margin: 0 auto; }
.dp-text-wrap h2 { color: #FFF; font-size: 40px; margin-bottom: 30px; font-family: var(--font-head); letter-spacing: 0.02em; }
.dp-text-wrap p { font-size: 15px; opacity: 0.85; margin-bottom: 12px; line-height: 1.8; }
.r-dp img, .r-dp video { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.r-room { position: relative; overflow: hidden; background: #000; }
.r-room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease-in-out; }
.r-room img.on { opacity: 1; z-index: 1; }

/* Menu */
.tabs { display: flex; justify-content: center; gap: 60px; margin-bottom: 80px; }
.tabs h1 { margin: 0; font-size: inherit; font-family: inherit; font-weight: inherit; line-height: inherit; display: contents; }
.tabs a { font-family: var(--font-head); font-size: 22px; color: #aaa; text-transform: uppercase; letter-spacing: 0.05em; position: relative; padding-bottom: 8px; }
.tabs a[aria-current] { color: var(--text); }
.tabs a[aria-current]::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--text); }
.menu-content { max-width: 640px; margin: 0 auto; text-align: center; }
.course-list { list-style: none; padding: 0; margin: 0 0 60px; }
.course-list li { margin-bottom: 32px; }
.c-ko { display: block; font-family: var(--font-body); font-size: 18px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.c-en { display: block; font-family: var(--font-body); font-size: 14px; color: #888; text-transform: uppercase; letter-spacing: 0.05em; }
.menu-meta { margin-bottom: 40px; font-size: 14px; }
.m-price { font-size: 20px; font-family: var(--font-head); margin-bottom: 24px; letter-spacing: 0.05em; }
.m-pair { color: #666; }
.pdf-dl { margin-top: 60px; }

/* Reservation */
.res-wrap { max-width: 900px; margin: 0 auto; }
.res-hours { text-align: center; font-size: 15px; margin-bottom: 80px; padding: 40px; background: #FAFAFA; border: 1px solid var(--border); line-height: 1.8; }
.res-hours p { margin-bottom: 8px; }
.res-hours p:last-child { margin-bottom: 0; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 80px; }
.res-block { text-align: center; padding: 60px 40px; background: #FAFAFA; border: 1px solid var(--border); }
.res-text { margin-bottom: 30px; font-size: 15px; line-height: 1.8; color: #444; }
.res-text a { text-decoration: underline; text-underline-offset: 4px; }
.res-loc { text-align: center; }
.loc-info { margin-bottom: 40px; font-size: 15px; }
.loc-info .btn-outline { margin-top: 20px; }
.loc-map { width: 100%; height: 450px; background: #eee; }
.map { width: 100%; height: 100%; border: none; filter: grayscale(20%) contrast(110%); }

/* Gallery */
.gal-sec { padding: 100px 5%; max-width: 1400px; margin: 0 auto; }
.gal-group { margin-bottom: 80px; position: relative; }
.gal-track { display: flex; gap: 16px; }
.gal-item { display: block; flex: 1; aspect-ratio: 2/3; overflow: hidden; background: #f4f4f4; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gal-item:hover img { transform: scale(1.05); }
.gal-group[data-strip] .gal-track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gal-group[data-strip] .gal-track::-webkit-scrollbar { display: none; }
.gal-group[data-strip] .gal-item { flex: 0 0 350px; scroll-snap-align: start; }
.gal-grid { flex-wrap: wrap; }
.gal-grid .gal-item { flex: 0 0 calc(33.333% - 11px); aspect-ratio: 1; }
.strip-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: #fff; color: var(--text); border: 1px solid var(--border);
  width: 48px; height: 48px; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.strip-btn:hover { background: var(--text); color: #fff; border-color: var(--text); }
.strip-btn.prev { left: -24px; }
.strip-btn.next { right: -24px; }
.lb { border: none; background: transparent; padding: 0; max-width: 95vw; max-height: 95vh; }
.lb::backdrop { background: rgba(255, 255, 255, 0.95); }
.lb img { max-width: 95vw; max-height: 90vh; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.lb-x { position: fixed; top: 20px; right: 30px; font-size: 40px; font-weight: 300; color: var(--text); background: none; border: none; cursor: pointer; }

/* Story */
.story-sec { padding: 120px 5%; max-width: 1200px; margin: 0 auto; }
.story-head { text-align: center; max-width: 800px; margin: 0 auto 100px; }
.story-head .page-title { margin-bottom: 20px; }
.story-sub { font-family: var(--font-head); font-size: 24px; color: var(--accent); margin-bottom: 40px; font-style: italic; }
.story-intro { font-size: 16px; color: #555; line-height: 1.8; }
.s-card { display: flex; align-items: center; gap: 8%; margin-bottom: 120px; }
.s-card:last-child { margin-bottom: 0; }
.s-card:nth-child(even) { flex-direction: row-reverse; }
.s-card-img { flex: 1; aspect-ratio: 3/4; overflow: hidden; }
.s-card-img img { width: 100%; height: 100%; object-fit: cover; }
.s-card-txt { flex: 1; }
.s-card-txt h2 { font-size: 32px; margin-bottom: 30px; }
.s-card-txt p { font-size: 15px; line-height: 1.9; color: #555; }

/* Promotion */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.promo-img { display: block; aspect-ratio: 3/4; overflow: hidden; background: #f4f4f4; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.promo-img:hover img { transform: scale(1.03); }
.promo-vid { grid-column: span 2; aspect-ratio: 16/9; background: #000; }
.promo-vid video { width: 100%; height: 100%; object-fit: cover; }

/* Gift */
.gift-wrap { display: flex; gap: 80px; align-items: center; max-width: 1000px; margin: 0 auto; }
.gift-img { flex: 1; display: flex; justify-content: center; align-items: center; background: #F9F9F9; padding: 60px; border: 1px solid var(--border); }
.gift-img img { max-width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); }
.gift-content { flex: 1; }
.gift-content .page-title { text-align: left; margin-bottom: 20px; }
.gift-desc { font-size: 16px; margin-bottom: 40px; }
.gift-amts { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.amt-badge { padding: 12px 24px; border: 1px solid var(--border); font-size: 15px; color: var(--text); background: #fdfdfd; }
.gift-buy { width: 100%; margin-bottom: 40px; }
.gift-notes { font-size: 12px; color: #888; border-top: 1px solid var(--border); padding-top: 20px; }

/* Contact & Info */
.contact-wrap, .info-wrap { display: flex; gap: 100px; max-width: 1200px; margin: 0 auto; }
.contact-info, .info-txt { flex: 1; }
.contact-info .page-title, .info-txt .page-title { text-align: left; margin-bottom: 30px; }
.contact-txt { font-size: 15px; line-height: 1.8; }
.contact-txt p { margin-bottom: 12px; }
.contact-form-wrap { flex: 1.2; background: #FAFAFA; padding: 60px; border: 1px solid var(--border); }
.contact-f { display: flex; flex-wrap: wrap; gap: 24px; }
.contact-f label { width: 100%; display: flex; flex-direction: column; gap: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: #555; }
.contact-f label.half { width: calc(50% - 12px); }
.contact-f input, .contact-f textarea { width: 100%; border: 1px solid var(--border); background: #fff; padding: 16px; font-family: inherit; font-size: 15px; border-radius: 0; outline: none; transition: border-color 0.3s; box-sizing: border-box; }
.contact-f input:focus, .contact-f textarea:focus { border-color: var(--text); }
.contact-f .btn-submit { width: 100%; margin-top: 10px; }
.contact-msg { width: 100%; font-size: 14px; color: var(--accent); min-height: 20px; }
.hp { display: none; }

.info-wrap { align-items: stretch; }
.info-txt { display: flex; flex-direction: column; justify-content: center; padding-right: 40px; }
.info-lines { margin-bottom: 40px; font-size: 15px; line-height: 1.8; }
.info-map { flex: 1.2; height: 500px; background: #eee; }

.not-found { text-align: center; }

/* Mobile Responsive */
@media (max-width: 760px) {
  .hd-nav, .hd-utils .hd-lang { display: none; }
  .hd-burger { display: flex; }
  .hd-in { padding: 0 20px; }
  
  /* Reset Split Screen for Mobile */
  .split-wrap { flex-direction: column; }
  .split-left {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 60px 20px;
    border-bottom: 1px solid var(--border);
    align-items: center;
    text-align: center;
  }
  .intro-badges { justify-content: center; margin-bottom: 20px; }
  .intro-btns { justify-content: center; }
  
  .split-right { width: 100%; }
  .r-img, .r-video, .r-room { height: 70vh; }
  .r-dp img, .r-dp video { aspect-ratio: auto; }
  .dp-text-wrap { padding: 60px 20px; }
  
  .page-sec { padding: 60px 20px; }
  .page-title { font-size: 32px; margin-bottom: 40px; }
  
  .tabs { flex-direction: column; gap: 20px; align-items: center; margin-bottom: 40px; }
  .res-grid { grid-template-columns: 1fr; gap: 20px; }
  .res-block { padding: 40px 20px; }
  
  .gal-group[data-strip] .gal-track { scroll-snap-type: x mandatory; overflow-x: auto; padding-bottom: 20px; }
  .gal-group[data-strip] .gal-item { flex: 0 0 85%; }
  .gal-grid .gal-item { flex: 0 0 calc(50% - 8px); }
  .strip-btn { display: none; }
  
  .s-card { flex-direction: column !important; gap: 40px; margin-bottom: 80px; }
  .s-card-txt { text-align: center; }
  
  .promo-grid { grid-template-columns: 1fr; }
  .promo-vid { grid-column: span 1; }
  
  .gift-wrap, .contact-wrap, .info-wrap { flex-direction: column; gap: 40px; }
  .contact-form-wrap { padding: 30px 20px; }
  .info-txt { padding-right: 0; text-align: center; }
  .info-map { height: 350px; }
  
  .ft { padding: 60px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
