/* ============================================================
   aesthetic.medi-face.co.jp — European Aristocratic Luxury
   ============================================================ */

:root {
  --ink:        #08080C;
  --gold:       #B8965A;
  --gold-light: #D4AF7A;
  --gold-pale:  #EFE0C0;
  --cream:      #F7F2EB;
  --cream-dark: #EDE5D4;
  --white:      #FFFFFF;
  --text:       #2C2925;
  --text-mid:   #5A534C;
  --text-light: #8A8078;
  --border:     #D8D0C4;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', -apple-system, sans-serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --tr:   0.4s var(--ease);
}

/* ── RESET ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── LAYOUT ─────────────────────────────── */
.lx-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.lx-section   { padding: 120px 0; }

/* ── TYPE SCALE ─────────────────────────── */
.lx-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.lx-heading-xl {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.lx-heading-lg {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
}
.lx-text-center { text-align: center; }

/* ── HEADER ─────────────────────────────── */
.lx-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--tr), box-shadow var(--tr);
}
.lx-header.scrolled {
  background: rgba(247, 242, 235, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.lx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 48px;
}
.lx-nav-split {
  display: flex;
  gap: 40px;
}
.lx-nav-split .lx-nav-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color var(--tr);
  position: relative;
  padding-bottom: 3px;
}
.lx-nav-split .lx-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.lx-nav-split .lx-nav-link:hover::after { width: 100%; }
.lx-header.scrolled .lx-nav-split .lx-nav-link { color: var(--text); }

.lx-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--tr);
}
.lx-header.scrolled .lx-logo img { filter: none; }

/* Mobile toggle */
.lx-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.lx-nav-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: rgba(255,255,255,0.9);
  transition: var(--tr);
}
.lx-header.scrolled .lx-nav-toggle span { background: var(--ink); }

/* Mobile dropdown */
.lx-mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(247,242,235,0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}
.lx-mobile-nav.open { display: flex; }
.lx-mobile-nav a {
  padding: 16px 48px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.lx-mobile-nav a:hover { color: var(--gold); }

/* ── HERO ───────────────────────────────── */
.lx-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lx-hero-video-wrap {
  position: absolute;
  inset: 0;
}
.lx-hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.lx-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,8,12,0.60) 0%,
    rgba(8,8,12,0.42) 50%,
    rgba(8,8,12,0.72) 100%
  );
}
.lx-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 820px;
}
.lx-hero-eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
  display: block;
}
.lx-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(72px, 11vw, 128px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 24px;
}
.lx-hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
}
.lx-hero-rule {
  width: 56px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 28px;
}
.lx-hero-en {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
}

/* Scroll indicator */
.lx-hero-scroll {
  position: absolute;
  bottom: 44px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
  animation: scrollFade 2.4s ease-in-out infinite;
}
.lx-scroll-line {
  display: block;
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, transparent, var(--gold-light));
}
.lx-scroll-label {
  font-size: 9px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
}
@keyframes scrollFade {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;    transform: translateX(-50%) translateY(6px); }
}

/* ── PHILOSOPHY ─────────────────────────── */
.lx-philosophy { background: var(--white); }
.lx-philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 88px;
  align-items: start;
}
.lx-animated-word {
  display: inline-block;
  color: var(--gold);
  font-style: italic;
  transition: opacity 0.35s ease, transform 0.35s ease;
  min-width: 160px;
}
.lx-philosophy-body {
  margin-top: 28px;
  font-size: 15px;
  line-height: 2;
  color: var(--text-mid);
  max-width: 580px;
}
.lx-mt-lg { margin-top: 56px; }
.lx-career-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.lx-career-list li {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-mid);
  padding-left: 18px;
  position: relative;
}
.lx-career-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 7px; height: 1px;
  background: var(--gold);
}
.lx-career-list a { color: var(--gold); }
.lx-career-list a:hover { text-decoration: underline; }

/* Portrait with gold frame offset */
.lx-portrait-wrap { position: relative; margin: 16px 0 0 16px; }
.lx-portrait-wrap::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold);
  z-index: 0;
}
.lx-portrait-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ── GALLERY STRIP ──────────────────────── */
.lx-strip { overflow: hidden; background: var(--cream-dark); padding: 64px 0; }
.lx-strip-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: stripScroll 32s linear infinite;
}
.lx-strip-track img {
  height: 300px;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
}
@keyframes stripScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.lx-strip:hover .lx-strip-track { animation-play-state: paused; }

/* ── TREATMENTS (dark section) ──────────── */
.lx-treatments {
  background: var(--ink);
  padding: 120px 0;
}
.lx-treatments .lx-heading-lg { color: var(--white); }

.lx-treatments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 64px;
}
.lx-treatment-card {
  background: #11111A;
  overflow: hidden;
  transition: transform 0.45s var(--ease);
}
.lx-treatment-card:hover { transform: translateY(-5px); }
.lx-treatment-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.lx-treatment-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.lx-treatment-card:hover .lx-treatment-img img { transform: scale(1.05); }
.lx-treatment-body {
  padding: 36px 40px;
  border-top: 1px solid var(--gold);
}
.lx-treatment-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.lx-treatment-desc {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
}

/* ── REVIEWS ─────────────────────────────── */
.lx-reviews { background: var(--cream); }
.lx-review-card {
  background: var(--white);
  padding: 48px 44px;
  margin: 4px 16px 4px;
  position: relative;
  box-shadow: 0 2px 24px rgba(8,8,12,0.05);
}
.lx-review-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 110px;
  line-height: 1;
  color: var(--gold-pale);
  position: absolute;
  top: 12px; left: 32px;
  pointer-events: none;
}
.lx-review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}
.lx-star      { color: var(--gold);   font-size: 13px; }
.lx-star-off  { color: var(--border); font-size: 13px; }
.lx-review-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.3;
}
.lx-review-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-mid);
  margin-bottom: 28px;
}
.lx-review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.lx-review-img-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.lx-review-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.lx-review-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.lx-review-attr {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

/* Owl overrides */
.owl-dots { text-align: center; margin-top: 48px !important; }
.owl-dot span {
  width: 6px !important; height: 6px !important;
  background: var(--border) !important;
  border-radius: 50% !important;
  margin: 0 5px !important;
  transition: all 0.3s ease !important;
}
.owl-dot.active span {
  background: var(--gold) !important;
  width: 28px !important;
  border-radius: 3px !important;
}

/* ── INSTAGRAM ──────────────────────────── */
.lx-instagram { background: var(--white); }
.lx-instagram-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;
  margin-top: 56px;
  align-items: start;
}

/* ── BANNERS ────────────────────────────── */
.lx-banners { background: var(--cream-dark); padding: 80px 0; }
.lx-banners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.lx-banners-grid a { display: block; overflow: hidden; }
.lx-banners-grid a img {
  width: 100%;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.lx-banners-grid a:hover img { transform: scale(1.02); opacity: 0.9; }

/* ── FOOTER ─────────────────────────────── */
.lx-footer {
  background: var(--ink);
  padding: 88px 0 48px;
}
.lx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}
.lx-footer-heading {
  display: block;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}
.lx-footer-addr {
  font-size: 13px;
  line-height: 2;
  color: rgba(255,255,255,0.55);
}
.lx-footer-addr + .lx-footer-addr { margin-top: 24px; }
.lx-footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lx-footer-social a {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.lx-footer-social a:hover { color: var(--gold-light); }
.lx-footer-social i { font-size: 15px; }
.lx-footer-legal {
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255,255,255,0.35);
}
.lx-footer-copy {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.28);
}

/* ── FADE-IN ANIMATION ──────────────────── */
.lx-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.lx-fade.visible { opacity: 1; transform: translateY(0); }
.lx-fade:nth-child(2) { transition-delay: 0.12s; }
.lx-fade:nth-child(3) { transition-delay: 0.24s; }
.lx-fade:nth-child(4) { transition-delay: 0.36s; }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .lx-philosophy-grid { grid-template-columns: 1fr; }
  .lx-portrait-wrap { max-width: 360px; }
  .lx-portrait-wrap::before { display: none; }
}

@media (max-width: 768px) {
  .lx-nav-split  { display: none; }
  .lx-nav-toggle { display: flex; }

  .lx-header-inner { padding: 0 24px; }
  .lx-section      { padding: 80px 0; }
  .lx-treatments   { padding: 80px 0; }
  .lx-container    { padding: 0 24px; }

  .lx-treatments-grid { grid-template-columns: 1fr; }
  .lx-instagram-grid  { grid-template-columns: 1fr; }
  .lx-banners-grid    { grid-template-columns: 1fr; }
  .lx-footer-grid     { grid-template-columns: 1fr; gap: 40px; }

  .lx-hero-title { font-size: 60px; }
  .lx-treatment-body { padding: 28px; }
  .lx-review-card    { padding: 36px 28px; margin: 4px 8px; }
}

@media (max-width: 480px) {
  .lx-hero-eyebrow, .lx-hero-en { letter-spacing: 0.25em; }
  .lx-hero-title { font-size: 48px; letter-spacing: 0.06em; }
  .lx-strip-track img { height: 220px; }
}
