/* =========================================================
   İstport Garden Hotel
   Palette: the dark glass and aluminium of the street façade
   (anthracite), the green of the "Garden" script in the logo,
   the pale sky that the glass reflects, and the warm LED light
   under the garden terrace's louvres.
   Type: Gotu, whose flared, contrasted strokes are close
   to the İSTPORT wordmark, with Onest for reading and forms.
   Motif: two parallel hairlines, anthracite and green, like the
   two strokes that draw the tower in the logo.
   ========================================================= */

:root {
  --cam: #262D35;
  --cam-2: #333B45;
  --cam-3: #1D232A;
  --ink: #1F252B;
  --muted: #5D6772;
  --line: #DDE3E7;
  --surface: #FFFFFF;
  --sabah: #EDF2F4;
  --sabah-2: #E2E9EC;
  --yaprak: #2F7A2C;
  --yaprak-2: #276A25;
  --filiz: #8CCB6E;
  --led: #FFE9B8;

  --on-dark: #E9EEF1;
  --on-dark-muted: #A9B4BE;
  --line-dark: rgba(233, 238, 241, .16);

  --f-display: "Gotu", "Optima", "Segoe UI", sans-serif;
  --f: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 9vw, 136px);
  --header-h: 80px;
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --double: linear-gradient(var(--cam), var(--cam)) 0 0 / 100% 1px no-repeat,
            linear-gradient(var(--yaprak), var(--yaprak)) 0 4px / 100% 1px no-repeat;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--f);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
dl, dd { margin: 0; }
blockquote { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--yaprak); outline-offset: 3px; }
.hero__copy :focus-visible,
.garden :focus-visible,
.closing :focus-visible,
.site-footer :focus-visible,
.sticky-book :focus-visible,
.lightbox :focus-visible { outline-color: var(--filiz); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--yaprak); color: #fff; padding: 10px 16px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 1.35rem + 2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -.012em;
  color: var(--cam);
  margin: 0;
  text-wrap: balance;
}
.h2--light { color: #fff; }

.lead {
  font-size: clamp(1.125rem, 1.05rem + .3vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink);
}

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--cam);
  --btn-fg: #fff;
  --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1rem; }
.btn--dark:hover { --btn-bg: var(--cam-2); }
.btn--green { --btn-bg: var(--yaprak); --btn-fg: #fff; }
.btn--green:hover { --btn-bg: var(--yaprak-2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--cam); --btn-bd: var(--cam); }
.btn--ghost:hover { --btn-bg: var(--cam); --btn-fg: #fff; }
.btn--line { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor; }
.btn--line:hover { --btn-bg: rgba(255, 255, 255, .12); }

.text-link {
  color: var(--cam);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--yaprak);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link--light { color: var(--on-dark); text-decoration-color: var(--filiz); }

.link-btn {
  background: none; border: 0; padding: 8px 4px; cursor: pointer;
  color: var(--muted); font-size: .9375rem;
  text-decoration: underline; text-underline-offset: 4px;
}
.link-btn:hover { color: var(--cam); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius);
  color: var(--cam); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--sabah); }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.icon-btn--round { border-radius: 50%; border-color: var(--line); }

/* ---------- Header ---------- */
/* Transparent over the garden photo; turns white once the page scrolls. */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--header-h);
  color: #fff;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .97);
  color: var(--cam);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner {
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { position: relative; display: block; text-decoration: none; flex: none; }
.brand__logo { height: 52px; width: auto; transition: opacity .3s var(--ease); }
.brand__logo--dark { position: absolute; left: 0; top: 0; opacity: 0; }
.site-header.is-solid .brand__logo--light { opacity: 0; }
.site-header.is-solid .brand__logo--dark { opacity: 1; }

.nav__list { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__list a {
  text-decoration: none; color: inherit;
  font-size: .9375rem; font-weight: 500;
  padding-block: 8px;
  background: linear-gradient(var(--filiz), var(--filiz)) left bottom / 0 1px no-repeat;
  transition: background-size .3s var(--ease);
}
.site-header.is-solid .nav__list a { background-image: linear-gradient(var(--yaprak), var(--yaprak)); }
.nav__list a:hover { background-size: 100% 1px; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }

.lang { display: flex; align-items: center; }
.lang__btn {
  background: none; border: 0; cursor: pointer;
  padding: 6px 7px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em;
  color: inherit; opacity: .62;
}
.lang__btn + .lang__btn { border-left: 1px solid currentColor; }
.lang__btn.is-active { opacity: 1; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.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 0; z-index: 55;
  background: #fff;
  color: var(--cam);
  padding-block: 16px 40px;
  overflow-y: auto;
}
.mobile-menu__list li { border-bottom: 1px solid var(--line); }
.mobile-menu__list a {
  display: block; padding: 18px 0;
  font-family: var(--f-display); font-size: 1.6rem; color: var(--cam); text-decoration: none;
}
.mobile-menu__foot { display: grid; gap: 10px; margin-top: 32px; color: var(--muted); }
.mobile-menu__foot a { text-decoration: none; }

/* ---------- Hero ---------- */
/* Everything about placement lives in these properties:
   --hero-pos     object-position of the photo (desktop)
   --hero-pos-m   object-position of hero-mobile.webp
   --hero-veil    strength of the dark veil behind the headline (0 = none;
                  set it near .2 when a photo with open sky arrives)
   --copy-top     distance of the headline from the top of the hero
   --copy-w       headline width
   --copy-side    start | end : which side the headline sits on            */
.hero {
  --hero-pos: 50% 64%;
  --hero-pos-m: 30% 50%;
  --hero-veil: .66;
  --copy-top: clamp(124px, 19vh, 210px);
  --copy-w: min(700px, 54vw);
  --copy-side: start;
  --bar-h: 104px;

  position: relative;
  min-height: clamp(620px, calc(100svh - 68px), 1000px);
  background: var(--cam-3);
  color: #fff;
  display: grid;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos); }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 18, 22, calc(var(--hero-veil) * .9)) 0%, rgba(14, 18, 22, calc(var(--hero-veil) * .35)) 26%, rgba(14, 18, 22, 0) 48%),
    linear-gradient(100deg, rgba(14, 18, 22, var(--hero-veil)) 0%, rgba(14, 18, 22, calc(var(--hero-veil) * .55)) 34%, rgba(14, 18, 22, 0) 62%);
}

.hero__stage {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-rows: auto 1fr;
}
.hero__copy {
  justify-self: var(--copy-side);
  width: var(--copy-w);
  padding-top: var(--copy-top);
  display: grid; gap: 22px;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.2rem + 3.1vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(10, 14, 18, .35);
}
.hero__lead {
  max-width: 40ch;
  font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 16px rgba(10, 14, 18, .5);
}

/* ---------- Booking ---------- */
/* White bar riding on the photo's lower edge, topped by the logo's double line */
.booking {
  align-self: end;
  position: relative;
  transform: translateY(50%);
  width: min(100%, 1040px);
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr auto;
  background: #fff;
  color: var(--ink);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 28px 60px -28px rgba(20, 28, 36, .5), 0 0 0 1px rgba(38, 45, 53, .06);
}
.booking::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 6px;
  background: var(--double);
  background-color: #fff;
}
.booking__field {
  display: grid; align-content: center; gap: 2px;
  text-align: left;
  padding: 18px 24px 16px;
  min-height: var(--bar-h);
  background: none; border: 0;
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.booking__field + .booking__field,
.booking__submit { border-left: 1px solid var(--line); }
.booking__field:hover, .booking__field[aria-expanded="true"] { background: var(--sabah); }
.booking__label { font-size: .8125rem; font-weight: 500; color: var(--muted); }
.booking__value {
  font-family: var(--f-display); font-size: 1.45rem; line-height: 1.25; color: var(--cam);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.booking__value.is-empty { color: var(--muted); }
.booking__sub { font-size: .8125rem; color: var(--muted); min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking__submit { display: grid; align-content: center; gap: 8px; padding: 16px 20px; }
.booking__note { font-size: .75rem; line-height: 1.4; color: var(--muted); text-align: center; max-width: 24ch; justify-self: center; }

/* Popovers */
.popover {
  position: absolute; z-index: 40;
  top: calc(100% + 10px);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -20px rgba(18, 24, 30, .45), 0 0 0 1px rgba(38, 45, 53, .08);
  animation: pop .22s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.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 { font-size: .9375rem; color: var(--muted); }
.datepicker__nav { display: flex; gap: 4px; }
.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 { font-family: var(--f-display); font-size: 1.15rem; color: var(--cam); margin: 4px 0 12px; text-transform: capitalize; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month__dow { font-size: .75rem; color: var(--muted); text-align: center; padding-bottom: 8px; }
.day {
  position: relative;
  aspect-ratio: 1 / 1; min-height: 40px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--ink);
}
.day span {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  transition: background-color .15s, color .15s;
}
.day:hover:not(:disabled) span { background: var(--sabah-2); }
.day:disabled { color: #AEB7BF; cursor: default; }
.day:focus-visible { outline: none; }
.day:focus-visible span { box-shadow: 0 0 0 2px var(--yaprak); }
.day.is-today span { box-shadow: inset 0 0 0 1px var(--line); }
.day.in-range::before, .day.in-preview::before,
.day.is-start::before, .day.is-end::before {
  content: ""; position: absolute; inset: 4px 0; background: var(--sabah);
}
.day.is-start::before { left: 50%; }
.day.is-end::before { right: 50%; }
.day.is-start.is-end::before { display: none; }
.day.is-start:not(.has-range)::before { display: none; }
.day.is-start span, .day.is-end span { background: var(--yaprak); color: #fff; }
.day.is-start:hover span, .day.is-end:hover span { background: var(--yaprak-2); }
.day--blank { pointer-events: none; }

.guests { left: 0; width: 360px; padding: 8px 24px 20px; }
.counter {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.counter__title { font-weight: 600; color: var(--cam); }
.counter__hint { font-size: .8125rem; color: var(--muted); }
.counter__ctrl { display: flex; align-items: center; gap: 14px; }
.counter__ctrl output { min-width: 1.5ch; text-align: center; font-variant-numeric: tabular-nums; font-size: 1.0625rem; }
.guests__ages { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guests__ages:not(:empty) { padding-top: 16px; }
.age-field { display: grid; gap: 4px; font-size: .8125rem; color: var(--muted); }
.age-field select {
  appearance: none; -webkit-appearance: none;
  width: 100%; padding: 10px 34px 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23262D35' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat;
  font: inherit; font-size: .9375rem; color: var(--ink);
}
.age-field select[aria-invalid="true"] { border-color: #A3392B; }
.guests__note { font-size: .8125rem; line-height: 1.45; color: var(--muted); padding-top: 14px; }
.guests__error { font-size: .8125rem; font-weight: 600; color: #A3392B; padding-top: 10px; }
.guests__foot { display: flex; justify-content: flex-end; padding-top: 18px; }

.scrim {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(20, 26, 32, .55);
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }

/* ---------- Arrival ---------- */
.arrival {
  padding-top: calc(var(--section) + 52px);
  padding-bottom: var(--section);
}
.arrival__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.arrival__text { grid-column: 1 / span 6; grid-row: 1; }
.arrival__text .h2 { margin-bottom: 26px; max-width: 15ch; }
.arrival__text p + p { margin-top: 16px; color: var(--muted); max-width: 58ch; }
.arrival__media { grid-column: 9 / -1; grid-row: 1 / span 2; }
.arrival__media img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
figcaption { margin-top: 12px; font-size: .8125rem; color: var(--muted); }

.facts {
  grid-column: 1 / span 7; grid-row: 2;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px);
  margin-top: clamp(48px, 5vw, 72px);
}
.facts__item { padding: 20px 0 22px; background: var(--double); }
.facts__item dt { font-size: .8125rem; color: var(--muted); }
.facts__item dd { margin-top: 4px; color: var(--cam); font-weight: 500; line-height: 1.45; }
.facts__item--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); }
.facts__item--lead dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; }
.facts__big { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; color: var(--cam); letter-spacing: -.02em; }

/* ---------- Signature: the louvred roof ---------- */
.garden {
  background: var(--cam);
  color: var(--on-dark);
  padding-block: var(--section);
}
.garden__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: end;
}
.garden__head .h2 { grid-column: 1 / span 5; max-width: 11ch; }
.garden__intro { grid-column: 7 / -1; display: grid; gap: 22px; color: var(--on-dark); max-width: 58ch; }

.weather { display: grid; gap: 2px; padding-top: 18px; background: linear-gradient(var(--line-dark), var(--line-dark)) 0 0 / 100% 1px no-repeat; }
.weather__place { font-size: .8125rem; color: var(--on-dark-muted); }
.weather__now { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.weather__temp { font-family: var(--f-display); font-size: 2.6rem; line-height: 1.1; color: #fff; }
.weather__desc { font-size: 1.0625rem; color: var(--on-dark); }

/* The terrace as a small axonometric model: the hotel wall with the breakfast
   room's glass doors, the louvred roof over the tables, the lawn, path, tree,
   cypress and cube lamps beyond. The louvres turn (JS) and throw their striped
   shadow on the floor; sky, rain and lights follow the weather. */
.garden__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(24px, 3vw, 44px);
  align-items: end;
  margin-top: clamp(44px, 5vw, 72px);
}
.pergola-wrap { min-width: 0; }
.garden__panel { display: grid; gap: 28px; padding-bottom: 6px; }
.pergola {
  --a: 0deg;
  --led: 0;
  --sky-a: #8DB4DA; --sky-b: #D3E3EF;
  --lawn: #6F9B4F; --lawn-x: #557A3D; --lawn-y: #48683A;
  --floor: #E5DAC7; --path: #EDE4D4;
  --wall: #2E353D; --room: #D5E0E6; --window: #8FA3B3;
  --leaf: #3F6A35; --leaf-2: #5E8C49;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 70%);
  transition: background .9s var(--ease);
}
.pergola[data-sky="cloud"] { --sky-a: #8FAAC4; --sky-b: #D0DCE6; }
.pergola[data-sky="grey"]  { --sky-a: #8E99A4; --sky-b: #C6CDD3; --lawn: #648C49; --floor: #DBD2C2; }
.pergola[data-sky="rain"]  { --sky-a: #6F7A86; --sky-b: #A9B2BA; --lawn: #5C8443; --floor: #CFC6B6; --path: #D8D0C1; }
.pergola[data-sky="night"] {
  --sky-a: #0F151C; --sky-b: #1F2B39;
  --lawn: #2B3F2C; --lawn-x: #223322; --lawn-y: #1C2B1D;
  --floor: #6F675C; --path: #77705F;
  --room: #F2D49C; --window: #E9C98C;
  --leaf: #203424; --leaf-2: #2E4632;
}
.pergola__svg { display: block; width: 100%; height: auto; }

.pg-lawn { fill: var(--lawn); transition: fill .9s var(--ease); }
.pg-base-x { fill: var(--lawn-x); }
.pg-base-y { fill: var(--lawn-y); }
.pg-floor { fill: var(--floor); stroke: rgba(38, 45, 53, .18); stroke-width: 1; transition: fill .9s var(--ease); }
.pg-path { fill: var(--path); }
.pg-wall { fill: var(--wall); }
.pg-room { fill: var(--room); stroke: #59626C; stroke-width: 1.5; transition: fill .9s var(--ease); }
.pg-window { fill: var(--window); transition: fill .9s var(--ease); }
.pg-mullion polyline { fill: none; stroke: #4A535D; stroke-width: 2.5; }
.pg-slab { fill: none; stroke: rgba(233, 238, 241, .2); stroke-width: 2; }

.pg-shadows polygon { fill: rgba(38, 45, 53, .3); }
.pg-shadows { opacity: .35; transition: opacity .9s var(--ease); }
.pergola[data-sun="1"] .pg-shadows { opacity: 1; }
.pergola[data-sky="night"] .pg-shadows { opacity: 0; }
.pg-glow { opacity: var(--led); transition: opacity .9s var(--ease); }

.pg-top, .pg-side-x, .pg-side-y { stroke: rgba(20, 24, 28, .35); stroke-width: .8; stroke-linejoin: round; }
.pg-alu .pg-top { fill: #7D8691; } .pg-alu .pg-side-x { fill: #4D5560; } .pg-alu .pg-side-y { fill: #3B424B; }
.pg-table .pg-top { fill: #9A7754; } .pg-table .pg-side-x { fill: #7A5C40; } .pg-table .pg-side-y { fill: #664C35; }
.pg-chair .pg-top { fill: #3F5378; } .pg-chair .pg-side-x { fill: #2F3F5E; } .pg-chair .pg-side-y { fill: #27344E; }
.pg-cube .pg-top { fill: #FFF6E0; } .pg-cube .pg-side-x { fill: #F1E3C2; } .pg-cube .pg-side-y { fill: #E6D5AE; }
.pg-cube .pg-top, .pg-cube .pg-side-x, .pg-cube .pg-side-y { stroke: #2E353D; stroke-width: 2; }

.pg-slat-top { fill: #8B949F; stroke: #2B3138; stroke-width: 1; stroke-linejoin: round; }
.pg-slat-under { fill: #4E5761; stroke: #262C33; stroke-width: 1; stroke-linejoin: round; }
.pg-leds { transition: opacity .2s linear; }
.pg-leds circle { fill: #FFE9B8; opacity: calc(.3 + var(--led) * .7); }
.pergola[data-sky="night"] .pg-leds circle { filter: drop-shadow(0 0 3px #FFD98A); }

.pg-shade { fill: rgba(0, 0, 0, .18); }
.pg-trunk { fill: #7A7066; }
.pg-lime { fill: #F4F2EC; }
.pg-limb { fill: none; stroke: #6E655B; stroke-width: 5; stroke-linecap: round; }
.pg-leaf { fill: var(--leaf); transition: fill .9s var(--ease); }
.pg-leaf-2 { fill: var(--leaf-2); opacity: .45; transition: fill .9s var(--ease); }
.pg-lamp-glow { opacity: .25; transition: opacity .9s var(--ease); }
.pergola[data-sky="night"] .pg-lamp-glow { opacity: 1; }

.pg-rain line { stroke: rgba(255, 255, 255, .6); stroke-width: 1.4; stroke-linecap: round; }
.pg-rain { opacity: 0; transition: opacity .9s var(--ease); }
.pergola[data-wet="1"] .pg-rain--out { opacity: 1; }
.pergola[data-wet="1"] .pg-rain--in { opacity: calc(1 - cos(var(--a))); }
.pg-cloud { fill: rgba(255, 255, 255, .55); opacity: 0; transition: opacity .9s var(--ease); }
.pergola[data-sky="cloud"] .pg-cloud, .pergola[data-sky="grey"] .pg-cloud { opacity: 1; }
.pergola[data-sky="grey"] .pg-cloud { fill: rgba(235, 238, 241, .45); }

/* Callouts, like notes on a drawing */
.pergola__notes { position: absolute; inset: 0; pointer-events: none; }
.note {
  position: absolute; left: var(--x); top: var(--y);
  width: 0; height: 0;
}
.note::before {
  content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--filiz); box-shadow: 0 0 0 3px rgba(38, 45, 53, .55);
}
.note::after {
  content: ""; position: absolute; left: -.5px; bottom: 6px; width: 1px; height: var(--len, 44px);
  background: var(--filiz);
}
.note span {
  position: absolute; left: -2px; bottom: calc(var(--len, 44px) + 10px);
  white-space: nowrap;
  font-size: .8125rem; font-weight: 500; line-height: 1.3;
  color: #fff;
  background: rgba(38, 45, 53, .82);
  padding: 4px 9px 5px;
  border-radius: 2px;
}
.note--down::after { bottom: auto; top: 6px; }
.note--down span { bottom: auto; top: calc(var(--len, 44px) + 10px); }
.note--roof  { --len: 92px; }
.note--doors { --len: 150px; }
.note--tree  { --len: 70px; }
.note--tree span { left: auto; right: -2px; }
.note--lamps { --len: 30px; }
.note--lamps span { left: auto; right: -2px; }

.louvres__ctrl {
  display: grid;
  gap: 12px;
  padding-top: 18px;
  background: linear-gradient(var(--line-dark), var(--line-dark)) 0 0 / 100% 1px no-repeat;
}
.louvres__label { font-size: .9375rem; font-weight: 500; color: #fff; }
.louvres__range { display: flex; align-items: center; gap: 12px; font-size: .8125rem; color: var(--on-dark-muted); }
.louvres__state { font-size: .9375rem; color: var(--on-dark); min-height: 3em; }

.louvres__range input[type="range"] {
  -webkit-appearance: none; appearance: none;
  flex: 1; height: 32px; background: transparent; cursor: pointer; margin: 0;
}
.louvres__range input[type="range"]::-webkit-slider-runnable-track {
  height: 2px; background: linear-gradient(90deg, var(--filiz), var(--filiz)) 0 0 / var(--fill, 0%) 100% no-repeat, rgba(233, 238, 241, .28);
}
.louvres__range input[type="range"]::-moz-range-track { height: 2px; background: rgba(233, 238, 241, .28); }
.louvres__range input[type="range"]::-moz-range-progress { height: 2px; background: var(--filiz); }
.louvres__range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -10px; border-radius: 50%;
  background: var(--filiz); border: 3px solid var(--cam); box-shadow: 0 0 0 1px var(--filiz);
}
.louvres__range input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--filiz); border: 3px solid var(--cam); box-shadow: 0 0 0 1px var(--filiz);
}
.louvres__range input[type="range"]:focus-visible { outline-offset: 6px; }

.garden__photos {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px) clamp(16px, 2.4vw, 32px);
  margin-top: clamp(56px, 6vw, 88px);
}
.garden__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.garden__photo figcaption { color: var(--on-dark-muted); }
.garden__photo--a { grid-column: 1 / span 6; }
.garden__photo--b { grid-column: 7 / span 3; align-self: end; }
.garden__photo--c { grid-column: 10 / span 3; align-self: end; }
.garden__photo--b img, .garden__photo--c img { aspect-ratio: 4 / 5; }

/* ---------- Section head ---------- */
.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: end;
  margin-bottom: clamp(36px, 4.4vw, 60px);
}
.section-head .h2 { grid-column: 1 / span 5; }
.section-head__text { grid-column: 7 / -1; color: var(--muted); max-width: 56ch; }

/* ---------- Rooms ---------- */
.room-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.room-tab {
  position: relative;
  display: grid; gap: 2px; align-content: start; justify-items: start;
  padding: 0 12px 18px 0;
  text-align: left; cursor: pointer;
  background: none; border: 0;
}
.room-tab::after {
  content: ""; position: absolute; left: 0; right: 12px; bottom: -1px; height: 6px;
  background: linear-gradient(var(--yaprak), var(--yaprak)) 0 5px / 100% 1px no-repeat,
              linear-gradient(var(--cam), var(--cam)) 0 1px / 100% 2px no-repeat;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.room-tab__size {
  font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); line-height: 1;
  color: #9AA4AD; letter-spacing: -.02em; font-variant-numeric: lining-nums;
  transition: color .2s var(--ease);
}
.room-tab__size small { font-size: .38em; margin-left: .18em; letter-spacing: 0; }
.room-tab__name { font-weight: 500; font-size: .9375rem; color: var(--muted); transition: color .2s var(--ease); }
.room-tab:hover .room-tab__size, .room-tab.is-active .room-tab__size { color: var(--cam); }
.room-tab:hover .room-tab__name, .room-tab.is-active .room-tab__name { color: var(--cam); }
.room-tab.is-active::after { transform: scaleX(1); }
.room-tab:focus-visible { outline-offset: -2px; }

.rooms__stage { display: grid; margin-top: clamp(32px, 3.6vw, 48px); }
.room {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.room.is-active { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.room__media { grid-column: 1 / span 7; display: grid; gap: 10px; }
.room__main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--sabah); }
.room__thumbs { display: flex; gap: 10px; }
.room__thumb {
  width: 88px; aspect-ratio: 3 / 2; padding: 0; border: 0; cursor: pointer;
  background: var(--sabah); opacity: .55; transition: opacity .2s var(--ease);
  position: relative;
}
.room__thumb img { width: 100%; height: 100%; object-fit: cover; }
.room__thumb.is-active, .room__thumb:hover { opacity: 1; }
.room__thumb.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--yaprak); }
.room__body { grid-column: 9 / -1; display: grid; gap: 18px; justify-items: start; padding-top: 4px; }
.room__title {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(1.55rem, 1.25rem + .8vw, 2rem);
  line-height: 1.12; letter-spacing: -.01em; color: var(--cam); margin: 0;
}
.room__desc { color: var(--ink); }
.room__specs { width: 100%; display: grid; }
.room__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.room__specs div:first-child { border-top: 1px solid var(--line); }
.room__specs dt { color: var(--muted); }
.room__specs dd { color: var(--cam); font-weight: 500; text-align: right; }
.room__body .btn { margin-top: 6px; }

.rooms__common {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(48px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--line);
}
.rooms__common-title { grid-column: 1 / span 3; margin: 0; font-size: .9375rem; font-weight: 600; color: var(--cam); }
.amenities { grid-column: 4 / -1; display: flex; flex-wrap: wrap; gap: 8px 30px; font-size: .9375rem; color: var(--muted); }

/* ---------- Morning: breakfast and lobby ---------- */
.morning { background: var(--sabah); }
.morning__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  row-gap: clamp(40px, 4.4vw, 64px);
}
.morning__title {
  grid-column: 1 / span 7; grid-row: 1;
  margin: 0;
  display: grid;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.2rem, 1.3rem + 2.8vw, 4rem);
  line-height: 1.06; letter-spacing: -.015em;
  color: var(--cam);
}
/* staggered like the words on the breakfast room wall */
.morning__title span:nth-child(2) { padding-left: .9em; }
.morning__title span:nth-child(3) { padding-left: 1.8em; }
.morning__title span:nth-child(4) { padding-left: .45em; }
.morning__text { grid-column: 9 / -1; grid-row: 1; align-self: end; display: grid; gap: 16px; }
.morning__text p + p { color: var(--muted); }
.morning__main { grid-column: 1 / span 7; grid-row: 2 / span 2; }
.morning__main img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.morning__side { grid-column: 9 / -1; }
.morning__side img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.morning__side--a { grid-row: 2; }
.morning__side--b { grid-row: 3; align-self: end; }

/* ---------- Services ---------- */
.services__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.services__head { grid-column: 1 / span 4; display: grid; gap: 18px; justify-items: start; }
.services__intro { color: var(--muted); max-width: 34ch; margin-top: 8px; }
.services__list {
  grid-column: 6 / -1;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 48px);
}
.services__list div { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.services__list dt { font-weight: 600; color: var(--cam); }
.services__list dd { margin-top: 2px; color: var(--muted); font-size: .9375rem; }

/* ---------- Reviews ---------- */
.reviews { background: var(--sabah); }
.reviews__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.reviews__score { grid-column: 1 / span 4; display: grid; gap: 6px; }
.reviews__score .h2 { margin-bottom: 24px; }
.reviews__num { font-family: var(--f-display); font-size: clamp(4rem, 3rem + 3vw, 6rem); line-height: .95; color: var(--cam); letter-spacing: -.03em; }
.reviews__num span { font-size: .32em; color: var(--muted); margin-left: .1em; letter-spacing: 0; }
.reviews__src { font-size: .9375rem; color: var(--muted); }
.reviews__list { grid-column: 6 / -1; display: grid; gap: 0; }
.reviews__list li { padding: 26px 0 28px; background: var(--double); }
.reviews__list blockquote {
  font-family: var(--f-display); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); line-height: 1.35; color: var(--cam);
  max-width: 40ch;
}
.reviews__who { margin-top: 10px; font-size: .875rem; color: var(--muted); }

/* ---------- Location ---------- */
.location__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: stretch;
}
.location__map { grid-column: 1 / span 7; min-height: 560px; background: var(--sabah-2); }
.location__map iframe { display: block; width: 100%; height: 100%; min-height: 560px; border: 0; filter: saturate(.6) contrast(1.03); }
.location__info { grid-column: 9 / -1; display: flex; flex-direction: column; align-items: flex-start; }
.location__address {
  display: grid; margin-bottom: 28px;
  font-family: var(--f-display); font-size: 1.3rem; line-height: 1.45; color: var(--cam);
}
.distances { width: 100%; margin-bottom: 28px; }
.distances__title { font-size: .8125rem; font-weight: 600; color: var(--yaprak); margin: 0 0 6px; }
.distances ul + .distances__title { margin-top: 26px; }
.distances li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9375rem;
}
.distances li span:last-child { color: var(--cam); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.distances__note { margin-top: 14px; font-size: .8125rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { padding-top: 0; }
.gallery__title { margin-bottom: clamp(32px, 4vw, 52px); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 16vw, 250px);
  gap: clamp(8px, 1.2vw, 16px);
}
.gallery__grid li { min-width: 0; }
.g-a { grid-column: 1 / span 6; grid-row: span 2; }
.g-b { grid-column: 7 / span 3; grid-row: span 2; }
.g-c { grid-column: 10 / span 3; }
.g-d { grid-column: 10 / span 3; }
.g-e { grid-column: 1 / span 4; }
.g-f { grid-column: 5 / span 4; }
.g-g { grid-column: 9 / span 4; }
.g-h { grid-column: 1 / span 6; }
.g-i { grid-column: 7 / span 6; }
.gallery__item {
  display: block; width: 100%; height: 100%; padding: 0; border: 0;
  background: var(--sabah-2); 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.025); }
.gallery__item:focus-visible { outline-offset: 2px; }

/* ---------- Closing ---------- */
.closing { background: var(--cam); color: var(--on-dark); padding-block: clamp(72px, 8vw, 120px); }
.closing__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: center;
}
.closing__text { grid-column: 1 / span 7; display: grid; gap: 22px; justify-items: start; }
.closing__title {
  font-family: var(--f-display); font-weight: 400; color: #fff;
  font-size: clamp(2.4rem, 1.5rem + 3vw, 4.4rem); line-height: 1.04; letter-spacing: -.02em; margin: 0;
  max-width: 13ch;
}
.closing__text > p { color: var(--on-dark-muted); max-width: 46ch; }
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.closing__media { grid-column: 9 / -1; }
.closing__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cam-3); color: var(--on-dark-muted); font-size: .9375rem; padding-top: 64px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--filiz); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 32px; padding-bottom: 48px; }
.site-footer__logo { height: 64px; width: auto; }
.site-footer__title { font-size: .8125rem; font-weight: 600; color: var(--filiz); margin: 0 0 10px; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 22px calc(22px + env(safe-area-inset-bottom));
  font-size: .8125rem;
  background: linear-gradient(var(--line-dark), var(--line-dark)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

/* ---------- 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(22, 27, 33, .96);
  color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fade .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; text-align: center; font-size: .9375rem; color: var(--on-dark-muted); 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 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: 1023px) {
  .arrival__text, .arrival__media, .facts,
  .garden__head .h2, .garden__intro,
  .services__head, .services__list,
  .reviews__score, .reviews__list,
  .location__map, .location__info,
  .room__media, .room__body,
  .morning__title, .morning__text, .morning__main, .morning__side,
  .closing__text, .closing__media,
  .section-head .h2, .section-head__text { grid-column: 1 / -1; }

  .arrival__media { grid-row: auto; margin-top: 40px; max-width: 420px; }
  .facts { grid-row: auto; }
  .garden__intro { margin-top: 24px; }
  .section-head__text { margin-top: 16px; }
  .garden__stage { grid-template-columns: minmax(0, 1fr); }
  .garden__panel { grid-template-columns: 1fr 1fr; align-items: start; }
  .garden__photo--a { grid-column: 1 / -1; }
  .garden__photo--b { grid-column: 1 / span 6; }
  .garden__photo--c { grid-column: 7 / -1; }

  .room-tabs { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .room-tabs::-webkit-scrollbar { display: none; }
  .room-tab { flex: 0 0 auto; min-width: 112px; padding-right: 22px; scroll-snap-align: start; }
  .room-tab::after { right: 22px; }
  .room__body { margin-top: 24px; }
  .rooms__common-title, .amenities { grid-column: 1 / -1; }
  .amenities { margin-top: 12px; }

  .morning__title { grid-row: 1; }
  .morning__text { grid-row: 2; }
  .morning__main { grid-row: 3; }
  .morning__side--a { grid-row: 4; grid-column: 1 / span 6; }
  .morning__side--b { grid-row: 4; grid-column: 7 / -1; align-self: start; }

  .services__list { margin-top: 36px; }
  .reviews__list { margin-top: 36px; }
  .location__info { grid-row: 1; margin-bottom: 40px; }
  .location__map { grid-row: 2; }
  .closing__media { display: none; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .brand__logo { height: 44px; }

  /* Photo on top with the headline in its dark upper part; the search card rides on its lower edge */
  .hero { min-height: 0; display: block; background: var(--surface); }
  .hero__media { position: relative; height: clamp(500px, 82svh, 720px); }
  .hero__media img { object-position: var(--hero-pos-m); }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(14, 18, 22, calc(var(--hero-veil) * 1.05)) 0%, rgba(14, 18, 22, calc(var(--hero-veil) * .6)) 34%, rgba(14, 18, 22, 0) 60%);
  }
  .hero__stage { position: static; padding: 0; display: block; }
  .hero__copy {
    position: absolute; z-index: 2; top: 0; left: 0; right: 0;
    width: auto;
    padding: calc(var(--header-h) + 28px) var(--gutter) 0;
  }
  .booking {
    transform: none;
    margin: -64px var(--gutter) 0;
    width: auto;
    grid-template-columns: 1fr 1fr;
    z-index: 3;
  }
  .booking__field { min-height: 84px; padding: 16px 18px 14px; }
  .booking__field:nth-child(2) { border-left: 1px solid var(--line); }
  #guestsField { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .booking__submit { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 16px 18px 18px; }
  .booking__submit .btn { width: 100%; }
  .arrival { padding-top: var(--section); }

  /* Popovers become bottom sheets */
  .popover {
    position: fixed; z-index: 80;
    left: 0 !important; right: 0 !important; top: auto; bottom: 0;
    width: 100% !important; max-height: 88vh; overflow-y: auto;
    border-radius: 14px 14px 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: 44px; height: 44px; }

  .garden__panel { grid-template-columns: 1fr; }
  .pergola__notes { display: none; }

  .sticky-book {
    display: flex; gap: 10px; 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(38, 45, 53, .96);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--line-dark);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-book .btn { flex: 1; }
  .sticky-book__icon { width: 48px; height: 48px; flex: none; color: var(--on-dark); border-color: rgba(233, 238, 241, .35); }
  .sticky-book__icon:hover { background: rgba(233, 238, 241, .08); }
  .sticky-book.is-visible { transform: none; }
  .site-footer { padding-bottom: 76px; }

  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(150px, 38vw, 260px); }
  .gallery__grid li { grid-column: auto; grid-row: auto; }
  .gallery__grid .g-a { grid-column: 1 / -1; }
  .gallery__grid .g-b { grid-row: span 2; }
  .gallery__grid .g-i { grid-column: 1 / -1; }
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }

@media (max-width: 720px) {
  .hero__lead { display: none; }
}

@media (max-width: 640px) {
  .site-header__inner { gap: 10px; }
  .site-header__actions { gap: 4px; }
  .site-header__cta { display: none; }
  .hero__lead { font-size: 1rem; }
  .booking__value { font-size: 1.25rem; }
  .facts { grid-template-columns: 1fr; }
  .services__list { grid-template-columns: 1fr; }
  .garden__photo--b, .garden__photo--c { grid-column: 1 / -1; }
  .garden__photo--b img, .garden__photo--c img { aspect-ratio: 3 / 2; }
  .morning__side--a, .morning__side--b { grid-column: 1 / -1; grid-row: auto; }
  .location__map, .location__map iframe { min-height: 360px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .closing__actions .btn { width: 100%; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; transform: none; }
  .lightbox__cap { bottom: 132px; padding-inline: 24px; }
  .room__thumb { width: 72px; }
}

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