/* Menalo Hotel Premium, İstanbul Havalimanı
   Palette from the buildings: slate roofs and bollards, light and dark render,
   teak slats between the windows. Garden colours live only in the section drawing. */

:root {
  --slate: #2A2D30;          /* roofs, bollards: text, buttons, footer */
  --slate-2: #41454A;        /* hover */
  --plaster: #E9E7E3;        /* light render */
  --plaster-2: #F4F3F0;      /* lightest surface */
  --stone: #6E6B66;          /* dark render: secondary text */
  --line: #DAD7D2;
  --teak: #B06A33;           /* slats: small markers only */
  --teak-dk: #8C5126;
  --white: #FFFFFF;
  --on-dark: #F4F3F0;
  --on-dark-muted: #B9B6B0;

  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::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(--white); color: var(--slate);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }
.site-footer :focus-visible,
.sticky-book :focus-visible,
.lightbox :focus-visible { outline-color: var(--white); }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--slate); color: var(--white); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 7.5vw, 112px); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 1.35rem + 2.2vw, 3.125rem); line-height: 1.08; letter-spacing: -.012em;
  text-wrap: balance;
}
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); line-height: 1.15; }
.lead { font-size: 1.1875rem; line-height: 1.6; }
p + p { margin-top: 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 2px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn--primary { background: var(--slate); color: var(--white); }
.btn--primary:hover { background: var(--slate-2); }
.btn--ghost { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn--ghost:hover { background: var(--slate); color: var(--white); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  background: transparent; border: 1px solid transparent; border-radius: 2px; cursor: pointer; color: var(--slate);
  transition: background-color .15s, border-color .15s;
}
.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(--plaster); }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.icon-btn--round { border-radius: 50%; border-color: var(--line); }
.link-btn { background: none; border: 0; padding: 8px 4px; cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; color: var(--stone); }
.link-btn:hover { color: var(--slate); }
.text-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  color: var(--slate);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled, .site-header.menu-open { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); }
.site-header__inner {
  height: 100%; display: flex; align-items: center; gap: 28px;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 30px; height: 30px; fill: #C4454A; flex: none; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 500; font-size: 1.375rem; letter-spacing: .16em; text-transform: uppercase; }
.brand__sub { font-size: .6875rem; font-weight: 500; letter-spacing: .08em; color: var(--stone); margin-top: 5px; }

.nav__list { display: flex; gap: 26px; }
.nav__list a { text-decoration: none; font-size: .9375rem; font-weight: 500; 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 {
  background: none; border: 0; padding: 6px 7px; cursor: pointer;
  font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--stone);
}
.lang__btn.is-active { color: var(--slate); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

.menu-toggle { display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 59; background: var(--white); 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(--serif); font-size: 1.625rem; text-decoration: none; }
.mobile-menu__foot { display: grid; gap: 12px; margin-top: 32px; padding-bottom: 32px; color: var(--stone); }
.mobile-menu__foot a { text-decoration: none; }

/* =========================================================
   Hero
   Tune the placement here when the final header photo arrives:
   --hero-shift   sky added above the photo (0 for a photo with its own sky)
   --hero-fade    soft top edge of the photo
   --hero-pos     object-position of the photo (desktop / -m mobile)
   --copy-w       width of the headline (keep it inside the sky)
   ========================================================= */
.hero {
  --hero-pos: 50% 16%;
  --hero-pos-m: 50% 30%;
  --hero-shift: clamp(110px, 26vh, 280px);
  --hero-fade: 170px;
  --hero-sky-top: #C9D4DF;
  --hero-sky: #A3B8CD;
  --copy-w: 18ch;             /* in headline letters */
  --copy-y: calc(var(--header-h) + clamp(14px, 3.5vh, 48px));

  position: relative; min-height: max(640px, calc(100svh - 64px)); max-height: 1100px;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--hero-sky-top), var(--hero-sky) 30%);
}
.hero__media { position: absolute; inset: var(--hero-shift) 0 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--hero-fade));
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--hero-fade));
}
.hero__inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; padding-top: var(--copy-y); }
.hero__title {
  max-width: var(--copy-w);
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.75rem, 1rem + 4.4vw, 5.5rem); line-height: 1.02; letter-spacing: -.018em;
  color: var(--slate); text-wrap: balance;
}
.hero__lead { margin-top: 18px; max-width: 37ch; font-size: 1.125rem; line-height: 1.5; color: #24282B; }

/* ---------- Booking ---------- */
.booking {
  position: relative; margin-top: auto; transform: translateY(50%);
  display: grid; grid-template-columns: 1fr 1fr 1.15fr auto;
  width: min(1040px, 100%);
  background: var(--white); color: var(--slate);
  box-shadow: 0 24px 60px -24px rgba(20, 24, 28, .45), 0 0 0 1px rgba(42, 45, 48, .06);
}
.booking__field {
  display: grid; align-content: center; gap: 2px; text-align: left;
  min-height: 104px; padding: 18px 24px; background: none; border: 0; cursor: pointer;
}
.booking__field + .booking__field { border-left: 1px solid var(--line); }
.booking__field:hover, .booking__field[aria-expanded="true"] { background: var(--plaster-2); }
.booking__label { font-size: .8125rem; font-weight: 500; color: var(--stone); }
.booking__value { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.25; font-variant-numeric: lining-nums; }
.booking__value.is-empty { color: var(--stone); }
.booking__sub { font-size: .8125rem; color: var(--stone); min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking__submit { display: grid; align-content: center; justify-items: center; gap: 8px; padding: 16px 20px; border-left: 1px solid var(--line); }
.booking__note { font-size: .75rem; line-height: 1.35; color: var(--stone); text-align: center; max-width: 25ch; }

/* ---------- Popovers ---------- */
.popover {
  position: absolute; z-index: 40; top: calc(100% + 10px);
  background: var(--white); color: var(--slate);
  box-shadow: 0 30px 70px -20px rgba(20, 24, 28, .4), 0 0 0 1px rgba(42, 45, 48, .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(--stone); }
.datepicker__nav { display: flex; gap: 4px; }
.datepicker__months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.datepicker__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.month__caption { font-family: var(--serif); font-size: 1.1875rem; margin: 4px 0 12px; text-transform: capitalize; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month__dow { font-size: .75rem; color: var(--stone); 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(--slate);
}
.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(--plaster); }
.day:disabled { color: #B5B2AD; cursor: default; }
.day:focus-visible { outline: none; }
.day:focus-visible span { box-shadow: 0 0 0 2px var(--slate); }
.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(--plaster); }
.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(--slate); color: var(--white); }
.day.is-start:hover span, .day.is-end:hover span { background: var(--slate-2); }
.day--blank { pointer-events: none; }

.guests { right: 0; width: 380px; 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; }
.counter__hint { font-size: .8125rem; color: var(--stone); }
.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(--stone); }
.age-field select {
  appearance: none; width: 100%; padding: 10px 34px 10px 12px; border: 1px solid var(--line); border-radius: 2px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A2D30' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
  font: inherit; font-size: .9375rem; color: var(--slate); cursor: pointer;
}
.age-field select[aria-invalid="true"] { border-color: #A33A2E; }
.guests__note { font-size: .8125rem; line-height: 1.45; color: var(--stone); padding-top: 14px; }
.guests__rooms { font-size: .875rem; font-weight: 600; padding-top: 14px; }
.guests__error { font-size: .8125rem; font-weight: 600; color: #A33A2E; 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, 22, 24, .5); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   Intro + airport facts
   ========================================================= */
.intro { padding-top: clamp(120px, 12vw, 168px); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.intro__text .h2 { margin-bottom: 26px; max-width: 20ch; }
.intro__text .lead { max-width: 40ch; }
.intro__text p:not(.lead) { max-width: 46ch; color: #3E4246; }
.intro__text .btn { margin-top: 32px; }

.airport { background: var(--plaster-2); padding: clamp(24px, 3vw, 40px); }
.airport__title { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 8px; }
.facts__row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts__row:last-child { border-bottom: 0; }
.facts dt { font-size: .875rem; font-weight: 600; padding-top: 2px; }
.facts dd { font-size: .9375rem; color: #3E4246; }
.facts__row--key dd { color: var(--slate); }
.facts__num { display: block; font-family: var(--serif); font-size: 1.875rem; line-height: 1.1; font-variant-numeric: lining-nums; color: var(--slate); }
.airport__note { margin-top: 14px; font-size: .8125rem; color: var(--stone); }

/* =========================================================
   Signature: "Yoldan ormana" site section
   ========================================================= */
.sec { padding-top: clamp(56px, 6vw, 96px); padding-bottom: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px 64px; align-items: end; }
.sec__intro { max-width: 52ch; color: #3E4246; }

.sec__stops { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: clamp(32px, 4vw, 48px); }
.stop {
  display: grid; gap: 1px; text-align: left; min-width: 0;
  background: none; border: 0; border-top: 2px solid var(--line); padding: 12px 22px 6px 0; margin-right: 6px; cursor: pointer;
  flex: 1 1 0; transition: border-color .2s;
}
.stop__name { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.2; }
.stop__m { font-size: .8125rem; color: var(--stone); font-variant-numeric: tabular-nums; }
.stop:hover { border-top-color: var(--stone); }
.stop.is-active { border-top-color: var(--teak); }

.sec__stage {
  position: relative; margin: 18px auto 0; max-width: 1600px; padding-inline: clamp(0px, 1.5vw, 24px);
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow: hidden;
}
.sec__stage.is-dragging { cursor: grabbing; }
.sec__stage:focus-visible { outline-offset: -2px; }
.sec__svg { display: block; width: 100%; height: auto; }
.sec__dir { position: absolute; bottom: 8px; font-size: .75rem; font-weight: 600; color: var(--stone); letter-spacing: .02em; }
.sec__dir--s { left: max(var(--gutter), 12px); }
.sec__dir--n { right: max(var(--gutter), 12px); }

/* drawing */
.ground__fill { fill: url(#secGround); }
.ground__line { fill: none; stroke: var(--slate); stroke-width: 2; stroke-linejoin: round; }
.road { fill: var(--slate); }
.canopy__pillar { fill: #3A3D41; }
.canopy__slab { fill: #2F3236; }
.canopy__m { fill: #C4454A; }
.pav__body { fill: #45484C; }
.pav__roof { fill: #2F3236; }
.pav__glass { fill: #B9C5CB; }
.pav__mullion { stroke: #2F3236; stroke-width: 1.2; }
.pav__slat { stroke: var(--teak); stroke-width: 1.8; }
.blk__wall { fill: #77736E; }
.blk__plinth { fill: #5E5B57; }
.blk__fascia { fill: #6A6762; }
.blk__ledge { stroke: #55524E; stroke-width: 1.2; }
.blk__roof { fill: #3B3E42; }
.blk__dormer { fill: #6A6762; }
.blk__dormer-cap { fill: #3B3E42; }
.blk__glass { fill: #39454C; }
.blk__mullion { stroke: #5D6A71; stroke-width: .8; }
.blk__rail { stroke: var(--slate); stroke-width: 1; }
.blk__teak { fill: var(--teak); }
.blk__slat { stroke: var(--teak-dk); stroke-width: .7; }
.blk__plant { fill: #9A9894; }
.blk--back .blk__wall { fill: #BEBBB6; }
.blk--back .blk__fascia, .blk--back .blk__dormer { fill: #B3B0AB; }
.blk--back .blk__roof, .blk--back .blk__dormer-cap { fill: #96989B; }
.blk--back .blk__glass { fill: #949DA2; }
.blk--back .blk__teak { fill: #D5A982; }
.blk--back .blk__slat, .blk--back .blk__mullion, .blk--back .blk__rail, .blk--back .blk__ledge { stroke: none; }
.lawn { fill: none; stroke: #7E9A55; stroke-width: 3; stroke-linecap: round; }
.ribbon { fill: none; stroke: #B8323A; stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: .1 5; }
.pebble { fill: none; stroke: #FFFFFF; stroke-width: 2.2; }
.bed { fill: #B8323A; }
.olive__trunk { fill: none; stroke: #6B5E50; stroke-width: 3; stroke-linecap: round; }
.olive__leaf { fill: #A6AF97; }
.olive__leaf--dk { fill: #8C977C; }
.bollard { fill: var(--slate); }
.path { fill: #FFFFFF; stroke: #CFCCC6; stroke-width: .6; }
.tree__trunk { stroke: #5E5448; stroke-width: 2.4; }
.tree--young circle { fill: #8FA36A; }
.tree--near circle { fill: #4E6A4F; }
.tree--near:nth-child(3n) circle { fill: #3F5A43; }
.tree--near:nth-child(4n+1) circle { fill: #5C7856; }
.tree--far circle { fill: #7A9472; }
.canopy--bg { fill: #E1E6DC; }
.canopy--far { fill: #8FA587; }
.canopy--near { fill: #4C6A4E; }
.tree--edge circle { fill: #557456; }
.fence { stroke: var(--slate); stroke-width: 1.4; }
.fence--mesh { stroke-dasharray: 2 2; stroke-width: 1; }
.meadow { fill: none; stroke: #9AA27A; stroke-width: 1.2; stroke-linecap: round; }
.sec__break line { stroke: var(--stone); stroke-width: 1.4; }
.sec__ticks line { stroke: var(--stone); stroke-width: 1; }
.sec__ticks text { font-family: var(--sans); font-size: 12.5px; fill: var(--stone); text-anchor: middle; }

.walker__head, .walker__body, .walker__wheel { fill: var(--slate); }
.walker__bag { fill: var(--teak); }
.walker__handle { stroke: var(--slate); stroke-width: 1.4; fill: none; }
.walker__beam { stroke: var(--teak); stroke-width: 1.4; stroke-dasharray: 3 4; }
.walker__label { font-family: var(--serif); font-size: 19px; fill: var(--slate); text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }

.sec__panel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px);
  align-items: center; margin-top: clamp(28px, 4vw, 48px);
}
.sec__dist { font-size: .875rem; font-weight: 600; color: var(--teak-dk); font-variant-numeric: tabular-nums; }
.sec__text .h3 { margin: 6px 0 16px; }
.sec__text p:not(.sec__dist) { max-width: 44ch; color: #3E4246; }
.sec__nav { display: flex; gap: 10px; margin-top: 26px; }
.sec__photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--plaster); }
.sec__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.sec__photo img.is-loading { opacity: 0; }
.sec__note { margin-top: 28px; font-size: .8125rem; color: var(--stone); max-width: calc(var(--max) + 2 * var(--gutter)); }

/* =========================================================
   Rooms
   ========================================================= */
.rooms { background: var(--plaster-2); }
.rooms__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.rooms__intro { max-width: 56ch; color: #3E4246; }
.rooms__grid { display: grid; grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.rooms__list { display: grid; position: sticky; top: calc(var(--header-h) + 24px); }
.rooms__group { font-size: .8125rem; font-weight: 600; color: var(--stone); padding: 0 0 8px; }
.rooms__group:not(:first-child) { padding-top: 28px; }
.room-tab {
  display: grid; gap: 2px; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 14px 0 14px 18px; border-left: 2px solid var(--line);
  transition: border-color .2s;
}
.room-tab__name { font-family: var(--serif); font-size: 1.3125rem; line-height: 1.2; }
.room-tab__meta { font-size: .8125rem; color: var(--stone); }
.room-tab:hover { border-left-color: var(--stone); }
.room-tab.is-active { border-left-color: var(--teak); }
.room-tab:focus-visible { outline-offset: 0; }

.room { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3.5vw, 48px); }
.room__main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--plaster); }
.room__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.room__thumb { padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.room__thumb img { aspect-ratio: 3 / 2; object-fit: cover; opacity: .72; transition: opacity .2s; }
.room__thumb:hover img, .room__thumb.is-active img { opacity: 1; }
.room__thumb.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--teak); }
.room__body .h3 { margin-bottom: 14px; }
.room__body > p { color: #3E4246; }
.specs { margin: 22px 0 28px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.specs dt { color: var(--stone); }

/* =========================================================
   Food and drink
   ========================================================= */
.food__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "tall text" "tall wide";
  gap: clamp(28px, 4vw, 56px) clamp(32px, 6vw, 96px); align-items: start;
}
.food__tall { grid-area: tall; }
.food__tall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.food__text { grid-area: text; }
.food__text .h2 { margin-bottom: 22px; max-width: 14ch; }
.food__text .lead { max-width: 42ch; }
.food__wide { grid-area: wide; }
.food__wide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hours { margin-top: 30px; border-top: 1px solid var(--line); }
.hours div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 600; font-size: .9375rem; }
.hours dd { font-size: .9375rem; color: #3E4246; }
.hours__time { font-family: var(--serif); font-size: 1.25rem; color: var(--slate); font-variant-numeric: lining-nums tabular-nums; margin-right: 6px; }

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--plaster); }
.services__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.list { margin-top: 30px; border-top: 1px solid #CFCBC5; }
.list div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid #CFCBC5; }
.list dt { font-weight: 600; font-size: .9375rem; }
.list dd { font-size: .9375rem; color: #3E4246; }
.services__photo { margin-top: 36px; }
.services__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* =========================================================
   Location
   ========================================================= */
.location__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.location__text > p { margin-top: 20px; color: #3E4246; max-width: 44ch; }
.location__h { font-size: .875rem; font-weight: 600; margin-top: 32px; }
.dist { margin-top: 10px; border-top: 1px solid var(--line); }
.dist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.dist__v { flex: none; color: var(--stone); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dist__v b { font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; color: var(--slate); margin-left: 10px; }
.dist__note { font-size: .8125rem; color: var(--stone); margin: 12px 0 26px; }
.location__map { position: sticky; top: calc(var(--header-h) + 24px); }
.location__map iframe { display: block; width: 100%; height: min(70vh, 640px); min-height: 420px; border: 0; filter: grayscale(.25) contrast(1.02); background: var(--plaster); }

/* =========================================================
   Gallery
   ========================================================= */
.gallery { padding-top: 0; }
.gallery .h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); grid-auto-flow: dense; gap: 8px; }
.gallery__grid li { min-height: 0; }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }
.gallery__item { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--plaster); 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); }

/* =========================================================
   Closing + footer
   ========================================================= */
.closing { border-top: 1px solid var(--line); padding-block: clamp(72px, 9vw, 120px); }
.closing__inner { display: grid; justify-items: center; text-align: center; }
.closing__mark { width: 40px; height: 40px; fill: #C4454A; }
.closing__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); line-height: 1.06; margin-top: 26px; max-width: 16ch; text-wrap: balance; }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.site-footer { background: var(--slate); color: var(--on-dark); padding: 64px 0 32px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer__h { font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; margin-bottom: 12px; }
.site-footer address, .site-footer__list { font-size: .9375rem; color: var(--on-dark-muted); line-height: 1.75; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .text-link { display: inline-block; margin-top: 8px; font-size: .9375rem; color: var(--on-dark); text-decoration: underline; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8125rem; color: var(--on-dark-muted); }

.sticky-book { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 22, 24, .96); color: var(--white); }
.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: 80px; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; background: rgba(255, 255, 255, .08); border: 0; border-radius: 50%; color: var(--white); 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: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav__list { gap: 18px; }
  .booking { grid-template-columns: 1fr 1fr 1.1fr auto; }
  .booking__field { padding: 16px 18px; }
}
@media (max-width: 1060px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .site-header { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); }
  .brand__mark { width: 26px; height: 26px; }
  .brand__name { font-size: 1.1875rem; }
  .lang__btn { padding: 6px 5px; }
  .site-header__cta { display: none; }

  /* Sky on top with the headline, photo below; booking card rides the photo's lower edge */
  .hero {
    --hero-shift: 0px;
    min-height: 0; max-height: none; display: grid; grid-template-columns: minmax(0, 1fr);
    background: var(--white) linear-gradient(180deg, var(--hero-sky-top), var(--hero-sky)) no-repeat 0 0 / 100% 72%;
    padding-top: var(--header-h);
  }
  .hero__media { position: relative; grid-area: 2 / 1; height: clamp(380px, 62svh, 560px); margin-top: -70px; }
  .hero__media img { object-position: var(--hero-pos-m); }
  .hero__inner { display: contents; }
  .hero__copy { grid-area: 1 / 1; position: relative; z-index: 2; padding: 26px var(--gutter) 0; max-width: none; }
  .hero__title { font-size: clamp(2.375rem, 10.5vw, 3.5rem); max-width: 11ch; }
  .hero__lead { font-size: 1rem; margin-top: 14px; max-width: 30ch; }
  .booking {
    grid-area: 3 / 1; position: relative; z-index: 3; transform: none;
    width: auto; margin: -64px var(--gutter) 0;
    grid-template-columns: 1fr 1fr;
  }
  .booking__field { min-height: 84px; padding: 14px 16px; }
  .booking__value { font-size: 1.25rem; }
  #guestsField { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .booking__submit { grid-column: 1 / -1; border-left: 0; padding: 4px 16px 16px; }
  .booking__submit .btn { width: 100%; }
  .intro { padding-top: 64px; }

  /* 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: 12px 12px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom));
    animation: sheet .3s var(--ease);
  }
  @keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }
  .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; }

  .intro__grid, .sec__head, .rooms__head, .services__grid, .location__grid { grid-template-columns: minmax(0, 1fr); }
  .facts__row { grid-template-columns: minmax(0, 1fr); }

  .sec__stops { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: 0; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .sec__stops::-webkit-scrollbar { display: none; }
  .stop { flex: 0 0 auto; padding-right: 18px; }
  .sec__stage { padding-inline: 0; }
  .sec__panel { grid-template-columns: minmax(0, 1fr); }
  .sec__photo { order: -1; }
  .sec__dir { bottom: 4px; }

  .rooms__grid { grid-template-columns: minmax(0, 1fr); }
  .rooms__list {
    position: static; display: flex; overflow-x: auto; gap: 0; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  }
  .rooms__list::-webkit-scrollbar { display: none; }
  .rooms__group { display: none; }
  .room-tab { flex: 0 0 auto; border-left: 0; border-top: 2px solid var(--line); padding: 12px 22px 8px 0; margin-right: 6px; }
  .room-tab.is-active { border-top-color: var(--teak); }
  .room { grid-template-columns: minmax(0, 1fr); }

  .food__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "tall" "wide"; }
  .food__tall img { aspect-ratio: 4 / 3; }
  .location__map { position: static; }
  .location__map iframe { height: 380px; min-height: 0; }

  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .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(255, 255, 255, .97); box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .sticky-book.is-visible { transform: none; }
  .sticky-book .btn { flex: 1; }
  .sticky-book__icon { width: 48px; height: 48px; flex: none; }
  .sticky-book :focus-visible { outline-color: var(--slate); }
}

@media (min-width: 600px) and (max-width: 899px) {
  .hero__media img { object-position: var(--hero-pos); }
  .hero__title { max-width: 16ch; }
  .hero__lead { max-width: 40ch; }
}

@media (max-width: 520px) {
  .lang { display: flex; }
  .specs div { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hours div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .room__thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .lightbox__cap { padding-inline: 20px; bottom: 80px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
}

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