/* ============================================================
   BUKAL SPA & WELLNESS — sample spa site
   Theme: serene sage / soft editorial
   SAMPLE / PLACEHOLDER PROJECT · EulClavie web design demo
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:root {
  --sage: #7C8F7B;
  --sage-d: #4E5F4D;
  --stone: #F6F4EF;
  --stone-2: #EBE7DE;
  --ink: #232420;
  --muted: #6E7069;
  --line: #E1DDD2;
  --clay: #B4795C;
  --radius: 20px;
  --shadow: 0 20px 50px -30px rgba(35,36,32,.4);
  --gutter: clamp(20px, 5vw, 76px);
  --max: 1240px;
  --bar-h: 30px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.72;
  font-weight: 400;
  color: var(--ink); background: #FDFCF9;
  padding-top: var(--bar-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--sage); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; line-height: 1.08; letter-spacing: -.01em;  }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.3rem; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-d); }
.lead { color: var(--muted); font-size: 17px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  letter-spacing: .01em; 
  background: var(--sage-d); color: #FDFCF9;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--ink); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--stone); }

/* ---------- sample warning bar ---------- */
.sample-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--sage-d); color: #F6F4EF;
  font-family: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding-inline: 14px; text-align: center;
}
.sample-bar .dim { color: rgba(246,244,239,.6); }
@media (max-width: 720px) { .sample-bar { font-size: 8.5px; letter-spacing: .14em; } .sample-bar .dim { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 150;
  background: rgba(253,252,249,.85);
  -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.nav.is-solid { border-bottom-color: var(--line); background: rgba(253,252,249,.95); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .25s;  }
.nav__links a:hover { color: var(--ink); }
.nav__toggle { display: none; width: 36px; height: 36px; position: relative; }
.nav__toggle i { position: absolute; left: 7px; right: 7px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.nav__toggle i:nth-child(1) { top: 14px; }
.nav__toggle i:nth-child(2) { top: 21px; }
body.menu-open .nav__toggle i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav__toggle i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 960px) { .nav__links { display: none; } .nav__toggle { display: block; } }
@media (max-width: 540px) { .nav__inner > .btn { display: none; } }

.menu {
  position: fixed; inset: calc(var(--bar-h) + 74px) 0 0 0; z-index: 140;
  background: #FDFCF9; padding: 26px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
body.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.menu a { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 1.7rem;  padding-block: 12px; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 22px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(58px, 8vw, 116px); }
.sechead { max-width: 660px; }
.sechead h2 { margin-top: 12px; }
.sechead p { margin-top: 14px; color: var(--muted); }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sechead--split p { max-width: 40ch; margin-top: 0; }

/* ---------- sample notice ---------- */
.notice {
  border: 1px dashed var(--stone-2); background: var(--stone);
  border-radius: var(--radius); padding: clamp(20px, 3vw, 32px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(14px, 3vw, 36px);
}
.notice b { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-d); }
.notice p { font-size: 13.5px; color: var(--muted); max-width: 64ch; }
.notice p + p { margin-top: 8px; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--sage-d); color: #F6F4EF; margin-top: clamp(40px, 6vw, 80px); padding-block: clamp(44px, 5vw, 76px); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 46px); }
.foot__brand p { margin-top: 14px; font-size: 14px; color: rgba(246,244,239,.62); max-width: 32ch; }
.foot h4 { font-family: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(246,244,239,.62); margin-bottom: 14px; font-weight: 700; }
.foot li + li { margin-top: 8px; }
.foot li, .foot a { font-size: 14.5px; }
.foot a:hover { color: #E4C3AE; }
.foot__bottom { margin-top: clamp(32px, 4vw, 54px); padding-top: 20px; border-top: 1px solid rgba(246,244,239,.2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 12.5px; color: rgba(246,244,239,.62); }
@media (max-width: 820px) { .foot__top { grid-template-columns: repeat(2, 1fr); } .foot__brand { grid-column: 1 / -1; } }

/* ---------- reveal + page transition ---------- */
.rv { opacity: 0; transform: translateY(20px); }
.is-ready .rv { transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.page { opacity: 0; transition: opacity .4s ease; }
.page.is-visible { opacity: 1; }
.page.is-leaving { opacity: 0; transition-duration: .25s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
  .page { opacity: 1; }
}


/* ---------- brand ---------- */
.brand { font-family: "Cormorant Garamond", serif; font-size: 25px; font-weight: 600; letter-spacing: .01em; }
.brand small { display: block; font-family: "Karla", sans-serif; font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: -6px; font-weight: 600; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(104px, 12vw, 150px); padding-bottom: clamp(40px, 6vw, 80px); background: linear-gradient(180deg, var(--stone) 0%, rgba(246,244,239,0) 70%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 76px); align-items: center; }
.hero h1 { margin-top: 20px; }
.hero h1 em { font-style: italic; color: var(--sage); }
.hero .lead { margin-top: 22px; max-width: 42ch; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 240px 240px var(--radius) var(--radius); }
.hero__strip { margin-top: clamp(40px, 6vw, 76px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); border-top: 1px solid var(--line); padding-top: clamp(24px, 3vw, 38px); }
.hero__strip b { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; display: block; }
.hero__strip span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 440px; margin-inline: auto; }
  .hero__strip { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- rituals ---------- */
.rituals { margin-top: clamp(30px, 4vw, 52px); border-top: 1px solid var(--line); }
.ritual { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) auto; gap: clamp(14px, 3vw, 40px); align-items: baseline; padding-block: clamp(20px, 2.6vw, 32px); border-bottom: 1px solid var(--line); transition: padding-left .5s var(--ease), background-color .5s var(--ease); }
.ritual:hover { padding-left: 12px; background: linear-gradient(90deg, var(--stone), transparent 70%); }
.ritual h3 { font-family: "Cormorant Garamond", serif; font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 500; }
.ritual p { font-size: 15px; color: var(--muted); }
.ritual__meta { text-align: right; white-space: nowrap; }
.ritual__meta b { display: block; font-family: "Cormorant Garamond", serif; font-size: 1.2rem; color: var(--sage-d); }
.ritual__meta span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .ritual { grid-template-columns: 1fr auto; gap: 4px 16px; } .ritual p { grid-column: 1 / -1; } }

/* ---------- space ---------- */
.space { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: end; }
.space figure:first-child img { aspect-ratio: 3 / 4; }
.space figure:last-child img { aspect-ratio: 4 / 3; }
.space img { width: 100%; object-fit: cover; border-radius: var(--radius); transition: transform 1.2s var(--ease); }
.space figure { overflow: hidden; border-radius: var(--radius); }
.space figure:hover img { transform: scale(1.04); }
.space figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .space { grid-template-columns: 1fr; } }

/* ---------- therapists ---------- */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(30px, 4vw, 50px); }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 999px; }
.person b { display: block; margin-top: 18px; font-family: "Cormorant Garamond", serif; font-size: 1.3rem; }
.person span { font-size: 13px; color: var(--sage-d); letter-spacing: .1em; text-transform: uppercase; }
.person p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 800px) { .people { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; text-align: center; } }

/* ---------- quote ---------- */
.bigquote { text-align: center; max-width: 860px; margin-inline: auto; }
.bigquote blockquote { font-family: "Cormorant Garamond", serif; font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.3; font-weight: 400; font-style: italic; }
.bigquote cite { display: block; margin-top: 22px; font-style: normal; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; background: var(--stone); border-radius: calc(var(--radius) + 6px); padding: clamp(26px, 4vw, 56px); }
.visit dl div { display: flex; justify-content: space-between; gap: 18px; padding-block: 11px; border-bottom: 1px solid var(--stone-2); font-size: 15px; }
.visit dt { color: var(--muted); }
.visit__addr { margin-top: 20px; font-size: 15px; color: var(--muted); }
.visit__cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }
