/* ============================================================
   M BEAUTY v2 — White · Black · Gold
   Clean luxury · Photography-forward · Feminine editorial
   ============================================================ */

:root {
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --light: #F5F5F5;
  --black: #0D0D0D;
  --dark: #1A1A1A;
  --text: #2A2A2A;
  --muted: #777777;
  --gold: #C9A84C;
  --gold-light: #E0C070;
  --gold-dark: #A8882E;
  --gold-dim: rgba(201, 168, 76, 0.1);
  --border: #E8E8E8;
  --border-dark: #D0D0D0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', sans-serif;
  --font-kr: 'Noto Sans KR', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-preloader: 200;
  --z-lang: 110;
  --z-nav: 100;
  --z-mobile: 90;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
em { font-style: italic; color: var(--gold-dark); font-family: var(--font-display); }

/* ─── LAYOUT ─── */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.section { padding: 110px 0; }
.section-header { text-align: center; margin-bottom: 64px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.section-title { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 400; line-height: 1.15; color: var(--black); }
.section-sub { font-size: 0.9rem; color: var(--muted); max-width: 440px; text-align: center; line-height: 1.8; }
.body-text { font-size: 0.92rem; line-height: 1.9; color: var(--muted); max-width: 500px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-dark);
}
.eyebrow::before, .eyebrow::after { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 36px; font-family: var(--font-body); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; transition: all 220ms var(--ease); white-space: nowrap;
}
.btn--black { background: var(--black); color: var(--white); border: 1.5px solid var(--black); }
.btn--black:hover { background: var(--dark); border-color: var(--dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn--gold { background: var(--gold); color: var(--black); border: 1.5px solid var(--gold); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,168,76,0.3); }
.btn--outline { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ─── PRELOADER ─── */
.preloader {
  position: fixed; inset: 0; z-index: var(--z-preloader);
  background: var(--white); display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.preloader-logo { width: 64px; opacity: 0; transform: translateY(10px); animation: fadeUp 0.5s var(--ease) 0.2s forwards; filter: brightness(0) saturate(0); }
.preloader-line { width: 0; height: 1px; background: var(--gold); animation: expandLine 0.8s var(--ease) 0.55s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes expandLine { to { width: 80px; } }

/* ─── LANG TOGGLE ─── */
.lang-toggle {
  position: fixed; top: 22px; right: 80px; z-index: var(--z-lang);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding: 6px 13px; border: 1px solid var(--border-dark);
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); transition: color 150ms, border-color 150ms;
}
.lang-toggle:hover { color: var(--gold-dark); border-color: var(--gold); }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  padding: 0 40px; height: 68px; display: flex; align-items: center;
  transition: background 300ms, box-shadow 300ms;
}
.nav.scrolled { background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border); }
.nav-inner { width: 100%; max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo-img { width: 36px; filter: brightness(0) saturate(0); transition: opacity 150ms; }
.nav-logo:hover .nav-logo-img { opacity: 0.7; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); transition: color 150ms; }
.nav-link:hover { color: var(--black); }
.nav-cta { color: var(--white) !important; background: var(--black); padding: 8px 20px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: background 150ms !important; }
.nav-cta:hover { background: var(--gold-dark) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--black); transition: all 250ms var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.open span:nth-child(2) { transform: rotate(-45deg) translate(4px, -5px); }

/* ─── MOBILE MENU ─── */
.mobile-menu { position: fixed; inset: 0; z-index: var(--z-mobile); background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; opacity: 0; visibility: hidden; transition: all 350ms var(--ease); }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-link { font-family: var(--font-display); font-size: 2.4rem; font-weight: 400; color: var(--black); transition: color 150ms; }
.mobile-link:hover { color: var(--gold-dark); }
.mobile-link--cta { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); background: var(--black); padding: 13px 36px; margin-top: 12px; }

/* ─── HERO ─── */
.hero { position: relative; height: 100vh; min-height: 640px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }

/* Left — text panel */
.hero-left {
  position: relative; z-index: 2; background: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 60px 80px 80px;
}
.hero-location { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 20px; }
.hero-title { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.hero-t1 { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 6.5rem); font-weight: 400; line-height: 1; color: var(--black); letter-spacing: -0.02em; }
.hero-t1 em { color: var(--gold-dark); }
.hero-t2 { font-family: var(--font-kr); font-size: clamp(0.9rem, 2vw, 1.2rem); font-weight: 300; color: var(--muted); letter-spacing: 0.2em; }
.hero-desc { font-size: 0.86rem; color: var(--muted); line-height: 1.8; margin-bottom: 36px; max-width: 360px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-gold-bar { position: absolute; bottom: 0; left: 80px; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); }

/* Right — photo */
.hero-right { position: relative; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-img-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(255,255,255,0.12), transparent); }

/* ─── MARQUEE ─── */
.marquee { overflow: hidden; background: var(--black); padding: 13px 0; }
.marquee-track { display: flex; gap: 32px; white-space: nowrap; animation: marquee 28s linear infinite; width: max-content; }
.marquee-track span { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.marquee-track .dot { color: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── ABOUT ─── */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-img-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.about-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 700ms var(--ease); }
.about-img-wrap:hover .about-img { transform: scale(1.03); }
.about-img-border { position: absolute; bottom: -12px; right: -12px; width: 80%; height: 80%; border: 1px solid var(--gold); opacity: 0.4; pointer-events: none; }
.about-badge { position: absolute; top: 24px; left: -24px; width: 110px; height: 110px; background: var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.badge-num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; color: var(--black); line-height: 1; }
.badge-txt { font-size: 0.55rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(0,0,0,0.6); line-height: 1.4; text-align: center; }
.about-body { display: flex; flex-direction: column; gap: 18px; }
.gold-rule { width: 40px; height: 2px; background: var(--gold); }
.stats { display: flex; align-items: center; gap: 0; padding-top: 8px; border-top: 1px solid var(--border); margin-top: 8px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; padding: 20px 0; }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--black); line-height: 1; }
.stat-plus { font-size: 1rem; color: var(--gold-dark); }
.stat-lbl { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stat-div { width: 1px; height: 40px; background: var(--border); }

/* ─── SERVICES ─── */
.services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.svc-card { background: var(--white); transition: background 250ms; }
.svc-card:hover { background: var(--off-white); }
.svc-card-inner { padding: 44px 32px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.svc-top-bar { width: 32px; height: 2px; background: var(--gold); margin-bottom: 4px; }
.svc-icon { width: 40px; height: 40px; color: var(--black); opacity: 0.6; }
.svc-icon svg { width: 100%; height: 100%; }
.svc-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--black); }
.svc-desc { font-size: 0.83rem; line-height: 1.8; color: var(--muted); }
.svc-badge { display: inline-block; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); background: var(--gold-dim); padding: 4px 10px; margin-top: 4px; width: fit-content; }
.services-cta { text-align: center; margin-top: 52px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.services-cta p { font-size: 0.78rem; color: var(--muted); }

/* ─── GALLERY ─── */
.gallery { background: var(--white); }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.gf-btn { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 7px 18px; border: 1px solid var(--border-dark); background: transparent; transition: all 200ms; cursor: pointer; }
.gf-btn:hover, .gf-btn.active { color: var(--black); border-color: var(--black); background: var(--black); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.g-item { position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.g-item:hover img { transform: scale(1.07); }
.g-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); display: flex; align-items: flex-end; padding: 14px; opacity: 0; transition: opacity 250ms; }
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay span { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); }
.g-item.hidden { display: none; }

/* ─── STUDIO ─── */
.studio { background: var(--light); overflow: hidden; }
.studio-mosaic { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4px; align-items: start; }
.mosaic-large { overflow: hidden; aspect-ratio: 1 / 1; }
.mosaic-large img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 700ms var(--ease); }
.mosaic-large:hover img { transform: scale(1.04); }
.mosaic-small { display: flex; flex-direction: column; gap: 4px; }
.mosaic-sm { overflow: hidden; aspect-ratio: 1 / 1; }
.mosaic-sm img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 700ms var(--ease); }
.mosaic-sm:hover img { transform: scale(1.06); }

/* ─── TESTIMONIAL ─── */
.testimonial-section { background: var(--black); padding: 100px 0; position: relative; z-index: 1; }
.testimonial { max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.quote-mark { font-family: var(--font-display); font-size: 6rem; color: var(--gold); opacity: 0.2; line-height: 1; margin-bottom: -20px; }
blockquote { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 400; font-style: italic; line-height: 1.65; color: var(--white); }
.testimonial-stars { display: flex; gap: 4px; }
.testimonial-stars svg { fill: var(--gold); }
.testimonial-author { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

/* ─── CONTACT ─── */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-dl { display: flex; flex-direction: column; }
.contact-row { display: grid; grid-template-columns: 86px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-row:first-child { border-top: 1px solid var(--border); }
dt { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); padding-top: 2px; }
dd { font-size: 0.88rem; color: var(--text); line-height: 1.75; }
dd a { color: var(--text); transition: color 150ms; }
dd a:hover { color: var(--gold-dark); }
.book-panel { background: var(--black); padding: 48px 40px; position: relative; overflow: hidden; }
.book-accent { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.book-title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--white); margin-bottom: 10px; }
.book-desc { font-size: 0.86rem; color: rgba(255,255,255,0.5); line-height: 1.8; margin-bottom: 32px; }
.book-actions { display: flex; flex-direction: column; gap: 12px; }
.book-note { display: flex; align-items: center; gap: 8px; font-size: 0.68rem; color: rgba(255,255,255,0.3); margin-top: 20px; }

/* ─── FOOTER ─── */
.footer { background: var(--off-white); border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo { width: 40px; filter: brightness(0) saturate(0); opacity: 0.4; }
.footer-kr { font-family: var(--font-kr); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.12em; }
.footer-nav { display: flex; gap: 28px; }
.footer-nav a { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); transition: color 150ms; }
.footer-nav a:hover { color: var(--gold-dark); }
.footer-bottom { display: flex; gap: 24px; font-size: 0.64rem; color: #BBBBBB; }

/* ─── SCROLL ANIMATIONS ─── */
.reveal, .reveal-slide, .reveal-scale { opacity: 0; transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal { transform: translateY(20px); }
.reveal-slide { transform: translateX(-24px); }
.reveal-scale { transform: scale(0.97); }
.reveal.visible, .reveal-slide.visible, .reveal-scale.visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 100ms; }
.reveal--d2 { transition-delay: 200ms; }
.reveal--d3 { transition-delay: 300ms; }
.reveal--d4 { transition-delay: 400ms; }
[data-delay="1"] { transition-delay: 100ms; }
[data-delay="2"] { transition-delay: 200ms; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .lang-toggle { right: 56px; }

  /* Hero stacks vertically on mobile */
  .hero { grid-template-columns: 1fr; height: auto; }
  .hero-left { padding: 100px 24px 60px; order: 2; }
  .hero-right { height: 50vh; order: 1; }
  .hero-gold-bar { left: 24px; }
  .hero-btns { flex-direction: column; }

  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-badge { left: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-mosaic { grid-template-columns: 1fr; }
  .mosaic-large { aspect-ratio: 4/3; }
  .mosaic-small { flex-direction: row; }
  .mosaic-sm { aspect-ratio: 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 480px) {
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .footer-bottom { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-slide, .reveal-scale { transition: opacity 300ms; transform: none; }
  .marquee-track { animation-play-state: paused; }
}

/* ─── SERVICE PRICE TAG ─── */
.svc-price {
  font-size: 0.78rem; font-weight: 700; color: var(--gold-dark);
  letter-spacing: 0.04em; margin-top: auto; padding-top: 8px;
}

/* ─── FULL MENU ─── */
.menu-section {
  margin-top: 80px; border-top: 1px solid var(--border); padding-top: 64px;
}
.menu-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 40px; flex-wrap: wrap; gap: 8px;
}
.menu-title {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: var(--black);
}
.menu-note {
  font-size: 0.72rem; color: var(--muted); font-style: italic;
}
.menu-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.menu-cat {
  margin-bottom: 36px;
}
.menu-cat-title {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--gold-dim);
}
.menu-items { display: flex; flex-direction: column; }
.menu-item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 7px 0; border-bottom: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text); gap: 12px;
}
.menu-item--head {
  font-weight: 700; color: var(--black); border-bottom: none;
  padding-bottom: 2px; padding-top: 12px; font-size: 0.82rem;
}
.menu-item--sub { padding-left: 12px; color: var(--muted); }
.menu-price {
  font-weight: 700; color: var(--black); white-space: nowrap; flex-shrink: 0;
}

@media (max-width: 768px) {
  .menu-grid { grid-template-columns: 1fr; gap: 0; }
}
