/* =====================================================================
   BRAND LOYALTY SPA — the website (2.9)
   The spa's own look, kept from its October 2026 site: a slow film shot
   in black, candle-lit photographs, cream type, gold only where light
   would fall. What is new is underneath: the menu, the booking and the
   opinions all run on the spa's own database.
   ===================================================================== */
:root {
  --black: #0a0908;
  --night: #12100e;
  --char: #1b1814;
  --char-2: #24201b;
  --line: rgba(239, 230, 214, .13);
  --line-2: rgba(239, 230, 214, .24);
  --cream: #efe6d6;
  --cream-2: #bdb2a0;
  --taupe: #8f8474;
  --gold: #b99b64;
  --gold-hi: #dcc392;
  --good: #9cc9a4;
  --danger: #e8a08c;
  --display: "Bodoni Moda", "Bodoni 72", Didot, "Libre Bodoni", Georgia, serif;
  --body: "Jost", Futura, "Avenir Next", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4.4vw, 64px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--black); color: var(--cream); font: 300 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--cream); color: var(--black); }
:focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 4px; }
[hidden] { display: none !important; }
.muted { color: var(--taupe); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--cream); color: var(--black); padding: 8px 14px; }
.skip:focus { left: 8px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -.012em; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); line-height: 1; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 780px; }
section { position: relative; }
.sec-head { margin-bottom: clamp(28px, 5vw, 48px); }
.lead { color: var(--cream-2); max-width: 54ch; margin: 14px 0 0; font-size: 1.05rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border-radius: 999px;
  border: 1px solid transparent; font: 400 .9rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn.cream { background: var(--cream); color: var(--black); }
.btn.cream:hover { background: #fff8ea; }
.btn.ghost { border-color: var(--line-2); color: var(--cream); background: rgba(10, 9, 8, .25); }
.btn.ghost:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.btn.gold { background: var(--gold); color: var(--black); }
.btn.dark { background: var(--cream); color: var(--black); }
.btn.dark:hover { background: #fff8ea; }
.btn.gold:hover { background: var(--gold-hi); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; gap: 20px; padding: 14px var(--gutter);
  transition: background .4s, border-color .4s, padding .4s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(10, 9, 8, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); padding-top: 10px; padding-bottom: 10px; }
.top-mark img { width: 38px; height: 38px; }
.top-nav { display: flex; gap: 28px; margin-left: auto; }
.top-nav a { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-2); transition: color .2s; }
.top-nav a:hover { color: var(--cream); }
.langs { display: flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.langs button { background: none; border: 0; color: var(--cream-2); padding: 7px 10px; font-size: .72rem; letter-spacing: .1em; }
.langs button.on { background: var(--cream); color: var(--black); }
.top-book { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; background: var(--cream); color: var(--black); padding: 11px 18px; border-radius: 999px; white-space: nowrap; }

/* ---------- the hero: the film, as a slow reel of the spa's own photographs ---------- */
.hero { min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.reel { position: absolute; inset: 0; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08);
  transition: opacity 2.2s ease, transform 9s linear; }
.reel img.on { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(60% 55% at 50% 45%, rgba(10, 9, 8, .25), rgba(10, 9, 8, .78) 75%),
  linear-gradient(180deg, rgba(10, 9, 8, .55), rgba(10, 9, 8, .1) 30%, rgba(10, 9, 8, .2) 60%, var(--black)); }
.hero-in { position: relative; z-index: 1; padding: 120px var(--gutter) 110px; max-width: 900px; }
.hero-logo { width: min(460px, 80vw); margin: 0 auto 28px; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .6)); }
.hero-line { font-size: clamp(2.6rem, 1.2rem + 5.4vw, 5.6rem); line-height: .98; font-style: italic; color: var(--cream); margin: 0 0 18px; }
.hero-slogan { color: var(--cream-2); font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); margin: 0 auto 8px; max-width: 40ch; }
.hero-open { color: var(--gold-hi); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 34px; }
.hero-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-down { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 1px; height: 56px; background: var(--line-2); overflow: hidden; z-index: 1; }
.hero-down span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--cream); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- rituals: photographs with live prices ---------- */
.rituals { padding: clamp(80px, 12vw, 150px) 0 clamp(50px, 8vw, 90px); }
.rit-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--char-2) transparent; }
.rit { scroll-snap-align: start; position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5.2; background: var(--night); text-align: left; border: 0; padding: 0; color: var(--cream); }
.rit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.rit:hover img { transform: scale(1.05); }
.rit::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 9, 8, .92)); }
.rit-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 1; }
.rit-txt h3 { font-size: 1.7rem; line-height: 1.05; margin-bottom: 6px; }
.rit-txt p { margin: 0; color: var(--cream-2); font-size: .92rem; }
.rit-txt .rit-p { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.rit-txt .rit-p b { font: 400 1.2rem var(--display); color: var(--gold-hi); white-space: nowrap; }
.rit-txt .rit-p span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.rit.on .rit-p span { color: var(--gold-hi); }

/* ---------- the menu card ---------- */
.menu { padding: clamp(60px, 9vw, 110px) 0; background: var(--night); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 10px 18px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2); }
.tab[aria-selected="true"] { background: var(--cream); border-color: var(--cream); color: var(--black); }
.card-menu { background: var(--black); border: 1px solid var(--line); padding: clamp(28px, 5vw, 64px) clamp(18px, 6vw, 80px); position: relative; }
.card-menu::before, .card-menu::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.card-menu::before { top: 14px; } .card-menu::after { bottom: 14px; }
.dept-title { text-align: center; font: italic 400 clamp(2rem, 1.2rem + 3vw, 3.2rem)/1.05 var(--display); margin: 0 0 6px; }
.dept-sub { text-align: center; color: var(--taupe); margin: 0 0 34px; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; }
.cat { margin: 0 0 34px; }
.cat h3 { font: 400 1.35rem/1.2 var(--display); color: var(--gold-hi); display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.cat h3::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.line-i { display: grid; grid-template-columns: 1fr auto 30px; align-items: baseline; gap: 4px 12px; text-align: left; background: none; border: 0;
  padding: 12px 10px; margin: 0 -10px; width: calc(100% + 20px); border-radius: 4px; color: var(--cream); transition: background .2s; }
.line-i:hover { background: var(--night); }
.line-i.off { cursor: default; } .line-i.off:hover { background: none; }
.line-i .nm { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.line-i .nm span { font-size: 1.04rem; font-weight: 400; }
.line-i .nm::after { content: ''; flex: 1; border-bottom: 1px dotted rgba(239, 230, 214, .28); transform: translateY(-5px); min-width: 16px; }
.line-i .dur { grid-column: 1 / 2; grid-row: 2; font-size: .8rem; color: var(--taupe); letter-spacing: .04em; }
.line-i .pr { font: 400 1.12rem/1 var(--display); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; color: var(--cream); }
.line-i .tick { grid-row: 1 / 3; grid-column: 3; align-self: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; font-size: 15px; color: var(--gold-hi); line-height: 1; }
.line-i.on { background: rgba(185, 155, 100, .12); }
.line-i.on .tick { background: var(--gold); border-color: var(--gold); color: var(--black); }
.line-i.off .tick { border-style: dashed; opacity: .4; }

/* ---------- the visit tray ---------- */
.tray { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 25; width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(239, 230, 214, .96); color: var(--black); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .7); }
.tray .tr-txt { flex: 1; min-width: 0; line-height: 1.25; }
.tray .tr-txt b { display: block; font: 400 1.05rem var(--display); }
.tray .tr-txt small { color: #5b5246; font-size: .8rem; }
.tray .btn { min-height: 44px; background: var(--black); color: var(--cream); padding: 0 20px; }

/* ---------- booking ---------- */
.book { padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.book-photo { position: absolute; inset: 0; opacity: .16; }
.book-photo img { width: 100%; height: 100%; object-fit: cover; }
.book-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--black), rgba(10, 9, 8, .6) 30%, rgba(10, 9, 8, .6) 70%, var(--black)); }
.book .wrap { position: relative; }
.panel { border: 1px solid var(--line); background: rgba(18, 16, 14, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: clamp(18px, 3vw, 28px); margin-bottom: 18px; border-radius: 4px; }
.panel h3 { font-size: 1.6rem; margin: 0 0 14px; }
.step { margin-bottom: 30px; }
.lbl { display: block; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); margin: 0 0 12px; }
.hint { font-size: .86rem; color: var(--taupe); margin: 6px 0 0; }
.sublbl { display: block; font-size: .85rem; color: var(--cream-2); margin: 0 0 6px; }
.inp, .sel, .ta { width: 100%; border: 1px solid var(--line-2); border-radius: 4px; padding: 13px 14px; background: rgba(10, 9, 8, .7); min-height: 50px; color: var(--cream); }
.ta { min-height: 110px; resize: vertical; }
.sel option, .sel optgroup { background: var(--night); color: var(--cream); }
.inp:focus, .sel:focus, .ta:focus { border-color: var(--gold-hi); outline: none; }
.inp::placeholder, .ta::placeholder { color: var(--taupe); }
input[type="date"].inp { color-scheme: dark; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.picked { list-style: none; margin: 0; padding: 0; }
.picked li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.picked li:last-child { border-bottom: 0; }
.picked .p-n { flex: 1; min-width: 0; }
.picked .p-n small { display: block; color: var(--taupe); }
.picked .p-p { font: 400 1.05rem var(--display); white-space: nowrap; }
.x { border: 1px solid var(--line-2); background: none; width: 30px; height: 30px; border-radius: 50%; font-size: 17px; line-height: 1; color: var(--cream-2); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; color: var(--cream-2); }
.total-row b { font: 400 1.4rem var(--display); color: var(--gold-hi); }
.empty-pick { padding: 26px; border: 1px dashed var(--line-2); text-align: center; color: var(--cream-2); border-radius: 4px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--char-2) transparent; }
.day { flex: none; width: 66px; border: 1px solid var(--line-2); border-radius: 4px; background: rgba(10, 9, 8, .6); padding: 10px 0; text-align: center; line-height: 1.25; color: var(--cream); }
.day small { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.day b { font: 400 1.5rem var(--display); }
.day.on { background: var(--cream); border-color: var(--cream); color: var(--black); }
.day.on small { color: #5b5246; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.time { border: 1px solid var(--line-2); border-radius: 4px; background: rgba(10, 9, 8, .6); padding: 11px 0; font-variant-numeric: tabular-nums; color: var(--cream); }
.time.on { background: var(--cream); border-color: var(--cream); color: var(--black); }
.who { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-2); background: rgba(10, 9, 8, .6); border-radius: 999px; padding: 7px 16px 7px 7px; display: inline-flex; align-items: center; gap: 9px; color: var(--cream); }
.chip.plain { padding-left: 16px; }
.chip.on { border-color: var(--gold-hi); background: rgba(185, 155, 100, .16); }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 500 .72rem var(--body); color: var(--on, #fff); background: var(--c, var(--gold)); flex: none; letter-spacing: .02em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--danger); margin: 12px 0 0; }
.done { text-align: center; padding: 40px 22px; border: 1px solid var(--line); background: rgba(18, 16, 14, .9); border-radius: 4px; }
.done .ok { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-hi); display: grid; place-items: center; margin: 0 auto 18px; font-size: 26px; }
.done h3 { font-size: 2.2rem; margin-bottom: 10px; font-style: italic; }
.done .ref { display: inline-block; margin: 16px 0 20px; padding: 8px 18px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-hi); letter-spacing: .14em; }
.done .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }

/* ---------- your opinion ---------- */
.opinion { padding: clamp(80px, 11vw, 140px) 0; background: var(--night); border-top: 1px solid var(--line); }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 12px 8px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); }
.seg button.on { background: var(--cream); color: var(--black); }
.ppl-group { margin-bottom: 20px; }
.ppl-group h4 { margin: 0 0 10px; font: italic 400 1.2rem var(--display); color: var(--cream-2); }
.ppl { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.person { display: flex; align-items: center; gap: 11px; border: 1px solid var(--line-2); border-radius: 4px; background: rgba(10, 9, 8, .6); padding: 10px; text-align: left; color: var(--cream); }
.person .av { width: 38px; height: 38px; font-size: .8rem; }
.person span { min-width: 0; line-height: 1.3; }
.person small { display: block; color: var(--taupe); font-size: .76rem; }
.person.on { border-color: var(--gold-hi); background: rgba(185, 155, 100, .14); }
.score { text-align: center; margin: 4px 0 6px; }
.score .big { font: 400 5.2rem/1 var(--display); font-variant-numeric: lining-nums tabular-nums; color: var(--gold-hi); }
.score .big sup { font-size: 2rem; vertical-align: top; position: relative; top: .55em; margin-left: 2px; }
.score .word { font: italic 400 1.3rem var(--display); color: var(--cream-2); margin-top: 6px; min-height: 1.6em; }
.range { width: 100%; accent-color: var(--gold); height: 34px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 8px 0 22px; }
.quick button { border: 1px solid var(--line-2); background: none; border-radius: 999px; padding: 6px 14px; font-size: .86rem; color: var(--cream-2); }
.quick button.on { border-color: var(--gold-hi); color: var(--gold-hi); }
.private { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--taupe); margin: 16px 0 0; }
.private svg { flex: none; margin-top: 3px; }

/* ---------- visit ---------- */
.visit { padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.visit-photo { position: absolute; inset: 0; opacity: .35; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.visit-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 20%, rgba(10, 9, 8, .55)); }
.visit-in { position: relative; }
.visit-in h2 { margin-bottom: 40px; }
.visit-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: 980px; }
.visit-cols h4 { font: 400 .74rem var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); margin: 0 0 10px; }
.visit-cols p { margin: 0; color: var(--cream-2); line-height: 1.8; }
.visit-cols a { border-bottom: 1px solid var(--line-2); }
.visit-cols a:hover { color: var(--cream); border-color: var(--gold-hi); }
.visit-cols .btn { border-bottom: 0; margin-top: 14px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 calc(110px + env(safe-area-inset-bottom)); text-align: center; }
.foot-logo { width: 200px; margin: 0 auto 16px; opacity: .92; }
.foot-slogan { font: italic 400 1.2rem var(--display); color: var(--cream-2); margin: 0 0 20px; }
.foot-social { display: flex; justify-content: center; gap: 12px; margin-bottom: 26px; }
.foot-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--cream-2); transition: color .2s, border-color .2s; }
.foot-social a:hover { color: var(--gold-hi); border-color: var(--gold-hi); }
.foot-small { font-size: .8rem; color: var(--taupe); margin: 0; }
.foot-small a { border-bottom: 1px solid var(--line-2); }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--cream); color: var(--black); padding: 12px 20px;
  border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 40; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .top-nav { display: none; }
  .langs { margin-left: auto; }
  .visit-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top { gap: 10px; }
  .top-book { padding: 10px 13px; font-size: .68rem; letter-spacing: .14em; }
  .langs button { padding: 6px 7px; }
  .two { grid-template-columns: 1fr; }
  .hero-in { padding-top: 100px; }
  .line-i { padding: 12px 6px; margin: 0 -6px; width: calc(100% + 12px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel img { transition: none; transform: none; }
  .hero-down span { animation: none; top: 30%; }
}
