/* =================================================================
   BLOEM STUDIO  ·  Komotini boutique stay
   Palette drawn from the room: sage / olive, blush, grey, warm wood.
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg:        #f7f8f3;
  --bg-2:      #edf0e6;
  --surface:   #ffffff;

  /* brand greens */
  --olive:     #5c6650;
  --olive-700: #4a5340;
  --olive-900: #343b2b;
  --sage:      #8e9a7c;
  --sage-200:  #d7ddca;
  --sage-100:  #e7ebde;

  /* blush + accent rose (from the gerbera) */
  --blush:     #f1dbd6;
  --blush-100: #f8ece8;
  --rose:      #c2685c;
  --rose-600:  #b0584c;   /* solid CTA bg, white text passes AA */
  --rose-400:  #dd7a6e;   /* bright accent / glow */
  --rose-700:  #9e4135;   /* darker rose for small text on light bg — passes AA 4.5:1 */
  --wood:      #b07a4e;

  /* ink */
  --ink:       #26291d;
  --ink-2:     #58604c;
  --cream:     #f3f1e6;
  --line:      rgba(38, 41, 29, .12);
  --line-2:    rgba(38, 41, 29, .07);

  /* type */
  --font-display: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* spacing / radius */
  --container: 1200px;
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 18px;
  --r-xl: 22px;
  --pad-section: clamp(4rem, 9vw, 7.5rem);

  /* shadow (tinted to the brand, never pure black) */
  --shadow-s: 0 2px 8px rgba(60, 66, 48, .07);
  --shadow-m: 0 14px 34px -16px rgba(60, 66, 48, .28);
  --shadow-l: 0 30px 70px -30px rgba(52, 59, 43, .42);

  /* motion */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  /* z-scale */
  --z-header: 100;
  --z-fab: 200;
  --z-panel: 300;
  --z-lightbox: 400;

  --font-scale: 1;

  /* gerbera silhouette used as a faint background watermark */
  --bloom-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='black'%3E%3Cellipse cx='50' cy='23' rx='7' ry='17' transform='rotate(0 50 50)'/%3E%3Cellipse cx='50' cy='23' rx='7' ry='17' transform='rotate(30 50 50)'/%3E%3Cellipse cx='50' cy='23' rx='7' ry='17' transform='rotate(60 50 50)'/%3E%3Cellipse cx='50' cy='23' rx='7' ry='17' transform='rotate(90 50 50)'/%3E%3Cellipse cx='50' cy='23' rx='7' ry='17' transform='rotate(120 50 50)'/%3E%3Cellipse cx='50' cy='23' rx='7' ry='17' transform='rotate(150 50 50)'/%3E%3Cellipse cx='50' cy='23' rx='7' ry='17' transform='rotate(180 50 50)'/%3E%3Cellipse cx='50' cy='23' rx='7' ry='17' transform='rotate(210 50 50)'/%3E%3Cellipse cx='50' cy='23' rx='7' ry='17' transform='rotate(240 50 50)'/%3E%3Cellipse cx='50' cy='23' rx='7' ry='17' transform='rotate(270 50 50)'/%3E%3Cellipse cx='50' cy='23' rx='7' ry='17' transform='rotate(300 50 50)'/%3E%3Cellipse cx='50' cy='23' rx='7' ry='17' transform='rotate(330 50 50)'/%3E%3Ccircle cx='50' cy='50' r='13'/%3E%3C/g%3E%3C/svg%3E");

  /* wavy underline for nav hover */
  --wavy-underline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' viewBox='0 0 16 6'%3E%3Cpath d='M0 4 Q4 0 8 4 T16 4' fill='none' stroke='%23dd7a6e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  font-size: calc(100% * var(--font-scale));
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--rose-400); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 500;
  background: var(--olive); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm);
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.01em;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  color: var(--olive-700);
  text-wrap: balance;
}
.section-title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--rose-600);
}
.section-title--light { color: var(--cream); }
.section-title--light em { color: var(--blush); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.7;
  text-wrap: pretty;
}

.section-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); max-width: 60ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__sub { color: var(--ink-2); margin-top: .6rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--olive);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .98rem; letter-spacing: .005em;
  padding: .8rem 1.4rem; border-radius: 100px;
  transition: transform .18s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s var(--ease-out);
  box-shadow: var(--shadow-s); white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
}
.btn:active { transform: scale(.97); }

.btn--primary { --btn-bg: var(--rose-600); box-shadow: 0 10px 26px -12px rgba(176, 88, 76, .7); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { --btn-bg: #a14e43; box-shadow: 0 16px 34px -12px rgba(176, 88, 76, .8); }
}
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--olive-700);
  box-shadow: inset 0 0 0 1.6px var(--sage);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { --btn-bg: var(--sage-100); box-shadow: inset 0 0 0 1.6px var(--olive); }
}
.btn--sm { padding: .58rem 1.05rem; font-size: .9rem; }
.btn--lg { padding: .95rem 1.7rem; font-size: 1.04rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out), backdrop-filter .3s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
/* transparent + light text while overlaying the cinematic hero */
.site-header.over-hero { background: linear-gradient(to bottom, rgba(18,22,14,.55) 0%, rgba(18,22,14,.4) 35%, rgba(18,22,14,.22) 60%, rgba(18,22,14,.08) 82%, rgba(18,22,14,0) 100%); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
.site-header.over-hero .brand__name { color: #fff; }
.site-header.over-hero .brand__sub { color: rgba(255,255,255,.78); }
.site-header.over-hero .nav__link { color: rgba(255,255,255,.92); }
.site-header.over-hero .nav__link:hover { color: #fff; }
.site-header.over-hero .lang-toggle { color: #fff; box-shadow: inset 0 0 0 1.4px rgba(255,255,255,.45); }
.site-header.over-hero .lang-toggle:hover { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.4px rgba(255,255,255,.7); }
.site-header.over-hero .nav-toggle span { background: #fff; }
/* legibility of the transparent header text over bright areas of the hero photo */
.site-header.over-hero .brand__name, .site-header.over-hero .brand__sub,
.site-header.over-hero .nav__link, .site-header.over-hero .lang-toggle { text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.header__inner { display: flex; align-items: center; gap: 1.2rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark { display: grid; place-items: center; transition: transform .4s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(24deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; color: var(--olive-700); letter-spacing: .01em; }
.brand__sub { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); font-weight: 700; }
.brand--light .brand__name { color: var(--cream); }
.brand--light .brand__sub { color: var(--sage-100); }

.nav { display: flex; gap: .3rem; margin-inline: auto; }
.nav__link {
  position: relative; padding: .5rem .8rem; font-weight: 600; font-size: .95rem; color: var(--ink-2); border-radius: 8px;
  transition: color .2s var(--ease-out);
}
.nav__link::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .1rem; height: 6px;
  background: var(--wavy-underline) repeat-x bottom left / 16px 6px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav__link:hover { color: var(--olive-700); }
.nav__link:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .7rem; border-radius: 100px;
  font-weight: 700; font-size: .82rem; color: var(--olive-700); box-shadow: inset 0 0 0 1.4px var(--line);
  transition: box-shadow .2s var(--ease-out), background-color .2s var(--ease-out);
}
.lang-toggle svg { width: 1rem; height: 1rem; }
.lang-toggle:hover { background: var(--sage-100); box-shadow: inset 0 0 0 1.4px var(--sage); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--olive-700); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* (legacy split-hero styles removed; replaced by the Cinematic full-screen hero below) */

/* wave divider (curved section separator) */
.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; pointer-events: none; z-index: 2; }
.wave-divider svg { width: 100%; height: clamp(44px, 6vw, 92px); display: block; }
.wave-divider path { fill: var(--bg-2); }
.wave-divider--bg path { fill: var(--bg); }
.wave-divider--bg2 path { fill: var(--bg-2); }
.wave-divider--olive path { fill: var(--olive-900); }
.wave-divider--footer path { fill: var(--olive); }
/* sections that carry a bottom wave need a positioning context */
.ratings, .space, .amenities, .gallery, .reviews, .location, .rules, .facilities, .faq, .listed { position: relative; }

/* ---------- Botanical watermark (Bloem gerbera) ---------- */
.has-bloom { isolation: isolate; overflow: hidden; }
.bloom-deco {
  position: absolute; z-index: -1; pointer-events: none;
  width: clamp(200px, 28vw, 380px); aspect-ratio: 1;
  background: currentColor; opacity: .055;
  -webkit-mask: var(--bloom-mask) center / contain no-repeat;
  mask: var(--bloom-mask) center / contain no-repeat;
  animation: bloom-spin 110s linear infinite;
}
.bloom-deco--tr { top: -28px; right: -28px; }
.bloom-deco--bl { bottom: -28px; left: -28px; }
.bloom-deco--tl { top: -28px; left: -28px; }
.bloom-deco--br { bottom: -28px; right: -28px; }
.bloom-deco--sm { width: clamp(96px, 12vw, 168px); opacity: .05; }
/* small watermarks sit fully inside the corner (no clipping) */
.bloom-deco--sm.bloom-deco--tr { top: 18px; right: 18px; }
.bloom-deco--sm.bloom-deco--tl { top: 18px; left: 18px; }
.bloom-deco--sm.bloom-deco--br { bottom: 18px; right: 18px; }
.bloom-deco--sm.bloom-deco--bl { bottom: 18px; left: 18px; }
.bloom-sage  { color: var(--olive); }
.bloom-blush { color: var(--rose-400); }
.bloom-on-dark { opacity: .10; }
@keyframes bloom-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bloom-deco { animation: none; } }
body.a11y-rm .bloom-deco { animation: none; }

/* ---------- Cinematic full-screen hero ---------- */
.cine { position: relative; min-height: 100dvh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; color: #fff; }
.cine__media { position: absolute; inset: 0; z-index: -2; }
.cine__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; will-change: transform, opacity; animation: cineKen 28s cubic-bezier(.4, 0, .2, 1) infinite; }
.cine__slide:nth-of-type(1) { background-image: url("../img/hero-room.webp"); animation-delay: 0s; }
.cine__slide:nth-of-type(2) { animation-delay: 7s; }  /* background-image set lazily after load (perf) */
.cine__slide:nth-of-type(3) { animation-delay: 14s; }
.cine__slide:nth-of-type(4) { animation-delay: 21s; }

/* Video hero (primary). The poster paints first (= LCP); the clip decodes off the
   main thread, so it avoids the Ken-Burns Style&Layout cost. */
.cine__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* While the video is active the image slideshow stays as a dormant backup
   (no render, no image bytes, no animation). Remove .has-video to revert to it. */
.cine.has-video .cine__slide { display: none; }
@keyframes cineKen {
  0%   { opacity: 0; transform: scale(1.04); }
  5%   { opacity: 1; }
  28%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; transform: scale(1.16); }
}
.cine__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(28,33,21,.82) 0%, rgba(28,33,21,.5) 46%, rgba(28,33,21,.66) 100%),
    radial-gradient(120% 80% at 50% 32%, transparent 34%, rgba(28,33,21,.46) 100%);
}
.cine__content { position: relative; z-index: 1; max-width: 860px; padding: clamp(5.5rem, 11vw, 8rem) clamp(1.2rem, 5vw, 3rem) clamp(2.5rem, 6vw, 3.5rem); }
.cine__pill {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border-radius: 100px;
  background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-weight: 700; font-size: .82rem; letter-spacing: .02em; border: 1px solid rgba(255,255,255,.24);
}
.cine__pill svg { width: 1rem; height: 1rem; }
.cine__title {
  font-family: var(--font-display); font-weight: 600; line-height: .98;
  font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -.01em; margin: 1.2rem 0 1.1rem;
  text-shadow: 0 2px 34px rgba(0,0,0,.4); text-wrap: balance;
}
.cine__title-line { display: block; }
.cine__title em { display: block; font-style: italic; font-weight: 500; color: var(--blush); }
.cine__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.65; color: rgba(255,255,255,.93);
  max-width: 48ch; margin: 0 auto; text-shadow: 0 1px 18px rgba(0,0,0,.45); text-wrap: pretty;
}
.cine__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 2rem 0 1.6rem; }
.cine .btn--ghost { --btn-fg: #fff; box-shadow: inset 0 0 0 1.6px rgba(255,255,255,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(255,255,255,.08); }
.cine .btn--ghost:hover { background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1.6px #fff; }
.cine__rating { display: inline-flex; align-items: center; gap: .55rem; font-size: .95rem; color: rgba(255,255,255,.9); flex-wrap: wrap; justify-content: center; }
.cine__rating b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: #fff; }
.cine__stars { color: #f1c27d; letter-spacing: .1em; }
.cine .wave-divider path { fill: var(--bg-2); }

@media (prefers-reduced-motion: no-preference) {
  .cine__content > * { opacity: 0; animation: cineUp .9s var(--ease-out) forwards; }
  .cine__pill { animation-delay: .15s; }
  .cine__title { animation-delay: .28s; }
  .cine__sub { animation-delay: .42s; }
  .cine__actions { animation-delay: .54s; }
  .cine__rating { animation-delay: .66s; }
}
@keyframes cineUp { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* keep the hero readable when motion is reduced (OS pref or on-page toggle) */
@media (prefers-reduced-motion: reduce) {
  .cine__slide { animation: none !important; }
  .cine__slide:nth-of-type(1) { opacity: 1 !important; }
  .cine__slide:nth-of-type(n+2) { opacity: 0 !important; }
  .cine__content > * { opacity: 1 !important; animation: none !important; }
}
body.a11y-rm .cine__slide { animation: none !important; }
body.a11y-rm .cine__slide:nth-of-type(1) { opacity: 1 !important; }
body.a11y-rm .cine__slide:nth-of-type(n+2) { opacity: 0 !important; }
body.a11y-rm .cine__content > * { opacity: 1 !important; }

/* ---------- Ratings strip ---------- */
.ratings { background: var(--bg-2); padding: clamp(2.2rem, 4vw, 3rem) 0; }
.ratings__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; text-align: center; }
.rating-stat { display: flex; flex-direction: column; gap: .2rem; padding: .4rem; }
.rating-stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--rose-600); line-height: 1; }
.rating-stat__lab { font-size: .82rem; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }

/* ---------- The space ---------- */
.space { padding: var(--pad-section) 0; background: var(--bg-2); }
.space__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.space__list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .7rem; }
.space__list li { display: flex; align-items: flex-start; gap: .7rem; font-weight: 500; color: var(--ink); }
.space__list svg { width: 1.35rem; height: 1.35rem; color: var(--rose-600); flex: none; margin-top: .15rem; }

.space__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.8rem); }
.space__media figure { overflow: hidden; border-radius: 46% 46% 44% 44% / 9% 9% 7% 7%; box-shadow: var(--shadow-l); will-change: transform; }
.space__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.space__media-a { margin-top: 2.4rem; }
.space__media-b { margin-bottom: 2.4rem; }
@media (prefers-reduced-motion: no-preference) {
  .space__media-a { animation: bloom-float 6.5s var(--ease-in-out) infinite; }
  .space__media-b { animation: bloom-float 7.5s var(--ease-in-out) infinite reverse; }
}

/* ---------- Bento amenities ---------- */
.amenities { padding: var(--pad-section) 0; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.4vw, 1.1rem); grid-auto-rows: 1fr; }
.bento__cell {
  position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; min-height: 200px;
  box-shadow: var(--shadow-s); border: 1px solid var(--line-2); overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .bento__cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); } }
.bento__cell h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--olive-700); line-height: 1.1; overflow-wrap: break-word; }
.bento__cell p { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.bento__icon { width: 2.4rem; height: 2.4rem; color: var(--rose-600); margin-bottom: auto; }
.bento__cell--wide { grid-column: span 2; grid-row: span 2; }
.bento__cell--sage { background: var(--sage-100); }
.bento__cell--sage h3 { color: var(--olive-900); }
.bento__cell--blush { background: var(--blush-100); }
.bento__cell--blush .bento__icon { color: var(--rose-600); }

.bento__cell--photo { padding: 0; justify-content: flex-end; min-height: 240px; }
.bento__cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .bento__cell--photo:hover img { transform: scale(1.06); } }
.bento__overlay { position: relative; z-index: 2; padding: 1.4rem; background: linear-gradient(to top, rgba(33,38,26,.86) 0%, rgba(33,38,26,.45) 55%, transparent 100%); }
.bento__overlay h3 { color: #fff; }
.bento__overlay p { color: rgba(255,255,255,.86); }

/* ---------- Carousel chrome (shared: gallery + reviews) ---------- */
.carousel { position: relative; }
.carousel__arrow {
  position: absolute; top: 0; bottom: 3rem; margin-block: auto; z-index: 4;
  width: 46px; height: 46px; border-radius: 50%; display: none; place-items: center;
  background: var(--surface); color: var(--olive-700); box-shadow: var(--shadow-m);
  transition: transform .2s var(--ease-out), background-color .2s var(--ease-out), opacity .2s var(--ease-out);
}
.carousel__arrow svg { width: 1.4rem; height: 1.4rem; }
.carousel__arrow--prev { left: -8px; }
.carousel__arrow--next { right: -8px; }
.carousel__arrow:hover { background: var(--sage-100); }
.carousel__arrow:active { transform: scale(.92); }
@media (min-width: 760px) { .carousel__arrow { display: grid; } }
.carousel__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.4rem; }
.carousel__dot { position: relative; width: 8px; height: 8px; padding: 0; border-radius: 50%; background: var(--sage-200); transition: width .3s var(--ease-out), background-color .3s var(--ease-out); }
.carousel__dot::after { content: ""; position: absolute; inset: -8px; }  /* 24px touch target */
.carousel__dot.is-active { width: 24px; border-radius: 100px; background: var(--rose-600); }
.carousel--static .carousel__arrow, .carousel--static .carousel__dots { display: none !important; }

/* ---------- Gallery (auto carousel) ---------- */
.gallery { padding: var(--pad-section) 0; background: var(--bg-2); }
.masonry {
  columns: auto; display: flex; gap: clamp(.8rem, 1.4vw, 1.1rem);
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  scrollbar-width: none; padding-bottom: .3rem; scroll-behavior: smooth;
}
.masonry::-webkit-scrollbar { display: none; }
.masonry__item {
  flex: 0 0 clamp(240px, 26vw, 330px); width: auto; margin: 0; padding: 0;
  height: clamp(330px, 40vw, 450px); scroll-snap-align: start;
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s); position: relative;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.masonry__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.masonry__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(33,38,26,.25), transparent 50%); opacity: 0; transition: opacity .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .masonry__item:hover { box-shadow: var(--shadow-m); }
  .masonry__item:hover img { transform: scale(1.05); }
  .masonry__item:hover::after { opacity: 1; }
}

/* ---------- Reviews ---------- */
.reviews { padding: var(--pad-section) 0; }
.reviews__big { display: flex; flex-direction: column; align-items: center; gap: .1rem; margin-bottom: .8rem; }
.reviews__big strong { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 600; color: var(--rose-600); line-height: 1; }
.reviews__big span { font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.reviews__grid {
  columns: auto; display: flex; gap: 1.4rem;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  scrollbar-width: none; padding-bottom: .3rem; scroll-behavior: smooth; align-items: stretch;
}
.reviews__grid::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 clamp(280px, 30vw, 380px); margin: 0; scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-lg); padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-s); border: 1px solid var(--line-2); position: relative;
}
.quote blockquote { flex: 1; }
.quote:nth-child(3n+1) { background: var(--sage-100); }
.quote:nth-child(3n+2) { background: var(--blush-100); }
.quote__mark { width: 2rem; height: 2rem; color: var(--rose-400); margin-bottom: .4rem; }
.quote blockquote { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.4; color: var(--ink); font-style: italic; }
.quote figcaption { display: flex; align-items: center; gap: .4rem; margin-top: 1rem; }
.quote__name { font-weight: 800; color: var(--olive-700); }
.quote__flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(38,41,29,.14); flex: none; }

/* ---------- Location ---------- */
.location { padding: var(--pad-section) 0; background: var(--bg-2); }
.location__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.poi { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0; }
.poi li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.poi li:first-child { border-top: 1px solid var(--line); }
.poi__name { font-weight: 600; color: var(--ink); }
.poi__dist { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--rose-700); white-space: nowrap; }
.location__map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-m); border: 6px solid var(--surface); }
.location__map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 480px); border: 0; filter: saturate(.92) contrast(1.02); }
.map-facade {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem;
  width: 100%; height: clamp(320px, 42vw, 480px); text-align: center; color: var(--olive-700);
  background:
    radial-gradient(120% 120% at 20% 15%, var(--blush-100), transparent 55%),
    radial-gradient(120% 120% at 85% 90%, var(--sage-100), transparent 55%),
    var(--bg-2);
  transition: filter .25s var(--ease-out);
}
.map-facade:hover { filter: brightness(.98); }
.map-facade__pin { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-m); color: var(--rose-600); }
.map-facade__pin svg { width: 1.7rem; height: 1.7rem; }
.map-facade__label { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.map-facade__addr { font-size: .9rem; color: var(--ink-2); }

/* ---------- Rules ---------- */
.rules { padding: var(--pad-section) 0; }
.rules__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.rule { display: flex; align-items: flex-start; gap: .9rem; padding: 1.3rem; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-s); border: 1px solid var(--line-2); }
.rule svg { width: 1.7rem; height: 1.7rem; color: var(--rose-600); flex: none; }
.rule div { display: flex; flex-direction: column; }
.rule strong { color: var(--olive-700); font-weight: 800; }
.rule span { font-size: .88rem; color: var(--ink-2); }

/* ---------- Facilities (full list) ---------- */
.facilities { padding: var(--pad-section) 0; background: var(--bg-2); }
.facilities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.8vw, 1.5rem); }
.fac-cat { background: var(--surface); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-s); border: 1px solid var(--line-2); }
.fac-cat h3 { margin: 0; }
.fac-cat__toggle { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; margin: 0 0 .9rem; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--olive-700); line-height: 1.2; cursor: default; }
.fac-cat ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.fac-cat li { display: flex; align-items: flex-start; gap: .55rem; font-size: .94rem; color: var(--ink); line-height: 1.4; }
.fac-cat li svg { width: 1.05rem; height: 1.05rem; color: var(--rose-600); flex: none; margin-top: .18rem; }
.facilities__note { margin-top: 1.8rem; text-align: center; color: var(--ink-2); font-size: .92rem; }
.facilities__note strong { color: var(--olive-700); font-weight: 700; }
/* facilities turn into an accordion on mobile (avoids a long, cramped stack) */
@media (max-width: 680px) {
  .fac-cat { padding: 1.2rem 1.3rem; }
  .fac-cat__toggle { display: flex; align-items: center; justify-content: space-between; gap: .8rem; cursor: pointer; margin-bottom: 0; }
  .fac-cat__toggle::after { content: ""; width: 9px; height: 9px; border-right: 2.2px solid var(--rose-600); border-bottom: 2.2px solid var(--rose-600); transform: rotate(45deg); transition: transform .3s var(--ease-out); flex: none; margin: 2px 4px 0 0; }
  .fac-cat.is-open .fac-cat__toggle { margin-bottom: .9rem; }
  .fac-cat.is-open .fac-cat__toggle::after { transform: rotate(-135deg); }
  .fac-cat ul { display: none; }
  .fac-cat.is-open ul { display: grid; }
}

/* ---------- Listed on (OTA logos, static) ---------- */
.listed { padding: clamp(2.5rem, 5vw, 4rem) 0 var(--pad-section); background: var(--bg); text-align: center; }
.listed__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.1rem); color: var(--olive-700); margin-bottom: clamp(1.6rem, 3vw, 2.2rem); }
.listed__track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.listed__group { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.6rem, 6vw, 4.5rem); }
.listed__group img { height: clamp(28px, 4.5vw, 38px); width: auto; opacity: .92; transition: opacity .25s var(--ease-out); }
@media (hover: hover) { .listed__group img:hover { opacity: 1; } }

/* ---------- FAQ ---------- */
.faq { padding: var(--pad-section) 0; background: var(--bg); }
.faq__list { max-width: 760px; margin-inline: auto; display: grid; gap: .8rem; }
.faq__item { background: var(--surface); border-radius: var(--r); border: 1px solid var(--line-2); box-shadow: var(--shadow-s); overflow: hidden; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none;
  padding: 1.15rem 1.3rem; font-weight: 700; color: var(--olive-700); font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 1.3rem; height: 1.3rem; color: var(--rose-600); flex: none; transition: transform .3s var(--ease-out); }
.faq__item[open] summary svg { transform: rotate(135deg); }
.faq__answer { padding: 0 1.3rem 1.2rem; }
.faq__answer p { color: var(--ink-2); line-height: 1.6; max-width: 65ch; }
.faq__item[open] .faq__answer { animation: faqIn .32s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Availability (primary CTA) ---------- */
.availability { position: relative; padding: var(--pad-section) 0; background: var(--olive-900); color: var(--cream); overflow: hidden; }
.availability__blob { position: absolute; width: 620px; height: 620px; border-radius: 50%; filter: blur(95px); opacity: .3; background: radial-gradient(circle, var(--rose-400), transparent 70%); top: 50%; right: -2%; transform: translateY(-50%); pointer-events: none; }
.availability__inner { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.2rem, 5vw, 4.5rem); align-items: start; }
.availability__lede { color: var(--sage-200); margin-top: 1rem; font-size: 1.1rem; line-height: 1.7; max-width: 42ch; }
.availability__contact { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .3rem; }
.availability__contact a { display: inline-flex; align-items: center; gap: .65rem; padding: .55rem 0; color: var(--cream); font-weight: 600; transition: color .2s var(--ease-out); }
.availability__contact svg { width: 1.2rem; height: 1.2rem; color: var(--rose-400); }
.availability__contact a:hover { color: var(--blush); }

.avail-form { background: var(--surface); color: var(--ink); border-radius: var(--r-xl); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-l); display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
/* honeypot — off-screen (not display:none, which bots skip) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: .35rem; grid-column: 1 / -1; min-width: 0; }
.field--half { grid-column: span 1; }
.field label { font-weight: 700; font-size: .88rem; color: var(--olive-700); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; max-width: 100%; padding: .75rem .9rem; border-radius: var(--r-sm); background: var(--bg);
  border: 1.5px solid var(--line); transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rose) 22%, transparent); }
.field__error { color: #b3261e; font-size: .8rem; font-weight: 600; display: none; }
.field.is-invalid input, .field.is-invalid select { border-color: #b3261e; }
.field.is-invalid .field__error { display: block; }

.avail-form__note { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-2); text-align: center; margin-top: -.2rem; }
.btn__spin { display: none; width: 1.2em; height: 1.2em; animation: spin .8s linear infinite; }
.btn.is-loading .btn__label { opacity: .5; }
.btn.is-loading .btn__spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.avail-form__success { grid-column: 1 / -1; display: flex; align-items: center; gap: .8rem; background: var(--sage-100); border-radius: var(--r); padding: 1.1rem 1.3rem; }
.avail-form__success[hidden] { display: none; }
.avail-form__success svg { width: 2rem; height: 2rem; color: var(--olive); flex: none; }
.avail-form__success p { font-weight: 600; color: var(--olive-900); }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive); color: var(--cream); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding: clamp(3rem, 6vw, 4.5rem) clamp(1.1rem, 4vw, 2.5rem); max-width: var(--container); margin-inline: auto; }
.footer__tag { color: #dfe4d5; margin-top: 1rem; max-width: 32ch; line-height: 1.6; }
.footer__col h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: .9rem; color: #fff; }
.footer__col a { display: block; padding: .25rem 0; color: #eaeee2; transition: color .2s var(--ease-out); }
.footer__col a:hover { color: #fff; }
.footer__col address { font-style: normal; color: #dfe4d5; line-height: 1.8; }
.footer__col address a { display: inline; padding: 0; }
.footer__reg { margin-top: 1rem; font-size: .78rem; color: #dfe4d5; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.14); }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem clamp(1.1rem,4vw,2.5rem); font-size: .85rem; color: #dfe4d5; flex-wrap: wrap; }
.footer__credit a { color: var(--blush); font-weight: 700; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; }
.footer__legal a, .footer__legal-btn { color: #dfe4d5; font-size: .85rem; text-decoration: none; }
.footer__legal a:hover, .footer__legal-btn:hover { color: var(--blush); text-decoration: underline; text-underline-offset: 3px; }
.footer__legal-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.footer__a11y { display: inline-flex; align-items: center; gap: .42rem; padding: .32rem .8rem; border: 1px solid rgba(255,255,255,.22); border-radius: 100px; background: none; color: #dfe4d5; font: inherit; font-size: .78rem; cursor: pointer; transition: border-color .2s var(--ease-out), color .2s var(--ease-out); }
.footer__a11y svg { width: 1rem; height: 1rem; flex: none; }
.footer__a11y:hover { border-color: var(--blush); color: var(--blush); }

/* ---------- Cookie consent ---------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-panel); display: flex; justify-content: center;
  padding: clamp(.8rem, 2vw, 1.4rem); pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie__card { pointer-events: auto; max-width: 540px; width: 100%; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-l);
  padding: 1.1rem 1.25rem; display: grid; gap: .85rem; animation: cookieUp .5s var(--ease-out) both; }
@keyframes cookieUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie__text { font-size: .92rem; line-height: 1.55; color: var(--ink-2); margin: 0; }
.cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.cookie__policy { margin-right: auto; font-size: .85rem; font-weight: 700; color: var(--olive-700); text-underline-offset: 3px; }
.cookie__policy:hover { color: var(--rose-600); }
@media (prefers-reduced-motion: reduce) { .cookie__card { animation: none; } }
body.a11y-rm .cookie__card { animation: none; }

/* ---------- Floating actions ---------- */
.fab {
  position: fixed; z-index: var(--z-fab); width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: var(--shadow-l);
  transition: transform .2s var(--ease-out), box-shadow .25s var(--ease-out);
}
.fab svg { width: 1.5rem; height: 1.5rem; }
.fab:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .fab:hover { transform: translateY(-3px) scale(1.04); } }

.fab--call { right: 1.1rem; bottom: 1.1rem; background: var(--rose-600); color: #fff; }
.fab--a11y { right: 1.1rem; bottom: calc(1.1rem + 56px + .7rem); background: var(--olive); color: #fff; }
.fab__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--rose-600); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.8); opacity: 0; } }

/* a11y panel */
.a11y-panel {
  position: fixed; z-index: var(--z-panel); right: 1.1rem; bottom: calc(1.1rem + 112px + 1.4rem);
  width: min(300px, calc(100vw - 2.2rem)); background: var(--surface); color: var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--shadow-l); border: 1px solid var(--line); padding: 1.2rem;
  transform-origin: bottom right;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel.is-anim { animation: pop .22s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(8px); } to { opacity: 1; transform: none; } }
.a11y-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.a11y-panel__head h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--olive-700); }
.a11y-panel__close { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-2); transition: background-color .2s; }
.a11y-panel__close:hover { background: var(--bg-2); }
.a11y-panel__close svg { width: 1.2rem; height: 1.2rem; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; padding: .6rem 0; }
.a11y-row > span { font-weight: 600; font-size: .92rem; }
.a11y-stepper { display: inline-flex; align-items: center; gap: .2rem; background: var(--bg-2); border-radius: 100px; padding: .2rem; }
.a11y-stepper button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--olive-700); transition: background-color .2s; }
.a11y-stepper button:hover { background: var(--sage-200); }
.a11y-stepper span { min-width: 44px; text-align: center; font-weight: 700; font-size: .82rem; }
.a11y-opt {
  display: flex; align-items: center; gap: .7rem; width: 100%; padding: .7rem .8rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: .92rem; color: var(--ink); margin-top: .35rem; box-shadow: inset 0 0 0 1.4px var(--line);
  transition: box-shadow .2s, background-color .2s;
}
.a11y-opt svg { width: 1.25rem; height: 1.25rem; color: var(--olive); }
.a11y-opt[aria-pressed="true"] { background: var(--sage-100); box-shadow: inset 0 0 0 1.6px var(--olive); }
.a11y-opt[aria-pressed="true"]::after { content: "✓"; margin-left: auto; font-weight: 800; color: var(--olive); }
.a11y-reset { width: 100%; margin-top: .9rem; padding: .6rem; border-radius: var(--r-sm); font-weight: 700; color: var(--rose-600); }
.a11y-reset:hover { background: var(--blush-100); }

/* ---------- Lightbox ---------- */
.lightbox { width: min(94vw, 1100px); max-width: none; max-height: 92vh; border: none; background: transparent; padding: 0; overflow: visible; }
.lightbox::backdrop { background: rgba(28, 32, 22, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem; }
.lightbox__figure { grid-column: 2; text-align: center; }
.lightbox__figure img { width: 100%; max-height: 86vh; object-fit: contain; border-radius: var(--r); box-shadow: var(--shadow-l); }
.lightbox__figure figcaption { color: var(--cream); margin-top: .7rem; font-size: .95rem; }
.lightbox__close { position: fixed; top: 1.1rem; right: 1.1rem; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.lightbox__close:hover { background: rgba(255,255,255,.26); }
.lightbox__nav { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; transition: background-color .2s; }
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__nav svg { width: 1.6rem; height: 1.6rem; }
.lightbox__close svg { width: 1.4rem; height: 1.4rem; }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Premium motion ---------- */
/* Per-line blur-rise reveal for section titles */
html.js .section-title[data-reveal] { opacity: 1; transform: none; }
html.js .section-title > span, html.js .section-title > em {
  display: block; opacity: 0; transform: translateY(.45em); filter: blur(7px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out);
}
html.js .section-title.is-in > span, html.js .section-title.is-in > em,
html.js .is-in .section-title > span, html.js .is-in .section-title > em { opacity: 1; transform: none; filter: none; }
html.js .section-title.is-in > em, html.js .is-in .section-title > em { transition-delay: .13s; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--rose-400), var(--rose-600)); z-index: calc(var(--z-header) + 1); pointer-events: none;
}

/* Idle float for the floating gallery photos (.space__media-a / -b) */
@keyframes bloom-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ================================================================
   Accessibility widget states (user-controlled)
   ================================================================ */
body.a11y-contrast {
  --bg: #ffffff; --bg-2: #f2f2ee; --surface: #ffffff;
  --ink: #111208; --ink-2: #2c3022; --line: rgba(0,0,0,.4); --line-2: rgba(0,0,0,.25);
  --olive-700: #2f3724; --rose-600: #962f24;
}
body.a11y-contrast .bento__overlay { background: rgba(10,12,6,.92); }
body.a11y-contrast .btn--ghost { box-shadow: inset 0 0 0 2px var(--olive-700); }

body.a11y-links a:not(.btn):not(.brand):not(.nav__link) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
body.a11y-links .nav__link { text-decoration: underline; text-underline-offset: 4px; }

body.a11y-rm *, body.a11y-rm *::before, body.a11y-rm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
body.a11y-rm html.js [data-reveal] { opacity: 1; transform: none; }
body.a11y-rm .section-title > span, body.a11y-rm .section-title > em { opacity: 1; transform: none; filter: none; }

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--wide { grid-column: span 2; grid-row: span 1; min-height: 260px; }
  .ratings__grid { grid-template-columns: repeat(5, 1fr); gap: .5rem; }
  .rules__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--surface); padding: 1rem clamp(1.1rem,4vw,2.5rem) 1.4rem; gap: .2rem;
    box-shadow: var(--shadow-m); border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__link { padding: .8rem .4rem; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); }
  .nav.is-open .nav__link::after { display: none; }
  .nav-toggle { display: block; }
  .header__cta { display: none; }

  .space__inner, .location__inner, .availability__inner { grid-template-columns: 1fr; }
  .availability__inner { gap: 2rem; }
  .facilities__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .ratings__grid { grid-template-columns: repeat(3, 1fr); row-gap: 1.3rem; }
  .bento { grid-template-columns: 1fr; gap: .7rem; }
  .bento__cell--wide { grid-column: span 1; grid-row: span 1; min-height: 200px; }
  .bento__cell--wide { min-height: 230px; }
  /* compact non-photo cells (kill the big empty gap) */
  .bento__cell:not(.bento__cell--photo) { min-height: 0; padding: 1.15rem 1.3rem; justify-content: flex-start; }
  .bento__cell:not(.bento__cell--photo) .bento__icon { margin-bottom: .6rem; width: 1.9rem; height: 1.9rem; }
  .bento__cell--photo { min-height: 190px; }
  .rules__grid { grid-template-columns: 1fr; }
  .space__media { gap: .7rem; }
  .space__media-a { margin-top: 1.4rem; }
  .space__media-b { margin-bottom: 1.4rem; }
  .avail-form { grid-template-columns: 1fr; }
  .facilities__grid { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  /* iOS Safari: date/number inputs ignore width:100% and take their native
     intrinsic width, so they overflow the column. Strip native appearance so
     they shrink to the field width (tap still opens the native picker). */
  .field input[type="date"], .field input[type="number"] { -webkit-appearance: none; appearance: none; }
  .field input[type="date"]::-webkit-date-and-time-value { text-align: left; min-width: 0; margin: 0; }
  .field input[type="date"]::-webkit-calendar-picker-indicator { margin-left: auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .ratings__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
}

/* respect OS reduced-motion (separate from the user toggle) */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html.js .section-title > span, html.js .section-title > em { opacity: 1; transform: none; filter: none; }
  .fab__pulse { animation: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
