/* =========================================================
   Solin Airport Hotel
   Palette: crest red from the winged S and the red neon letters,
   graphite from the window frames and black shower frames,
   marble from the bathrooms, white from the façade.
   ========================================================= */
:root {
  --red: #C4122F;
  --red-2: #A00E26;
  --ink: #1B2026;
  --marble: #EEF0F0;
  --muted: #59626B;
  --line: #DCE0E3;
  --white: #FFFFFF;
  --night: #070606;
  --on-dark: #F4F2F0;
  --on-dark-muted: rgba(244, 242, 240, .72);

  --f-display: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --f-text: "Host Grotesk", "Segoe UI", system-ui, sans-serif;
  --narrow: 72%;

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

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

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

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

.h2 {
  margin: 0 0 .5em;
  font: 500 clamp(2.1rem, 3.6vw, 3.25rem)/1.04 var(--f-display);
  font-stretch: var(--narrow);
  letter-spacing: -.005em;
  color: var(--ink);
  text-wrap: balance;
}
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .h2 { margin: 0; }
.section-head__text { margin: 0; max-width: 34em; color: var(--muted); }

/* ---------- 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: 3px;
  font: 600 1rem/1.1 var(--f-text); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn--sm { min-height: 40px; padding: .55em 1.1em; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: .8em 2em; font-size: 1.0625rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--marble); }
.btn--ghost-light { background: transparent; color: var(--on-dark); border-color: rgba(244, 242, 240, .45); }
.btn--ghost-light:hover { border-color: var(--on-dark); }
.link-btn { padding: 8px 0; background: none; border: 0; cursor: pointer; font-size: .9375rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.link-light { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(244, 242, 240, .5); }
.link-light:hover { text-decoration-color: var(--on-dark); }

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

/* =========================================================
   Header (always white, like the façade by day)
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 100%; }

.brand { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__word {
  font: 600 1.875rem/1 var(--f-display); font-stretch: 66%;
  letter-spacing: .06em; color: var(--ink);
}
/* The dotted İ of the neon sign: the dot is the crest red */
.brand__i { position: relative; display: inline-block; }
.brand__dot {
  position: absolute; left: 50%; top: -.2em;
  width: .2em; height: .2em; border-radius: 50%;
  background: var(--red); transform: translateX(-50%);
}
.brand__sub { font-size: .8125rem; letter-spacing: .02em; color: var(--muted); }
.brand__word--light { color: var(--on-dark); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav__list a { position: relative; padding: 6px 0; font-size: .96875rem; text-decoration: none; color: var(--ink); }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav__list a:hover::after { transform: none; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; }
.lang__btn { padding: 6px 8px; background: none; border: 0; cursor: pointer; font-size: .875rem; color: var(--muted); }
.lang__btn.is-active { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; text-decoration-thickness: 2px; }

.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 .25s var(--ease), top .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 { 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: 55; overflow-y: auto; padding-block: 24px 40px; background: #fff; }
.mobile-menu__list { margin: 0; padding: 0; list-style: none; }
.mobile-menu__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 1.75rem/1.2 var(--f-display); font-stretch: var(--narrow); text-decoration: none; }
.mobile-menu__foot { display: grid; gap: 6px; margin-top: 28px; color: var(--muted); }
.mobile-menu__foot a { color: var(--red); text-decoration: none; font-weight: 600; }
.mobile-menu__foot p { margin: 0; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  --hero-pos: 50% 8%;
  --hero-pos-m: 50% 100%;
  --copy-x: 4vw;
  --copy-y: 9%;
  --copy-w: min(34rem, 36vw);
  --copy-color: var(--ink);
  --copy-glow: 0 0 28px rgba(235, 244, 255, .55);
  --bar-h: 96px;

  position: relative;
  height: clamp(560px, calc(100svh - var(--header-h) - var(--bar-h) / 2 - 56px), 980px);
  margin-bottom: calc(var(--bar-h) / 2 + 30px);
  background: #6B9FD9;
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: var(--hero-pos); }

.hero__copy {
  position: absolute; top: var(--copy-y);
  width: min(var(--copy-w), calc(100% - 2 * var(--gutter)));
  color: var(--copy-color);
}
.hero[data-side="right"] .hero__copy { right: var(--copy-x); }
.hero[data-side="left"] .hero__copy { left: var(--copy-x); }

.hero__title {
  margin: 0;
  font: 500 clamp(2.9rem, 4.4vw, 5rem)/.98 var(--f-display);
  font-stretch: 68%;
  letter-spacing: -.01em;
  text-shadow: var(--copy-glow);
}
.hero__line { display: block; }
.hero__line + .hero__line { margin-top: .1em; }
.hero__lead {
  max-width: 24em; margin: 22px 0 0;
  font-size: 1.125rem; line-height: 1.5;
  text-shadow: var(--copy-glow);
}

/* Booking bar: sits on the photo's lower edge */
.booking-wrap { position: absolute; left: 0; right: 0; bottom: 0; transform: translateY(50%); z-index: 20; }
.booking {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr 1.25fr auto;
  background: #fff;
  box-shadow: 0 24px 60px -24px rgba(20, 28, 38, .45), 0 0 0 1px rgba(27, 32, 38, .06);
  border-radius: 3px;
}
.booking__field {
  display: grid; align-content: center; gap: 2px;
  min-height: var(--bar-h); padding: 14px 24px;
  background: none; border: 0; border-right: 1px solid var(--line);
  text-align: left; cursor: pointer;
  transition: background-color .15s;
}
.booking__field:hover, .booking__field[aria-expanded="true"] { background: #F7F8F8; }
.booking__label { font-size: .8125rem; color: var(--muted); }
.booking__value { font: 500 1.625rem/1.1 var(--f-display); font-stretch: var(--narrow); color: var(--ink); }
.booking__sub { font-size: .875rem; color: var(--muted); }
.booking__submit { display: flex; padding: 14px; }
.booking__submit .btn { height: 100%; }
.booking__note {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  display: flex; flex-wrap: wrap; gap: 4px 18px;
  margin: 0; padding-inline: 4px;
  font-size: .875rem; color: var(--muted);
}
#nightsOut { color: var(--ink); font-weight: 600; }
#nightsOut:empty { display: none; }

/* Popovers */
.popover {
  position: absolute; z-index: 40;
  top: calc(100% + 10px);
  background: #fff; color: var(--ink);
  border-radius: 3px;
  box-shadow: 0 30px 70px -20px rgba(20, 28, 38, .45), 0 0 0 1px rgba(27, 32, 38, .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; } }

.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; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }

.month__caption { margin: 4px 0 12px; font: 500 1.375rem var(--f-display); font-stretch: var(--narrow); text-transform: capitalize; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month__dow { padding-bottom: 8px; font-size: .75rem; color: var(--muted); text-align: center; }
.day {
  position: relative; 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(--marble); }
.day:disabled { color: #B9BEC3; cursor: default; }
.day:focus-visible { outline: none; }
.day:focus-visible span { box-shadow: 0 0 0 2px var(--red); }
.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: #F6E3E6; }
.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(--red); color: #fff; }
.day.is-start:hover span, .day.is-end:hover span { background: var(--red-2); }
.day--blank { pointer-events: none; }

.guests { right: 0; width: 390px; padding: 6px 24px 20px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.counter__title { margin: 0; font-weight: 600; }
.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.5ch; text-align: center; font: 500 1.375rem var(--f-display); font-stretch: var(--narrow); }
.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: 3px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2026' 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: var(--red); }
.guests__note { margin: 14px 0 0; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.guests__note.is-alert { color: var(--red-2); }
.guests__foot { display: flex; justify-content: flex-end; padding-top: 16px; }

.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(15, 20, 26, .5); animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   Intro and airport facts
   ========================================================= */
.intro { padding-top: calc(var(--section) + 20px); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px clamp(40px, 7vw, 112px); align-items: start; }
.intro__text p { max-width: 33em; }
.intro__text .h2 { max-width: 12em; }

.quote { margin: 36px 0 0; padding-left: 20px; border-left: 2px solid var(--red); }
.quote blockquote { margin: 0 0 8px; font: italic 500 1.375rem/1.35 var(--f-display); font-stretch: 87.5%; }
.quote figcaption { font-size: .875rem; color: var(--muted); }

.airport { padding: 30px 32px 10px; background: var(--marble); border-radius: 3px; }
.airport__title { margin: 0 0 6px; font: 500 1.5rem/1.2 var(--f-display); font-stretch: var(--narrow); }
.airport__list { margin: 0; }
.airport__list > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid #D6DADC; }
.airport__list > div:first-child { border-top: 0; }
.airport__list dt { font-weight: 600; }
.airport__list dd { margin: 0; color: #343B42; }

/* =========================================================
   Signature: to the door
   ========================================================= */
.arrive { background: var(--night); color: var(--on-dark); }
.arrive__stage {
  position: relative; overflow: hidden;
  min-height: clamp(760px, 100svh, 1040px);
  display: flex; justify-content: flex-end; align-items: flex-start;
}
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.scene__lines path {
  fill: none; stroke: #fff; stroke-opacity: .9;
  stroke-width: 3; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.mark { cursor: pointer; }
.mark__lead { stroke: #fff; stroke-opacity: .85; }
.mark__pin { fill: #fff; }
.mark__halo { fill: rgba(7, 6, 6, .35); stroke: #fff; stroke-opacity: .9; }
.mark__dot { fill: var(--red); }
.mark text { fill: #fff; font-family: var(--f-text); font-weight: 600; text-anchor: middle; pointer-events: none; }
.mark__label > * { transition: transform .25s var(--ease); }
.mark.is-on .mark__label > * { transform: scale(1.3); }
.mark.is-on .mark__lead { stroke-opacity: 1; }

/* One moment: the outline draws itself the first time the scene is seen, then the markers appear */
.js .arrive:not(.is-drawn) .scene__lines path { stroke-dashoffset: 1; }
.js .arrive:not(.is-drawn) .mark { opacity: 0; }
.arrive.is-drawn .scene__lines path { transition: stroke-dashoffset 1.8s cubic-bezier(.55, .1, .25, 1); }
.arrive.is-drawn .scene__lines path:nth-child(2) { transition-delay: .35s; }
.arrive.is-drawn .scene__lines path:nth-child(3) { transition-delay: .7s; }
.arrive.is-drawn .scene__lines path:nth-child(4) { transition-delay: .9s; }
.arrive.is-drawn .mark { transition: opacity .4s ease; }
.arrive.is-drawn .mark[data-mark="1"] { transition-delay: 1.7s; }
.arrive.is-drawn .mark[data-mark="2"] { transition-delay: 1.85s; }
.arrive.is-drawn .mark[data-mark="3"] { transition-delay: 2s; }
.arrive.is-drawn .mark[data-mark="4"] { transition-delay: 2.15s; }

.arrive__panel {
  position: relative; z-index: 2;
  width: min(31%, 440px);
  margin: clamp(56px, 8vh, 96px) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 56px 0;
}
.arrive__title {
  margin: 0 0 16px;
  font: 500 clamp(2.2rem, 3.4vw, 3.4rem)/1.02 var(--f-display); font-stretch: 68%;
  color: #fff; text-wrap: balance;
}
.arrive__lead { margin: 0 0 22px; color: var(--on-dark-muted); }

.signs { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(244, 242, 240, .18); }
.sign {
  display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; align-items: start;
  width: 100%; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid rgba(244, 242, 240, .18);
  text-align: left; cursor: pointer; color: var(--on-dark);
}
.sign__n {
  grid-row: span 2;
  display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px;
  border-radius: 50%; background: var(--red); color: #fff;
  font-size: .8125rem; font-weight: 600;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .8);
  transition: transform .2s var(--ease);
}
.sign__t { font-weight: 600; }
.sign__d { font-size: .9375rem; line-height: 1.45; color: var(--on-dark-muted); }
.sign:hover .sign__t, .sign.is-on .sign__t { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.sign.is-on .sign__n { transform: scale(1.12); }
.sign:focus-visible { outline-offset: -2px; }

/* The address card: its own row under the photo, where the road meets the night */
.arrive__stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 1;
  background: linear-gradient(rgba(7, 6, 6, 0), var(--night));
  pointer-events: none;
}
.arrive__taxi {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 28px clamp(32px, 6vw, 96px); align-items: end;
  padding-top: 8px; padding-bottom: clamp(64px, 8vw, 104px);
}
.taxi__side { max-width: 34em; }
.taxi__text { margin: 0 0 16px; color: var(--on-dark-muted); }
.taxi__label { margin: 0 0 8px; font-size: .875rem; color: var(--on-dark-muted); }
.taxi__card {
  padding: 22px 26px 20px;
  background: #fff; color: var(--ink);
  border-top: 4px solid var(--red); border-radius: 3px;
}
.taxi__name { margin: 0 0 6px; font: 600 2rem/1.05 var(--f-display); font-stretch: var(--narrow); }
.taxi__addr { margin: 0 0 8px; font: 500 1.375rem/1.28 var(--f-display); font-stretch: 87.5%; }
.taxi__tel { margin: 0; font-size: .9375rem; color: var(--muted); }
.taxi__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.taxi__status { min-height: 1.4em; margin: 8px 0 0; font-size: .875rem; color: var(--on-dark-muted); }
.taxi__transfer { margin: 2px 0 0; font-size: .9375rem; color: var(--on-dark-muted); }
#transferLink { white-space: nowrap; }

/* Full-screen card for the driver */
.taxi-full {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: #fff; color: var(--ink);
}
.taxi-full[open] { display: grid; place-items: center; animation: fadeIn .2s ease; }
.taxi-full::backdrop { background: #fff; }
.taxi-full__inner { width: min(92vw, 1100px); padding: 24px 0; border-top: 10px solid var(--red); }
.taxi-full__hint { margin: 22px 0 10px; font-size: clamp(1.1rem, 2.4vw, 1.6rem); color: var(--muted); }
.taxi-full__name { margin: 0 0 .25em; font: 600 clamp(2.6rem, 8.5vw, 6.5rem)/1 var(--f-display); font-stretch: 66%; }
.taxi-full__addr { margin: 0 0 .5em; font: 500 clamp(1.9rem, 5.6vw, 4.2rem)/1.12 var(--f-display); font-stretch: 78%; }
.taxi-full__tel { margin: 0 0 4px; font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 600; }
.taxi-full__km { margin: 0; font-size: clamp(1rem, 2.2vw, 1.4rem); color: var(--muted); }
.taxi-full__close {
  position: absolute; top: 18px; right: 18px;
  display: grid; place-items: center; width: 52px; height: 52px;
  background: var(--marble); border: 0; border-radius: 50%; cursor: pointer;
}
.taxi-full__close svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }

/* =========================================================
   Rooms
   ========================================================= */
.room {
  display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  gap: 36px clamp(40px, 6vw, 96px); align-items: start;
  padding-block: clamp(36px, 4.5vw, 56px);
  border-top: 1px solid var(--line);
}
.room:last-child { padding-bottom: 0; }
.room__main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; background: var(--marble); }
.room__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.room__thumb {
  width: 92px; aspect-ratio: 3 / 2; padding: 0;
  border: 0; border-radius: 2px; overflow: hidden; cursor: pointer; background: var(--marble);
  opacity: .62; transition: opacity .15s;
  box-shadow: 0 0 0 0 var(--red);
}
.room__thumb img { width: 100%; height: 100%; object-fit: cover; }
.room__thumb:hover { opacity: .9; }
.room__thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red); }
.room__info { padding-top: 6px; }
.room__name { margin: 0 0 14px; font: 500 clamp(1.9rem, 2.8vw, 2.6rem)/1.05 var(--f-display); font-stretch: 68%; }
.room__desc { max-width: 30em; color: #343B42; }
.specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin: 24px 0 30px; }
.specs dt { font-size: .8125rem; color: var(--muted); }
.specs dd { margin: 2px 0 0; font: 500 1.375rem/1.15 var(--f-display); font-stretch: var(--narrow); }

/* =========================================================
   Lobby, garden, roof
   ========================================================= */
.spaces { background: var(--marble); }
.spaces__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px 24px;
}
.space { margin: 0; }
.space img { width: 100%; object-fit: cover; border-radius: 3px; }
.space figcaption { margin-top: 12px; max-width: 32em; color: #343B42; font-size: .96875rem; }
.space figcaption strong { display: block; margin-bottom: 2px; color: var(--ink); font: 500 1.25rem/1.2 var(--f-display); font-stretch: var(--narrow); }
.space--lobby { grid-column: 1 / 8; }
.space--lobby img { aspect-ratio: 3 / 2; }
.space--bar { grid-column: 8 / 13; align-self: end; }
.space--bar img { aspect-ratio: 4 / 3; }
.space--garden { grid-column: 1 / 6; }
.space--roof { grid-column: 6 / 13; }
.space--garden img, .space--roof img { height: clamp(260px, 27vw, 380px); }

/* =========================================================
   Services
   ========================================================= */
.services__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 32px 64px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin: 0; }
.facts > div { padding: 18px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; margin-bottom: 4px; }
.facts dd { margin: 0; color: #343B42; }

/* =========================================================
   Location
   ========================================================= */
.location { background: var(--marble); }
.location__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.distances__title { margin: 0 0 6px; font: 500 1.375rem var(--f-display); font-stretch: var(--narrow); }
.distances__title:not(:first-child) { margin-top: 32px; }
.dist { margin: 0; padding: 0; list-style: none; }
.dist li { display: grid; grid-template-columns: 1fr 5em 4em; gap: 12px; padding: 11px 0; border-bottom: 1px solid #D4D9DC; font-variant-numeric: tabular-nums; }
.dist__km, .dist__min { text-align: right; color: var(--muted); }
.dist__min { color: var(--ink); font-weight: 600; }
.dist--key .dist__name { font-weight: 600; }
.dist--key .dist__min { color: var(--red); }
.address { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.address__lines { margin: 0; }
.map { position: sticky; top: calc(var(--header-h) + 24px); }
.map iframe { display: block; width: 100%; aspect-ratio: 4 / 3.4; border: 0; border-radius: 3px; background: #E3E6E8; filter: grayscale(.25); }

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

/* =========================================================
   Closing and footer
   ========================================================= */
.closing { padding-top: 0; }
.closing__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 40px clamp(48px, 8vw, 128px); align-items: center; border-top: 1px solid var(--line); padding-top: var(--section); }
.closing__media { margin: 0; }
.closing__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; }
.closing__title { max-width: 13em; }
.closing__text > p { max-width: 32em; color: #343B42; }
.contact-list { margin: 26px 0 30px; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.contact-list li > span:first-child { color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.closing__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: .9375rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px 40px; padding-block: 64px 48px; }
.site-footer__brand p { margin-top: 12px; max-width: 22em; }
.site-footer__h { margin: 0 0 8px; color: var(--on-dark); font-weight: 600; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.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(244, 242, 240, .14);
  font-size: .8125rem;
}
.site-footer__base p { margin: 0; }

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

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(12, 14, 17, .96); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .25s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 24px; margin: 0; text-align: center; font-size: .9375rem; color: rgba(255, 255, 255, .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
   ========================================================= */
/* The lead only where the sky is tall enough above the neighbouring building */
@media (max-width: 1599px) {
  .hero__lead { display: none; }
}

@media (max-width: 1199px) {
  .nav__list { gap: 20px; }
  .brand__sub { display: none; }
}

@media (max-width: 1099px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .site-header__actions { margin-left: auto; }
  .site-header__cta { display: none; }

}

@media (max-width: 1279px) {
  /* Signature: photo, then the panel below on the night background */
  .arrive__stage { display: block; min-height: 0; overflow: visible; }
  .scene { position: relative; height: auto; aspect-ratio: 4 / 3.3; }
  .arrive__panel {
    width: auto; max-width: 760px; margin: 0 auto;
    padding: 36px var(--gutter) 40px;
  }
  .arrive__stage::after { display: none; }
  .arrive__taxi { max-width: 760px; grid-template-columns: 1fr; align-items: start; padding-top: 0; }
}

@media (max-width: 1023px) {
  .booking { grid-template-columns: 1fr 1fr; }
  .booking__field--guests { grid-column: 1 / 2; border-top: 1px solid var(--line); }
  #checkoutField { border-right: 0; }
  .booking__submit { border-top: 1px solid var(--line); }
  .booking__submit .btn { width: 100%; }
  .hero { --bar-h: 88px; margin-bottom: calc(var(--bar-h) + 60px); }
  .booking-wrap { transform: translateY(calc(50% + 0px)); }

  .section-head { grid-template-columns: 1fr; }
  .intro__grid { grid-template-columns: 1fr; }
  .room { grid-template-columns: 1fr; }
  .room__photos { max-width: 640px; }
  .spaces__grid > .space { grid-column: span 12; }
  .space--bar, .space--garden { grid-column: span 6 !important; align-self: start; }
  .services__grid { grid-template-columns: 1fr; }
  .location__grid { grid-template-columns: 1fr; }
  .map { position: static; }
  .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .closing__grid { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  /* Popovers become bottom sheets */
  .popover, .popover.is-up {
    position: fixed; z-index: 80;
    left: 0 !important; right: 0 !important; top: auto; bottom: 0;
    width: 100%; max-height: 88vh; overflow-y: auto;
    border-radius: 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, .95);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-book .btn { flex: 1; min-height: 50px; }
  .sticky-book__call { width: 50px; height: 50px; flex: none; background: #fff; }
  .sticky-book.is-visible { transform: none; }
  .site-footer { padding-bottom: 76px; }
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }

/* Phones: tall crop with the sky continued upwards; headline in that sky; booking card under the photo */
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 1.03125rem; }
  .brand__word { font-size: 1.625rem; }

  .hero {
    height: auto; margin-bottom: 0;
    display: grid; grid-template-columns: 100%;
    grid-template-rows: calc(max(560px, 100svh - var(--header-h) - 120px) - 64px) 64px auto;
    background: #fff;
  }
  .hero__media { position: relative; inset: auto; grid-area: 1 / 1 / 3 / 2; background: #4F85C8; }
  .hero__media img { object-position: var(--hero-pos-m); }
  .hero { --copy-color: #fff; --copy-glow: 0 1px 24px rgba(10, 40, 90, .35); }
  .hero__copy { position: relative; top: auto; left: auto !important; right: auto !important; grid-area: 1 / 1 / 2 / 2; width: auto; align-self: start; padding: 28px 16px 0; }
  .hero__title { font-size: clamp(2.5rem, 11.5vw, 3.4rem); line-height: 1; }
  .hero__lead { display: none; }
  .booking-wrap { position: relative; inset: auto; transform: none; grid-area: 2 / 1 / 4 / 2; padding-inline: 16px; }
  .booking { grid-template-columns: 1fr 1fr; }
  .booking__field { min-height: 80px; padding: 12px 16px; }
  .booking__value { font-size: 1.5rem; }
  .booking__field--guests { grid-column: 1 / -1; border-right: 0; }
  .booking__submit { grid-column: 1 / -1; padding: 0 16px 16px; border-top: 0; }
  .booking__submit .btn { min-height: 54px; }
  .booking__note { position: static; padding: 12px 2px 0; }
  .intro { padding-top: 64px; }

  .section-head { margin-bottom: 32px; }
  .airport { padding: 22px 18px 6px; }
  .airport__list > div { grid-template-columns: 1fr; gap: 2px; }

  .scene { aspect-ratio: 3 / 3.6; }
  .arrive__panel { padding: 30px 16px 32px; }
  .taxi__name { font-size: 1.75rem; }
  .taxi__addr { font-size: 1.25rem; }

  .room__thumb { width: 23%; }
  .specs { gap: 10px 24px; }
  .spaces__grid > .space, .space--bar, .space--garden { grid-column: span 12 !important; }
  .space--garden img, .space--roof img { height: auto; aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: 1fr; }
  .dist li { grid-template-columns: 1fr 4.6em 3.6em; gap: 8px; font-size: .96875rem; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .gallery__item.g-wide { grid-row: span 1; }
  .closing__grid { grid-template-columns: 1fr; }
  .closing__media img { max-height: 420px; aspect-ratio: 4 / 3; object-position: 50% 45%; }
  .closing__actions .btn { flex: 1 1 100%; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .site-footer__grid { grid-template-columns: 1fr; }

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

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