/* Loft Park Hotel's
   Blue hour on a cream façade: ink letters with a warm halo, the house from the LH emblem as the one motif. */

:root {
  --ink: #1E1C1A;          /* door plates */
  --ink-2: #3A3633;
  --blue: #2D58A6;         /* dusk sky, roof-window blinds */
  --blue-2: #234887;
  --sky: #E7EEF9;          /* date range, light tints */
  --sky-2: #CFDBF0;
  --dusk: #8DAADB;         /* the hero photo's sky: roofs band */
  --dusk-line: #6F8FC6;
  --stucco: #EFEDE7;       /* façade render */
  --halo: #F4D49B;         /* back-lit letters (light only) */
  --halo-fill: #F7DDA9;
  --muted: #5E5953;
  --line: #DFDBD3;
  --white: #FFFFFF;

  --f-display: 'Literata', Georgia, 'Times New Roman', serif;
  --f-text: 'Gantari', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 48px);
  --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); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white); color: var(--ink);
  font: 400 1.0625rem/1.6 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; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
dialog { color: inherit; }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 128px); }

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

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.h2 {
  margin: 0 0 .55em;
  font: 520 clamp(1.95rem, 3.3vw, 2.85rem)/1.12 var(--f-display);
  letter-spacing: -.012em;
  font-variant-numeric: lining-nums;
  text-wrap: balance;
}
.h3 { margin: 0 0 .7em; font: 540 1.25rem/1.25 var(--f-display); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.5em;
  border: 1px solid transparent; border-radius: 2px;
  font: 600 1rem/1.2 var(--f-text); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--line { background: transparent; border-color: currentColor; }
.btn--line:hover { background: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 40px; padding: .5em 1.1em; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding-inline: 2em; font-size: 1.0625rem; }

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

/* ---------- Brand mark ---------- */
.brand__mark { width: 34px; height: 32px; fill: none; stroke: currentColor; stroke-width: 4.2; stroke-linecap: butt; stroke-linejoin: miter; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  color: var(--ink);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header::before { content: ""; position: absolute; inset: 0 0 -24px 0; z-index: -1; pointer-events: none; background: linear-gradient(to left, rgba(241, 239, 234, .32), rgba(241, 239, 234, .16) 30%, rgba(241, 239, 234, 0) 55%); -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); transition: opacity .25s; }
@media (max-width: 720px), (max-aspect-ratio: 4/5) { .site-header::before { display: none; } }
.site-header.is-scrolled::before { opacity: 0; }
/* fotoğrafın üstünde menü, başlıktaki tabela harfleri gibi açık bir haleyle okunur (sis yerine) */
.site-header:not(.is-scrolled) :is(.nav__list a, .lang__btn) {
  text-shadow: 0 0 1px rgba(255, 248, 234, .95), 0 0 6px rgba(255, 244, 222, .95), 0 0 14px rgba(255, 236, 200, .7);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__word { font: 600 1.375rem/1 var(--f-display); letter-spacing: -.005em; }
.brand__by { font: italic 400 .9375rem/1 var(--f-display); color: var(--muted); padding-top: .2em; }
.nav__list { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav__list a { text-decoration: none; font-weight: 500; font-size: .9875rem; padding-block: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .2s; }
.nav__list a:hover { background-size: 100% 1px; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; }
.lang__btn {
  min-width: 38px; height: 34px; padding: 0 8px;
  background: none; border: 0; cursor: pointer;
  font: 600 .8125rem var(--f-text); letter-spacing: .04em; color: var(--ink-2);
}
.lang__btn.is-active { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.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.6px; background: currentColor; transition: transform .25s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

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

/* =========================================================
   Hero
   Adjust here: --hero-pos (crop), --copy-y (distance below the header),
   --copy-w (headline width), --halo (0–1, light behind the letters).
   ========================================================= */
.hero {
  --hero-pos: 50% 0%;
  --copy-y: clamp(16px, calc(7.3vw - 76px), 120px);
  --copy-w: 13.5em;
  --lead-w: 31ch;
  --halo: 1;
  --bar-h: 92px;
  position: relative;
  height: clamp(600px, calc(100svh - 48px), 1040px);
  background: #86A7DC;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos); }
.hero__copy { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + var(--copy-y)); }

/* Halo-lit letters: dark faces, warm light on the "wall" behind them */
.hero__title {
  max-width: var(--copy-w);
  margin: 0;
  font: 560 clamp(2.6rem, 4.2vw, 4.25rem)/1.04 var(--f-display);
  letter-spacing: -.018em;
  color: var(--ink);
  text-shadow:
    0 0 1px rgba(255, 244, 222, calc(.9 * var(--halo))),
    0 0 14px rgba(255, 221, 160, calc(.95 * var(--halo))),
    0 0 34px rgba(255, 206, 128, calc(.6 * var(--halo))),
    0 0 70px rgba(255, 196, 110, calc(.35 * var(--halo)));
}
.hero__title .ln { display: block; }
.hero__lead {
  max-width: var(--lead-w);
  margin: 22px 0 0;
  font-size: 1.125rem; line-height: 1.5; font-weight: 500;
  color: var(--ink);
  text-shadow: 0 0 18px rgba(214, 228, 248, .9);
}

/* Booking bar: sits across the bottom edge of the photo */
.booking-wrap { position: absolute; left: 0; right: 0; bottom: calc(var(--bar-h) / -2); z-index: 20; }
.booking {
  position: relative;
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr auto;
  background: #fff;
  box-shadow: 0 24px 60px -24px rgba(30, 28, 26, .45), 0 0 0 1px rgba(30, 28, 26, .06);
}
.booking__field {
  display: grid; align-content: center; gap: 1px;
  min-height: var(--bar-h);
  padding: 12px 24px;
  background: none; border: 0; border-right: 1px solid var(--line);
  text-align: left; cursor: pointer;
  transition: background-color .15s;
}
.booking__field:hover { background: #FAF9F6; }
.booking__field[aria-expanded="true"] { background: var(--sky); }
.booking__label { font-size: .8125rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.booking__value { font: 520 1.25rem/1.25 var(--f-display); font-variant-numeric: lining-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking__sub { font-size: .875rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking__submit { display: flex; padding: 12px; }
.booking__submit .btn { width: 100%; }
.booking__note {
  grid-column: 1 / -1; position: absolute; top: 100%; left: 0; right: 0;
  margin: 0; padding-top: 12px;
  font-size: .875rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 4px 16px;
}
.booking__kids { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }

/* Popovers */
.popover {
  position: absolute; z-index: 40;
  top: calc(100% + 10px);
  background: #fff; color: var(--ink);
  box-shadow: 0 30px 70px -20px rgba(30, 28, 26, .45), 0 0 0 1px rgba(30, 28, 26, .07);
  animation: pop .22s var(--ease);
}
.popover.is-up { top: auto; bottom: calc(100% + 10px); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.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: 4px; }
.datepicker__months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.datepicker__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.datepicker__nights { font: 500 1rem var(--f-display); color: var(--muted); }

.month__caption { margin: 4px 0 12px; font: 540 1.125rem var(--f-display); text-transform: capitalize; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month__dow { padding-bottom: 8px; font-size: .75rem; font-weight: 600; color: var(--muted); text-align: center; }
.day {
  position: relative; aspect-ratio: 1 / 1; min-height: 40px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 500 .9375rem var(--f-text); color: var(--ink);
}
.day span {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  transition: background-color .15s, color .15s;
}
.day:hover:not(:disabled) span { background: var(--sky); }
.day:disabled { color: #BDB7AF; cursor: default; }
.day:focus-visible { outline: none; }
.day:focus-visible span { box-shadow: 0 0 0 2px var(--blue); }
.day.is-today span { box-shadow: inset 0 0 0 1px var(--sky-2); }
.day.in-range::before, .day.in-preview::before,
.day.is-start::before, .day.is-end::before { content: ""; position: absolute; inset: 4px 0; background: var(--sky); }
.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(--blue); 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: 540 1.0625rem/1.2 var(--f-display); }
.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: 540 1.1875rem var(--f-display); font-variant-numeric: lining-nums tabular-nums; }
.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 {
  appearance: none; -webkit-appearance: none;
  width: 100%; padding: 10px 34px 10px 12px;
  border: 1px solid var(--line); border-radius: 2px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1C1A' 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: #A3322A; }
.guests__note { margin: 14px 0 0; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.guests__note.is-alert { color: var(--blue-2); font-weight: 600; }
.guests__foot { display: flex; justify-content: flex-end; padding-top: 16px; }

.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(20, 18, 16, .5); animation: fadeIn .2s ease; }

/* =========================================================
   Airport facts
   ========================================================= */
.airport { padding: calc(var(--bar-h, 92px) / 2 + 96px) 0 clamp(64px, 7vw, 96px); }
.hero + .airport { --bar-h: 92px; }
.airport__title { margin: 0 0 28px; font: 520 clamp(1.5rem, 2.2vw, 1.875rem)/1.2 var(--f-display); }
.airport__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; }
.fact { padding: 22px 28px 4px 0; border-top: 2px solid var(--ink); margin-right: 28px; }
.fact:last-child { margin-right: 0; }
.fact dt { font-size: .875rem; font-weight: 600; color: var(--muted); }
.fact dd { margin: 0; }
.fact__big { margin: 6px 0 8px !important; font: 520 clamp(2.1rem, 3vw, 2.75rem)/1 var(--f-display); font-variant-numeric: lining-nums; letter-spacing: -.01em; }
.fact__small { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.airport__ask { margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--line); max-width: 860px; color: var(--ink-2); }
.airport__ask .text-link { margin-left: .35em; white-space: nowrap; }

/* =========================================================
   Intro
   ========================================================= */
.intro { background: var(--stucco); }
.intro__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.intro__text { max-width: 600px; }
.intro__text > p { color: var(--ink-2); }
.intro__plate { display: flex; align-items: center; gap: 18px; margin: 34px 0 0; padding-top: 26px; border-top: 1px solid #D6D1C7; }
.intro__plate img { width: 84px; aspect-ratio: 3 / 4; object-fit: cover; flex: none; }
.intro__plate figcaption { font: italic 400 1.0625rem/1.45 var(--f-display); color: var(--muted); }

/* =========================================================
   Roofs (signature)
   ========================================================= */
.roofs { background: var(--dusk); padding-block: clamp(72px, 9vw, 128px); }
.roofs__head { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.roofs__head .h2 { margin: 0; }
.roofs__intro { margin: 0; max-width: 58ch; color: var(--ink); }

.planner {
  display: grid;
  grid-template-columns: 250px 1fr;
  grid-template-areas: "controls sky" "controls result";
  column-gap: clamp(24px, 4vw, 56px);
}
.planner__controls { grid-area: controls; align-self: end; padding-bottom: 46px; }
.planner__q { margin: 0 0 14px; font: 540 1.375rem/1.2 var(--f-display); }
.pcount { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--dusk-line); }
.pcount__label { font-weight: 500; }
.pcount .icon-btn--round { border-color: transparent; background: rgba(255, 255, 255, .85); }
.pcount .icon-btn--round:hover:not(:disabled) { background: #fff; }

.switch { display: flex; align-items: center; gap: 12px; margin-top: 18px; cursor: pointer; font-weight: 500; position: relative; }
.switch input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.switch__track { flex: none; position: relative; width: 44px; height: 26px; border-radius: 13px; background: #5F7FB8; transition: background-color .2s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.switch input:checked + .switch__track { background: var(--ink); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--blue); outline-offset: 3px; }

.skyline { grid-area: sky; min-width: 0; }
.skyline__svg { display: block; width: 100%; height: auto; overflow: visible; }
.planner__result {
  grid-area: result;
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--dusk-line);
}
.planner__sentence { margin: 0; font: 500 1.25rem/1.4 var(--f-display); max-width: 46ch; }

/* House drawing */
.ground { stroke: var(--ink); stroke-width: 1.5; }
.house { cursor: pointer; outline: none; }
.house__fill { fill: var(--stucco); transition: fill .35s var(--ease); }
.house__body { fill: none; stroke: var(--ink); stroke-width: 2.25; stroke-linejoin: miter; stroke-linecap: butt; transition: stroke-width .2s; }
.house__detail { fill: none; stroke: var(--ink); stroke-width: 1.25; }
.house__num { font: 600 30px var(--f-display); fill: var(--ink); text-anchor: middle; font-variant-numeric: lining-nums; }
.house__label { font: 600 12.5px var(--f-text); fill: var(--ink); text-anchor: middle; }
.house__count { font: 700 12px var(--f-text); fill: #fff; text-anchor: middle; }
.house__badge { fill: var(--ink); }
.house__badgewrap[hidden] { display: none; }
.house__glow { fill: #FFD58A; opacity: 0; transition: opacity .45s var(--ease); filter: blur(18px); }
.house.is-lit .house__fill { fill: url(#wash); }
.house.is-lit .house__glow { opacity: 1; }
.house:hover .house__body { stroke-width: 3; }
.house.is-viewed .house__body { stroke-width: 3.25; }
.house.is-viewed .house__label { font-weight: 700; }
.house__caret { fill: var(--ink); opacity: 0; transition: opacity .2s; }
.house.is-viewed .house__caret { opacity: 1; }
.house:focus-visible .house__fill { stroke: #fff; stroke-width: 2.5; stroke-dasharray: 5 4; }

/* The one automatic moment: roofs draw themselves once, left to right */
.skyline.is-armed .house__body, .skyline.is-armed .ground { stroke-dasharray: 1; stroke-dashoffset: 1; }
.skyline.is-armed .house__fill, .skyline.is-armed .house__glow { opacity: 0; }
.skyline.is-drawn .house__fill, .skyline.is-drawn .house.is-lit .house__glow { opacity: 1; transition: opacity .6s ease; transition-delay: calc(var(--i, 0) * 110ms + 600ms); }
.skyline.is-armed .house__num, .skyline.is-armed .house__label, .skyline.is-armed .house__detail { opacity: 0; }
.skyline.is-drawn .house__body, .skyline.is-drawn .ground { transition: stroke-dashoffset 1.1s var(--ease), fill .35s var(--ease); transition-delay: calc(var(--i, 0) * 110ms), 0s; stroke-dashoffset: 0; }
.skyline.is-drawn .house__num, .skyline.is-drawn .house__label, .skyline.is-drawn .house__detail { opacity: 1; transition: opacity .5s ease; transition-delay: calc(var(--i, 0) * 110ms + 700ms); }

/* Room detail */
.room {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(20px, 3vw, 40px);
  background: #fff;
}
.room__media { display: grid; grid-template-columns: 1fr 88px; gap: 12px; align-items: start; }
.room__main-btn { display: block; padding: 0; border: 0; background: var(--stucco); cursor: zoom-in; }
.room__main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; }
.room__thumbs { display: grid; gap: 10px; }
.room__thumb { padding: 0; border: 0; background: none; cursor: pointer; opacity: .62; transition: opacity .15s; box-shadow: 0 0 0 0 var(--blue); }
.room__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.room__thumb:hover { opacity: 1; }
.room__thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--blue); }
.room__body { align-self: center; max-width: 520px; }
.room__cap { margin: 0 0 8px; font-weight: 600; color: var(--blue); font-size: .9375rem; }
.room__name { margin: 0 0 14px; font: 540 clamp(1.6rem, 2.4vw, 2.1rem)/1.15 var(--f-display); letter-spacing: -.01em; }
.room__desc { color: var(--ink-2); }
.room__specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 36px; margin: 22px 0 28px; padding: 16px 0; border-block: 1px solid var(--line); }
.room__specs dt { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.room__specs dd { margin: 2px 0 0; font: 520 1.125rem/1.3 var(--f-display); }
.room__photo-note { margin: 16px 0 0; font-size: .8125rem; color: var(--muted); }

.inroom { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 250px 1fr; column-gap: clamp(24px, 4vw, 56px); }
.inroom .h3 { margin: 0; }
.inroom__list { columns: 3 220px; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.inroom__list li { break-inside: avoid; padding: 7px 0 7px 18px; position: relative; color: var(--ink-2); }
.inroom__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 10px; background: var(--ink); clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 38%); }

/* =========================================================
   Hotel
   ========================================================= */
.hotel__grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.hotel__text > p { max-width: 54ch; color: var(--ink-2); }
.services { margin: 34px 0 0; }
.services > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.services > div:last-child { border-bottom: 1px solid var(--line); }
.services dt { font: 540 1.0625rem/1.4 var(--f-display); }
.services dd { margin: 0; color: var(--ink-2); }
.hotel__media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.hotel__fig { margin: 0; }
.hotel__fig img { width: 100%; height: 100%; object-fit: cover; }
.hotel__fig--a { grid-row: span 2; }
.hotel__fig--a img { aspect-ratio: 3 / 4.6; }
.hotel__fig--b img { aspect-ratio: 1; object-position: 50% 30%; }
.hotel__fig--c img { aspect-ratio: 1; }

/* =========================================================
   Location
   ========================================================= */
.location { background: var(--stucco); }
.location__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.location__head p { color: var(--ink-2); }
.location__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.location__lists .h3:not(:first-child) { margin-top: 36px; }
.dist { list-style: none; margin: 0; padding: 0; }
.dist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid #D6D1C7; }
.dist li:last-child { border-bottom: 1px solid #D6D1C7; }
.dist__v { flex: none; color: var(--muted); font-size: .9375rem; font-variant-numeric: lining-nums tabular-nums; }
.dist__v b { font: 560 1.0625rem var(--f-display); color: var(--ink); margin-right: 8px; }
.map-frame { position: relative; aspect-ratio: 4 / 3; background: #E3E0D8; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }
.location__addr { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.location__addr p { margin: 0; color: var(--ink-2); }
.location__addr p span { font-weight: 600; color: var(--muted); font-size: .875rem; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.gallery__head .h2 { margin: 0; }
.gallery__head p { margin: 0; color: var(--muted); max-width: 52ch; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.gallery__item { position: relative; padding: 0; border: 0; background: var(--stucco); 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-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
/* Desktop: every cell placed, no holes */
@media (min-width: 900px) {
  .gallery__grid { grid-template-rows: repeat(5, 210px); }
  .gallery__item:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
  .gallery__item:nth-child(2) { grid-area: 1 / 2 / 3 / 3; }
  .gallery__item:nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
  .gallery__item:nth-child(4) { grid-area: 2 / 3 / 3 / 5; }
  .gallery__item:nth-child(5) { grid-area: 1 / 4 / 2 / 5; }
  .gallery__item:nth-child(6) { grid-area: 3 / 1 / 5 / 2; }
  .gallery__item:nth-child(7) { grid-area: 3 / 2 / 4 / 3; }
  .gallery__item:nth-child(8) { grid-area: 3 / 3 / 4 / 5; }
  .gallery__item:nth-child(9) { grid-area: 4 / 2 / 6 / 3; }
  .gallery__item:nth-child(10) { grid-area: 4 / 3 / 6 / 4; }
  .gallery__item:nth-child(11) { grid-area: 5 / 1 / 6 / 2; }
  .gallery__item:nth-child(12) { grid-area: 4 / 4 / 6 / 5; }
}

/* =========================================================
   Closing and footer
   ========================================================= */
.closing { background: var(--ink); color: #fff; padding-block: clamp(72px, 9vw, 120px); }
.closing__grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.closing__mark {
  width: clamp(110px, 14vw, 180px); height: clamp(103px, 13vw, 169px);
  fill: none; stroke: var(--ink); stroke-width: 4.2;
  filter: drop-shadow(0 0 2px rgba(255, 236, 200, .9)) drop-shadow(0 0 16px rgba(244, 212, 155, .75)) drop-shadow(0 0 40px rgba(244, 200, 130, .45));
}
.closing__text { max-width: 640px; }
.closing__text p { color: rgba(255, 255, 255, .78); }
.closing__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.closing .btn--blue { background: #4C77C6; }
.closing .btn--blue:hover { background: #5D86D2; }

.site-footer { background: #151311; color: rgba(255, 255, 255, .72); font-size: .9375rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 40px; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font: 600 1.25rem var(--f-display); }
.site-footer__brand .brand__mark { width: 30px; height: 28px; }
.site-footer__h { margin-bottom: .5em; font-weight: 600; color: #fff; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; }
.site-footer__base p { margin: 0; }

.sticky-book { display: none; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 16, 14, .96); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .25s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 24px; margin: 0; text-align: center; font: italic 400 1rem var(--f-display); color: rgba(255, 255, 255, .75); 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__list { gap: 18px; }
  .booking__field { padding-inline: 18px; }
}
@media (max-width: 1099px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .site-header__cta { display: none; }
  .airport__facts { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .fact:nth-child(2n) { margin-right: 0; }
  .planner { grid-template-columns: 1fr; grid-template-areas: "controls" "sky" "result"; }
  .planner__controls { padding-bottom: 28px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; align-items: center; gap: 8px 32px; }
  .planner__q { grid-column: 1 / -1; margin: 0; }
  .pcount { border: 0; gap: 16px; padding: 0; }
  .switch { margin: 0; }
  .inroom { grid-template-columns: 1fr; row-gap: 14px; }
  .hotel__grid { grid-template-columns: 1fr; }
  .hotel__media { position: static; grid-template-columns: 1.2fr 1fr 1fr; }
  .hotel__fig--a { grid-row: auto; }
  .hotel__fig--a img, .hotel__fig--b img, .hotel__fig--c img { aspect-ratio: 3 / 4; }
}

@media (max-width: 899px) {
  .booking { grid-template-columns: 1fr 1fr; }
  .booking__field--guests { grid-column: 1 / -1; border-top: 1px solid var(--line); border-right: 0; }
  .booking__field--date:nth-child(2) { border-right: 0; }
  .booking__submit { grid-column: 1 / -1; padding: 0 12px 12px; }
  .booking__note { position: static; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
  .hero { --bar-h: 76px; }

  /* 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: 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; }

  .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, .96);
    -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__wa { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border: 1px solid var(--line); color: var(--ink); }
  .sticky-book__wa svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
  .sticky-book.is-visible { transform: none; }
  .site-footer { padding-bottom: 76px; }

  .intro__grid, .location__grid, .roofs__head { grid-template-columns: 1fr; }
  .intro__media img { aspect-ratio: 4 / 3; object-position: 50% 25%; }
  .room { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }

/* Phones and portrait tablets: sky continued upwards, booking card stepping onto the photo */
@media (max-width: 720px), (max-aspect-ratio: 4/5) {
  .hero {
    --hero-pos-m: 50% 0%;
    --photo-h: max(500px, calc(100svh - 236px));
    --card-over: 84px;
    height: auto;
    display: grid; grid-template-columns: 100%;
    grid-template-rows: calc(var(--photo-h) - var(--card-over)) var(--card-over) auto;
    background: #fff;
  }
  .hero__media { position: relative; inset: auto; grid-area: 1 / 1 / 3 / 2; background: #86A7DC; }
  .hero__media img { object-position: var(--hero-pos-m); }
  .hero__copy { position: relative; top: auto; grid-area: 1 / 1 / 2 / 2; align-self: start; padding-top: calc(var(--header-h) + var(--copy-y-m, 20px)); }
  .hero__title { font-size: clamp(2.05rem, 8.6vw, 3rem); max-width: 11.5em; }
  .hero__title .ln { display: inline; }
  .hero__lead { display: none; }
  .booking-wrap { position: relative; bottom: auto; grid-area: 2 / 1 / 4 / 2; }
  .airport { padding-top: clamp(48px, 10vw, 80px); }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  body { font-size: 1.03125rem; }
  .brand__mark { width: 30px; height: 28px; }
  .brand__word { font-size: 1.1875rem; }
  .brand__by { display: none; }
  .site-header__actions { gap: 4px; }
  .lang__btn { min-width: 34px; }

  .booking__field { padding: 12px 16px; }
  .booking__value { font-size: 1.125rem; }

  .airport__facts { grid-template-columns: 1fr; row-gap: 0; }
  .fact { margin-right: 0; padding: 18px 0 16px; display: grid; grid-template-columns: 1fr auto; column-gap: 16px; }
  .fact dt { grid-column: 1; }
  .fact__big { grid-column: 2; grid-row: 1 / span 2; margin: 0 !important; font-size: 2rem; text-align: right; }
  .fact__small { grid-column: 1; }
  .fact { border-top-width: 1px; }
  .fact:first-child { border-top-width: 2px; }

  .planner__controls { grid-template-columns: 1fr; gap: 6px; }
  .pcount { justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--dusk-line); }
  .switch { margin-top: 10px; }
  .skyline { overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .skyline::-webkit-scrollbar { display: none; }
  .skyline__svg { width: 620px; max-width: none; }
  .planner__sentence { font-size: 1.125rem; }
  .planner__result .btn { width: 100%; }
  .room { margin-inline: calc(-1 * var(--gutter)); padding: 20px var(--gutter) 28px; }
  .room__media { grid-template-columns: 1fr; }
  .room__main { aspect-ratio: 4 / 3; object-position: 50% 72%; }
  .room__thumbs { grid-template-columns: repeat(4, 1fr); }
  .room__specs { gap: 0 22px; }
  .room__body .btn { width: 100%; }

  .services > div { grid-template-columns: 1fr; gap: 2px; }
  .hotel__media { grid-template-columns: 1fr 1fr; }
  .hotel__fig--a { grid-column: 1 / -1; }
  .hotel__fig--a img { aspect-ratio: 4 / 3; }
  .closing__grid { grid-template-columns: 1fr; }
  .closing__mark { width: 96px; height: 90px; }
  .closing__actions .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 22px; }
  .gallery__grid { grid-auto-rows: 150px; gap: 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; transform: none; }
  .lightbox__cap { bottom: 132px; padding-inline: 24px; }
}

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