:root {
  --bg: #fbf6f2;
  --bg-2: #f4e8e1;
  --card: #ffffff;
  --ink: #3a2530;
  --ink-2: #6f5a63;
  --blush: #e9c4c0;
  --rose: #b9636f;
  --rose-deep: #8f3f4d;
  --gold: #b48a4e;
  --line: #ead9d1;
  --shadow: 0 18px 40px -22px rgba(90, 40, 55, .35);
  --r: 22px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans); overflow-x: hidden;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h1 em, h2 em { color: var(--rose); font-style: italic; }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; font-weight: 500; }

.demo-bar { background: var(--ink); color: #f6e7df; text-align: center; font-size: 12px; letter-spacing: .04em; padding: 6px 12px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px var(--pad); background: rgba(251, 246, 242, .88);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand b { font: 600 24px/1 var(--serif); letter-spacing: .02em; }
.brand small { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--rose-deep); }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .menu-btn { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
  .menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .25s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 4px var(--pad) 16px;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: .22s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .nav .btn { margin-top: 14px; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; border: 1px solid var(--ink);
  font: 500 15px/1 var(--sans); letter-spacing: .02em; cursor: pointer; transition: background .2s, transform .15s;
}
.btn:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.btn:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn-wide { width: 100%; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

/* scroll story (hero) */
.lede { font-size: 17px; color: var(--ink-2); max-width: 30em; margin: 16px 0 16px; font-weight: 300; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); margin: 0 0 20px; padding: 8px 14px; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #c9b6ae; flex: none; }
.status.open .dot { background: #4f9a6c; box-shadow: 0 0 0 4px rgba(79, 154, 108, .18); }
.status.closed .dot { background: var(--rose); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.story { position: relative; }
.story-pin { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 50% 30%, #fff9f5 0%, #f6e3dc 55%, #efd2ca 100%); }
.story canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; touch-action: pan-y; }
.story-fallback { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.story .panel { position: relative; padding: 28px var(--pad) 8px; }
.story .panel:not(.p0) { display: none; }
.story h1 { font-size: clamp(44px, 11vw, 88px); }
.story h2 { font-size: clamp(36px, 9vw, 68px); }
.scroll-cue, .story-bar { display: none; }

/* with WebGL: a tall section, the scene pinned while it scrolls */
.story.is-3d { height: 560svh; }
.story.is-3d .story-pin { position: sticky; top: 0; height: 100svh; }
.story.is-3d canvas { display: block; }
.story.is-3d .story-fallback { display: none; }
.story.is-3d .panel {
  display: block; position: absolute; left: 0; right: 0; top: 0; padding: 18px var(--pad) 0;
  opacity: 0; visibility: hidden; transform: translateY(18px); will-change: opacity, transform; pointer-events: none;
}
.story.is-3d .panel.on { visibility: visible; pointer-events: auto; }
.story.is-3d .panel.low { top: auto; bottom: calc(96px + env(safe-area-inset-bottom)); }
.story.is-3d .panel .lede { font-size: 16px; margin: 12px 0 14px; }
.story.is-3d .p0 { padding-top: 16px; }
@media (max-width: 899px) {
  .story.is-3d .p0, .story.is-3d .p4 { background: linear-gradient(180deg, rgba(251,246,242,.96) 0%, rgba(251,246,242,.85) 72%, rgba(251,246,242,0) 100%); padding-bottom: 28px; }
  .story.is-3d .panel.low { background: linear-gradient(0deg, rgba(251,246,242,.92) 0%, rgba(251,246,242,.7) 70%, rgba(251,246,242,0) 100%); padding-top: 40px; padding-bottom: 8px; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .story.is-3d .p0, .story.is-3d .p4 { padding-top: 74px; }
  .story.is-3d .p0 h1 { font-size: clamp(40px, 11.5vw, 60px); }
  .story.is-3d .p0 .lede { display: none; }
}
@media (min-width: 900px) {
  .story.is-3d .panel { top: 50%; bottom: auto; transform: translateY(-40%); max-width: 46%; padding-left: max(var(--pad), calc((100vw - 1200px) / 2 + var(--pad))); }
  .story.is-3d .panel.low { top: 50%; bottom: auto; }
}
.scroll-cue {
  position: absolute; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%); margin: 0;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); display: none; flex-direction: column; align-items: center; gap: 8px; transition: opacity .4s;
}
.scroll-cue span { width: 22px; height: 34px; border: 1.5px solid var(--ink-2); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--rose); animation: cue 1.6s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 900px) { .scroll-cue { bottom: 28px; } }
.story.is-3d .scroll-cue { display: flex; }
.story.is-3d .story-bar { display: block; position: absolute; right: 10px; top: 50%; width: 2px; height: 120px; margin-top: -60px; background: rgba(58,37,48,.12); border-radius: 2px; }
.story-bar i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--rose); transform-origin: top; transform: scaleY(0); border-radius: 2px; }

/* perks */
.perks {
  list-style: none; margin: 0 auto; padding: 0 var(--pad); max-width: 1200px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
}
.perks li { padding: 18px 4px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.perks b { font: 600 21px/1.2 var(--serif); }
.perks span { font-size: 14px; color: var(--ink-2); }
@media (min-width: 900px) { .perks { grid-template-columns: repeat(4, 1fr); } .perks li { padding: 22px 8px; } }

/* sections */
.section { max-width: 1200px; margin: 0 auto; padding: 64px var(--pad); }
@media (min-width: 900px) { .section { padding: 96px var(--pad); } }
.section-head { margin-bottom: 28px; }
.section-head h2, .book h2, .visit h2 { font-size: clamp(38px, 8vw, 60px); }
.note { color: var(--ink-2); font-size: 14px; margin: 10px 0 0; }

/* services */
.tabs {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1) 24px;
  padding: 2px var(--pad) 6px; scroll-snap-type: x proximity;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; scroll-snap-align: start; border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  border-radius: 999px; padding: 10px 18px; font: 500 14.5px/1 var(--sans); cursor: pointer; transition: .2s; min-height: 42px;
}
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.price-list { display: grid; gap: 0 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .price-list { grid-template-columns: 1fr 1fr; } }
.price-list.swap { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.item { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.item-top { display: flex; align-items: baseline; gap: 10px; }
.item h3 { font: 600 22px/1.2 var(--serif); margin: 0; }
.item .lead { flex: 1; border-bottom: 1px dotted #d8c3ba; transform: translateY(-5px); min-width: 16px; }
.item .price { font: 500 17px/1 var(--sans); color: var(--rose-deep); white-space: nowrap; }
.item p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; }
.item .time { font-size: 12.5px; color: var(--gold); letter-spacing: .06em; }
.item .time + .pick { margin-left: 16px; }
.item .pick { margin-top: 8px; background: none; border: 0; padding: 4px 0; color: var(--rose-deep); font: 500 13.5px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* gallery */
.gallery-wrap { max-width: none; background: var(--bg-2); }
.gallery-wrap > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.gallery button { border: 0; padding: 0; background: var(--blush); border-radius: 16px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; }
.gallery button.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.05); }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(30, 16, 22, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 78vh; border-radius: 14px; object-fit: contain; }
.lightbox p { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #f3e3dc; font-size: 14px; margin: 0; padding: 0 60px; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* booking */
.book { display: grid; gap: 32px; }
@media (min-width: 900px) { .book { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } }
.book-copy p:not(.eyebrow) { color: var(--ink-2); margin: 16px 0 24px; }
.call-card { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; padding: 14px 22px 14px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.call-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; font-size: 20px; color: var(--rose-deep); }
.call-card span:last-child { display: flex; flex-direction: column; }
.call-card small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.call-card b { font: 600 24px/1.2 var(--serif); }
.book-form { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; }
@media (min-width: 600px) { .book-form { padding: 32px; } }
.book-form label { display: grid; gap: 6px; font-size: 13px; letter-spacing: .04em; color: var(--ink-2); font-weight: 500; }
.opt { font-weight: 400; color: #a9959c; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 380px) { .row { grid-template-columns: 1fr; } }
input, select, textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  padding: 10px 14px; font: 400 16px/1.3 var(--sans); color: var(--ink); appearance: none; -webkit-appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
textarea { resize: vertical; min-height: 72px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(185, 99, 111, .15); }
.invalid { border-color: var(--rose) !important; }
.form-msg { margin: 0; font-size: 14px; min-height: 1.4em; color: var(--ink-2); }
.form-msg.ok { color: #2f6e48; background: #e8f3ec; padding: 12px 14px; border-radius: 12px; }
.form-msg.err { color: var(--rose-deep); }

/* visit */
.visit { display: grid; gap: 32px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
address { font-style: normal; font-size: 19px; line-height: 1.6; margin: 18px 0 24px; }
.visit-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hours { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.hours th, .hours td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.hours th { font-weight: 500; }
.hours td { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.today { background: #fbeeea; }
.hours tr.today th::after { content: "Today"; margin-left: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-deep); }

/* footer */
.foot { background: var(--ink); color: #e9d9d2; padding: 48px var(--pad); text-align: center; display: grid; justify-items: center; gap: 6px; }
.foot .brand small { color: #bfa9a2; }
.foot p { margin: 8px 0 0; font-size: 14px; }
.foot a { color: #fff; }
.foot .fine { font-size: 12px; color: #bfa9a2; max-width: 34em; }
.foot-brand img { filter: brightness(1.6); }

/* mobile dock */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 6px; padding: 6px; border-radius: 22px;
  background: rgba(58, 37, 48, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 30px -12px rgba(40, 15, 25, .55);
}
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 16px; color: #f6e7df; text-decoration: none; font-size: 15px; font-weight: 500; }
.dock .dock-main { background: var(--blush); color: var(--ink); }
@media (min-width: 900px) { .dock { display: none; } }

/* booking by text message */
.form-msg.sms { display: grid; gap: 12px; color: var(--ink); background: #f7ece8; padding: 16px; }
.form-msg.sms pre { margin: 0; white-space: pre-wrap; font: 400 14.5px/1.5 var(--sans); background: #fff; border-radius: 14px 14px 14px 4px; padding: 12px 14px; border: 1px solid var(--line); }
.form-msg.sms .btn { color: #fff; }
.sms-alt { font-size: 13.5px; color: var(--ink-2); text-align: center; }
.sms-alt a { color: var(--rose-deep); }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--rose-deep); text-decoration: underline; cursor: pointer; }
.foot a[href^="tel"] { white-space: nowrap; }
