/* The "signature" design. Great Vibes is kept for the name alone (written large across the hero,
   small in the header and footer), so it reads as a signature rather than a theme. Everything
   else is quiet: deep plum on warm ivory, Cormorant Garamond in light weights for headings,
   Jost for reading, square edges, thin rules, muted gold only on the dark plum. */
:root {
  --plum: #2c1322;        /* the one colour: text, buttons, the dark bands */
  --plum-2: #44263a;      /* hover on plum */
  --ivory: #f7f3ef;       /* the page */
  --stone: #ede6e0;       /* the booking band */
  --gold: #bfa47a;        /* small details on plum only */
  --text: #3a2733;
  --muted: #8a7882;
  --line: rgb(44 19 34 / .12);
  --line-dark: rgb(247 243 239 / .14);
  --on-dark: rgb(247 243 239 / .72);

  --script: 'Great Vibes', 'Snell Roundhand', cursive;
  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, Georgia, serif;
  --sans: 'Jost', 'Futura', 'Avenir Next', 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --row: clamp(80px, 11vw, 160px);
  --header: 76px;
  --dock-ms: 1000ms;                       /* the name gliding into the header */
  --dock-ease: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font: 300 1.0625rem/1.75 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 300; text-wrap: balance; }
p { margin: 0; }
strong, b { font-weight: 500; }
:focus-visible { outline: 1px solid var(--plum); outline-offset: 4px; }
.dark :focus-visible, .site-header :focus-visible, .menu :focus-visible, .gallery :focus-visible, .hero :focus-visible { outline-color: var(--gold); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ivory); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* Type roles */
.section-title {
  margin-bottom: clamp(36px, 5vw, 64px);
  font: 300 clamp(2.5rem, 4.4vw, 3.75rem)/1.05 var(--serif);
  letter-spacing: -0.01em;
  color: var(--plum);
}
/* Cormorant is for headings and short lines only; anything read as a paragraph is in Jost */
.big { font: 300 clamp(1.125rem, 1.4vw, 1.25rem)/1.7 var(--sans); color: var(--text); }
.list-title { font: 400 .9375rem/1.4 var(--sans); letter-spacing: .02em; color: var(--plum); }

/* Buttons: one solid, square-cornered action; everything else a quiet underlined link */
.btn {
  display: inline-flex; align-items: center;
  padding: 15px 30px;
  border: 1px solid var(--plum);
  background: var(--plum);
  color: var(--ivory);
  font: 400 .9375rem/1.2 var(--sans);
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: transparent; color: var(--plum); }
.link {
  padding: 2px 0; border: 0; background: none;
  font: 400 .9375rem/1.3 var(--sans);
  letter-spacing: .02em;
  color: var(--plum);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .3s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.dark .btn, .hero .btn { border-color: var(--ivory); background: var(--ivory); color: var(--plum); }
.dark .btn:hover, .hero .btn:hover { background: transparent; color: var(--ivory); }
.dark .link, .hero .link { color: var(--ivory); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header);
  padding-inline: var(--gutter);
  color: var(--ivory);
  transition: background .35s, box-shadow .35s;
}
.site-header.is-scrolled, .detail-page .site-header { background: var(--plum); box-shadow: 0 1px 0 var(--line-dark); }
/* Left of the logo: the menu button (narrow screens) or the first links; right: the other links,
   the language pop-up and Book now. The links move into the bar from 1180px up. */
.bar-start, .bar-end { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 36px); }
.bar-end { justify-self: end; }
.top-nav { display: none; gap: inherit; }
.top-nav a, .lang-toggle {
  padding: 6px 0;
  font: 400 .8125rem/1 var(--sans);
  letter-spacing: .06em;
  color: rgb(247 243 239 / .78);
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0 1px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
  transition: color .25s, background-size .35s;
}
.top-nav a:hover, .lang-toggle:hover, .lang-toggle[aria-expanded="true"] { color: var(--ivory); background-size: 100% 1px; background-position: 0 100%; }
.lang-pick { position: relative; display: none; }
.lang-toggle { display: inline-flex; align-items: center; gap: 8px; border: 0; background-color: transparent; }
.lang-toggle::after { content: ''; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1px 1px 0; rotate: 45deg; translate: 0 -2px; }
.lang-pop {
  position: absolute;
  top: calc(100% + 18px);
  right: -12px;
  min-width: 190px;
  padding: 8px;
  background: var(--plum);
  box-shadow: 0 0 0 1px var(--line-dark), 0 18px 40px rgb(20 6 14 / .35);
}
.lang-pop[hidden] { display: none; }
.lang-pop button {
  display: flex; align-items: baseline; gap: 14px;
  width: 100%;
  padding: 9px 12px;
  border: 0; background: none;
  font: 300 .9375rem/1.2 var(--sans);
  text-align: left;
  color: var(--on-dark);
  transition: color .2s, background .2s;
}
.lang-pop button:hover { color: var(--ivory); background: rgb(247 243 239 / .06); }
.lang-pop button[aria-current="true"] { color: var(--gold); }
.lang-code { width: 1.6em; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
@media (min-width: 1180px) {
  .bar-start .menu-toggle { display: none; }
  .top-nav, .lang-pick { display: flex; }
}
.menu-toggle {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 0; border: 0; background: none;
  font: 400 .875rem/1 var(--sans);
  letter-spacing: .06em;
}
.menu-toggle::before {
  content: '';
  width: 26px; height: 7px;
  border-block: 1px solid currentColor;
}
.menu-toggle:hover { color: var(--gold); }
.brand { text-decoration: none; }
.brand-name {
  display: block;
  font: 400 2.25rem/1 var(--script);
  opacity: 0;
  translate: 0 6px;
  transition: opacity .35s, translate .35s;
}
.is-scrolled .brand-name, .detail-page .brand-name { opacity: 1; translate: 0; }
.book-link {
  justify-self: end;
  padding: 11px 20px;
  border: 1px solid rgb(247 243 239 / .45);
  font: 400 .875rem/1 var(--sans);
  letter-spacing: .06em;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}
.book-link:hover { background: var(--ivory); border-color: var(--ivory); color: var(--plum); }

/* Side menu */
.menu {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(460px, 100vw);
  height: 100dvh;
  max-width: none; max-height: none;
  margin: 0;
  padding: clamp(28px, 5vw, 48px) clamp(28px, 4vw, 56px);
  border: 0;
  background: var(--plum);
  color: var(--ivory);
  overflow-y: auto;
}
.menu[open] { animation: slide-in .45s cubic-bezier(.2, .7, .2, 1); }
.menu::backdrop { background: rgb(44 19 34 / .5); }
.menu-close {
  position: absolute;
  top: clamp(18px, 3vw, 30px);
  right: clamp(14px, 3vw, 30px);
  display: grid; place-items: center;
  width: 48px; height: 48px;
  padding: 0; border: 0; background: none;
}
.menu-close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1; }
.menu-close:hover { color: var(--gold); }
.menu-langs { display: flex; flex-wrap: wrap; gap: 4px 2px; margin-top: 64px; font: 400 .8125rem/1 var(--sans); letter-spacing: .08em; color: rgb(247 243 239 / .35); }
.menu-langs button { padding: 6px 4px; border: 0; background: none; font: inherit; text-transform: uppercase; color: var(--on-dark); }
.menu-langs button:hover { color: var(--ivory); }
.menu-langs button[aria-current="true"] { color: var(--gold); }
.menu-nav { display: flex; flex-direction: column; align-items: flex-start; margin-top: 40px; }
.menu-nav a {
  font: 300 clamp(1.75rem, 5vw, 2.125rem)/1.6 var(--serif);
  text-decoration: none;
  transition: color .25s;
}
.menu-nav a:hover { color: var(--gold); }
@keyframes slide-in { from { translate: -100% 0; } }

/* Hero: the name written large on plum, its lower half crossing onto the full-width photo */
.hero {
  --sig: clamp(6rem, 16vw, 15rem);
  padding-top: calc(var(--header) + clamp(4px, 2vw, 24px));
  background: var(--plum);
  color: var(--ivory);
}
.signature {
  position: relative;
  z-index: 2;
  margin: 0 0 -0.42em;
  font: 400 var(--sig)/1 var(--script);
  text-align: center;
  color: var(--ivory);
  pointer-events: none;
}
/* Written on once, left to right, with a slanted edge like a nib */
.signature {
  clip-path: polygon(-10% -20%, -10% -20%, -30% 130%, -30% 130%);
  transition: clip-path 2s cubic-bezier(.45, .05, .25, 1);
}
.hero-ready .signature { clip-path: polygon(-10% -20%, 130% -20%, 110% 130%, -30% 130%); }
.signature-space { display: none; }
/* With script on, the name floats: it is pinned where it starts while the page scrolls beneath
   it, over a space that keeps its place in the hero. Past a point main.js docks it and it glides
   into the middle of the header as the logo, one slow ease-in-out; above that point it glides
   back. Both ends are fixed on screen, so the transition can reverse midway without a jump. */
.docking .signature-space { display: block; height: var(--sig); margin-bottom: -0.42em; font-size: var(--sig); }
.docking .signature {
  position: fixed;
  z-index: 30;
  inset: calc(var(--header) + clamp(4px, 2vw, 24px)) 0 auto;
  margin: 0;
  transform-origin: 50% 50%;
  will-change: transform;
  transition: transform var(--dock-ms) var(--dock-ease);
}
.signature.is-written { clip-path: none; }
.docking .hero-ready .signature:not(.is-written) { transition: clip-path 2s cubic-bezier(.45, .05, .25, 1), transform var(--dock-ms) var(--dock-ease); }
.docking .signature.is-docked { transform: translateY(var(--dock-y)) scale(var(--dock-scale)); }
.docking.no-motion .signature, .docking.no-motion .site-header { transition: none; }
.docking .site-header { transition: background var(--dock-ms) var(--dock-ease), box-shadow var(--dock-ms) var(--dock-ease); }
.docking .site-header:not(.is-docked) { background: transparent; box-shadow: none; }
.docking .site-header.is-docked { background: var(--plum); box-shadow: 0 1px 0 var(--line-dark); }
.docking .brand-name { visibility: hidden; }
.hero-media {
  position: relative;
  height: max(480px, calc(100svh - var(--header) - clamp(4px, 2vw, 24px) - var(--sig) * .58));
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(to bottom, rgb(44 19 34 / 0), rgb(44 19 34 / .6));
  pointer-events: none;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--plum-2);
  opacity: 0;
  transition: opacity 1.2s ease-out;
}
.hero-ready .hero-photo { opacity: 1; }
/* Over the photo: the two actions centred a little above the bottom, the rating in the corner.
   The headline stays for screen readers and search engines only. */
.hero-text { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.hero-text > * { pointer-events: auto; }
.top-actions {
  position: absolute;
  left: 50%;
  bottom: clamp(72px, 13vh, 150px);
  translate: -50% 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px;
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
}
.hero-rating {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(20px, 3vw, 40px);
  display: inline-flex; align-items: baseline; gap: 12px;
  font: 400 .875rem/1.25 var(--sans);
  letter-spacing: .03em;
  color: var(--on-dark);
  text-decoration: none;
}
.hero-rating .score { font: 300 1.75rem/1 var(--sans); letter-spacing: -0.02em; color: var(--gold); }
.hero-rating:hover { color: var(--ivory); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Rows and bands */
.row { padding-block: var(--row); }
.row + .row { border-top: 1px solid var(--line); }
.band { position: relative; isolation: isolate; border-top: 0 !important; }
.band + .row { border-top: 0; }
.band::before {
  content: '';
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  translate: -50% 0;
  background: var(--stone);
}
.band.dark { color: var(--ivory); }
.band.dark::before { background: var(--plum); }
.dark .section-title, .dark .list-title, .dark .big { color: var(--ivory); }
.dark .muted { color: rgb(247 243 239 / .55); }

/* Intro */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 128px); align-items: start; }
.intro-title { font: 300 italic clamp(2.25rem, 3.8vw, 3.25rem)/1.15 var(--serif); color: var(--plum); }
.intro-body > p { font: 300 clamp(1.125rem, 1.4vw, 1.25rem)/1.7 var(--sans); }
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 40px 0 0; padding: 0;
  list-style: none;
}
.facts li { padding: 14px 0; border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.4; }

/* Apartments */
.unit {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 88px);
}
.unit:first-child { padding-top: 0; }
.unit + .unit { border-top: 1px solid var(--line); }
.unit-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.unit-flip .unit-photos { order: 2; }
.unit-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; aspect-ratio: 3 / 2; }
.unit-photo { display: block; padding: 0; border: 0; background: var(--stone); overflow: hidden; }
.unit-photo.is-main { grid-row: span 2; }
.unit-photo:only-child { grid-column: span 2; }
.unit-photo img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s cubic-bezier(.2, .7, .2, 1); }
.unit-photo:hover img { scale: 1.035; }
.unit-name { font: 300 clamp(2rem, 3.2vw, 2.75rem)/1.1 var(--serif); color: var(--plum); }
.unit-name a { text-decoration: none; }
.unit-name a:hover { color: var(--plum-2); }
.unit-tagline { margin-top: 16px; font-size: 1rem; line-height: 1.75; }
.spec { display: flex; flex-wrap: wrap; gap: 16px 36px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.spec dt { font-size: .8125rem; letter-spacing: .03em; line-height: 1.3; color: var(--muted); }
/* Numbers are set in Jost: Cormorant's figures are old-style, so a 1 reads like an I */
.spec dd { margin: 4px 0 0; font: 400 1.0625rem/1.3 var(--sans); color: var(--plum); }
.highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px;
  margin: 20px 0 0; padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.highlights li { display: flex; align-items: center; gap: 12px; font-size: .9375rem; line-height: 1.3; }
.highlights svg { flex: none; width: 18px; height: 18px; color: var(--muted); stroke-width: 1.4; }
.unit-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* An apartment's own page */
.detail-page main { padding-top: var(--header); }
.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 80px) var(--row);
}
.detail-photo { display: block; padding: 0; border: 0; background: var(--stone); aspect-ratio: 4 / 5; overflow: hidden; }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s cubic-bezier(.2, .7, .2, 1); }
.detail-photo:hover img { scale: 1.03; }
.detail-name { font: 300 clamp(2.75rem, 5.2vw, 4.5rem)/1.02 var(--serif); letter-spacing: -0.01em; color: var(--plum); }
.detail-lead { margin-top: 22px; font: 300 clamp(1.125rem, 1.4vw, 1.25rem)/1.7 var(--sans); }
.detail-spec { display: flex; flex-wrap: wrap; gap: 16px 36px; margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.detail-spec li { display: flex; flex-direction: column; font: 400 1.0625rem/1.3 var(--sans); color: var(--plum); }
.detail-spec span { margin-bottom: 4px; font: 300 .8125rem/1.3 var(--sans); letter-spacing: .03em; color: var(--muted); }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.detail-about .big { max-width: 40rem; margin-inline: auto; }
.detail-sauna { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.detail-sauna[hidden] { display: none; }
.detail-sauna .big { margin-top: 28px; }
.sauna-rates { margin: 0; }
.sauna-rates div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.sauna-rates div:last-child { border-bottom: 1px solid var(--line); }
.sauna-rates dt { font-size: .9375rem; color: var(--muted); }
.sauna-rates dd { margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; text-align: right; font: 400 1.0625rem/1.4 var(--sans); color: var(--plum); }

/* Booking the sauna by the hour (js/sauna.js): day strip, slots, people and extra hour on the
   left, the guest's details and the total on the right. Choices are real radios and checkboxes,
   drawn as square tiles; the chosen one turns plum. Numbers in Jost, never Cormorant. */
.sauna-book { grid-column: 1 / -1; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.sauna-book[hidden] { display: none; }
.sauna-book-title { margin-bottom: clamp(28px, 3vw, 40px); font: 300 clamp(1.75rem, 2.6vw, 2.25rem)/1.1 var(--serif); color: var(--plum); }
.sb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.sb-field { min-width: 0; margin: 0 0 32px; padding: 0; border: 0; }
.sb-label { display: block; margin-bottom: 12px; padding: 0; font: 400 .9375rem/1.4 var(--sans); letter-spacing: .02em; color: var(--muted); }
.sb-month { margin-left: 10px; color: var(--plum); }
.sb-days { display: flex; align-items: stretch; gap: 8px; }
.sb-day-list { flex: 1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.sb-day, .sb-slot { position: relative; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.sb-day input, .sb-slot input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: inherit; }
.sb-day { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 12px; }
.sb-weekday { font-size: .75rem; line-height: 1.2; letter-spacing: .03em; color: var(--muted); }
.sb-date { font: 400 1.25rem/1 var(--sans); color: var(--plum); }
.sb-day:hover, .sb-slot:hover { border-color: var(--muted); }
.sb-day:has(input:checked), .sb-slot:has(input:checked) { border-color: var(--plum); background: var(--plum); }
.sb-day:has(input:checked) span, .sb-slot:has(input:checked) span { color: var(--ivory); }
.sb-day:has(input:disabled) { opacity: .35; cursor: default; border-color: var(--line); }
.sb-day:has(input:focus-visible), .sb-slot:has(input:focus-visible) { outline: 1px solid var(--plum); outline-offset: 3px; }
.sb-step { flex: none; display: grid; place-items: center; width: 36px; padding: 0; border: 1px solid var(--line); background: none; font: 300 1.375rem/1 var(--sans); color: var(--plum); transition: border-color .2s; }
.sb-step svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sb-step:not(:disabled):hover { border-color: var(--muted); }
.sb-step:disabled { opacity: .3; cursor: default; }
.sb-slots { display: grid; gap: 8px; }
.sb-slot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 20px; }
.sb-slot-time { font: 400 1.125rem/1.2 var(--sans); color: var(--plum); font-variant-numeric: tabular-nums; }
.sb-slot-state { font-size: .875rem; color: var(--muted); }
.sb-slot:has(input:disabled) { cursor: default; border-color: var(--line); }
.sb-slot:has(input:disabled) .sb-slot-time { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.sb-note { padding: 14px 0; color: var(--muted); }
.sb-options { display: grid; gap: 20px; margin-bottom: 0; }
.sb-people { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sb-people .sb-label { margin: 0; }
.sb-stepper { display: flex; align-items: center; border: 1px solid var(--line); }
.sb-stepper .sb-step { width: 44px; height: 44px; border: 0; }
.sb-stepper output { min-width: 28px; text-align: center; font: 400 1.125rem/1 var(--sans); color: var(--plum); }
.sb-check { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.sb-check input { appearance: none; flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin: 0; border: 1px solid var(--muted); background: transparent; cursor: pointer; }
.sb-check input:checked { border-color: var(--plum); background: var(--plum); }
.sb-check input:checked::after { content: ''; width: 10px; height: 5px; border-left: 1.5px solid var(--ivory); border-bottom: 1.5px solid var(--ivory); transform: translateY(-1px) rotate(-45deg); }
.sb-check input:focus-visible { outline: 1px solid var(--plum); outline-offset: 3px; }
.sb-plus { margin-left: auto; font-weight: 400; color: var(--plum); }
.sb-form { display: grid; gap: 22px; }
.sb-input { display: grid; gap: 4px; }
.sb-input span { font-size: .9375rem; color: var(--muted); }
.sb-input input, .sb-input textarea {
  width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid rgb(44 19 34 / .3); border-radius: 0;
  background: transparent; font: 300 1.0625rem/1.5 var(--sans); color: var(--text);
  transition: border-color .2s;
}
.sb-input textarea { resize: vertical; min-height: 3.5em; }
.sb-input input:focus, .sb-input textarea:focus { outline: none; border-bottom-color: var(--plum); box-shadow: 0 1px 0 var(--plum); }
.sb-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sb-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.sb-total:empty { display: none; }
.sb-total .sb-label { margin: 0; }
.sb-sum { margin-left: auto; font: 400 1.75rem/1 var(--sans); color: var(--plum); }
.sb-pay { flex-basis: 100%; text-align: right; font-size: .875rem; color: var(--muted); }
.sb-message { font-size: .9375rem; color: #8c2f39; }
.sb-message:empty { display: none; }
.sb-submit { justify-content: center; }
.sb-submit:disabled { opacity: .4; cursor: default; }
.sb-submit:disabled:hover { background: var(--plum); color: var(--ivory); }
.sb-done { max-width: 40rem; }
.sb-done:focus { outline: none; }
.sb-done .big { margin-bottom: 24px; }
.sb-done-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 28px; padding: 18px 0; border-block: 1px solid var(--line); }
.sb-done-total .sb-label { margin: 0; }
.sb-done-total .sb-sum { margin-left: 0; }
.sb-done-total .sb-pay { flex-basis: auto; text-align: left; }
.included-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 48px; }
.included-list { margin: 14px 0 0; padding: 0; list-style: none; }
.included-list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.3; }
.included-list svg { flex: none; width: 18px; height: 18px; color: var(--muted); stroke-width: 1.4; }
.detail-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.detail-thumb { display: block; padding: 0; border: 0; background: var(--stone); aspect-ratio: 3 / 2; overflow: hidden; }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s cubic-bezier(.2, .7, .2, 1); }
.detail-thumb:hover img { scale: 1.035; }
.detail-nav { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px 32px; }
.detail-nav-link { font: 300 clamp(1.375rem, 2.2vw, 1.75rem)/1.3 var(--serif); text-decoration: none; color: var(--plum); }
.detail-nav-link:hover { color: var(--muted); }
.detail-nav-link[data-detail-next] { margin-left: auto; text-align: right; }

/* Equipment */
.facilities { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.facility-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 44px 48px; }
.facility-group ul { margin: 12px 0 0; padding: 0; list-style: none; }
.facility-group li { padding: 8px 0; border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.4; }

/* Reviews (plum band) */
.reviews-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.score-big { font: 300 clamp(4.5rem, 8vw, 6.5rem)/.9 var(--sans); letter-spacing: -0.04em; color: var(--gold); }
.score-word { margin-top: 18px; font: 300 italic 1.75rem/1.1 var(--serif); }
.score-card .muted { margin-top: 8px; font-size: .875rem; }
.score-bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 48px; margin: 0; }
.score-bars dt { font-size: .875rem; letter-spacing: .02em; line-height: 1.3; color: var(--on-dark); }
.score-bars dd { display: flex; align-items: center; gap: 16px; margin: 10px 0 0; }
.bar { flex: 1; height: 1px; background: var(--line-dark); }
.bar > span { display: block; width: var(--v); height: 100%; background: var(--gold); }
.val { min-width: 2.2em; text-align: right; font: 400 .875rem/1 var(--sans); }
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 56px 48px;
  margin: clamp(64px, 8vw, 104px) 0 0; padding: 0;
  list-style: none;
}
.quote { padding-top: 24px; border-top: 1px solid var(--line-dark); }
.quote blockquote { margin: 0; font: 300 1.0625rem/1.75 var(--sans); color: rgb(247 243 239 / .88); }
.quote-by { margin-top: 18px; font-size: .875rem; letter-spacing: .03em; }
.quote-by span { margin-left: 10px; color: rgb(247 243 239 / .5); }

/* Location */
.location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.map { aspect-ratio: 1; background: var(--stone); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.92) brightness(1.04); }
.spas { margin: 32px 0 0; padding: 0; list-style: none; }
.spas:empty { display: none; }
.spas li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.spas li:last-child { border-bottom: 1px solid var(--line); }
.spa-name { font: 400 clamp(1.5rem, 2.2vw, 1.875rem)/1.15 var(--serif); font-variant-ligatures: no-common-ligatures; color: var(--plum); }
.spa-time { flex: none; font-size: .9375rem; color: var(--muted); }
.address { margin: 28px 0 14px; font-size: .9375rem; color: var(--plum); }
.nearby { margin: 14px 0 0; padding: 0; list-style: none; }
.nearby li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.35; }
.nearby .muted { text-align: right; }
.areas {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 56px) clamp(40px, 6vw, 96px);
  margin-top: clamp(24px, 4vw, 48px);
}

/* Booking (stone band) */
.book { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.book-intro .big { margin-bottom: 28px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px 40px; border-bottom: 1px solid rgb(44 19 34 / .22); }
.tabs button {
  margin-bottom: -1px;
  padding: 0 0 16px; border: 0; border-bottom: 2px solid transparent; background: none;
  font-size: 1.1875rem; letter-spacing: .02em; line-height: 1.2;
  color: var(--text); opacity: .62;
}
.tabs button:hover { opacity: 1; }
.tabs button[aria-selected="true"] { border-bottom-color: var(--plum); color: var(--plum); opacity: 1; }
.tab-panel { padding-top: 32px; }
/* Bentral's plugins take these colours (js/bentral.js passes them on). Its title bar, column
   heads and the form's bottom bar share the header colour; clear (8-digit hex, alpha 0: Bentral
   puts a # in front of what it gets) lets the booking band show through, as do the clear rows.
   The labels and the current step share the stone. Its fields stay white: Bentral sets them in
   its own stylesheet, with no colour of ours. */
:root {
  --bentral-header-bg: #00000000; --bentral-header-color: #2c1322;
  --bentral-header2-bg: #ede6e0; --bentral-header2-color: #2c1322;
  --bentral-table-bg: #00000000; --bentral-table-color: #3a2733;
  --bentral-btn-bg: #2c1322; --bentral-btn-color: #f7f3ef;
  --bentral-border-color: #ede6e0;
}
/* Bentral's plugins (js/bentral.js): the iframe grows to fit once Bentral reports its height */
.bentral-frame { display: block; width: 100%; height: 520px; border: 0; }
/* Each plugin's own title ("Reservation / Apartments Hanny", "Calendar of occupancy / <unit>",
   "Price list / <unit>": 56px in every language and width; Bentral has no setting to leave it
   out) is cut off the top: the tabs and the apartment switch already say it. */
.bentral-box { overflow: hidden; }
.bentral-frame { margin-top: -56px; }
.unit-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.unit-switch button {
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: none;
  font-size: .875rem; letter-spacing: .02em; line-height: 1.2;
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}
.unit-switch button:hover { color: var(--text); border-color: var(--muted); }
.unit-switch button[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--ivory); }

/* Rules */
.rules-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 48px; margin: 0; }
.rules-list > div { padding: 20px 0 24px; border-top: 1px solid var(--line); }
.rules-list dt { font: 400 1.25rem/1.3 var(--serif); color: var(--plum); }
.rules-list dd { margin: 6px 0 0; font-size: .9375rem; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { margin: 0; }
.contact-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list dt { font-size: .875rem; letter-spacing: .03em; color: var(--muted); }
.contact-list dd { margin: 0; font: 400 1.0625rem/1.5 var(--sans); color: var(--plum); overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* Questions & answers */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  padding: 22px 40px 22px 0;
  list-style: none;
  cursor: pointer;
  font: 400 1.3125rem/1.35 var(--serif);
  color: var(--plum);
}
.faq-item summary::-webkit-details-marker { display: none; }
/* A thin plus that turns into a minus */
.faq-item summary::before, .faq-item summary::after {
  content: '';
  position: absolute;
  right: 4px; top: 50%;
  width: 14px; height: 1px;
  background: currentColor;
  transition: rotate .3s ease, opacity .3s;
}
.faq-item summary::after { rotate: 90deg; }
.faq-item[open] summary::after { rotate: 0deg; opacity: 0; }
.faq-item p { max-width: 62ch; margin: -6px 0 26px; font-size: 1rem; line-height: 1.75; }

/* Footer */
.site-footer { padding-block: clamp(56px, 7vw, 88px) 36px; background: var(--plum); color: var(--ivory); }
.footer-inner { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: .8125rem; letter-spacing: .03em; color: rgb(247 243 239 / .55); }
.footer-brand { font: 400 3rem/1 var(--script); color: var(--ivory); }

/* Gallery */
.gallery {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--plum);
  color: var(--ivory);
}
.gallery[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.gallery::backdrop { background: var(--plum); }
.gallery-top { display: flex; align-items: center; gap: 16px; padding: 12px var(--gutter); }
.gallery-title { font: 300 1.5rem/1.2 var(--serif); }
.gallery-count { margin-left: auto; font-size: .875rem; letter-spacing: .04em; opacity: .65; }
.gallery-stage { margin: 0; padding: 0 clamp(8px, 7vw, 96px); min-height: 0; }
.gallery-stage img { width: 100%; height: 100%; object-fit: contain; }
.icon-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgb(247 243 239 / .25);
  border-radius: 50%;
  background: none;
  transition: border-color .25s, background .25s, color .25s;
}
.icon-btn:hover { border-color: var(--ivory); background: var(--ivory); color: var(--plum); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.gallery-nav { position: absolute; top: 50%; translate: 0 -50%; }
.gallery-nav.prev { left: clamp(8px, 2vw, 32px); }
.gallery-nav.next { right: clamp(8px, 2vw, 32px); }
.gallery-strip { display: flex; gap: 6px; padding: 12px var(--gutter) 16px; overflow-x: auto; scrollbar-width: none; }
.gallery-strip button { flex: none; width: 72px; height: 52px; padding: 0; border: 0; overflow: hidden; opacity: .4; background: none; transition: opacity .25s; }
.gallery-strip button:hover { opacity: .8; }
.gallery-strip button[aria-current="true"] { opacity: 1; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; }

/* Responsive */
@media (max-width: 900px) {
  .intro, .location, .book, .contact, .reviews-head, .unit, .unit-flip, .facilities, .faq, .areas, .detail-top, .detail-sauna, .sb { grid-template-columns: 1fr; }
  .unit-flip .unit-photos { order: 0; }
  .detail-photo { aspect-ratio: 4 / 3; }
  .detail-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map { aspect-ratio: 4 / 3; }
  /* Portrait-ish (4:5) but full width: capped at 80% of the screen height, the photo crops */
  .hero-media { height: min(125vw, 80svh); }
  .hero-media::after { inset: 25% 0 0; background: linear-gradient(to bottom, rgb(44 19 34 / 0), rgb(44 19 34 / .85) 70%); }
}
@media (max-width: 600px) {
  .sb-days { gap: 4px; }
  .sb-day-list { gap: 4px; }
  .sb-step { width: 30px; }
  .sb-date { font-size: 1.0625rem; }
  .sb-weekday { font-size: .6875rem; }
  .menu-toggle { font-size: 0; gap: 0; }
  .brand-name { font-size: 2rem; }
  .book-link { padding: 9px 14px; font-size: .8125rem; }
  .signature, .docking .signature-space { margin-bottom: -0.36em; }
  /* On a phone the actions and rating go under the photo instead of over it */
  .hero-media { height: auto; }
  .hero-media::after { content: none; }
  .hero-photo { height: auto; aspect-ratio: 4 / 5; }
  .hero-text { position: static; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 32px var(--gutter) 56px; }
  .top-actions, .hero-rating { position: static; translate: none; }
  .hero-rating { align-self: flex-end; }
  .unit-photos { grid-template-columns: 1fr; grid-template-rows: auto; aspect-ratio: 4 / 5; }
  .unit-photo:not(.is-main) { display: none; }
  .unit-photo.is-main { grid-row: auto; }
  .score-bars { grid-template-columns: 1fr; gap: 16px; }
  .facts, .highlights { grid-template-columns: 1fr; }
  .tabs { gap: 8px 24px; }
  .contact-list > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .gallery-nav { top: auto; bottom: 84px; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu[open] { animation: none; }
  .signature { clip-path: none; transition: none; }
  .hero-photo, .unit-photo img, .detail-photo img, .detail-thumb img, .brand-name, .site-header, .menu-nav a, .link, .btn, .faq-item summary::before, .faq-item summary::after { transition: none; }
}
