/* =========================================================
   Bediroğlu Apart
   Palette from inside the apartments: the turquoise rugs in every
   living room, the green-grey painted walls and the oak floors.
   Type: Besley (a warm Clarendon, like the lettering on the
   building's sign) for headings and numbers; Be Vietnam Pro for
   reading and UI.
   The one bold element: the inventory. Numbered pins on the real
   apartment photos and a "demirbaş listesi" beside them, the way a
   furnished flat is handed over in Turkey.
   ========================================================= */

:root {
  --teal: #0E6B71;
  --teal-2: #0B5A5F;
  --teal-pale: #D9EBEC;
  --wall: #E3E9E5;
  --wall-2: #CFD8D2;
  --oak: #B88A5B;
  --ink: #1A2523;
  --muted: #5A6764;
  --line: #D6DED9;
  --surface: #FFFFFF;
  --sky: #3B66A8;

  --on-dark: #EEF3F1;
  --on-dark-muted: #AEBDB8;
  --line-dark: rgba(238, 243, 241, .18);

  --serif: "Besley", "Rockwell", Georgia, serif;
  --sans: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --edge: clamp(16px, 3.2vw, 48px);
  --section: clamp(80px, 9vw, 132px);
  --header-h: 76px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

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

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

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

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

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.site-header:not(.is-scrolled):not(.is-menu) :focus-visible,
.hero__copy :focus-visible,
.voices :focus-visible,
.site-footer :focus-visible,
.lightbox :focus-visible { outline-color: #fff; }

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

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

/* ---------- Type ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.05rem, 1.35rem + 2.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.018em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.lead { font-size: clamp(1.12rem, 1.05rem + .3vw, 1.26rem); line-height: 1.58; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1rem; }
.btn--teal { --btn-bg: var(--teal); }
.btn--teal:hover { --btn-bg: var(--teal-2); }
.btn--ink:hover { --btn-bg: #2C3936; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn__wa { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

.text-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(14, 107, 113, .35);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: currentColor; }

.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: var(--radius);
  color: var(--ink); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--wall); }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.icon-btn--round { border-radius: 50%; border-color: var(--line); }

/* ---------- Header ---------- */
/* Transparent over the sky, white once the page moves */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--header-h);
  color: #fff;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-menu { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header__inner {
  height: 100%;
  padding-inline: var(--edge);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: inherit; white-space: nowrap; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; line-height: 1; letter-spacing: -.01em; }
.brand__sub { font-size: .875rem; font-weight: 500; letter-spacing: .02em; opacity: .82; }

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

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

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

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

/* ---------- Hero ---------- */
/* Placeholder photo: the upper floors against the sky, which has been
   carried on to the left so the headline sits in open sky. When the
   final header photo arrives (sky left, building right), only
   --hero-pos and the --copy-* values should need tuning. */
.hero {
  --hero-pos: 45% 42%;
  --hero-pos-m: 50% 0%;
  --copy-top: clamp(44px, 13vh, 150px);
  --copy-x: 0px;
  --copy-w: 54rem;
  --hero-veil: .22;
  --bar-overlap: 52px;

  position: relative;
  min-height: min(100svh, 1440px);
  display: grid;
  grid-template-rows: 1fr auto;
  color: #fff;
  margin-bottom: calc(-1 * var(--bar-overlap));
}
.hero__media { position: absolute; inset: 0 0 var(--bar-overlap) 0; overflow: hidden; background: var(--sky); }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--hero-pos);
}
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 36, 70, .32) 0, rgba(16, 36, 70, 0) 20%),
    linear-gradient(90deg, rgb(16 36 70 / var(--hero-veil)) 0%, rgb(16 36 70 / 0) 48%);
}

.hero__inner {
  position: relative; z-index: 2;
  padding: calc(var(--header-h) + var(--copy-top)) var(--edge) 56px;
}
.hero__copy {
  max-width: var(--copy-w);
  margin-left: var(--copy-x);
  display: grid; gap: 24px;
}
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, min(1rem + 4.3vw, 9vh), 6rem);
  line-height: 1;
  letter-spacing: -.028em;
  text-shadow: 0 2px 30px rgba(14, 32, 62, .25);
}
.hero__title .ln { display: block; }
.hero__lead {
  max-width: 33rem;
  font-size: clamp(1.04rem, 1rem + .3vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .94);
  text-shadow: 0 1px 14px rgba(14, 32, 62, .35);
}

/* The search straddles the bottom edge of the photo */
.hero__booking {
  position: relative; z-index: 4;
  padding-inline: var(--edge);
}

/* ---------- Booking ---------- */
.booking {
  position: relative;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1.1fr 1.15fr auto;
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 30px 70px -30px rgba(12, 32, 48, .55), 0 0 0 1px rgba(26, 37, 35, .06);
}
.booking__field {
  position: relative;
  display: grid; align-content: center; gap: 2px;
  text-align: left;
  padding: 18px 22px;
  min-height: 104px;
  background: none; border: 0;
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.booking__field + .booking__field,
.booking__submit { border-left: 1px solid var(--line); }
.booking__field:first-child { border-radius: 6px 0 0 6px; }
button.booking__field:hover, .booking__field[aria-expanded="true"], .booking__field--select:hover { background: #F4F7F5; }
.booking__label { font-size: .8125rem; font-weight: 500; color: var(--muted); }
.booking__value {
  font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.25; 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__sub.is-warn { color: #9A3A1E; font-weight: 500; }

/* Nights: a stepper, check-out follows */
.booking__field--nights { cursor: default; }
.nights { display: flex; align-items: center; gap: 12px; }
.nights__btn {
  display: grid; place-items: center;
  width: 30px; height: 30px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--ink); cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nights__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.nights__btn:hover:not(:disabled) { border-color: var(--teal); color: var(--teal); }
.nights__btn:disabled { opacity: .35; cursor: default; }
.nights__value { min-width: 1.6ch; text-align: center; font-variant-numeric: tabular-nums; }
.booking__out {
  justify-self: start;
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px;
}
.booking__out:hover { color: var(--ink); text-decoration-color: currentColor; }

.booking__field--select { cursor: pointer; }
.booking__select {
  appearance: none; -webkit-appearance: none;
  width: 100%;
  margin: 0; padding: 0 26px 0 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6764' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0 center / 18px no-repeat;
  border: 0; border-radius: 0;
  font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.25; color: var(--ink);
  cursor: pointer;
  text-overflow: ellipsis;
}
.booking__select:focus { outline: none; }
.booking__field--select:focus-within { outline: 2px solid var(--teal); outline-offset: -4px; }
.booking__select option { font-family: var(--sans); font-size: 1rem; }

.booking__submit { display: grid; align-content: center; justify-items: stretch; gap: 10px; padding: 16px 18px; }
.booking__cta { width: 100%; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: .78rem; line-height: 1.35; color: var(--muted); cursor: pointer; max-width: 22ch; }
.check input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }

/* Popovers */
.popover {
  position: absolute; z-index: 40;
  bottom: calc(100% + 12px);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 30px 70px -20px rgba(12, 32, 48, .55), 0 0 0 1px rgba(26, 37, 35, .08);
  animation: pop .22s var(--ease);
}
.popover.is-down { bottom: auto; top: calc(100% + 12px); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.datepicker { left: 0; width: min(720px, 100%); padding: 22px 24px 18px; }
.datepicker__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.datepicker__hint { font-size: .9375rem; color: var(--muted); }
.datepicker__nav { display: flex; gap: 4px; }
.datepicker__months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.datepicker__foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px;
}

.month__caption { font-family: var(--serif); 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; border-radius: 50%;
  transition: background-color .15s, color .15s;
}
.day:hover:not(:disabled) span { background: var(--wall); }
.day:disabled { color: #B3BDB9; cursor: default; }
.day:focus-visible { outline: none; }
.day:focus-visible span { box-shadow: 0 0 0 2px var(--teal); }
.day.is-today span { box-shadow: inset 0 0 0 1px var(--wall-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(--teal-pale);
}
.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(--teal); color: #fff; }
.day.is-start:hover span, .day.is-end:hover span { background: var(--teal-2); }
.day--blank { pointer-events: none; }

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

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

/* ---------- Intro ---------- */
.intro { padding-top: calc(var(--section) + var(--bar-overlap, 52px)); }
.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.intro__text { grid-column: 1 / span 5; grid-row: 1; display: grid; gap: 20px; align-content: start; }
.intro__text p:not(.lead) { color: var(--muted); }
.intro__media figcaption { margin-top: 10px; font-size: .875rem; color: var(--muted); }
.intro__media img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.intro__media--main { grid-column: 7 / span 6; grid-row: 1; align-self: center; }
.intro__media--main img { aspect-ratio: 3 / 2; }

.facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px;
  margin-top: 12px;
}
.facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: .8125rem; color: var(--muted); }
.facts dd { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.3; }

/* ---------- Units: the inventory ---------- */
.units { background: var(--wall); padding-block: var(--section); }
.units__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px);
  align-items: end;
}
.units__head .h2 { grid-column: 1 / span 6; }
.units__intro { grid-column: 7 / span 6; color: var(--muted); max-width: 36rem; }

.unit-bar {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  margin-top: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--wall-2);
}
.unit-switch { display: flex; gap: clamp(28px, 5vw, 64px); }
.unit-tab {
  display: grid; gap: 2px; text-align: left;
  padding: 10px 0 16px; margin-bottom: -1px;
  background: none; border: 0; border-bottom: 3px solid transparent;
  cursor: pointer; color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.unit-tab__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.9rem); line-height: 1.15; }
.unit-tab__meta { font-size: .875rem; }
.unit-tab:hover { color: var(--ink); }
.unit-tab.is-active { color: var(--ink); border-bottom-color: var(--teal); }

/* Area to scale: one square metre per cell, oak like the floor */
.area { display: flex; align-items: flex-end; gap: 14px; padding-bottom: 14px; }
.area__svg { display: block; width: 104px; height: 104px; overflow: visible; flex: none; }
.area__grid line { stroke: var(--wall-2); stroke-width: .045; }
.area__fill {
  fill: rgba(184, 138, 91, .24);
  stroke: var(--oak); stroke-width: .09;
  transition: x .7s var(--ease), y .7s var(--ease), width .7s var(--ease), height .7s var(--ease);
}
.area__cap { display: grid; gap: 2px; }
.area__num { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.area__note { font-size: .75rem; color: var(--muted); max-width: 12ch; line-height: 1.35; }

.unit { margin-top: 28px; }

.tour { min-width: 0; }
.tour__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.space-tab {
  min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--wall-2); border-radius: 999px;
  background: transparent; cursor: pointer;
  font-size: .9375rem; font-weight: 500; color: var(--ink);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.space-tab:hover { border-color: var(--ink); }
.space-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.tour__body {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}
.tour__stage { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--wall-2); }
.tour__stage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tour__pins { position: absolute; inset: 0; }

.pin {
  position: absolute;
  left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; padding: 0;
  background: var(--teal); color: #fff;
  font-family: var(--serif); font-weight: 600; font-size: 1rem; line-height: 1;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .92), 0 8px 18px rgba(8, 24, 28, .35);
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.pin:hover, .pin.is-active { transform: scale(1.16); background: #fff; color: var(--teal); box-shadow: 0 0 0 3px var(--teal), 0 8px 18px rgba(8, 24, 28, .35); }
.pin:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.pin__label {
  position: absolute; left: 50%; bottom: calc(100% + 12px);
  transform: translateX(-50%);
  padding: 7px 11px; border-radius: var(--radius);
  background: #fff; color: var(--ink);
  font-family: var(--sans); font-size: .84rem; font-weight: 500; line-height: 1.3; white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(8, 24, 28, .4);
  pointer-events: none;
  opacity: 0; visibility: hidden;
  transition: opacity .18s var(--ease), visibility .18s;
}
.pin.is-active .pin__label { opacity: 1; visibility: visible; }
.pin--right .pin__label { left: auto; right: -6px; transform: none; }
.pin--left .pin__label { left: -6px; transform: none; }
.pin--below .pin__label { bottom: auto; top: calc(100% + 12px); }

/* The one automatic movement: the pins drop in once, the first time the
   inventory comes into view */
.tour.is-armed .pin { opacity: 0; }
.tour.is-in .pin { animation: pinIn .55s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 150ms); }
.tour.is-done .pin { animation: none; opacity: 1; }
@keyframes pinIn {
  from { opacity: 0; transform: translateY(-14px) scale(.6); }
  to { opacity: 1; transform: none; }
}

.inventory {
  min-width: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 22px 16px;
  box-shadow: 0 1px 0 rgba(26, 37, 35, .04), 0 22px 44px -30px rgba(26, 37, 35, .45);
}
.inventory__head { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.inventory__title { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.inventory__space { font-size: .8125rem; color: var(--muted); }
.inv-item {
  width: 100%;
  display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; gap: 12px; align-items: center;
  padding: 10px 8px 10px 0; margin: 0;
  background: none; border: 0; border-bottom: 1px dashed var(--wall-2);
  text-align: left; cursor: pointer;
  font-size: .9688rem; line-height: 1.35; color: var(--ink);
  transition: background-color .15s var(--ease), padding .2s var(--ease);
}
.inventory__list li:last-child .inv-item { border-bottom: 0; }
.inv-item__n {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--teal); color: var(--teal);
  font-family: var(--serif); font-weight: 600; font-size: .9rem; line-height: 1;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.inv-item__ok { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.inv-item:hover, .inv-item.is-active { background: var(--wall); padding-left: 8px; }
.inv-item:hover .inv-item__n, .inv-item.is-active .inv-item__n { background: var(--teal); color: #fff; }
.inventory__foot {
  margin-top: 6px; padding-top: 12px; border-top: 1.5px solid var(--ink);
  font-size: .8125rem; color: var(--muted);
}

.unit__summary {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; gap: 16px clamp(24px, 3vw, 48px);
  align-items: start;
  margin-top: clamp(28px, 3vw, 40px);
}
.unit__desc { font-size: 1.0625rem; max-width: 30rem; }
.unit__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.unit__specs div { display: grid; gap: 0; padding: 10px 0; border-top: 1px solid var(--wall-2); font-size: .9375rem; }
.unit__specs dt { color: var(--muted); font-size: .8125rem; }
.unit__specs dd { font-weight: 500; }
.unit__ask { align-self: start; }

.units__every {
  margin-top: clamp(32px, 4vw, 48px); padding-top: 18px;
  border-top: 1px solid var(--wall-2);
  max-width: 62rem; font-size: .9688rem; color: var(--muted);
}

/* ---------- Airport ---------- */
.airport__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.airport__lead { grid-column: 1 / span 5; display: grid; gap: 14px; justify-items: start; }
.airport__big { display: flex; align-items: baseline; gap: 14px; margin-top: 8px; }
.airport__num {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(6rem, 3.6rem + 7.4vw, 11rem); line-height: .82; letter-spacing: -.04em;
  color: var(--teal);
  font-variant-numeric: lining-nums;
}
.airport__unit { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); }
.airport__sub { color: var(--muted); max-width: 26rem; }
.airport__photo { margin-top: 26px; width: min(100%, 360px); }
.airport__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; border-radius: var(--radius); }
.airport__photo figcaption { margin-top: 10px; font-size: .875rem; color: var(--muted); }
.airport__facts {
  grid-column: 7 / span 6;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px;
}
.airport__facts div { padding: 18px 0 22px; border-top: 1px solid var(--line); }
.airport__facts dt { font-weight: 600; margin-bottom: 4px; }
.airport__facts dd { color: var(--muted); font-size: .9688rem; }

/* ---------- 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(32px, 4vw, 52px);
}
.section-head .h2 { grid-column: 1 / span 6; }
.section-head__text { grid-column: 7 / span 6; color: var(--muted); max-width: 34rem; }

/* ---------- Services ---------- */
.services { padding-top: 0; }
.services .container { border-top: 0; }
.services .section-head { padding-top: clamp(56px, 6vw, 80px); border-top: 1px solid var(--line); }
.services__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.services__list div { padding: 18px 0 24px; border-top: 1px solid var(--ink); }
.services__list dt { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin-bottom: 6px; }
.services__list dd { color: var(--muted); font-size: .9688rem; }

/* ---------- Voices ---------- */
.voices { background: var(--teal); color: #fff; padding-block: clamp(72px, 8vw, 112px); }
.voices__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(24px, 4vw, 64px); }
.voices .h2 { color: #fff; }
.voices__score { margin-top: 18px; color: rgba(255, 255, 255, .82); font-size: .9375rem; }
.voices__num { font-family: var(--serif); font-weight: 600; font-size: 2.4rem; color: #fff; margin-right: 6px; }
.voices__list { display: grid; gap: 28px; }
.voices__list li { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .28); }
.voices__list blockquote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); line-height: 1.4; }
.voices__src { margin-top: 10px; font-size: .875rem; color: rgba(255, 255, 255, .78); }

/* ---------- Location ---------- */
.location__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px);
  align-items: stretch;
}
.location__info { grid-column: 1 / span 5; display: grid; gap: 22px; align-content: start; justify-items: start; }
.location__info > p { color: var(--muted); }
.dist { width: 100%; }
.dist__title { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.dist__list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9688rem; }
.dist__val { font-family: var(--serif); font-weight: 600; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.dist__note { margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.location__map { grid-column: 7 / span 6; min-height: 560px; border-radius: var(--radius); overflow: hidden; background: var(--wall); }
.location__map iframe { width: 100%; height: 100%; min-height: 560px; border: 0; display: block; }

/* ---------- Gallery ---------- */
.gallery { padding-top: 0; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 250px);
  gap: clamp(8px, 1vw, 14px);
}
.gallery__grid .g-a { grid-column: 1; grid-row: 1 / span 2; }
.gallery__grid .g-b { grid-column: 2 / span 2; grid-row: 1; }
.gallery__grid .g-c { grid-column: 4; grid-row: 1; }
.gallery__grid .g-d { grid-column: 2; grid-row: 2; }
.gallery__grid .g-e { grid-column: 3 / span 2; grid-row: 2; }
.gallery__grid .g-f { grid-column: 1; grid-row: 3; }
.gallery__grid .g-g { grid-column: 2 / span 2; grid-row: 3; }
.gallery__grid .g-h { grid-column: 4; grid-row: 3; }
.gallery__item { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--wall); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }

/* ---------- Closing ---------- */
.closing { background: var(--wall); padding-block: clamp(72px, 8vw, 120px); }
.closing__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 48px; align-items: end; }
.closing__title {
  margin: 0;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.3rem, 1.4rem + 3vw, 4.4rem); line-height: 1.02; letter-spacing: -.022em;
  text-wrap: balance;
}
.closing__text { margin-top: 18px; color: var(--muted); max-width: 32rem; }
.closing__actions { display: grid; justify-items: start; gap: 16px; justify-self: end; }

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

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

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(12, 20, 19, .96);
  color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; font-size: .9375rem; color: var(--on-dark-muted); padding-inline: 72px; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .hero { --copy-w: 26rem; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .booking { grid-template-columns: 1fr 1fr 1fr 1.15fr; }
  .booking__submit {
    grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line);
    grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 20px;
  }
  .booking__cta { width: auto; }
  .check { max-width: none; }
  .services__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  .intro__text, .intro__media--main,
  .units__head .h2, .units__intro,
  .airport__lead, .airport__facts,
  .section-head .h2, .section-head__text,
  .location__info, .location__map { grid-column: 1 / -1; grid-row: auto; }
  .intro__media--main { margin-top: 44px; }
  .units__intro, .section-head__text { margin-top: 16px; }
  .airport__facts { margin-top: 40px; }
  .location__map { margin-top: 40px; min-height: 420px; }
  .location__map iframe { min-height: 420px; }

  .unit__summary { grid-template-columns: 1fr; }
  .unit__ask { justify-self: start; }

  .voices__grid { grid-template-columns: 1fr; }
  .closing__inner { grid-template-columns: 1fr; }
  .closing__actions { justify-self: start; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .tour__body { grid-template-columns: 1fr; }

  /* Photo on top with the headline in its sky, search card overlaps its foot */
  .hero { --bar-overlap: 0px; min-height: 0; display: block; margin-bottom: 0; }
  .hero__media { position: relative; inset: auto; height: clamp(520px, 80svh, 720px); }
  .hero__media img { object-position: var(--hero-pos-m); }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(16, 36, 70, .3) 0, rgba(16, 36, 70, 0) 30%);
  }
  .hero__inner { position: absolute; left: 0; right: 0; top: 0; padding-bottom: 0; }
  .hero__booking { margin-top: -64px; padding-inline: 12px; }
  .booking { grid-template-columns: 1fr 1fr; border-radius: 8px; }
  .booking__field { min-height: 86px; padding: 14px 16px; }
  .booking__field:first-child { border-radius: 8px 0 0 0; }
  .booking__field:nth-child(2) { border-left: 1px solid var(--line); }
  #guestsField { border-left: 0; border-top: 1px solid var(--line); }
  .booking__field--select { border-top: 1px solid var(--line); }
  .booking__submit {
    grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line);
    padding: 14px 16px 18px; display: grid; grid-template-columns: 1fr; justify-items: stretch; gap: 12px;
  }
  .booking__cta { width: 100%; }
  .check { justify-self: center; }
  .intro { padding-top: var(--section); }

  /* Popovers become bottom sheets */
  .popover {
    position: fixed; z-index: 80;
    left: 0 !important; right: 0 !important; top: auto; bottom: 0;
    width: 100% !important; max-height: 88vh; overflow-y: auto;
    border-radius: 14px 14px 0 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    animation: sheet .3s var(--ease);
  }
  .datepicker { display: flex; flex-direction: column; overflow: hidden; padding-inline: 16px; }
  .datepicker__months { grid-template-columns: 1fr; gap: 20px; overflow-y: auto; min-height: 0; flex: 1 1 auto; overscroll-behavior: contain; }
  .datepicker__foot { flex: none; }
  .day span { width: 44px; height: 44px; }

  .sticky-book {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -18px rgba(12, 32, 48, .4);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-book .btn { flex: 1; }
  .sticky-book__icon { width: 48px; height: 48px; flex: none; }
  .sticky-book.is-visible { transform: none; }
  .site-footer { padding-bottom: 76px; }

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

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header__inner { gap: 10px; }
  .site-header__actions { gap: 4px; }
  .brand__name { font-size: 1.5rem; }
  .site-header__cta { display: none; }
  .hero { --copy-top: 22px; }
  .hero__copy { gap: 14px; }
  .hero__lead { font-size: .98rem; max-width: 32ch; }
  .booking__value, .booking__select { font-size: 1.25rem; }
  .facts { grid-template-columns: 1fr 1fr; }

  .unit-bar { align-items: flex-end; }
  .unit-switch { gap: 24px; }
  .area { padding-bottom: 12px; }
  .area__svg { width: 72px; height: 72px; }
  .area__num { font-size: 1.5rem; }
  .unit__specs { grid-template-columns: 1fr; }
  .tour__tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .tour__tabs::-webkit-scrollbar { display: none; }
  .space-tab { flex: none; }
  .tour__stage { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .pin { width: 30px; height: 30px; margin: -15px 0 0 -15px; font-size: .9rem; }
  .pin__label { font-size: .78rem; }

  .airport__facts { grid-template-columns: 1fr; }
  .services__list { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .closing__actions .btn { width: 100%; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; transform: none; }
  .lightbox__cap { bottom: 132px; padding-inline: 24px; }
}

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