/* =========================================================
   Lavender Inn Hotel, Arnavutköy
   Identity from the logo: the violet square, the white frame
   and the three lavender stems. Bellefair + Reddit Sans.
   ========================================================= */
:root {
  --violet: #5E398F;        /* the logo square */
  --violet-2: #3F2566;      /* hover, small accents on light */
  --bloom: #D8CCEE;         /* only on violet: selected flower / date, focus */
  --marble: #F3F3F1;        /* the white marble panels in the rooms */
  --white: #FFFFFF;
  --ink: #24212B;
  --muted: #68636F;
  --line: #E3E1E6;
  --on-violet: rgba(255, 255, 255, .74);
  --line-violet: rgba(255, 255, 255, .24);

  --f-display: 'Bellefair', 'Times New Roman', serif;
  --f-text: 'Reddit Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --edge: clamp(16px, 4.4vw, 88px);   /* full-bleed header / hero edge */
  --section: clamp(72px, 9vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--f-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--violet); color: #fff; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.h2 {
  margin: 0 0 .5em;
  font: 400 clamp(2.15rem, 3.5vw, 3.35rem)/1.06 var(--f-display);
  letter-spacing: -.005em;
  color: var(--ink);
  text-wrap: balance;
}
.h3 { margin: 0 0 .6em; font: 400 1.625rem/1.15 var(--f-display); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 2px;
  font: 500 1rem/1 var(--f-text); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn--violet { background: var(--violet); color: #fff; }
.btn--violet:hover { background: var(--violet-2); }
.btn--white { background: #fff; color: var(--violet-2); }
.btn--white:hover { background: var(--bloom); }
.btn--white:focus-visible { outline-color: #fff; }
.btn--line { background: transparent; border-color: currentColor; color: var(--violet-2); }
.btn--line:hover { background: var(--violet); border-color: var(--violet); color: #fff; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink); cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover:not(:disabled) { border-color: var(--violet); color: var(--violet); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn--round { border-radius: 50%; }
.link-btn { padding: 8px 0; border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  background: #fff; color: var(--ink);
  transition: box-shadow .3s ease;
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px; height: 100%;
  max-width: none; padding-inline: var(--edge);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(36, 33, 43, .35); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 44px; height: 44px; }
.brand__word { font: 400 1.6rem/1 var(--f-display); letter-spacing: .01em; padding-top: .12em; }
.nav__list { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav__list a { font-size: .9688rem; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav__list a:hover { border-bottom-color: currentColor; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; }
.lang__btn {
  min-width: 38px; height: 34px; padding: 0 6px; border: 0; background: none; cursor: pointer;
  font-size: .875rem; font-weight: 500; letter-spacing: .04em; opacity: .62;
}
.lang__btn.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .25s ease, top .25s ease; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 59;
  background: #fff; overflow-y: auto;
  padding: 24px 0 40px;
}
.mobile-menu__list { margin: 0; padding: 0; list-style: none; }
.mobile-menu__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 1.75rem/1.2 var(--f-display); text-decoration: none; }
.mobile-menu__foot { display: grid; gap: 6px; margin-top: 28px; color: var(--muted); }
.mobile-menu__foot a { text-decoration: none; }

/* =========================================================
   Hero
   The photo: --hero-pos / --hero-pos-m. The headline block:
   --copy-x, --copy-y, --copy-w and its colour --copy-color.
   ========================================================= */
.hero {
  --hero-pos: 0% 0%;
  --hero-pos-m: 0% 0%;
  --copy-x: var(--edge);
  --copy-y: clamp(150px, 27vh, 300px);
  --copy-w: min(34rem, 28vw);
  --copy-color: #2B1B45;
  --copy-lead: #2E2840;
  --bar-h: 116px;
  position: relative;
  height: clamp(640px, 100svh, 1000px);
  background: #6E98D2;
}
.hero__media { position: absolute; inset: var(--header-h) 0 0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: var(--hero-pos); }
/* a soft haze behind the words only; the sky stays the sky */
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 46% 42% at 16% 40%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 70%);
}
.hero__copy {
  position: absolute; left: var(--copy-x); top: var(--copy-y);
  width: var(--copy-w);
  color: var(--copy-color);
}
.hero__title {
  margin: 0;
  font: 400 clamp(2.9rem, 3.75vw, 4.6rem)/1.02 var(--f-display);
  letter-spacing: -.01em;
}
.hero__title .ln { display: block; }
.hero__lead {
  max-width: 27rem; margin: 1.4rem 0 0;
  font-size: 1.0625rem; line-height: 1.55; color: var(--copy-lead);
}

/* The booking bar: the logo square, stretched */
.booking-wrap {
  position: absolute; left: var(--copy-x); right: var(--copy-x);
  bottom: 0; transform: translateY(50%);
  z-index: 20;
  max-width: 1120px;
}
.booking {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr 1.15fr auto;
  min-height: var(--bar-h);
  background: var(--violet); color: #fff;
  box-shadow: 0 24px 50px -28px rgba(40, 20, 70, .55);
}
.booking__field {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 16px 26px; border: 0; border-right: 1px solid var(--line-violet);
  background: none; color: #fff; text-align: left; cursor: pointer;
  transition: background-color .2s ease;
}
.booking__field:hover, .booking__field[aria-expanded="true"] { background: rgba(255, 255, 255, .07); }
.booking__field:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.booking__label { font-size: .8125rem; letter-spacing: .02em; color: var(--on-violet); }
.booking__nights { color: var(--bloom); }
.booking__date { display: flex; align-items: center; gap: 12px; }
.booking__day { font: 400 2.75rem/1 var(--f-display); min-width: 1.1ch; padding-top: .08em; }
.booking__day.is-empty { color: var(--on-violet); }
.booking__month { display: flex; flex-direction: column; font-size: .9375rem; line-height: 1.25; text-transform: capitalize; }
.booking__sub { font-size: .8125rem; color: var(--on-violet); text-transform: none; }
.booking__month .booking__sub { text-transform: capitalize; }
.booking__value { font: 400 1.75rem/1.1 var(--f-display); padding-top: .08em; }
.booking__submit { display: flex; align-items: center; padding: 0 22px; }
.booking__submit .btn { min-width: 196px; }
.booking-note {
  margin: 12px 0 0; padding-left: 2px;
  font-size: .875rem; color: var(--muted);
}

/* Popovers */
.popover {
  position: absolute; top: calc(100% + 10px); z-index: 30;
  background: #fff; color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(36, 33, 43, .32), 0 0 0 1px rgba(36, 33, 43, .06);
}
.popover.is-up { top: auto; bottom: calc(100% + 10px); }
.datepicker { left: 0; width: min(720px, 100%); padding: 22px 24px 18px; }
.datepicker__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.datepicker__hint { margin: 0; font-size: .9375rem; color: var(--muted); }
.datepicker__nav { display: flex; gap: 6px; }
.datepicker__months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.datepicker__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.month__caption { margin: 4px 0 12px; font: 400 1.375rem var(--f-display); text-transform: capitalize; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month__dow { padding-bottom: 8px; font-size: .75rem; color: var(--muted); text-align: center; }
.day {
  position: relative; display: grid; place-items: center;
  height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font-size: .9375rem; font-variant-numeric: tabular-nums;
}
.day span { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.day:hover:not(:disabled) span { background: #EEE9F6; }
.day:disabled { color: #BDB8C2; cursor: default; }
.day:focus-visible { outline: none; }
.day:focus-visible span { box-shadow: 0 0 0 2px var(--violet); }
.day.is-today span { box-shadow: inset 0 0 0 1px #CFC4E3; }
.day.in-range::before, .day.in-preview::before,
.day.is-start::before, .day.is-end::before { content: ""; position: absolute; inset: 4px 0; background: #EEE9F6; }
.day.is-start::before { left: 50%; }
.day.is-end::before { right: 50%; }
.day.is-start.is-end::before, .day.is-start:not(.has-range)::before { display: none; }
.day.is-start span, .day.is-end span { background: var(--violet); color: #fff; }
.day--blank { pointer-events: none; }

.guests { right: 0; width: 380px; padding: 6px 24px 20px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.counter__title { margin: 0; font-weight: 500; }
.counter__hint { margin: 2px 0 0; font-size: .8125rem; color: var(--muted); }
.counter__ctrl { display: flex; align-items: center; gap: 14px; }
.counter__ctrl output { min-width: 1.6ch; text-align: center; font: 400 1.5rem var(--f-display); padding-top: .1em; }
.guests__ages { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guests__ages:not(:empty) { padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.age-field { display: grid; gap: 4px; font-size: .8125rem; color: var(--muted); }
.age-field select {
  height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 2px;
  background: #fff; color: var(--ink); font: inherit; font-size: .9375rem;
}
.age-field select[aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 1px #B3261E; }
.guests__note { margin: 14px 0 0; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.guests__note.is-alert { color: var(--violet-2); font-weight: 500; }
.guests__foot { display: flex; justify-content: flex-end; padding-top: 16px; }
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(28, 18, 44, .45); animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   Airport
   ========================================================= */
.airport { padding: calc(var(--section) + 40px) 0 var(--section); }
.airport__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 6vw, 96px); row-gap: 24px; align-items: start;
}
.airport__intro { color: var(--muted); max-width: 30rem; }
.airport__pic { margin: 32px 0 0; }
.airport__pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.airport__pic figcaption, .hotel__pic figcaption { margin-top: 10px; font-size: .875rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 48px); margin: 0; }
.fact { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.fact dt { margin-bottom: 6px; font-weight: 600; font-size: 1rem; }
.fact dd { margin: 0; color: var(--muted); }
.fact--lead { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 28px; align-items: end; border-top: 0; padding-top: 0; }
.fact--lead dt { grid-column: 1 / -1; color: var(--ink); }
.fact--lead dd { display: contents; }
.fact__big { font: 400 clamp(5rem, 8vw, 7.5rem)/.82 var(--f-display); color: var(--violet); letter-spacing: -.02em; white-space: nowrap; }
.fact--lead dd > span:last-child { max-width: 22rem; padding-bottom: .3em; color: var(--muted); }
.airport__note { grid-column: 2; margin: 4px 0 0; font-size: .875rem; color: var(--muted); }

/* =========================================================
   Rooms
   ========================================================= */
.rooms { padding: var(--section) 0; background: var(--marble); }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .h2 { margin: 0; }
.section-head__text { margin: 0; color: var(--muted); max-width: 34rem; }

.rooms__tabs { display: flex; gap: clamp(20px, 3vw, 48px); border-bottom: 1px solid var(--line); margin-bottom: 36px; overflow-x: auto; scrollbar-width: none; }
.rooms__tabs::-webkit-scrollbar { display: none; }
.room-tab {
  flex: none; display: grid; gap: 2px; padding: 0 0 16px; margin-bottom: -1px;
  border: 0; border-bottom: 2px solid transparent; background: none; text-align: left; cursor: pointer;
  color: var(--muted); transition: color .2s ease, border-color .2s ease;
}
.room-tab__name { font: 400 1.75rem/1.1 var(--f-display); }
.room-tab__meta { font-size: .875rem; }
.room-tab:hover { color: var(--ink); }
.room-tab.is-active { color: var(--violet-2); border-bottom-color: var(--violet); }
.room-tab:focus-visible { outline-offset: 4px; }

.rooms__stage { display: grid; }
.room { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s .35s; }
.room.is-active { visibility: visible; opacity: 1; transition: opacity .35s ease; }
.room__title { display: none; }
.room__main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #e8e6e2; }
.room__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.room__thumb { width: 104px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .62; transition: opacity .2s ease; }
.room__thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room__thumb:hover, .room__thumb.is-active { opacity: 1; }
.room__thumb.is-active { outline: 2px solid var(--violet); outline-offset: 2px; }
.room__body { padding-top: 4px; }
.room__desc { font-size: 1.125rem; line-height: 1.6; max-width: 30rem; }
.specs { display: grid; gap: 0; margin: 26px 0 30px; }
.specs > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.specs > div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { font-size: .875rem; color: var(--muted); }
.specs dd { margin: 0; font: 400 1.5rem/1.2 var(--f-display); }

.rooms__common { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 8px clamp(32px, 6vw, 96px); margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.ticks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 32px; margin: 0; padding: 0; list-style: none; font-size: .9688rem; }
.ticks li { position: relative; padding-left: 20px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--violet); }
.rooms__more { grid-column: 2; margin: 18px 0 0; font-size: .9375rem; color: var(--muted); }

/* =========================================================
   Signature: the three stems of the logo
   ========================================================= */
.stems { padding: var(--section) 0; }
.stems__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.stems__intro { color: var(--muted); max-width: 31rem; }
.modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 12px; }
.mode {
  min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 2px;
  background: #fff; cursor: pointer; font-size: .9688rem;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.mode:hover { border-color: var(--violet); color: var(--violet-2); }
.mode.is-active { background: var(--violet); border-color: var(--violet); color: #fff; }
.modes__note { min-height: 1.5em; margin: 0 0 14px; font-size: .9375rem; color: var(--muted); }

.places { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.places li { border-bottom: 1px solid var(--line); }
.place {
  display: grid; grid-template-columns: 4.6rem 1fr auto; align-items: baseline; gap: 14px;
  width: 100%; padding: 12px 4px 12px 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.place__v { font: 400 2rem/1 var(--f-display); color: var(--violet); white-space: nowrap; }
.place__v small { margin-left: 3px; font: 400 .8125rem var(--f-text); color: var(--muted); }
.place__name { font-size: 1rem; line-height: 1.35; }
.place__d { font-size: .875rem; color: var(--muted); white-space: nowrap; }
.place:hover .place__name { color: var(--violet-2); }
.place[aria-pressed="true"] .place__name { font-weight: 600; color: var(--violet-2); }
.place__more { display: none; padding: 0 0 16px 5.475rem; font-size: .9375rem; color: var(--muted); }
.places li.is-on .place__more { display: block; }
.place__more p { margin: 0 0 8px; }
.place__more a { color: var(--violet-2); font-weight: 500; text-underline-offset: 3px; }
.stems__source { margin: 18px 0 0; font-size: .8125rem; color: var(--muted); }

.stems__art { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.plate {
  position: relative; aspect-ratio: 600 / 640; background: var(--violet); overflow: hidden;
  width: min(100%, calc((100svh - var(--header-h) - 56px) * .9375)); margin-left: auto;
}
.plate__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate__caption {
  position: absolute; left: 0; right: 0; top: 78.5%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  color: #fff; pointer-events: none;
}
/* the name breaks the frame, like LAVENDER INN in the logo */
.plate__name {
  max-width: 94%; margin: 0; padding: .06em .32em 0;
  background: var(--violet);
  font: 400 clamp(1.5rem, 3.4vw, 2.75rem)/1.05 var(--f-display);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: opacity .25s ease;
}
.plate__sub { margin: .55em 0 0; font-size: clamp(.75rem, 1.05vw, .9375rem); letter-spacing: .02em; color: var(--on-violet); }
.plate.is-swapping .plate__name { opacity: 0; }

/* SVG parts */
.sprig-frame { fill: none; stroke: #fff; stroke-width: 2.4; }
.stem { transition: opacity .45s ease; }
.stem.is-dim { opacity: .26; }
.stem__line { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.leaf { fill: #fff; }
.floret { cursor: pointer; }
.floret .bud { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .35s var(--ease); }
.floret .petal { fill: #fff; transition: fill .25s ease; }
.stem.is-dim .floret { cursor: pointer; }
.stem:not(.is-dim) .floret:hover .bud { transform: scale(1.14); }
.floret.is-on .bud { transform: scale(1.32); }
.stem:not(.is-dim) .floret.is-on:hover .bud { transform: scale(1.32); }
.floret__ring { fill: none; stroke: var(--bloom); stroke-width: 1.6; opacity: 0; transition: opacity .25s ease; }
.floret.is-on .floret__ring { opacity: 1; }
.floret__val { font: 400 21px var(--f-display); fill: #fff; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.stem:not(.is-dim) .floret__val { opacity: .92; }
.floret.is-on .floret__val { fill: var(--bloom); opacity: 1; }
.floret__hit { fill: transparent; }

/* The one automatic moment: the flowers open, from the base of each stem to its tip */
@media (prefers-reduced-motion: no-preference) {
  .sprig-js .stem__line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
  .sprig-js .floret .bud { transform: scale(0); }
  .sprig-js .leaf { opacity: 0; }
  .sprig-js.is-open .stem__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) var(--sd, 0s); }
  .sprig-js.is-open .leaf { opacity: 1; transition: opacity .8s ease .2s; }
  .sprig-js.is-open .floret .bud { transform: none; transition: transform .55s var(--ease) var(--d, 0s); }
  .sprig-js.is-open .floret.is-on .bud { transform: scale(1.32); }
  .sprig-js.is-open.is-done .floret .bud { transition: transform .35s var(--ease); }
  .sprig-js.is-open.is-done .stem:not(.is-dim) .floret:hover .bud { transform: scale(1.14); }
  .sprig-js.is-open.is-done .floret.is-on .bud { transform: scale(1.32); }
}

/* =========================================================
   Hotel
   ========================================================= */
.hotel { padding: var(--section) 0; background: var(--marble); }
.hotel__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px clamp(20px, 2.4vw, 32px);
}
.hotel__text { grid-column: 1 / 6; grid-row: 1; align-self: end; padding-bottom: 8px; }
.hotel__text p { color: var(--muted); max-width: 32rem; }
.hotel__pic { margin: 0; }
.hotel__pic img { width: 100%; object-fit: cover; }
.hotel__pic--a { grid-column: 6 / 13; grid-row: 1; }
.hotel__pic--a img { aspect-ratio: 4 / 3; }
.hotel__pic--b { grid-column: 1 / 6; grid-row: 2; }
.hotel__pic--b img { aspect-ratio: 4 / 3; }
.hotel__pic--c { grid-column: 6 / 13; grid-row: 2; }
.hotel__pic--c img { aspect-ratio: 3 / 2; }

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 44px); margin: clamp(48px, 6vw, 80px) 0 0; }
.services > div { padding: 20px 0 24px; border-top: 1px solid #D9D7DC; }
.services dt { margin-bottom: 6px; font-weight: 600; }
.services dd { margin: 0; font-size: .9688rem; color: var(--muted); }

/* =========================================================
   Reviews
   ========================================================= */
.reviews { padding: var(--section) 0; }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.score { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; color: var(--violet); }
.score__num { font: 400 clamp(5rem, 7vw, 6.5rem)/.9 var(--f-display); }
.score__of { font: 400 1.75rem var(--f-display); color: var(--muted); }
.reviews__more { color: var(--muted); font-size: .9375rem; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 14px; font: 400 1.5rem/1.3 var(--f-display); }
.quote--lead { grid-row: span 2; }
.reviews__score { grid-row: span 2; }
.quote--lead blockquote { font-size: clamp(1.75rem, 2.4vw, 2.3rem); line-height: 1.2; }
.quote figcaption { font-size: .875rem; color: var(--muted); }
.reviews__grid .quote:not(.quote--lead) { padding-bottom: 28px; border-bottom: 1px solid var(--line); }

/* =========================================================
   Location
   ========================================================= */
.location { padding: var(--section) 0; background: var(--marble); }
.location__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.location__text p { color: var(--muted); }
.location__address { margin: 24px 0 28px; font: 400 1.375rem/1.35 var(--f-display); }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.location__map { aspect-ratio: 4 / 3; background: #E6E5E2; }
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }

/* =========================================================
   Gallery
   ========================================================= */
.gallery { padding: var(--section) 0; }
.section-head--row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); grid-auto-flow: dense; gap: 12px; }
.gallery__item { position: relative; padding: 0; border: 0; background: #ECEAEE; cursor: zoom-in; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }
.g-wide { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }

/* =========================================================
   Closing and footer
   ========================================================= */
.closing { padding: var(--section) 0; background: var(--marble); }
.closing__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.closing__text p { color: var(--muted); max-width: 34rem; }
.closing__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid #D9D7DC; }
.contact-list li:last-child { border-bottom: 1px solid #D9D7DC; }
.contact-list__k { font-size: .875rem; color: var(--muted); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--violet-2); text-decoration: underline; }

.site-footer { background: var(--violet); color: #fff; padding-top: clamp(56px, 7vw, 96px); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 32px clamp(24px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 64px); }
.site-footer__mark { width: 112px; height: 112px; margin: -14px 0 6px -14px; }
.site-footer__brand .site-footer__name { margin: 0; font: 400 2.25rem/1.1 var(--f-display); }
.site-footer__brand .site-footer__tag { margin: 8px 0 0; color: var(--on-violet); font-size: .9375rem; }
.site-footer__h { margin: 0 0 10px; font: 500 .875rem var(--f-text); color: var(--on-violet); }
.site-footer__grid p { margin: 0 0 8px; font-size: .9688rem; }
.site-footer__social { display: flex; gap: 18px; }
.site-footer__base {
  display: flex; justify-content: space-between; gap: 16px;
  padding-block: 20px calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(var(--line-violet), var(--line-violet)) no-repeat top center / calc(100% - 2 * var(--gutter)) 1px;
  font-size: .8125rem; color: var(--on-violet);
}
.site-footer__base p { margin: 0; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-book { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(24, 16, 36, .96); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .25s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 24px; margin: 0; text-align: center; font-size: .9375rem; color: rgba(255, 255, 255, .78); padding-inline: 72px; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__btn:focus-visible { outline-color: #fff; }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 1100px) {
  .booking { grid-template-columns: 1fr 1fr 1.1fr; }
  .booking__submit { grid-column: 1 / -1; padding: 0 22px 18px; }
  .booking__submit .btn { width: 100%; }
  .booking__field { min-height: 104px; }
  .airport { padding-top: calc(var(--section) + 120px); }
}

@media (max-width: 1023px) {
  .airport__grid, .stems__grid, .location__grid, .closing__grid { grid-template-columns: 1fr; }
  .airport__note { grid-column: 1; }
  .airport__pic { max-width: 560px; }
  .section-head, .section-head--row { grid-template-columns: 1fr; }
  .room { grid-template-columns: 1fr; }
  .rooms__common { grid-template-columns: 1fr; }
  .rooms__more { grid-column: 1; }
  .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stems__grid { row-gap: 0; }
  .stems__text { display: contents; }
  .stems__text > .h2 { order: 1; }
  .stems__intro { order: 2; }
  .stems__art { position: relative; top: 0; order: 3; width: 100%; max-width: 640px; margin-top: 12px; }
  .modes { order: 4; }
  .modes__note { order: 5; }
  .places { order: 6; }
  .stems__source { order: 7; }
  .hotel__text { grid-column: 1 / -1; grid-row: auto; }
  .hotel__pic--a { grid-column: 1 / -1; grid-row: auto; }
  .hotel__pic--b { grid-column: 1 / 7; grid-row: auto; }
  .hotel__pic--c { grid-column: 7 / 13; grid-row: auto; }
  .hotel__pic--c img { aspect-ratio: 4 / 3; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .reviews__score { grid-column: 1 / -1; grid-row: auto; }
  .quote--lead { grid-row: auto; grid-column: 1 / -1; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  /* Popovers become bottom sheets */
  .popover, .popover.is-up {
    position: fixed; z-index: 80;
    left: 0 !important; right: 0 !important; top: auto; bottom: 0;
    width: 100%; max-height: 88vh; overflow-y: auto;
    border-radius: 12px 12px 0 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    animation: sheet .3s var(--ease);
  }
  .datepicker { display: flex; flex-direction: column; overflow: hidden; padding-inline: 16px; }
  .datepicker__months { grid-template-columns: 1fr; gap: 20px; overflow-y: auto; min-height: 0; flex: 1 1 auto; overscroll-behavior: contain; }
  .datepicker__foot { flex: none; }
  .day span { width: 42px; height: 42px; }

  .sticky-book {
    display: flex; gap: 12px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-book .btn { flex: 1; min-height: 50px; }
  .sticky-book__call { width: 50px; height: 50px; flex: none; color: var(--violet-2); }
  .sticky-book.is-visible { transform: none; }
  .site-footer { padding-bottom: 76px; }
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }

/* Portrait tablets: the photo is cropped from the left, so the sky is wider */
@media (min-width: 721px) and (max-aspect-ratio: 1/1) {
  .hero { --copy-w: min(30rem, 50vw); --copy-y: clamp(150px, 20vh, 260px); }
}

/* Phones: the narrow crop, headline in the sky, booking card under the photo */
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  body { font-size: 1.03125rem; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__word { font-size: 1.4rem; }
  .site-header__actions { gap: 4px; }
  .site-header__cta { display: none; }

  .hero {
    --copy-x: 16px;
    --copy-y: 26px;
    --copy-w: 60%;
    height: auto;
    padding-top: var(--header-h);
    display: grid; grid-template-columns: 100%;
    grid-template-rows: min(124vw, 520px) auto;
    background: #fff;
  }
  .hero__media { position: relative; grid-area: 1 / 1; inset: auto; }
  .hero__media img { object-position: var(--hero-pos-m); }
  .hero__shade { grid-area: 1 / 1; inset: auto; position: relative; background: radial-gradient(ellipse 80% 40% at 24% 24%, rgba(255, 255, 255, .36), rgba(255, 255, 255, 0) 72%); }
  .hero__copy { grid-area: 1 / 1; position: relative; left: auto; top: auto; align-self: start; width: auto; max-width: var(--copy-w); margin: var(--copy-y) 0 0 var(--copy-x); }
  .hero__title { font-size: clamp(1.9rem, 8.3vw, 2.5rem); line-height: 1.06; }
  .hero__title .ln { display: inline; }
  .hero__lead { display: none; }
  .booking-wrap { position: relative; grid-area: 2 / 1; left: auto; right: auto; transform: none; margin: -44px 16px 0; }
  .booking { grid-template-columns: 1fr 1fr; }
  .booking__field { min-height: 92px; padding: 14px 16px; }
  .booking__field:nth-child(2) { border-right: 0; }
  .booking__field--guests { grid-column: 1 / -1; border-right: 0; border-top: 1px solid var(--line-violet); min-height: 80px; }
  .booking__day { font-size: 2.4rem; }
  .booking__date { gap: 9px; }
  .booking__month { font-size: .875rem; }
  .booking__value { font-size: 1.5rem; }
  .booking__submit { grid-column: 1 / -1; padding: 0 16px 16px; }
  .booking__submit .btn { min-height: 54px; }
  .booking-note { margin-top: 10px; }

  .airport { padding-top: 56px; }
  .facts { grid-template-columns: 1fr; }
  .fact--lead { grid-template-columns: 1fr; }
  .fact__big { margin-bottom: 10px; }

  .room-tab__name { font-size: 1.5rem; }
  .room__thumb { width: 84px; }
  .specs > div { grid-template-columns: 6.5rem 1fr; }
  .ticks { grid-template-columns: 1fr; }

  .place { grid-template-columns: 3.9rem 1fr; }
  .place__d { grid-column: 2; margin-top: -6px; }
  .place__more { padding-left: 4.775rem; }
  .floret__val { font-size: 26px; }

  .hotel__pic--b, .hotel__pic--c { grid-column: 1 / -1; }
  .services { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }

  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 148px; gap: 8px; }
  .g-wide { grid-column: span 2; grid-row: span 2; }
  .g-tall { grid-row: span 2; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .closing__actions .btn { flex: 1 1 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }

  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; transform: none; }
  .lightbox__cap { bottom: 132px; padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
