/* Muriel Beauty
   Palette: ink + bone base, chartreuse as the one accent, pale leaf yellow as a highlight on dark only.
   Radius rule: surfaces 28px, controls pill. Nothing else. */

:root {
  --ink: #15160f;
  --ink-2: #26271d;
  --bone: #f4f2ea;
  --bone-2: #e9e7dc;
  --bone-3: #dddbcd;
  --chartreuse: #c5b500;
  --chartreuse-deep: #a89a00;
  --pale: #f6e86b;
  --olive: #5b5a2a;
  --muted: #5f5e4d;
  --line: rgba(21, 22, 15, 0.14);
  --line-strong: rgba(21, 22, 15, 0.32);

  --font-display: "DM Serif Display", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --r-surface: 28px;
  --r-pill: 999px;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section: clamp(5rem, 11vw, 10rem);
  --shadow: 0 24px 60px -30px rgba(60, 58, 20, 0.35);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.book :focus-visible { outline-color: var(--pale); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--bone); padding: 0.6rem 1rem; border-radius: var(--r-pill);
  transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 1rem; }

/* ---------- type ---------- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.section-title--light { color: var(--bone); }
.section-intro { color: var(--muted); margin-top: 1rem; max-width: 34ch; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.35rem); line-height: 1.55; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 44px; padding: 0.7rem 1.35rem;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.005em; text-decoration: none;
  cursor: pointer; white-space: nowrap; position: relative;
  transition: transform 0.35s var(--ease-out), background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.btn--lg { min-height: 54px; padding: 0.9rem 1.7rem; font-size: 1rem; }
.btn--ink { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--ink:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn--ink:active { transform: translateY(0); background: #000; }
.btn--chartreuse { background: var(--chartreuse); color: var(--ink); border-color: var(--chartreuse); }
.btn--chartreuse:hover { background: var(--pale); border-color: var(--pale); transform: translateY(-2px); }
.btn--chartreuse:active { transform: translateY(0); background: var(--chartreuse-deep); border-color: var(--chartreuse-deep); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px;
  font-weight: 600; text-decoration: none; padding: 0.4rem 0;
  border-bottom: 1.5px solid var(--line-strong);
  transition: border-color 0.25s var(--ease-out), gap 0.35s var(--ease-out);
}
.link-arrow span { transition: transform 0.35s var(--ease-out); }
.link-arrow:hover { border-color: var(--ink); gap: 0.8rem; }
.link-arrow:hover span { transform: translateX(2px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 72px; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  background: color-mix(in srgb, var(--bone) 78%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__brand {
  display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none;
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.01em; justify-self: start;
}
.nav__brand img { width: 46px; height: auto; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a, .mobile-menu a:not(.btn) {
  position: relative; text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 0.5rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.3rem; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); }
.nav__cta { justify-self: end; }
.nav__toggle {
  display: none; justify-self: end; width: 44px; height: 44px; border: 0; background: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.nav__toggle span { width: 22px; height: 1.5px; background: var(--ink); color: var(--bone); transition: transform 0.3s var(--ease-out); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 49; padding: 1rem var(--gutter) 1.5rem;
  background: var(--bone); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.25rem;
}
.mobile-menu a:not(.btn) { font-size: 1.15rem; padding: 0.7rem 0; }
.mobile-menu .btn { margin-top: 0.75rem; align-self: flex-start; }

/* ---------- hero ---------- */
.hero {
  min-height: 100dvh; padding: calc(72px + 2.5rem) var(--gutter) 2.5rem;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.4vw, 6.8rem);
  line-height: 1.0; letter-spacing: -0.015em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: block; }
.hero__sub { margin-top: 1.75rem; max-width: 47ch; color: var(--ink-2); font-size: 1.125rem; }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }

.hero__panel {
  position: relative; aspect-ratio: 1 / 1.08; max-height: calc(100dvh - 72px - 5rem);
  width: min(100%, 44rem); margin-inline: auto;
  border-radius: var(--r-surface); background: var(--bone-2);
  overflow: hidden; box-shadow: var(--shadow);
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  --badge: clamp(120px, 12vw, 168px);
  position: absolute; left: 1.25rem; bottom: 1.25rem; width: var(--badge); height: var(--badge);
  border-radius: 50%; background: var(--chartreuse); display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 12px 30px -12px rgba(21, 22, 15, 0.45);
}
.hero__mark { position: relative; z-index: 2; width: 48%; height: auto; }
.hero__ring { position: absolute; inset: 6%; z-index: 1; animation: spin 40s linear infinite; }
.hero__ring svg { width: 100%; height: 100%; overflow: visible; }
.hero__ring text {
  font-family: var(--font-display); font-size: 27px; letter-spacing: 0.16em; text-transform: uppercase;
  fill: var(--ink); opacity: 0.85;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.ticker__track {
  display: flex; align-items: center; gap: 2.5rem; width: max-content;
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  animation: ticker 38s linear infinite;
}
.ticker__track i { width: 8px; height: 8px; border-radius: 50%; background: var(--chartreuse); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- philosophy ---------- */
.philosophy {
  padding: var(--section) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start;
}
.philosophy__statement {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.06; letter-spacing: -0.01em;
  position: sticky; top: 6.5rem;
}
.points { margin: 2.5rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.points > div { padding: 1.4rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; }
.points dt { font-family: var(--font-display); font-size: 1.3rem; }
.points dd { margin: 0; color: var(--muted); }

/* ---------- treatments ---------- */
.treatments {
  padding: 0 var(--gutter) var(--section);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start;
}
.treatments__aside { position: sticky; top: 6.5rem; }
.treatments__photo { margin: 2rem 0 0; border-radius: var(--r-surface); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.treatments__photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.treatments__list { border-top: 1px solid var(--line); margin-top: 0.75rem; }
.treatment { border-bottom: 1px solid var(--line); }
.treatment__head {
  width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "h plus" "meta plus";
  gap: 0.25rem 1rem; align-items: center; text-align: left;
  padding: 1.75rem 0; background: none; border: 0; cursor: pointer;
}
.treatment__head h3 { grid-area: h; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.05; transition: transform 0.4s var(--ease-out); }
.treatment__head:hover h3 { transform: translateX(6px); }
.treatment__meta { grid-area: meta; color: var(--muted); font-size: 0.95rem; }
.treatment__plus { grid-area: plus; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out); }
.treatment__plus::before, .treatment__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); color: var(--bone); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease-out); }
.treatment__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.treatment__head:hover .treatment__plus { background: var(--chartreuse); border-color: var(--chartreuse); }
.treatment__head[aria-expanded="true"] .treatment__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.treatment__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-in-out); }
.treatment__body > p { overflow: hidden; max-width: 52ch; color: var(--ink-2); }
.treatment__head[aria-expanded="true"] + .treatment__body { grid-template-rows: 1fr; }
.treatment__head[aria-expanded="true"] + .treatment__body > p { padding-bottom: 1.75rem; }

/* ---------- process ---------- */
.process { background: var(--bone-2); }
.process__pin { padding: var(--section) 0 var(--section) var(--gutter); display: grid; grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr); gap: 3rem; align-items: center; overflow: hidden; }
.process__track { display: flex; gap: 1.25rem; padding-right: var(--gutter); will-change: transform; }
.step {
  flex: 0 0 clamp(18rem, 26vw, 24rem); min-height: 22rem;
  background: var(--bone); border-radius: var(--r-surface); padding: 2rem;
  display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line) inset;
}
.step__num { font-family: var(--font-display); font-size: 1rem; color: var(--olive); letter-spacing: 0.04em; }
.step h3 { font-family: var(--font-display); font-size: 2rem; margin-top: auto; }
.step p { color: var(--muted); margin-top: 0.75rem; }
.step:nth-child(3) { background: var(--chartreuse); }
.step:nth-child(3) .step__num, .step:nth-child(3) p { color: var(--ink-2); }

/* no-motion fallback: steps wrap into a grid instead of the pinned horizontal track */
html.no-motion .process__track { flex-wrap: wrap; }
html.no-motion .step { flex: 1 1 18rem; min-height: 0; }
html.no-motion .step h3 { margin-top: 1.5rem; }

/* ---------- areas + booking ---------- */
.book { background: var(--ink); color: var(--bone); padding: var(--section) var(--gutter); }
.book__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.book__areas { position: sticky; top: 6.5rem; }
.book__lead { margin-top: 1.25rem; max-width: 40ch; color: var(--bone-3); font-size: 1.1rem; }
.areas { margin-top: 2rem; border-top: 1px solid rgba(244, 242, 234, 0.2); }
.areas li { padding: 0.9rem 0; border-bottom: 1px solid rgba(244, 242, 234, 0.2); font-family: var(--font-display); font-size: 1.5rem; display: flex; align-items: center; gap: 0.9rem; }
.areas li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--chartreuse); }
.book__seal { width: clamp(150px, 16vw, 220px); margin-top: 3rem; opacity: 0.9; }

.form { background: var(--ink-2); border-radius: var(--r-surface); padding: clamp(1.5rem, 3.5vw, 3rem); }
.form__title { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); }
.form__intro { color: var(--bone-3); margin: 0.75rem 0 1.75rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--bone); }
.field .optional { font-weight: 400; color: var(--bone-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 1rem;
  background: rgba(244, 242, 234, 0.06); color: var(--bone);
  border: 1.5px solid rgba(244, 242, 234, 0.22); border-radius: 14px;
  font: inherit; transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2 5l5 5 5-5' fill='none' stroke='%23f4f2ea' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field select option { color: var(--ink); background: var(--bone); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(244, 242, 234, 0.45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--chartreuse); background: rgba(244, 242, 234, 0.09); }
.field.is-invalid input { border-color: #ff9c8a; }
.field__error { font-size: 0.85rem; color: #ffb3a5; min-height: 0; }
.field__error:empty { display: none; }
.form__submit { width: 100%; margin-top: 0.5rem; }
.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(21, 22, 15, 0.25); border-top-color: var(--ink); animation: spin 0.8s linear infinite; }
.form.is-loading .btn__spinner { display: inline-block; }
.form.is-loading .btn__label { opacity: 0.7; }
.form__status { margin-top: 1rem; color: var(--bone-3); font-size: 0.95rem; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--pale); }
.form__status.is-error { color: #ffb3a5; }

/* ---------- faq ---------- */
.faq { padding: var(--section) var(--gutter); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.faq__head { position: sticky; top: 6.5rem; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.2;
  transition: color 0.25s var(--ease-out);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 0.6rem; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform 0.4s var(--ease-out); }
.qa[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.qa summary:hover { color: var(--olive); }
.qa p { padding: 0 0 1.6rem; max-width: 56ch; color: var(--ink-2); }

/* ---------- footer ---------- */
.footer { padding: 4rem var(--gutter) 2.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
.footer__brand img { width: 70px; }
.footer__slogan { font-family: var(--font-display); font-size: 1.4rem; margin-top: 1rem; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; justify-self: end; min-width: 20rem; }
.footer__cols a { display: block; text-decoration: none; padding: 0.3rem 0; font-weight: 500; }
.footer__cols a:hover { color: var(--olive); }
.footer__label { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.4rem; }
.footer__legal { grid-column: 1 / -1; color: var(--muted); font-size: 0.85rem; max-width: 70ch; margin-top: 1rem; }

/* ---------- reveal (GSAP sets the animated state; static fallback shows everything) ---------- */
html.no-motion .reveal, html.no-motion .hero__title .line > span { opacity: 1 !important; transform: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: calc(72px + 2rem); }
  .hero__panel { max-height: none; width: min(100%, 32rem); aspect-ratio: 1 / 1; }
  .philosophy, .treatments, .faq, .book__inner { grid-template-columns: minmax(0, 1fr); }
  .philosophy__statement, .treatments__aside, .faq__head, .book__areas { position: static; }
  .process__pin { grid-template-columns: minmax(0, 1fr); padding-right: var(--gutter); }
  .process__track { flex-direction: column; padding-right: 0; }
  .step { flex-basis: auto; min-height: 0; }
  .step h3 { margin-top: 1.25rem; }
  .footer { grid-template-columns: 1fr; }
  .footer__cols { justify-self: start; }
}
@media (max-width: 640px) {
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .points > div { grid-template-columns: 1fr; gap: 0.3rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .treatment__head { grid-template-columns: 1fr auto; }
  .footer__cols { grid-template-columns: 1fr; min-width: 0; }
  .hero__badge { --badge: 108px; left: 1rem; bottom: 1rem; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__ring, .ticker__track { animation: none; }
  .hero__video { display: none; }
  .hero__panel { background: var(--bone-2) url("assets/hero-poster.jpg") center / cover no-repeat; }
  .ticker__track { flex-wrap: wrap; width: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
