/* ============================================================
   LUMÉ — Aesthetic & Skin Clinic. Warm, calm, editorial luxe.
   The WebGL "serum drop" is a soft background object; all content
   stays readable even if WebGL / Three fail (cream gradient + halo
   remain, nothing breaks). Brand world: champagne / blush / plum.
   ============================================================ */
:root {
  --cream: #f5efe7;
  --cream-2: #efe5d8;
  --ink: #3a2b33;          /* deep plum-brown */
  --ink-soft: #8c7a80;     /* muted mauve-grey */
  --blush: #c98e83;        /* rose accent */
  --champagne: #cdab8c;    /* warm gold-rose */
  --plum-deep: #2a1d24;    /* dark section */
  --line: rgba(58, 43, 51, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  background: radial-gradient(130% 120% at 70% 8%, #fbf6ee 0%, var(--cream) 48%, var(--cream-2) 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
body.ready, body.ready * { cursor: none; }
@media (hover: none) { body.ready, body.ready * { cursor: auto; } .cursor { display: none; } }
em { font-style: italic; color: var(--blush); }
a { color: inherit; text-decoration: none; }

/* ---- WebGL canvas + soft halo behind it ---- */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; pointer-events: none; }
.halo {
  position: fixed; z-index: 0; top: -10%; right: -8%; width: 70vmax; height: 70vmax; pointer-events: none;
  background: radial-gradient(circle at center, rgba(205,171,140,0.42) 0%, rgba(201,142,131,0.18) 38%, transparent 66%);
  filter: blur(10px);
}

.grain {
  position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 50%{transform:translate(-2%,1.5%)} 100%{transform:translate(0,0)} }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 90; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid var(--blush); border-radius: 50%; pointer-events: none;
  transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s;
}
.cursor.hov { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(201,142,131,0.16); border-color: transparent; }

#preloader { position: fixed; inset: 0; z-index: 100; background: var(--cream); display: grid; place-items: center; }
.pre-word { font-family: var(--serif); font-size: clamp(2.4rem, 9vw, 5rem); font-weight: 400; letter-spacing: 0.16em; color: var(--ink); }

/* ---- content layer above canvas ---- */
.nav, main, .foot { position: relative; z-index: 3; }

.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px clamp(22px, 6vw, 88px); position: fixed; top: 0; left: 0; width: 100%; z-index: 40;
  mix-blend-mode: normal;
}
.brand { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; letter-spacing: 0.04em; }
.brand span { color: var(--blush); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.nav-links a { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); transition: color .3s; }
.nav-links a:hover { color: var(--ink); }
.nav-book { border: 1px solid var(--line); border-radius: 100px; padding: 10px 22px !important; color: var(--ink) !important; transition: background .35s var(--ease), color .35s; }
.nav-book:hover { background: var(--ink); color: var(--cream) !important; }
@media (max-width: 680px){ .nav-links a:not(.nav-book){ display:none; } }

/* ---- hero ---- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(22px, 6vw, 88px); max-width: 980px;
}
.eyebrow { font-size: 0.76rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--champagne); margin-bottom: 26px; }
.title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, 15vw, 12rem); line-height: 0.9; letter-spacing: -0.01em; }
.ln { display: block; overflow: hidden; }
.ln > span { display: block; }
.sub { margin-top: clamp(26px, 4vw, 40px); max-width: 50ch; color: var(--ink-soft); font-size: clamp(1.02rem, 1.4vw, 1.2rem); font-weight: 300; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 46px); }

.btn { display: inline-block; font-family: var(--sans); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; border-radius: 100px; padding: 16px 34px; transition: transform .4s var(--ease), background .4s var(--ease), color .4s, border-color .4s; }
.btn-fill { background: var(--ink); color: var(--cream); }
.btn-fill:hover { background: var(--blush); }
.btn-line { border: 1px solid var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn.big { padding: 19px 46px; font-size: 0.84rem; }

.cue { display: inline-flex; align-items: center; gap: 12px; margin-top: 52px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.cue i { width: 52px; height: 1px; background: var(--champagne); transform-origin: left; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%,100%{transform:scaleX(.3);opacity:.5} 50%{transform:scaleX(1);opacity:1} }

/* ---- shared section bits ---- */
.sec-tag { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--champagne); margin-bottom: 26px; }
.sec-tag.light { color: rgba(245,239,231,0.6); }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.01em; }

.ethos { padding: clamp(90px, 14vw, 180px) clamp(22px, 6vw, 88px); max-width: 1040px; }
.stmt { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 4.4vw, 3.7rem); line-height: 1.22; letter-spacing: -0.005em; }

/* ---- treatments grid ---- */
.treatments { padding: clamp(40px, 6vw, 80px) clamp(22px, 6vw, 88px) clamp(90px, 12vw, 150px); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: rgba(250,246,238,0.72); backdrop-filter: blur(4px); padding: clamp(30px, 3vw, 48px); display: flex; flex-direction: column; min-height: 280px; transition: background .5s var(--ease); }
.card:hover { background: rgba(250,246,238,0.95); }
.card-no { font-family: var(--serif); font-size: 1rem; color: var(--champagne); letter-spacing: 0.1em; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 22px; letter-spacing: -0.01em; }
.card p { color: var(--ink-soft); margin-top: 14px; font-size: 0.96rem; flex-grow: 1; }
.from { margin-top: 24px; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }

/* ---- why ---- */
.why { padding: clamp(60px, 9vw, 120px) clamp(22px, 6vw, 88px); border-top: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(34px, 4vw, 60px); margin-top: 12px; }
.why-no { font-family: var(--serif); color: var(--champagne); font-size: 1.1rem; }
.why-item h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.8rem); margin: 14px 0 12px; }
.why-item p { color: var(--ink-soft); font-size: 0.96rem; max-width: 34ch; }

/* ---- quotes ---- */
.words { padding: clamp(70px, 11vw, 150px) clamp(22px, 6vw, 88px); max-width: 1000px; }
.quote { margin-top: clamp(34px, 5vw, 60px); }
.quote blockquote { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.7rem); line-height: 1.3; letter-spacing: -0.005em; }
.quote figcaption { margin-top: 18px; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }

/* ---- booking (dark plum) ---- */
.book { background: var(--plum-deep); color: var(--cream); margin-top: clamp(40px, 6vw, 70px); }
.book-inner { padding: clamp(80px, 13vw, 170px) clamp(22px, 6vw, 88px); max-width: 900px; }
.book-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -0.01em; }
.book-title em { color: var(--champagne); }
.book-sub { margin: 28px 0 40px; max-width: 46ch; color: rgba(245,239,231,0.72); font-size: clamp(1rem, 1.4vw, 1.16rem); }
.book .btn-fill { background: var(--cream); color: var(--plum-deep); }
.book .btn-fill:hover { background: var(--champagne); color: var(--plum-deep); }
.book-meta { display: flex; gap: clamp(20px, 4vw, 50px); flex-wrap: wrap; margin-top: 56px; padding-top: 30px; border-top: 1px solid rgba(245,239,231,0.16); font-size: 0.82rem; letter-spacing: 0.08em; color: rgba(245,239,231,0.66); }

/* ---- footer ---- */
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 36px clamp(22px, 6vw, 88px); }
.foot-brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.foot-brand span { color: var(--blush); }
.foot-note { font-size: 0.74rem; color: var(--ink-soft); letter-spacing: 0.03em; align-self: center; }

/* ---- reveal default (in case JS/GSAP missing, show everything) ---- */
[data-reveal] { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto; } }
