/* Paradise Place, "the petal" (2026-11-24, second pass).
   The logo's four petals are the site: the hero is the X, turning, with the
   rooms inside it; little X's spin between words; four petal photos fly in
   and lock into the logo; a giant X turns in the footer. Every photo is
   graded to one look (scripts/grade.mjs).
   Linen paper, plum ink and buttons, the logo's sage, deep aubergine bands.
   Fraunces (soft, with its wonky italic) for headlines, Instrument Sans for text. */
:root {
  --paper: #f5f0e8;
  --paper-2: #ece4d7;
  --card: #fffdf9;
  --sage: #d5e0cf;
  --sage-2: #b9cbb0;
  --sage-ink: #3f5a3c;
  --ink: #2a1726;
  --ink-soft: #57444f;
  --muted: #7a6a72;
  --night: #2a1726;
  --night-2: #3a2234;
  --on-night: #f5f0e8;
  --on-night-soft: rgba(245, 240, 232, .74);
  --plum: #7b2f68;
  --plum-hover: #642556;
  --plum-soft: #f1e3ec;
  --brick: var(--plum);          /* the legal pages' link colour */
  --danger: #b3261e;
  --ok: #2f6b3a;
  --line: rgba(42, 23, 38, .14);
  --line-night: rgba(245, 240, 232, .18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-photo: 18px;
  --r-panel: 22px;
  --r-ctl: 999px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.36, .64, 1);
  --gutter: clamp(18px, 5vw, 160px);   /* full width: the margins grow with the screen */
  --nav-h: 76px;
  --sy: 0;                        /* scroll position, set by app.js */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.02; letter-spacing: -.025em; font-variation-settings: "opsz" 144, "SOFT" 100; max-width: 17ch; }
h2 em, h1 em { font-style: italic; color: var(--plum); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; padding-inline: var(--gutter); }
svg use { fill: currentColor; }

.kicker { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); margin-bottom: 16px; }
.kicker--light { color: var(--sage); }
.xdot { display: inline-grid; width: 18px; height: 18px; color: var(--plum); animation: spin 9s linear infinite; }
.xdot svg { width: 100%; height: 100%; }
.head { margin-bottom: clamp(28px, 4vw, 52px); }
.head--row { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; justify-content: space-between; }
.head__sub { margin-top: 16px; max-width: 46ch; color: var(--ink-soft); }
.head--row .head__sub { margin-top: 0; }
.head__sub a { color: var(--plum); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--r-ctl); font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .35s var(--spring); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--plum-hover); }
.btn--plum i { transition: transform .35s var(--spring); }
.btn--plum:hover i { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }

/* ------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, transform .4s var(--ease); }
.nav__in { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { flex: none; display: block; width: 150px; }
.brand img { width: 100%; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a, .nav__tel { position: relative; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--plum); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__tel { display: inline-flex; align-items: center; gap: 6px; }
.nav__cta { min-height: 44px; padding: 0 20px; }
.nav__burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; color: inherit; }
.nav.is-scrolled, .nav.is-open { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.mobile-nav { display: grid; padding: 4px var(--gutter) 22px; background: var(--paper); box-shadow: 0 12px 30px -16px rgba(42, 23, 38, .35); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.25rem; font-family: var(--serif); }
.mobile-nav__tel { display: flex; gap: 8px; align-items: center; border-bottom: 0 !important; font-family: var(--sans) !important; font-size: 1rem !important; font-weight: 600; color: var(--plum); }
@media (max-width: 1080px) { .nav__links { display: none; } .nav__tel { margin-left: auto; } }
@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .brand { width: 120px; }
  .nav__tel span, .nav__cta { display: none; }
  .nav__tel { font-size: 1.35rem; width: 44px; height: 44px; justify-content: center; }
  .nav__burger { display: inline-grid; place-items: center; margin-left: 0; }
}

/* ------------------------------------------------------------ hero: the X */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(20px, 4vw, 56px)) 0 clamp(40px, 6vw, 80px); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(calc(100svh - var(--nav-h) - 40px), 820px); }
.hero__title { font-family: var(--serif); font-weight: 340; font-size: clamp(3.4rem, 7.4vw, 12rem); line-height: .9; letter-spacing: -.045em; font-variation-settings: "opsz" 144, "SOFT" 100; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > * { display: inline-block; animation: lift 1.1s var(--ease) both; }
.hero__title .line:nth-child(2) > * { animation-delay: .12s; }
.hero__title em { color: var(--plum); }
@keyframes lift { from { transform: translateY(105%); } }
.hero__sub { margin-top: 26px; max-width: 40ch; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); animation: rise .9s var(--ease) .3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.stay { margin-top: 34px; display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 6px; max-width: 620px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 24px 50px -30px rgba(42, 23, 38, .45); animation: rise .9s var(--ease) .42s both; }
.stay__field { display: grid; gap: 0; padding: 7px 18px; border-radius: 999px; transition: background .2s; }
.stay__field:hover { background: var(--paper); }
.stay__field span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stay__field input, .stay__field select { border: 0; background: transparent; padding: 0; font-weight: 600; font-size: 1rem; min-height: 28px; width: 100%; outline: none; }
.stay__go { min-height: 58px; padding: 0 26px; }
@media (max-width: 620px) {
  .stay { grid-template-columns: 1fr 1fr; border-radius: var(--r-panel); }
  .stay__field { border-radius: 14px; }
  .stay__go { grid-column: 1 / -1; }
}

.hero__x { position: relative; aspect-ratio: 1; width: 100%; max-width: min(100%, 78svh); justify-self: center; animation: bloom 1.4s var(--spring) .1s both; }
@keyframes bloom { from { opacity: 0; transform: scale(.6) rotate(-40deg); } }
.xback { position: absolute; inset: -6%; clip-path: url(#petals); background: var(--sage); animation: spin 140s linear infinite reverse; }
/* The X turns (slowly, faster while you scroll); its photos turn back the
   other way, so the room stays level inside a spinning window. */
.xturn { position: absolute; inset: 4%; rotate: calc(var(--sy) * .045deg); }
.xspin { position: absolute; inset: 0; clip-path: url(#petals); animation: spin 90s linear infinite; background: var(--plum); }
.xupright { position: absolute; inset: -22%; rotate: calc(var(--sy) * -.045deg); animation: spin 90s linear infinite reverse; }
.xslide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.4s ease, transform 7s linear; }
.xslide.is-on { opacity: 1; transform: scale(1); }
.tag { position: absolute; padding: 10px 16px; border-radius: 999px; background: var(--card); box-shadow: 0 16px 34px -18px rgba(42, 23, 38, .5); font-size: .9rem; font-weight: 600; white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.tag::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--sage-2); vertical-align: 1px; }
.tag--a { left: 0; bottom: 18%; }
.tag--b { right: 2%; top: 14%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__x { order: -1; width: min(88vw, 520px); }
  .hero__copy { margin-top: -6vw; position: relative; }
}

/* ------------------------------------------------------------ marquee */
.marquee { background: var(--plum); color: var(--on-night); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1; white-space: nowrap; }
.mx { flex: none; width: 34px; height: 34px; color: var(--sage); animation: spin 6s linear infinite; }
.mx:nth-of-type(even) { animation-direction: reverse; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ------------------------------------------------------------ facts */
.facts { border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__grid > div { padding: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 40px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); display: grid; gap: 4px; }
.facts__grid > div:first-child { border-left: 0; padding-left: 0; }
.facts__grid b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -.03em; font-variation-settings: "opsz" 144, "SOFT" 100; font-variant-numeric: tabular-nums; }
.facts__grid span { color: var(--ink-soft); font-size: .95rem; }
.facts__grid b span { color: inherit; font-size: inherit; }
@media (max-width: 720px) {
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .facts__grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

section { position: relative; }
.rooms, .inside, .how, .faq { padding-block: clamp(70px, 10vw, 140px); }

/* ------------------------------------------------------------ rooms & prices */
.dates { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(240px, 2fr) auto; gap: 14px 28px; align-items: end; padding: 22px 26px; margin-bottom: 30px; background: var(--sage); border-radius: var(--r-panel); }
.dates__field { display: grid; gap: 8px; }
.dates__field > span { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-height: 1.4rem; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-ink); }
.dates__field output { font-size: .95rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
.dates__field input[type=date] { min-height: 50px; padding: 0 16px; border: 1px solid rgba(42, 23, 38, .18); border-radius: 999px; background: var(--card); font-weight: 600; }
.dates__sum { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; max-width: 22ch; }
.dates__hint { grid-column: 1 / -1; font-size: .88rem; color: var(--sage-ink); }
@media (max-width: 820px) { .dates { grid-template-columns: 1fr; } .dates__sum { max-width: none; } }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 48px; background: transparent; cursor: pointer; --p: 0%; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--plum) var(--p), rgba(42, 23, 38, .16) var(--p)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(42, 23, 38, .16); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--plum); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--card); border: 2px solid var(--plum); box-shadow: 0 4px 10px -4px rgba(42, 23, 38, .5); transition: transform .3s var(--spring); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.18); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--card); border: 2px solid var(--plum); }

.rooms__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); }
@media (max-width: 860px) { .rooms__grid { grid-template-columns: 1fr; } }
.room { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.room:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -40px rgba(42, 23, 38, .55); }
.room__media { position: relative; }
.room__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 3 / 2; background: var(--paper-2); }
.room__gallery::-webkit-scrollbar { display: none; }
.room__gallery img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; transition: transform 1.2s var(--ease); }
.room:hover .room__gallery img { transform: scale(1.03); }
.room__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; gap: 6px; justify-content: center; }
.room__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .6); cursor: pointer; transition: width .4s var(--ease), background .2s; }
.room__dots button.on { width: 24px; border-radius: 4px; background: #fff; }
/* The price, on a turning "all bills included" sticker. */
.sticker { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; align-content: center; width: 112px; height: 112px; border-radius: 50%; background: var(--plum); color: #fff; box-shadow: 0 14px 30px -14px rgba(42, 23, 38, .7); pointer-events: none; }
.sticker[hidden] { display: none; }
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.sticker text { font: 700 9.6px/1 var(--sans); letter-spacing: .14em; fill: var(--sage); }
.sticker b { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1; }
.sticker small { font-size: .7rem; opacity: .85; }
.room__body { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2.4vw, 30px); flex: 1; }
.room__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.room__head h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.2rem); letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 100; }
.room__price { color: var(--ink-soft); }
.room__price b { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--ink); }
.room__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; color: var(--ink-soft); font-size: .95rem; }
.room__facts li { display: flex; gap: 10px; align-items: center; }
.room__facts i { font-size: 1.2rem; color: var(--plum); }
@media (max-width: 440px) { .room__facts { grid-template-columns: 1fr; } .sticker { width: 96px; height: 96px; } .sticker b { font-size: 1.3rem; } }
.room__offer:empty { display: none; }
.offer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--plum-soft); }
.offer strong { display: block; font-weight: 600; }
.offer small { display: block; color: var(--ink-soft); font-size: .85rem; }
.offer > span:last-child { font-family: var(--serif); font-size: 1.6rem; white-space: nowrap; }
.skeleton { height: 64px; border-radius: 16px; background: linear-gradient(90deg, var(--paper-2), var(--paper), var(--paper-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.room__cta { margin-top: auto; align-self: flex-start; }
@media (max-width: 520px) { .room__cta { align-self: stretch; } }

/* ------------------------------------------------------------ inside: sticky story */
.inside { background: var(--paper-2); }
.inside__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); }
.inside__stage { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; height: calc(100svh - var(--nav-h) - 48px); max-height: 1000px; display: grid; }
.inside__frame { position: relative; overflow: hidden; border-radius: 46% 46% 22px 22px / 30% 30% 22px 22px; background: var(--paper); }
.inside__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s ease, transform 1.6s var(--ease); }
.inside__frame img.is-on { opacity: 1; transform: scale(1); }
.inside__count { position: absolute; left: 20px; bottom: 18px; display: flex; align-items: baseline; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--card); font-weight: 600; }
.inside__count b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.inside__count span { color: var(--muted); }
.step { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; border-top: 1px solid var(--line); opacity: .35; transition: opacity .6s var(--ease); }
.step.is-on { opacity: 1; }
.step__img { display: none; }
.step__no { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--plum); font-variation-settings: "WONK" 1; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.8rem); letter-spacing: -.02em; line-height: 1.05; margin: 6px 0 12px; font-variation-settings: "opsz" 144, "SOFT" 100; }
.step p { color: var(--ink-soft); max-width: 40ch; font-size: 1.06rem; }
@media (max-width: 900px) {
  .inside__grid { grid-template-columns: 1fr; }
  .inside__stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 28px 0; }
  .step__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-photo); margin-bottom: 18px; }
}

/* ------------------------------------------------------------ four petals */
.petals { background: var(--night); color: var(--on-night); padding-block: clamp(70px, 10vw, 140px); overflow: clip; }
.petals h2 em { color: var(--sage); }
.petals__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.petals__lead { margin-top: 18px; color: var(--on-night-soft); max-width: 40ch; font-size: 1.08rem; }
.included { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.included li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-night); }
.included i { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: rgba(213, 224, 207, .14); color: var(--sage); font-size: 1.15rem; }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } }
/* Each photo is clipped to one petal of the logo. Out of view they wait
   apart, turned; in view they fly in and lock into the X. */
.flower { position: relative; aspect-ratio: 1; width: 100%; max-width: min(100%, 78svh); justify-self: center; }
.petal { position: absolute; inset: 0; padding: 0; border: 0; background: var(--night-2); cursor: zoom-in; transition: transform 1.4s var(--spring), filter .4s; }
/* Each photo fills its own petal's box, not the whole square, so the room
   and not the ceiling is what shows through. */
.petal img { position: absolute; width: 68.5%; height: 53.3%; object-fit: cover; transition: transform 1s var(--ease); }
.petal--1 img { left: 24.5%; top: 1.4%; }
.petal--2 img { left: 45.3%; top: 24.5%; width: 53.3%; height: 68.5%; }
.petal--3 img { left: 7%; top: 45.3%; }
.petal--4 img { left: 1.4%; top: 7%; width: 53.3%; height: 68.5%; }
.petal:hover { filter: brightness(1.08); }
.petal:hover img { transform: scale(1.06); }
.petal--1 { clip-path: url(#petal1); transform: translate(12%, -26%) rotate(16deg); }
.petal--2 { clip-path: url(#petal2); transform: translate(26%, 12%) rotate(16deg); transition-delay: .1s; }
.petal--3 { clip-path: url(#petal3); transform: translate(-12%, 26%) rotate(16deg); transition-delay: .2s; }
.petal--4 { clip-path: url(#petal4); transform: translate(-26%, -12%) rotate(16deg); transition-delay: .3s; }
.flower.in .petal { transform: none; }
.flower__label { position: absolute; padding: 8px 14px; border-radius: 999px; background: var(--card); color: var(--ink); font-size: .86rem; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .6s ease 1.1s, transform .6s var(--ease) 1.1s; pointer-events: none; }
.flower.in .flower__label { opacity: 1; transform: none; }
.flower__label--1 { right: 14%; top: 2%; }
.flower__label--2 { right: -2%; bottom: 22%; }
.flower__label--3 { left: 12%; bottom: 0; }
.flower__label--4 { left: -2%; top: 24%; }
@media (max-width: 900px) { .petals__grid { grid-template-columns: 1fr; } .flower { order: -1; width: min(90vw, 520px); } }

/* ------------------------------------------------------------ city */
.city { padding-block: clamp(70px, 10vw, 140px); }
.city__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.city__intro > p { margin-top: 18px; color: var(--ink-soft); max-width: 48ch; }
.places { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: place; }
.place { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: baseline; padding: 14px 4px; border: 0; border-top: 1px solid var(--line); background: transparent; color: inherit; text-align: left; cursor: pointer; transition: padding .4s var(--ease), background .2s; }
.places li:last-child .place { border-bottom: 1px solid var(--line); }
.place::before { counter-increment: place; content: counter(place, decimal-leading-zero); font-size: .8rem; font-weight: 700; color: var(--plum); }
.place b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.place small { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.place .mins { display: inline-flex; gap: 6px; align-items: center; font-size: .88rem; color: var(--muted); white-space: nowrap; }
.place:hover, .place.on { padding-left: 14px; background: var(--paper-2); }
.place.on .mins { color: var(--plum); }
.city__map { position: sticky; top: calc(var(--nav-h) + 20px); }
.map { height: min(72vh, 860px); min-height: 360px; border-radius: var(--r-panel); overflow: hidden; background: var(--paper-2); z-index: 0; }
.city__addr { display: flex; gap: 8px; align-items: center; margin-top: 14px; color: var(--muted); font-size: .92rem; }
@media (max-width: 920px) { .city__grid { grid-template-columns: 1fr; } .city__map { position: static; order: -1; } .map { height: 360px; } }
.pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6); transition: background .2s, transform .3s var(--ease); }
.pin.on { background: var(--plum); transform: rotate(-45deg) scale(1.2); }
.pin--home { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; transform: none; background: var(--paper); border: 0; }
.pin--home svg { width: 36px; height: 36px; animation: spin 12s linear infinite; }
.leaflet-container { font-family: var(--sans); }
.leaflet-tooltip { font-weight: 600; border-radius: 8px; }

/* ------------------------------------------------------------ how */
.how { background: var(--paper-2); }
.how__steps { position: relative; list-style: none; margin: 0; padding: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 32px); counter-reset: step; }
.how__steps::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 2px; background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.how__steps.in::before { transform: scaleX(1); }
.how__steps li { position: relative; }
.how__steps li::before { counter-increment: step; content: counter(step); position: absolute; top: -34px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--plum); color: #fff; font-weight: 700; font-size: .9rem; transform: scale(0); transition: transform .6s var(--spring); }
.how__steps.in li::before { transform: scale(1); }
.how__steps.in li:nth-child(2)::before { transition-delay: .35s; }
.how__steps.in li:nth-child(3)::before { transition-delay: .7s; }
.how__steps.in li:nth-child(4)::before { transition-delay: 1.05s; }
.how__steps h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 22px 0 8px; font-variation-settings: "opsz" 144, "SOFT" 100; }
.how__steps p { color: var(--ink-soft); }
@media (max-width: 900px) { .how__steps { grid-template-columns: 1fr 1fr; gap: 48px 24px; } .how__steps::before { display: none; } }
@media (max-width: 520px) { .how__steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ faq */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; min-height: 44px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.4rem); transition: color .2s; }
.faq summary:hover { color: var(--plum); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--plum), var(--plum)) center / 100% 2px no-repeat, linear-gradient(var(--plum), var(--plum)) center / 2px 100% no-repeat; transition: transform .4s var(--spring); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ enquire & forms */
.enquire { background: var(--plum); color: var(--on-night); padding-block: clamp(70px, 10vw, 140px); }
.enquire h2 em { color: var(--sage); }
.enquire__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.enquire__side > p { margin-top: 18px; color: var(--on-night-soft); max-width: 40ch; }
.contact { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.contact li { display: flex; gap: 12px; align-items: flex-start; }
.contact i { font-size: 1.25rem; color: var(--sage); margin-top: 3px; }
.contact a { text-decoration: none; font-weight: 600; }
.contact a:hover { text-decoration: underline; }
@media (max-width: 860px) { .enquire__grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 38px); background: var(--card); color: var(--ink); border-radius: var(--r-panel); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-size: .86rem; font-weight: 600; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 8px; }
.field > span small { font-weight: 400; color: var(--muted); }
.field input:not([type=range]), .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(123, 47, 104, .16); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.err-text { color: var(--danger); font-size: .86rem; }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: .95rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--plum); }
.form__msg:empty { display: none; }
.form__msg { padding: 12px 16px; border-radius: 14px; font-size: .95rem; }
.form__msg.ok { background: #e6f1e7; color: var(--ok); }
.form__msg.err { background: #fbe9e7; color: var(--danger); }
.form__msg a { color: inherit; font-weight: 600; }
.form__send { justify-self: start; }
.form__legal { font-size: .84rem; color: var(--muted); }
.form__legal a { color: var(--plum); }

/* ------------------------------------------------------------ booking dialog */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(42, 23, 38, .6); backdrop-filter: blur(4px); }
.book { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: var(--r-panel); background: var(--card); }
.book[open] { animation: pop .5s var(--spring); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.book__card { position: relative; display: grid; gap: 16px; padding: clamp(22px, 3.2vw, 36px); }
.book h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); max-width: none; padding-right: 40px; }
.book__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); font-size: 1.2rem; cursor: pointer; }
.book__dates { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; align-items: end; }
@media (max-width: 560px) { .book__dates { grid-template-columns: 1fr; } }
.field--range output { font-weight: 700; color: var(--ink); }
.book__sum { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; }
.book__sum div { background: var(--paper); padding: 12px 16px; }
.book__sum dt { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.book__sum dd { margin: 2px 0 0; font-weight: 600; }
.book__total { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; background: var(--plum-soft) !important; }
.book__total dd { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.book__go { justify-self: stretch; }

/* ------------------------------------------------------------ lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(20, 10, 18, .94); color: var(--on-night); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1500px); max-height: 82dvh; border-radius: var(--r-photo); animation: pop .5s var(--spring); }
.lightbox__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-family: var(--serif); font-size: 1.3rem; }
.lightbox__close, .lightbox__nav { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(245, 240, 232, .12); color: inherit; font-size: 1.3rem; cursor: pointer; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; }
.lightbox__next { right: 16px; top: 50%; }

/* ------------------------------------------------------------ footer */
.foot { position: relative; overflow: hidden; background: var(--night); color: var(--on-night-soft); padding: 64px 0 28px; font-size: .92rem; }
.foot__x { position: absolute; right: -14vw; bottom: -22vw; width: 58vw; height: 58vw; max-width: 820px; max-height: 820px; color: rgba(213, 224, 207, .07); animation: spin 120s linear infinite; pointer-events: none; }
.foot__grid { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; }
.foot__logo { width: 160px; }
.foot a { color: var(--on-night); }
.foot__links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot__links a, .foot__links button { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot__links button { border: 0; background: none; padding: 0; color: var(--on-night); cursor: pointer; }
.foot__links a:hover, .foot__links button:hover { text-decoration: underline; }
.foot__credits { position: relative; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-night); font-size: .78rem; display: grid; gap: 8px; }
.foot__credits a { color: inherit; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ cookie + phone dock */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-left: auto; display: grid; gap: 14px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: 0 20px 50px -20px rgba(42, 23, 38, .45); font-size: .95rem; }
.cookie[hidden] { display: none; }
.cookie div { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.dock { display: none; }
@media (max-width: 720px) {
  .dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 18px 40px -18px rgba(42, 23, 38, .5); transform: translateY(140%); transition: transform .5s var(--spring); }
  .dock.show { transform: none; }
  .dock p { display: grid; line-height: 1.25; }
  .dock span { font-weight: 700; }
  .dock small { color: var(--muted); font-size: .78rem; }
  .dock .btn { min-height: 46px; padding: 0 26px; }
  body:has(.cookie:not([hidden])) .dock { transform: translateY(140%); }
}

/* ------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }

/* The legal pages and 404 (privacy.html, terms.html, 404.html). */
.nav + .legal { padding-top: calc(var(--nav-h) + 44px); }
.legal h1, .legal h2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
.brand__light { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .xturn, .xupright { rotate: none; }
  .reveal { opacity: 1; transform: none; }
  .flower .petal { transform: none; }
  .flower__label { opacity: 1; transform: none; }
  .how__steps::before, .how__steps li::before { transform: none; }
}

/* Big screens: the type grows a step, and the room photos turn
   letterbox so a 1200px-wide card isn't mostly photo. */
@media (min-width: 1800px) {
  body { font-size: 18.5px; }
  .room__gallery { aspect-ratio: 16 / 9; }
  .room__facts { grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px 32px; }
  .hero__sub, .petals__lead, .step p { max-width: 44ch; }
}
