/* =========================================================
   BoStay Hotel Bomonti
   Palette taken from the building itself: the black steel
   window frames of the lobby, the white sky over the terrace,
   and the coloured glass of the lobby mezzanine (blue, sunflower
   yellow, red) that the rooms repeat on their walls.
   Type: Bricolage Grotesque, narrowed for headlines, with
   Figtree for reading.
   ========================================================= */

:root {
  --ink: #1A1C20;
  --ink-2: #2B2F35;
  --paper: #FFFFFF;
  --siva: #EEF0EF;
  --siva-2: #E2E6E5;
  --line: #D3D8D7;
  --muted: #586068;
  --blue: #2F5F93;
  --blue-ink: #234A74;
  --blue-wash: #E3ECF5;
  --sun: #F2C12E;
  --sun-2: #F7D25E;
  --glass-red: #C84B38;

  --on-ink: #E9ECEE;
  --on-ink-muted: #A9B0B7;
  --line-ink: rgba(233, 236, 238, .16);

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --narrow: 84%;

  --frame: 3px;          /* steel window frame */
  --lead: 6px;           /* lead lines of the glass wall */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 9vw, 136px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Hero: change these to re-frame a new header photo.
     --hero-sky lowers the photo under a white band that fades into its sky;
     set it to 0px (and --hero-fade to 0%) for a photo with enough open sky. */
  --hero-pos: 50% 0%;
  --hero-sky: clamp(150px, 9.5vw, 200px);
  --hero-fade: 32%;
  --hero-copy-w: clamp(330px, 35vw, 620px);

  color-scheme: light;
}

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

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

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

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

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.social :focus-visible,
.site-footer :focus-visible,
.sticky-book :focus-visible,
.mobile-menu :focus-visible,
.lightbox :focus-visible { outline-color: var(--sun); }

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

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

/* ---------- Type ---------- */
.h2 {
  font-family: var(--f-display);
  font-stretch: var(--narrow);
  font-weight: 640;
  font-size: clamp(2.1rem, 1.3rem + 2.3vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem);
  line-height: 1.5;
}

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 11px 24px;
  border: 2px solid var(--btn-bd);
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-size: .9375rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn--ink:hover { --btn-bg: var(--blue); }
.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--sun:hover { --btn-bg: var(--sun-2); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--sm { min-height: 40px; padding: 7px 18px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1rem; }

.text-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: var(--sun); }

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: var(--paper);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header__inner {
  height: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__text { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--f-display); font-stretch: 90%; font-weight: 720;
  font-size: 1.4rem; letter-spacing: -.02em;
}
.brand__sub { font-size: .75rem; font-weight: 500; color: var(--muted); margin-top: 3px; letter-spacing: .01em; }

.nav__list { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__list a {
  text-decoration: none; color: var(--ink);
  font-size: .9375rem; font-weight: 500;
  padding-block: 8px;
  background: linear-gradient(var(--sun), var(--sun)) left 82% / 0 6px no-repeat;
  transition: background-size .3s var(--ease);
}
.nav__list a:hover { background-size: 100% 6px; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; align-items: center; }
.lang__btn {
  background: none; border: 0; cursor: pointer;
  padding: 6px 7px; font-size: .8125rem; font-weight: 650; letter-spacing: .03em;
  color: var(--muted);
}
.lang__btn + .lang__btn { border-left: 1px solid var(--line); }
.lang__btn.is-active { color: var(--ink); }

.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: 2px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--ink); color: var(--on-ink);
  padding-block: 16px 40px;
  overflow-y: auto;
}
.mobile-menu__list li { border-bottom: 1px solid var(--line-ink); }
.mobile-menu__list a {
  display: block; padding: 18px 0;
  font-family: var(--f-display); font-stretch: var(--narrow); font-weight: 600; font-size: 1.75rem;
  color: #fff; text-decoration: none;
}
.mobile-menu__foot { display: grid; gap: 10px; margin-top: 32px; color: var(--on-ink-muted); }
.mobile-menu__foot a { text-decoration: none; }

/* ---------- Hero ---------- */
/* The headline sits straight on the white sky of the terrace photo;
   the search is a steel-framed window along the bottom edge. */
.hero { position: relative; background: var(--paper); }
.hero__media {
  position: absolute; inset: var(--hero-sky) 0 0 0; overflow: hidden; display: block;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--hero-fade));
  mask-image: linear-gradient(to bottom, transparent 0, #000 var(--hero-fade));
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos); }
/* A faint haze keeps the lower lines of copy clear of the rooftops */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 52% 62% at 0% 0%, rgba(255, 255, 255, .78), rgba(255, 255, 255, 0) 72%);
}

.hero__stage {
  position: relative; z-index: 2;
  max-width: 1600px;
  height: clamp(580px, min(calc(100svh - var(--header-h)), 62.5vw), 980px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding-top: clamp(24px, 3.2vw, 56px);
  padding-bottom: clamp(24px, 3vw, 44px);
}
.hero__copy { max-width: var(--hero-copy-w); display: grid; gap: 16px; }
.hero__place { font-size: .9375rem; font-weight: 600; color: var(--blue-ink); }
.hero__title {
  font-family: var(--f-display);
  font-stretch: 80%;
  font-weight: 660;
  font-size: clamp(2.4rem, 1rem + 2.7vw, 4.3rem);
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--ink);
  text-wrap: balance;
}
.hero__lead { max-width: 34ch; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }

/* The single load moment: copy settles, then the yellow pane fills */
.hero__copy > * { animation: rise .8s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Booking ---------- */
.booking { position: relative; width: min(100%, 1060px); }
.booking__frame {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr minmax(210px, 1fr);
  gap: var(--frame);
  background: var(--ink);
  border: var(--frame) solid var(--ink);
  box-shadow: 0 34px 60px -34px rgba(26, 28, 32, .55);
}
.booking__field {
  display: grid; align-content: center; gap: 2px;
  min-height: 94px; padding: 16px 22px;
  background: var(--paper); border: 0; text-align: left; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.booking__field:hover, .booking__field[aria-expanded="true"] { background: var(--blue-wash); }
.booking__label { font-size: .8125rem; font-weight: 550; color: var(--muted); }
.booking__value {
  font-family: var(--f-display); font-stretch: 92%; font-weight: 600;
  font-size: 1.4rem; line-height: 1.2; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.booking__value.is-empty { color: var(--muted); }
.booking__sub { font-size: .8125rem; color: var(--muted); min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking__field:focus-visible { outline-offset: -5px; }

.booking__go {
  --fill: var(--sun);
  display: grid; align-content: center; justify-items: start; gap: 4px;
  padding: 16px 24px;
  border: 0; cursor: pointer; text-align: left; color: var(--ink);
  background: var(--paper) linear-gradient(var(--fill), var(--fill)) left bottom / 100% 100% no-repeat;
  animation: paneFill .9s .45s var(--ease) both;
}
.booking__go:hover { --fill: var(--sun-2); }
.booking__go:focus-visible { outline: 3px solid var(--blue); outline-offset: -6px; }
.booking__go-main {
  font-family: var(--f-display); font-stretch: 88%; font-weight: 700;
  font-size: 1.4rem; line-height: 1.1; letter-spacing: -.01em;
}
.booking__go-sub { font-size: .8125rem; font-weight: 550; }
@keyframes paneFill { from { background-size: 100% 0; } }

/* Popovers */
.popover {
  position: absolute; z-index: 40;
  top: calc(100% + 10px);
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 0 30px 70px -24px rgba(26, 28, 32, .45);
  animation: pop .2s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }

.datepicker { left: 0; width: min(720px, 100%); padding: 22px 24px 18px; }
.datepicker__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.datepicker__hint { font-size: .9375rem; color: var(--muted); }
.datepicker__nav { display: flex; gap: 4px; }
.datepicker__months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.datepicker__foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px;
}
.month__caption {
  font-family: var(--f-display); font-stretch: 92%; font-weight: 600; font-size: 1.15rem;
  margin: 4px 0 12px; text-transform: capitalize;
}
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month__dow { font-size: .75rem; color: var(--muted); text-align: center; padding-bottom: 8px; }
.day {
  position: relative;
  aspect-ratio: 1 / 1; min-height: 40px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--ink);
}
.day span {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  transition: background-color .15s, color .15s;
}
.day:hover:not(:disabled) span { background: var(--siva-2); }
.day:disabled { color: #A9B0B5; 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(--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(--blue-wash);
}
.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(--ink); color: #fff; }
.day.is-start:hover span, .day.is-end:hover span { background: var(--blue); }
.day--blank { pointer-events: none; }

.guests { left: 0; width: 360px; padding: 8px 24px 20px; }
.counter {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.counter__title { font-weight: 650; }
.counter__hint { font-size: .8125rem; color: var(--muted); }
.counter__ctrl { display: flex; align-items: center; gap: 14px; }
.counter__ctrl output { min-width: 1.5ch; text-align: center; font-variant-numeric: tabular-nums; font-size: 1.0625rem; }
.guests__ages { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guests__ages:not(:empty) { padding-top: 16px; }
.age-field { display: grid; gap: 4px; font-size: .8125rem; color: var(--muted); }
.age-field select {
  appearance: none; -webkit-appearance: none;
  width: 100%; padding: 10px 34px 10px 12px;
  border: 1px solid var(--line); border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1C20' stroke-width='1.6'%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: #B23A2A; }
.guests__note { font-size: .8125rem; line-height: 1.45; color: var(--muted); padding-top: 14px; }
.guests__error { font-size: .8125rem; font-weight: 650; color: #B23A2A; padding-top: 10px; }
.guests__foot { display: flex; justify-content: flex-end; padding-top: 18px; }

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

/* ---------- Intro ---------- */
.intro__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px); align-items: start;
}
.intro__title { grid-column: 1 / span 5; max-width: 11ch; }
.intro__text { grid-column: 7 / -1; display: grid; gap: 18px; }
.intro__text p + p { color: var(--muted); max-width: 60ch; }

.facts {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(56px, 6vw, 88px);
  border-top: var(--frame) solid var(--ink);
}
.facts div { padding: 18px clamp(12px, 1.6vw, 24px) 0; }
.facts div:first-child { padding-left: 0; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: .8125rem; color: var(--muted); }
.facts dd { margin-top: 4px; font-weight: 600; line-height: 1.4; }

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

/* ---------- Rooms: an index on the left, the chosen room on the right ---------- */
.rooms { background: var(--siva); }

.room-index {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: repeat(11, auto) 1fr; /* 3 group titles + 8 rooms, then slack for the panel */
  column-gap: clamp(32px, 4.4vw, 72px);
  align-items: start;
}
.room-group {
  grid-column: 1;
  font-size: .875rem; font-weight: 650; color: var(--muted);
  padding: 30px 0 10px;
}
.room-group:first-child { padding-top: 0; }
.room { display: contents; }
.room__head { grid-column: 1; font: inherit; }
.room__toggle {
  position: relative;
  width: 100%;
  display: grid; gap: 2px;
  padding: 15px 44px 15px 0;
  background: none; border: 0; border-top: 1px solid var(--line);
  text-align: left; cursor: pointer;
  transition: padding-left .3s var(--ease);
}
.room__toggle::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 14px; height: 14px;
  background: var(--sun); box-shadow: 0 0 0 2px var(--ink);
  transform: scale(0); transform-origin: left center;
  transition: transform .3s var(--ease);
}
.room__name {
  font-family: var(--f-display); font-stretch: 90%; font-weight: 600;
  font-size: clamp(1.15rem, 1rem + .45vw, 1.4rem); line-height: 1.2;
  color: #4C535A; transition: color .2s var(--ease);
}
.room__meta { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.room__meta span:first-child { color: var(--ink); font-weight: 600; margin-right: 6px; }
.room__toggle:hover .room__name { color: var(--ink); }
.room.is-open .room__toggle { padding-left: 30px; }
.room.is-open .room__toggle::before { transform: scale(1); }
.room.is-open .room__name { color: var(--ink); }
.room__toggle:focus-visible { outline-offset: -2px; }

.room__panel { grid-column: 2; grid-row: 1 / 13; animation: fade .45s var(--ease); }
.room__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room__media--pair {
  display: grid; grid-template-columns: 2fr 1fr; gap: var(--frame);
  aspect-ratio: 3 / 2; background: var(--ink); border: var(--frame) solid var(--ink);
}
.room__media--pair img { height: 100%; aspect-ratio: auto; min-height: 0; }
.room__body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(20px, 2.6vw, 40px); row-gap: 14px;
  align-items: start;
  padding-top: 26px;
}
.room__title {
  grid-column: 1 / -1;
  font-family: var(--f-display); font-stretch: var(--narrow); font-weight: 640;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); line-height: 1.05; letter-spacing: -.015em;
}
.room__desc { grid-column: 1; }
.room__specs { grid-column: 2; grid-row: 2 / span 2; }
.room__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.room__specs div:first-child { border-top: 1px solid var(--line); }
.room__specs dt { color: var(--muted); }
.room__specs dd { font-weight: 600; text-align: right; }
.room__body .btn { grid-column: 1; justify-self: start; margin-top: 4px; }

.rooms__common {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(56px, 6vw, 88px); padding-top: 22px; border-top: var(--frame) solid var(--ink);
}
.rooms__common-title { grid-column: 1 / span 3; font-size: .9375rem; font-weight: 650; }
.amenities { grid-column: 4 / -1; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .9375rem; color: var(--muted); }

/* ---------- Social Station: the glass wall ---------- */
.social { background: var(--ink); padding-block: clamp(64px, 8vw, 120px); }
.glasswall {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: clamp(170px, 15vw, 220px) minmax(clamp(190px, 16vw, 240px), auto) clamp(190px, 17vw, 250px);
  grid-template-areas:
    "g g g g g g g b t t t t"
    "l l l l l y e e t t t t"
    "l l l l l r e e k k k k";
  gap: var(--lead);
  background: var(--ink);
}
.pane { position: relative; overflow: hidden; min-width: 0; min-height: 0; }
figure.pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pane--glass { grid-area: g; }
.pane--glass img { object-position: 30% 50%; }
.pane--blue { grid-area: b; background: var(--blue); }
.pane--yellow { grid-area: y; background: var(--sun); }
.pane--red { grid-area: r; background: var(--glass-red); }
.pane--lounge { grid-area: l; }
.pane--lounge img { object-position: 22% 50%; }
.pane--elevator { grid-area: e; }
.pane--elevator img { object-position: 64% 50%; }
.pane--breakfast { grid-area: k; }
.pane--breakfast img { object-position: 50% 62%; }
.pane--text {
  grid-area: t;
  background: var(--paper);
  padding: clamp(24px, 2.6vw, 40px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
}
.social__title {
  font-family: var(--f-display); font-stretch: 80%; font-weight: 700;
  font-size: clamp(2.2rem, 1.4rem + 2vw, 3.3rem); line-height: .95; letter-spacing: -.025em;
  margin-bottom: 6px;
}
.pane--text p { font-size: 1rem; line-height: 1.55; }
.pane--text p + p { color: var(--muted); }

/* ---------- Services ---------- */
.services__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px); row-gap: clamp(36px, 4vw, 56px);
}
.services__head { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: end; }
.services__head .h2 { grid-column: 1 / span 6; max-width: 13ch; }
.services__intro { grid-column: 8 / -1; color: var(--muted); }
.services__head .text-link { grid-column: 8 / -1; justify-self: start; margin-top: 8px; }
.services__list {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px); row-gap: 36px;
}
.services__list div { padding-top: 16px; border-top: var(--frame) solid var(--ink); }
.services__list dt { font-family: var(--f-display); font-stretch: 92%; font-weight: 620; font-size: 1.2rem; }
.services__list dd { margin-top: 4px; color: var(--muted); font-size: .9375rem; max-width: 36ch; }

/* ---------- Location ---------- */
.location { background: var(--siva); }
.location__map { border: var(--frame) solid var(--ink); background: var(--siva-2); height: clamp(320px, 34vw, 460px); }
.location__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.45) contrast(1.04); }
.location__cols {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(36px, 4vw, 56px);
}
.location__address address {
  display: grid; margin-bottom: 24px;
  font-family: var(--f-display); font-stretch: 92%; font-weight: 520; font-size: 1.3rem; line-height: 1.35;
}
.distances__title { font-size: .875rem; font-weight: 650; color: var(--muted); margin-bottom: 8px; }
.distances li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9375rem;
}
.distances li:first-child { border-top: 1px solid var(--line); }
.distances li span:last-child { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Gallery ---------- */
.gallery__title { margin-bottom: clamp(32px, 4vw, 52px); }
.gallery__cols { columns: 3 260px; column-gap: clamp(10px, 1.4vw, 18px); }
.gallery__cols li { break-inside: avoid; margin-bottom: clamp(10px, 1.4vw, 18px); }
.gallery__item {
  display: block; width: 100%; padding: 0; border: 0;
  background: var(--siva-2); cursor: zoom-in; overflow: hidden;
}
.gallery__item img { width: 100%; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.025); }
.gallery__item:focus-visible { outline-offset: 2px; }

/* ---------- Rewards (closing) ---------- */
.rewards { background: var(--siva); }
.rewards__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px); align-items: center;
}
.rewards__text { grid-column: 1 / span 5; grid-row: 1; display: grid; gap: 18px; }
.rewards__text p + p { color: var(--muted); }
.tiers {
  grid-column: 7 / -1; grid-row: 1 / span 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--frame);
  background: var(--ink); border: var(--frame) solid var(--ink);
}
.tier { background: var(--paper); padding: clamp(22px, 2.6vw, 36px); display: grid; align-content: space-between; gap: 40px; min-height: 260px; }
.tier--gold { background: var(--sun); }
.tier dt { font-weight: 650; font-size: 1rem; }
.tier dd { display: grid; gap: 8px; }
.tier__pct {
  font-family: var(--f-display); font-stretch: 80%; font-weight: 700;
  font-size: clamp(3.6rem, 2.4rem + 3.6vw, 6rem); line-height: .9; letter-spacing: -.03em;
}
.tier__note { font-size: .9375rem; font-weight: 500; min-height: 3em; }
.rewards__actions {
  grid-column: 1 / span 5; grid-row: 2; align-self: end;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px;
  margin-top: 32px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: .9375rem; padding-top: 64px; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sun); }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr 1fr; gap: 32px; padding-bottom: 48px; }
.site-footer__mark { width: 34px; height: 34px; margin-bottom: 16px; }
.site-footer__name { font-family: var(--f-display); font-stretch: 90%; font-size: 1.3rem; font-weight: 650; color: #fff; }
.site-footer__by { margin-top: 2px; }
.site-footer__title { font-size: .875rem; font-weight: 650; color: var(--sun); margin-bottom: 10px; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 22px calc(22px + env(safe-area-inset-bottom));
  font-size: .8125rem;
  background: linear-gradient(var(--line-ink), var(--line-ink)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

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

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(20, 22, 25, .96); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; font-size: .9375rem; color: var(--on-ink-muted); padding-inline: 72px; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .28); 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.6; 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) {
  :root { --hero-copy-w: min(54vw, 560px); }
  .nav { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 899px) and (min-width: 761px) {
  :root { --hero-copy-w: 66vw; --hero-sky: 170px; }
  .hero__stage { height: 640px; }
}

@media (max-width: 1023px) {
  .intro__title, .intro__text,
  .section-head .h2, .section-head__text,
  .rewards__text, .tiers, .rewards__actions { grid-column: 1 / -1; }
  .intro__text { margin-top: 28px; }
  .section-head__text { margin-top: 16px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .facts div:nth-child(4) { padding-left: 0; border-left: 0; }

  .rooms__common-title, .amenities { grid-column: 1 / -1; }
  .amenities { margin-top: 12px; }

  .glasswall {
    grid-template-rows: auto clamp(150px, 22vw, 210px) clamp(170px, 26vw, 240px) clamp(150px, 20vw, 200px);
    grid-template-areas:
      "t t t t t t t t t t t t"
      "g g g g g g g g g b b b"
      "l l l l l l l e e e e e"
      "y y k k k k k e e e e e";
  }
  .pane--red { display: none; }

  .services__head .h2, .services__intro, .services__head .text-link { grid-column: 1 / -1; }
  .services__intro { margin-top: 16px; }
  .services__list { grid-template-columns: 1fr 1fr; }
  .location__cols { grid-template-columns: 1fr 1fr; }
  .location__address { grid-column: 1 / -1; }

  .rewards__text { grid-row: 1; }
  .tiers { grid-row: 2; margin-top: 36px; }
  .rewards__actions { grid-row: 3; }

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

/* Rooms become an accordion */
@media (max-width: 899px) {
  .room-index { display: block; }
  .room { display: block; }
  .room-group { padding-top: 34px; }
  .room__toggle { padding-right: 48px; }
  .room__toggle::after {
    content: ""; position: absolute; right: 6px; top: 50%;
    width: 16px; height: 16px; margin-top: -8px;
    background:
      linear-gradient(var(--ink), var(--ink)) center / 16px 2px no-repeat,
      linear-gradient(var(--ink), var(--ink)) center / 2px 16px no-repeat;
    transition: transform .3s var(--ease);
  }
  .room.is-open .room__toggle::after { transform: rotate(45deg); }
  .room__panel { padding: 4px 0 32px; }
  .room__title { display: none; }
  .room__body { grid-template-columns: 1fr; padding-top: 20px; }
  .room__desc, .room__specs, .room__body .btn { grid-column: 1; grid-row: auto; }
  .room__body .btn { margin-top: 8px; }
}

@media (max-width: 899px) and (min-width: 761px) {
  .booking__frame { grid-template-columns: 1fr 1fr 1fr; }
  .booking__go { grid-column: 1 / -1; min-height: 74px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  /* Headline on the white sky above the photo; the photo rises out of it */
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero::before { display: none; }
  .hero__stage { display: contents; }
  .hero__copy { grid-row: 1; grid-column: 1; position: relative; z-index: 2; max-width: none; padding: 26px var(--gutter) 0; gap: 12px; }
  .hero__title { font-size: clamp(2.15rem, 1.2rem + 4.6vw, 2.8rem); }
  .hero__media {
    position: relative; inset: auto; grid-row: 2; grid-column: 1;
    margin-top: -40px; height: auto; aspect-ratio: 1 / 1;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 26%);
  }
  .hero__media img { object-position: 50% 0%; }
  .booking { grid-row: 3; grid-column: 1; position: relative; z-index: 3; width: auto; margin: -56px var(--gutter) 28px; }

  .booking__frame { grid-template-columns: 1fr 1fr; }
  .booking__field { min-height: 82px; padding: 14px 16px; }
  #guestsField { grid-column: 1 / -1; }
  .booking__go { grid-column: 1 / -1; min-height: 72px; padding: 14px 16px; }
  .booking__value { font-size: 1.25rem; }

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

  .facts { grid-template-columns: 1fr 1fr; }
  .facts div, .facts div + div { padding-left: 0; border-left: 0; }
  .facts div { padding-right: 12px; }

  .glasswall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto 120px 112px 112px 150px 64px;
    grid-template-areas:
      "t t t t"
      "g g g g"
      "l l l b"
      "l l l y"
      "e e k k"
      "e e r r";
    --lead: 5px;
  }
  .pane--red { display: block; }

  .services__list { grid-template-columns: 1fr; row-gap: 26px; }
  .location__cols { grid-template-columns: 1fr; }
  .location__map { height: 340px; }
  .gallery__cols { columns: 2; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .tier { min-height: 200px; gap: 28px; }
  .rewards__actions .btn { width: 100%; }

  .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: var(--ink);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-book .btn { flex: 1; border-color: var(--sun); }
  .sticky-book__icon { width: 48px; height: 48px; flex: none; color: var(--on-ink); border-color: rgba(233, 236, 238, .4); }
  .sticky-book__icon:hover { background: rgba(233, 236, 238, .08); }
  .sticky-book.is-visible { transform: none; }
  .site-footer { padding-bottom: 76px; }
}
@keyframes sheet { from { transform: translateY(100%); } }

@media (max-width: 640px) {
  .site-header__inner { gap: 10px; }
  .site-header__actions { gap: 4px; }
  .site-header__cta { display: none; }
  .brand__mark { width: 26px; height: 26px; }
  .brand__name { font-size: 1.25rem; }
  .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-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
