@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #f6ecea;
  --paper-2: #fffaf9;
  --ink: #2a1420;
  --ink-soft: #6d5560;
  --lacquer: #a3122a;
  --lacquer-deep: #7d0c1f;
  --petal: #e7c6c6;
  --chrome: #c8c6cc;
  --line: #e2cfcf;
  --focus: #1f5fd1;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* modular scale, ratio 1.25 */
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.3rem;
  --t-lg: 1.65rem;
  --t-xl: clamp(2rem, 4.2vw, 2.9rem);
  --t-hero: clamp(3.4rem, 11vw, 8.5rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-base)/1.6 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--lacquer); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lacquer); color: #fff; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); }
p { margin: 0 0 1em; max-width: 62ch; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 8px; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.wordmark { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; text-decoration: none; letter-spacing: -0.02em; }
.wordmark span { color: var(--lacquer); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 32px); }
.nav a:not(.btn) { text-decoration: none; font-size: var(--t-sm); }
.nav a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--lacquer); color: #fff; border: 1px solid var(--lacquer);
  font: 600 var(--t-sm)/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: var(--lacquer-deep); color: #fff; }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 40px; padding: 0 18px; }
.nav .btn { min-height: 42px; padding: 0 20px; }

/* ---------- hero ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.hero h1 { font-size: var(--t-hero); font-weight: 500; line-height: 0.9; letter-spacing: -0.035em; }
.hero h1 .amp { display: block; font-weight: 400; color: var(--lacquer); }
.sheen {
  background: linear-gradient(100deg, var(--ink) 0 42%, #c97a86 48%, var(--ink) 54% 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 1.8s 0.35s var(--ease) both;
}
.sheen .amp { -webkit-text-fill-color: var(--lacquer); }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
.hero-copy { margin-top: clamp(20px, 3vw, 36px); max-width: 34rem; }
.hero-copy p { font-size: var(--t-md); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-meta { margin-top: 20px; font-size: var(--t-sm); color: var(--ink-soft); }

.arch {
  position: relative; aspect-ratio: 3 / 4.2; border-radius: 999px 999px 6px 6px; overflow: hidden;
  background:
    radial-gradient(120% 60% at 30% 20%, #f4d5d6 0, transparent 60%),
    radial-gradient(90% 70% at 80% 90%, var(--lacquer) 0, transparent 70%),
    linear-gradient(160deg, var(--petal), #c4626f 70%, var(--lacquer-deep));
  box-shadow: inset 0 0 0 10px var(--paper-2), inset 0 0 0 11px var(--chrome);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch img.is-missing { display: none; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .arch { max-width: 360px; aspect-ratio: 4 / 4.4; order: -1; }
}

/* ---------- reviews strip ---------- */
.proof { border-block: 1px solid var(--line); background: var(--paper-2); }
.proof .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding-block: 28px; }
.score { display: flex; align-items: baseline; gap: 10px; }
.score strong { font-family: var(--serif); font-size: 3rem; font-weight: 500; line-height: 1; }
.score span { font-size: var(--t-sm); color: var(--ink-soft); max-width: 12ch; line-height: 1.3; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.quotes blockquote { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.35; }
@media (max-width: 820px) {
  .proof .wrap, .quotes { grid-template-columns: 1fr; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 10vw, 120px); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--ink-soft); margin: 0; }
@media (max-width: 720px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- treatment menu ---------- */
.menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 6vw, 72px) clamp(32px, 6vw, 88px); }
.menu-cat h3 { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.bottle {
  width: 18px; height: 28px; flex: none; border-radius: 4px 4px 6px 6px; position: relative;
  background: var(--swatch, var(--lacquer)); box-shadow: inset -4px 0 0 rgb(255 255 255 / 0.18);
}
.bottle::before {
  content: ""; position: absolute; left: 5px; top: -10px; width: 8px; height: 10px; border-radius: 2px 2px 0 0; background: var(--ink);
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-item .name { font-weight: 600; }
.menu-item .price { font-family: var(--serif); font-size: 1.2rem; font-variant-numeric: lining-nums; }
.menu-item .detail { grid-column: 1 / -1; font-size: var(--t-sm); color: var(--ink-soft); }
.menu-item .detail time { white-space: nowrap; }
.extras { margin-top: 48px; padding: 24px; border: 1px dashed var(--chrome); border-radius: 6px; }
.extras ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.menu-note { margin-top: 20px; font-size: var(--t-sm); color: var(--ink-soft); }
@media (max-width: 820px) { .menu { grid-template-columns: 1fr; } }

/* ---------- loyalty card (the signature moment) ---------- */
.loyalty { background: var(--ink); color: var(--paper); }
.loyalty a:not(.btn) { color: var(--paper); }
.loyalty .section-head p { color: #cdb9bf; }
.card {
  position: relative; max-width: 720px; padding: clamp(24px, 4vw, 40px); border-radius: 14px;
  background:
    radial-gradient(140% 120% at 100% 0, rgb(255 255 255 / 0.10), transparent 50%),
    linear-gradient(135deg, #3a1a29, #22101a);
  border: 1px solid rgb(255 255 255 / 0.12);
}
.card-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 28px; }
.card-top .wordmark { color: var(--paper); font-size: 1.4rem; }
.card-top small { color: #cdb9bf; }
.stamps { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(6px, 1.6vw, 14px); list-style: none; margin: 0; padding: 0; }
.stamp {
  aspect-ratio: 1 / 1.45; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%;
  border: 1.5px solid rgb(255 255 255 / 0.35); position: relative; overflow: hidden;
}
.stamp::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, #e0566c, var(--lacquer) 55%, var(--lacquer-deep));
  transform: translateY(101%); transition: transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 90ms);
}
.stamp:last-child { border-color: var(--petal); border-style: dashed; }
.stamp:last-child::after { background: linear-gradient(160deg, #fff, var(--petal)); }
.stamps.is-filled .stamp.on::after { transform: none; }
.card-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; color: #cdb9bf; font-size: var(--t-sm); }
.loyalty-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: s; }
.loyalty-steps li { counter-increment: s; }
.loyalty-steps li::before { content: counter(s); display: block; font-family: var(--serif); font-size: 2rem; color: var(--petal); margin-bottom: 4px; }
@media (max-width: 720px) { .loyalty-steps { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 16px; }
.gallery figure { margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--petal); }
.gallery figure:nth-child(2) { aspect-ratio: auto; background: linear-gradient(170deg, #5b2333, var(--lacquer)); }
.gallery figure:nth-child(3) { background: linear-gradient(170deg, var(--chrome), #f1e6e8); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img.is-missing { visibility: hidden; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.hours { width: 100%; border-collapse: collapse; max-width: 380px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--lacquer); }
.map {
  min-height: 340px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, var(--paper-2) 0 14px, #f3e4e3 14px 28px); border: 1px solid var(--line);
}
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }
.map > div { padding: 24px; max-width: 34ch; }
.map p { font-size: var(--t-sm); color: var(--ink-soft); }
address { font-style: normal; font-size: var(--t-md); line-height: 1.45; margin-bottom: 20px; }
@media (max-width: 820px) { .visit { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: var(--t-sm); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer button.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.legal-line { grid-column: 1 / -1; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .legend { font-weight: 600; font-size: var(--t-sm); }
.field .hint { font-size: var(--t-sm); color: var(--ink-soft); margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="date"], textarea, select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 8px; border: 1px solid #c9b3b6;
  background: #fff; color: var(--ink); font: inherit;
}
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; margin-bottom: 14px; font-size: var(--t-sm); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--lacquer); }
.error { color: #9b0e1f; font-weight: 600; }
.notice { color: var(--ink); padding: 14px 18px; border-radius: 8px; background: var(--paper-2); border: 1px solid var(--line); }
.notice.is-error { border-color: #d9a0a8; background: #fdf0f1; color: #7a0b18; }

/* ---------- booking ---------- */
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 5vw, 64px); align-items: start; }
.book-layout > *, .step, .step-body { min-width: 0; }
.step .field { max-width: 520px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: clamp(18px, 3vw, 28px); }
.step h2 { font-size: var(--t-lg); display: flex; gap: 12px; align-items: baseline; margin-bottom: 16px; }
.step h2 .n { font-size: 1rem; font-family: var(--sans); font-weight: 700; color: var(--lacquer); }
.step[aria-disabled="true"] { opacity: 0.5; }
.step[aria-disabled="true"] .step-body { display: none; }
.svc-group { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.svc-group h3 { font-size: 1.1rem; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.svc-group .bottle { width: 12px; height: 18px; }
.svc-group .bottle::before { left: 3px; top: -6px; width: 6px; height: 6px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s;
}
.choice label small { grid-column: 1 / -1; color: var(--ink-soft); }
.choice input:checked + label { border-color: var(--lacquer); box-shadow: inset 0 0 0 1px var(--lacquer); }
.choice input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.day {
  flex: none; width: 66px; padding: 10px 0; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  font: inherit; color: var(--ink); text-align: center; cursor: pointer; scroll-snap-align: start; line-height: 1.2;
}
.day b { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.day small { font-size: 0.75rem; color: var(--ink-soft); }
.day[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.day[aria-pressed="true"] small { color: #e8d6db; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 12px; min-height: 48px; }
.time {
  min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.time[aria-pressed="true"] { background: var(--lacquer); border-color: var(--lacquer); color: #fff; }
.summary { position: sticky; top: 88px; background: var(--ink); color: var(--paper); border-radius: 12px; padding: 24px; }
.summary h2 { font-size: var(--t-lg); margin-bottom: 12px; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dt { font-size: 0.8rem; color: #cdb9bf; }
.summary dd { margin: 0; }
.skeleton { height: 44px; border-radius: 999px; background: linear-gradient(90deg, #f1e3e3, #fbf3f2, #f1e3e3); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.done { text-align: left; }
@media (max-width: 900px) {
  .book-layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; order: -1; }
}

/* ---------- legal pages ---------- */
.prose { max-width: 70ch; padding-block: clamp(40px, 7vw, 80px); }
.prose h1 { font-size: var(--t-xl); margin-bottom: 8px; }
.prose h2 { font-size: var(--t-lg); margin: 40px 0 12px; }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--t-sm); margin-bottom: 1em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose li { margin-bottom: 6px; }
.updated { color: var(--ink-soft); font-size: var(--t-sm); }

/* ---------- cookie banner ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 20px;
  box-shadow: 0 18px 50px -20px rgb(42 20 32 / 0.45);
  transform: translateY(16px); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.35s;
}
.consent.is-open { transform: none; opacity: 1; }
.consent h2 { font-size: 1.3rem; margin-bottom: 6px; }
.consent p { font-size: var(--t-sm); }
.consent .row { display: flex; flex-wrap: wrap; gap: 8px; }
.consent .row .btn { flex: 1 1 140px; }
dialog { border: 0; border-radius: 12px; padding: 0; max-width: min(560px, calc(100% - 32px)); background: var(--paper-2); color: var(--ink); }
dialog::backdrop { background: rgb(42 20 32 / 0.45); }
dialog form { padding: 24px; }
.pref { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pref p { grid-column: 1; font-size: var(--t-sm); color: var(--ink-soft); margin: 0; }
.pref input { grid-row: 1 / 3; grid-column: 2; width: 22px; height: 22px; accent-color: var(--lacquer); }

/* ---------- admin ---------- */
.admin-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); background: #fff; }
.admin-table th, .admin-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.75rem; background: var(--petal); }
.badge.reward { background: var(--lacquer); color: #fff; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 20px; }
.table-scroll { overflow-x: auto; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .sheen { background-position: 0 0; }
}

/* ---------- utilities ---------- */
.section--flush { padding-top: 0; }
.mb { margin-bottom: 20px; }
.mt { margin-top: 10px; }

