/* Grand Hamit by Karadayı Airport Hotel, Arnavutköy: demo site
   Palette from the building at night: the violet LED light of the two cylindrical bays,
   the dark glass between them and the warm lobby light behind the ground-floor glass.
   Instrument Serif (tall, narrow letters for a tall, narrow tower) + Reddit Sans. */

:root {
  --led: #4338DA;          /* the bays' LED violet: main CTA, selected date, focus, selected route */
  --led-2: #3529BF;        /* hover */
  --led-light: #8E84FF;    /* the same light on dark glass */
  --led-soft: #ECEAFB;     /* date range */
  --glass: #14121C;        /* the dark glass between the bays: signature band, closing, footer */
  --glass-2: #1D1A28;
  --lobby: #F2C27E;        /* warm lobby light, only small marks on dark */
  --stone: #EDEBE7;        /* pilaster stone: light sections */
  --ivory: #F6F3EE;        /* text on dark and on the photo */
  --ivory-muted: #B9B3C2;
  --ink: #1B1A24;
  --body: #3F3C4A;
  --muted: #615E6C;
  --line: #DFDDE3;
  --white: #FFFFFF;

  --f-display: 'Instrument Serif', 'Times New Roman', serif;
  --f-body: 'Reddit Sans', 'Segoe UI', system-ui, sans-serif;

  --container: 1280px;
  --gutter: 32px;
  --header-h: 80px;
  --section-y: clamp(80px, 9vw, 136px);
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--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; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
a { color: inherit; }
button { font: inherit; color: inherit; }
dl, dd { margin: 0; }
address { font-style: normal; }
blockquote { margin: 0; }

:focus-visible { outline: 2px solid var(--led); outline-offset: 3px; }
.hero :focus-visible, .ways :focus-visible, .closing :focus-visible, .site-footer :focus-visible,
.mobile-menu :focus-visible, .sticky-book :focus-visible, .lightbox :focus-visible,
.site-header:not(.is-solid) :focus-visible { outline-color: var(--led-light); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--stone { background: var(--stone); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--led); color: var(--white); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Type */
.h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.lead { font-size: 1.1875rem; line-height: 1.55; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--f-body); font-size: 1rem; font-weight: 600; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 1.0625rem; }
.btn--violet { background: var(--led); color: var(--white); }
.btn--violet:hover { background: var(--led-2); }
.btn--violet-light { background: var(--led-light); color: var(--glass); }
.btn--violet-light:hover { background: #A49CFF; }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: #33313F; }
.btn--line-light { border-color: rgba(246, 243, 238, .45); color: var(--ivory); background: transparent; }
.btn--line-light:hover { border-color: var(--ivory); background: rgba(246, 243, 238, .06); }

.text-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; font-weight: 600; }
.text-link:hover { text-decoration-thickness: 2px; }
.link-btn { background: none; border: 0; padding: 6px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
.link-btn:hover { color: var(--ink); }

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

/* =========================================================
   Header: transparent on the night photo, white once you scroll
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--header-h);
  color: var(--ivory);
  background: transparent;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.site-header.is-solid { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; text-decoration: none; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__mark text { font-family: var(--f-display); font-size: 19px; fill: currentColor; letter-spacing: -.02em; }
.brand__text { display: grid; line-height: 1.05; }
.brand__name { font-family: var(--f-display); font-size: 1.625rem; letter-spacing: .005em; }
.brand__sub { font-size: .75rem; letter-spacing: .02em; opacity: .75; margin-top: 2px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 26px; }
.nav__list a {
  font-size: .9375rem; font-weight: 500; text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.nav__list a:hover { border-bottom-color: currentColor; }
.site-header__actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 2px; }
.lang__btn {
  background: none; border: 0; padding: 6px 7px; cursor: pointer;
  font-size: .8125rem; font-weight: 600; letter-spacing: .04em; opacity: .6;
}
.lang__btn:hover { opacity: 1; }
.lang__btn.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--led-light); text-decoration-thickness: 2px; }
.site-header.is-solid .lang__btn.is-active { text-decoration-color: var(--led); }
.menu-toggle { display: none; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55;
  background: var(--glass); color: var(--ivory);
  overflow-y: auto; padding-block: 20px 40px;
}
.mobile-menu__list a {
  display: block; padding: 14px 0; border-bottom: 1px solid rgba(246, 243, 238, .12);
  font-family: var(--f-display); font-size: 2rem; line-height: 1.15; text-decoration: none;
}
.mobile-menu__foot { display: grid; gap: 10px; margin-top: 28px; color: var(--ivory-muted); }
.mobile-menu__foot a { text-decoration: none; }
body.menu-open .site-header { background: var(--glass); color: var(--ivory); box-shadow: none; }

/* =========================================================
   Hero
   Change only these variables when the final header photo arrives:
   --hero-pos     object-position of the desktop photo
   --hero-pos-m   object-position of the phone photo
   --hero-copy-x  extra left offset of the headline block (from the container edge)
   --hero-copy-y  vertical position of the headline block inside the free area (0% top, 100% bottom)
   --hero-copy-w  maximum width of the headline block (keep it off the building)
   --hero-veil    soft darkening behind the headline (0 = none)
   ========================================================= */
.hero {
  --hero-pos: 70% 50%;
  --hero-pos-m: 50% 100%;
  --hero-copy-x: 0px;
  --hero-copy-y: 46%;
  --hero-copy-w: 44rem;
  --hero-veil: .25;

  position: relative;
  min-height: clamp(600px, calc(100svh - 64px), 1000px);
  display: flex; flex-direction: column;
  background: #1F1714; color: var(--ivory);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.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(90deg, rgba(10, 8, 12, var(--hero-veil)) 0%, rgba(10, 8, 12, 0) 55%);
}
.hero__inner {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + 24px); padding-bottom: 120px;
}
.hero__copy {
  max-width: var(--hero-copy-w);
  margin-left: var(--hero-copy-x);
  margin-top: auto; margin-bottom: auto;
  transform: translateY(calc((var(--hero-copy-y) - 50%) * 1.2));
}
.hero__place { font-size: 1rem; letter-spacing: .02em; color: rgba(246, 243, 238, .72); margin-bottom: 20px; }
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3.25rem, min(1.4rem + 4vw, 10vh), 6.25rem);
  line-height: .96;
  letter-spacing: -.012em;
  color: var(--ivory);
  text-wrap: balance;
}
.hero__title span { display: block; }
.hero__lead { margin-top: 26px; max-width: 32em; font-size: 1.1875rem; line-height: 1.55; color: rgba(246, 243, 238, .84); }
.hero__now { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: .9375rem; color: rgba(246, 243, 238, .74); font-variant-numeric: tabular-nums; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lobby); box-shadow: 0 0 0 4px rgba(242, 194, 126, .16), 0 0 14px rgba(242, 194, 126, .7); flex: none; }

/* Booking bar: overlaps the bottom edge of the hero; its violet top edge is the LED under the canopy */
.booking-wrap { position: relative; z-index: 5; margin-bottom: -60px; }
.booking {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr auto;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius);
  border-top: 3px solid var(--led);
  box-shadow: 0 34px 60px -32px rgba(10, 8, 16, .6), 0 0 0 1px rgba(27, 26, 36, .06);
}
.booking__field {
  display: grid; align-content: center; gap: 2px;
  min-width: 0; padding: 18px 28px; text-align: left;
  background: none; border: 0; border-right: 1px solid var(--line); cursor: pointer;
  transition: background-color .15s;
}
.booking__field:hover, .booking__field[aria-expanded="true"] { background: #F7F6FA; }
.booking__label { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.booking__value { font-family: var(--f-display); font-size: 1.875rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking__value.is-empty { color: var(--muted); }
.booking__sub { font-size: .8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking__sub:empty { display: none; }
.booking__submit { display: grid; align-content: center; gap: 8px; padding: 14px 18px; }
.booking__note { font-size: .75rem; color: var(--muted); text-align: center; line-height: 1.35; max-width: 22ch; justify-self: center; }

/* Popovers */
.popover[hidden] { display: none !important; }
.popover {
  position: absolute; z-index: 40; top: calc(100% + 10px);
  background: var(--white); color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -24px rgba(10, 8, 16, .45), 0 0 0 1px rgba(27, 26, 36, .08);
  animation: pop .2s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.datepicker { left: 0; width: min(720px, 100%); padding: 22px 24px 18px; }
.datepicker__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.datepicker__hint { font-size: .9375rem; color: var(--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-size: 1.5rem; margin: 4px 0 10px; text-transform: capitalize; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month__dow { font-size: .75rem; font-weight: 600; 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(--stone); }
.day:disabled { color: #BCB9C3; cursor: default; }
.day:focus-visible { outline: none; }
.day:focus-visible span { box-shadow: 0 0 0 2px var(--led); }
.day.is-today span { box-shadow: inset 0 0 0 1px #C9C6D2; }
.day.in-range::before, .day.in-preview::before,
.day.is-start::before, .day.is-end::before { content: ""; position: absolute; inset: 4px 0; background: var(--led-soft); }
.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(--led); color: var(--white); }
.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: 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-family: var(--f-display); font-size: 1.625rem; }
.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 #CBC8D3; 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='%231B1A24' 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: #B3261E; }
.guests__kids { margin-top: 16px; padding: 14px 16px; background: var(--led-soft); font-size: .875rem; line-height: 1.5; }
.guests__kids p { margin-bottom: 8px; color: var(--body); }
.guests__foot { display: flex; justify-content: flex-end; padding-top: 18px; }
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(12, 10, 18, .55); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }

/* =========================================================
   Intro
   ========================================================= */
.intro { padding-top: calc(var(--section-y) + 60px); }
.intro__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: center; }
.intro__text { grid-column: 1 / span 6; }
.intro__text .lead { margin-top: 28px; }
.intro__text p + p { margin-top: 16px; color: var(--body); }
.intro__media { grid-column: 8 / span 4; }
.intro__media img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.intro__media figcaption { margin-top: 14px; font-size: .9375rem; color: var(--muted); line-height: 1.5; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin-top: 44px; border-top: 1px solid var(--ink); }
.facts > div { padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.facts dd { font-family: var(--f-display); font-size: 2.125rem; line-height: 1.15; margin-top: 2px; }
.facts dd small { font-family: var(--f-body); font-size: .875rem; color: var(--muted); }

/* =========================================================
   Signature: two ways to the terminal
   ========================================================= */
.ways { position: relative; background: var(--glass); color: var(--ivory); padding-top: var(--section-y); }
.ways__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: start; }
.ways__text { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
.ways .h2 { color: var(--ivory); }
.ways__lead { margin-top: 24px; max-width: 34em; font-size: 1.125rem; color: rgba(246, 243, 238, .8); }

.ways__tabs { display: flex; gap: 0; margin-top: 40px; border-bottom: 1px solid rgba(246, 243, 238, .18); }
.ways__tab {
  position: relative; background: none; border: 0; cursor: pointer;
  padding: 12px 0 14px; margin-right: 36px;
  font-family: var(--f-display); font-size: 2rem; line-height: 1; color: rgba(246, 243, 238, .5);
  transition: color .2s;
}
.ways__tab:hover { color: rgba(246, 243, 238, .85); }
.ways__tab[aria-selected="true"] { color: var(--ivory); }
.ways__tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--led-light); box-shadow: 0 0 14px rgba(142, 132, 255, .8);
}
.ways__panel { padding-top: 28px; }
.ways__panel[hidden] { display: none; }
.ways__figures { display: flex; flex-wrap: wrap; gap: 8px 48px; }
.ways__num { font-family: var(--f-display); font-size: clamp(4.5rem, 3rem + 3vw, 6.5rem); line-height: .9; color: var(--ivory); font-variant-numeric: lining-nums; }
.ways__unit { font-size: 1rem; color: var(--ivory-muted); }
.ways__steps { margin-top: 24px; counter-reset: step; display: grid; gap: 10px; max-width: 34em; }
.ways__steps li { position: relative; padding-left: 34px; color: rgba(246, 243, 238, .86); }
.ways__steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--led-light); font-size: .75rem; font-weight: 700; color: var(--led-light);
}
.ways__dl { margin-top: 24px; max-width: 34em; border-top: 1px solid rgba(246, 243, 238, .16); }
.ways__dl > div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(246, 243, 238, .1); }
.ways__dl dt { font-size: .875rem; font-weight: 600; color: var(--ivory-muted); }
.ways__dl dd { color: rgba(246, 243, 238, .9); }
.ways__panel .btn { margin-top: 28px; }
.ways__source { margin-top: 28px; font-size: .8125rem; color: rgba(185, 179, 194, .8); max-width: 36em; }

.ways__map { grid-column: 7 / -1; display: flex; justify-content: center; padding-bottom: 48px; }
.route-map {
  position: relative;
  height: min(900px, calc(100svh - var(--header-h) - 60px));
  min-height: 640px;
  aspect-ratio: 518 / 1030;
}
.route-map__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rm-terminal { fill: rgba(142, 132, 255, .07); stroke: rgba(246, 243, 238, .4); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rm-set { transition: opacity .45s var(--ease); }
.rm-line { fill: none; stroke: var(--led-light); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rm-line--walk { stroke: var(--lobby); stroke-width: 3; stroke-dasharray: 1 7; }
.rm-glow { fill: none; stroke: var(--led); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; opacity: .7; transition: opacity .45s var(--ease); }
.rm-stop { fill: var(--glass); stroke: var(--led-light); stroke-width: 2; vector-effect: non-scaling-stroke; }
.rm-end { fill: var(--ivory); }
.rm-hotel__halo { fill: rgba(242, 194, 126, .2); }
.rm-hotel__dot { fill: var(--lobby); }
.rm-spark { fill: #fff; opacity: 0; filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px var(--led-light)); }
.rm-scale path, .rm-north path { fill: none; stroke: rgba(246, 243, 238, .55); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }

.ways[data-mode="car"] .rm-set--metro { opacity: .2; }
.ways[data-mode="car"] .rm-set--metro .rm-glow { opacity: 0; }
.ways[data-mode="metro"] .rm-set--car { opacity: .2; }
.ways[data-mode="metro"] .rm-set--car .rm-glow { opacity: 0; }

.rm-label {
  position: absolute; z-index: 1;
  font-size: .8125rem; line-height: 1.2; white-space: nowrap; color: rgba(246, 243, 238, .82);
  pointer-events: none; transition: opacity .45s var(--ease);
}
.rm-label--hotel { transform: translate(calc(-100% - 16px), -50%); font-family: var(--f-display); font-size: 1.375rem; color: var(--lobby); }
.rm-label--terminal { transform: translate(-100%, -50%); font-family: var(--f-display); font-size: 1.375rem; color: var(--ivory); text-align: right; }
.rm-label--stop { transform: translate(calc(-100% - 12px), -50%); }
.rm-label--hastane { transform: translate(calc(-100% - 12px), 2px); }
.rm-label--ist { transform: translate(calc(-100% + 6px), 12px); }
.rm-label--scale { transform: translate(-50%, -100%); font-size: .75rem; color: rgba(246, 243, 238, .6); }
.rm-label--north { transform: translate(-50%, 0); font-size: .75rem; font-weight: 700; color: rgba(246, 243, 238, .6); }
.ways[data-mode="car"] .rm-label--stop { opacity: .3; }
.rm-photo { position: absolute; z-index: 1; width: 31%; margin: 0; }
.rm-photo img { width: 100%; aspect-ratio: 360 / 421; object-fit: cover; box-shadow: 0 0 0 1px rgba(246, 243, 238, .14), 0 18px 40px -18px rgba(0, 0, 0, .8); }
.rm-photo figcaption { margin-top: 8px; font-size: .75rem; line-height: 1.35; color: rgba(246, 243, 238, .7); }

.ways__lobby { position: relative; border-top: 1px solid rgba(246, 243, 238, .1); background: linear-gradient(180deg, rgba(242, 194, 126, .07), rgba(242, 194, 126, 0)); }
.ways__lobby-inner { display: flex; align-items: center; gap: 14px; padding-block: 26px; color: rgba(246, 243, 238, .86); }
.ways__lobby-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lobby); box-shadow: 0 0 0 5px rgba(242, 194, 126, .14), 0 0 18px rgba(242, 194, 126, .8); flex: none; }

/* =========================================================
   Section heads
   ========================================================= */
.section-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head .h2 { grid-column: 1 / span 5; }
.section-head__text { grid-column: 7 / -1; max-width: 36em; color: var(--body); font-size: 1.125rem; }

/* =========================================================
   Rooms
   ========================================================= */
.room-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.room-tab {
  position: relative; display: grid; gap: 4px; align-content: start;
  padding: 18px 20px 20px 0; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  transition: color .2s;
}
.room-tab__name { font-family: var(--f-display); font-size: clamp(1.375rem, 1rem + .8vw, 1.75rem); line-height: 1.1; color: var(--muted); transition: color .2s; }
.room-tab__cap { font-size: .875rem; color: var(--muted); }
.room-tab:hover .room-tab__name { color: var(--ink); }
.room-tab[aria-selected="true"] .room-tab__name { color: var(--ink); }
.room-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 20px; bottom: -1px; height: 3px; background: var(--led); }

.room { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; margin-top: 40px; align-items: start; }
.room__media { grid-column: 1 / span 7; }
.room__main { display: block; width: 100%; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; overflow: hidden; }
.room__main img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: opacity .25s; }
.room__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.room__thumb { padding: 0; border: 0; background: var(--stone); cursor: pointer; opacity: .62; transition: opacity .2s; position: relative; }
.room__thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room__thumb:hover, .room__thumb[aria-pressed="true"] { opacity: 1; }
.room__thumb[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--led); }
.room__info { grid-column: 9 / -1; padding-top: 4px; }
.room__name { font-family: var(--f-display); font-size: clamp(2.25rem, 1.6rem + 1.6vw, 3.25rem); line-height: 1; }
.room__desc { margin-top: 18px; color: var(--body); }
.room__specs { margin-top: 26px; border-top: 1px solid var(--ink); }
.room__specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.room__specs dt { font-size: .875rem; font-weight: 600; color: var(--muted); }
.room__specs dd { text-align: right; font-weight: 500; }
.room__info .btn { margin-top: 30px; }

.rooms__common {
  display: grid; grid-template-columns: 3fr 9fr; gap: 24px 48px; align-items: start;
  margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line);
}
.rooms__common-title { font-family: var(--f-display); font-size: 1.875rem; line-height: 1.1; }
.amenities { columns: 3; column-gap: 32px; }
.amenities li { break-inside: avoid; padding: 3px 0; color: var(--body); }

/* =========================================================
   Lobby, restaurant, breakfast
   ========================================================= */
.dine__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: start; }
.dine__text { grid-column: 1 / span 4; padding-top: 8px; }
.dine__text .lead { margin-top: 26px; }
.dine__text p + p { margin-top: 16px; color: var(--body); }
.quote { margin-top: 32px; padding-left: 20px; border-left: 2px solid var(--led); }
.quote p { font-family: var(--f-display); font-size: 1.625rem; line-height: 1.2; }
.quote footer { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.dine__media { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dine__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.dine__big { grid-column: 1 / -1; }
.dine__big img { aspect-ratio: 16 / 10; }

/* =========================================================
   Services
   ========================================================= */
.services__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.services__head { grid-column: 1 / span 4; }
.services__head p { margin-top: 22px; color: var(--body); max-width: 26em; }
.services__list { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--ink); }
.services__list > div { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.services__list dt { font-family: var(--f-display); font-size: 1.625rem; line-height: 1.1; }
.services__list dd { margin-top: 6px; color: var(--body); }

/* =========================================================
   Reviews
   ========================================================= */
.reviews__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: start; }
.reviews__score { grid-column: 1 / span 4; }
.reviews__title { font-family: var(--f-display); font-size: clamp(2rem, 1.5rem + 1.4vw, 2.75rem); line-height: 1.05; }
.reviews__big { font-family: var(--f-display); font-size: clamp(7rem, 5rem + 6vw, 11rem); line-height: .85; margin-top: 18px; color: var(--led); }
.reviews__meta { margin-top: 12px; color: var(--muted); }
.reviews__list { grid-column: 6 / -1; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.reviews__list li { padding: 24px 0; border-bottom: 1px solid #D5D2CC; }
.reviews__list p { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + .8vw, 1.875rem); line-height: 1.2; }
.reviews__list footer { margin-top: 10px; font-size: .875rem; color: var(--muted); }

/* =========================================================
   Location
   ========================================================= */
.location__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: start; }
.location__info { grid-column: 1 / span 5; }
.location__map { grid-column: 7 / -1; position: sticky; top: calc(var(--header-h) + 24px); }
.location__map iframe { display: block; width: 100%; height: clamp(440px, 46vw, 640px); border: 0; background: var(--stone); filter: grayscale(.2); }
.location__address { display: grid; margin-top: 24px; font-size: 1.125rem; font-weight: 500; }
.distances__title { font-family: var(--f-display); font-size: 1.75rem; margin: 36px 0 6px; }
.distances li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.distances__v { font-family: var(--f-display); font-size: 1.75rem; line-height: 1; white-space: nowrap; }
.distances__v small { font-family: var(--f-body); font-size: .8125rem; font-weight: 500; color: var(--muted); }
.location__info .btn { margin-top: 32px; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery__title { margin-bottom: clamp(32px, 4vw, 48px); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 16vw, 240px); grid-auto-flow: dense; gap: 12px; }
.gallery__grid li { min-width: 0; }
.gallery__grid .g-big { grid-column: span 2; grid-row: span 2; }
.gallery__grid .g-tall { grid-row: span 2; }
.gallery__grid .g-wide { grid-column: span 2; }
.gallery__item { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #DAD7D1; cursor: zoom-in; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }

/* =========================================================
   Closing and footer
   ========================================================= */
.closing { background: var(--glass); color: var(--ivory); padding-block: clamp(88px, 10vw, 150px) clamp(72px, 8vw, 120px); }
.closing__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: end; }
.closing__text { grid-column: 1 / span 7; }
.closing__title { font-family: var(--f-display); font-size: clamp(3rem, 1.6rem + 4.4vw, 6.25rem); line-height: .95; letter-spacing: -.012em; text-wrap: balance; }
.closing__lead { margin-top: 24px; max-width: 30em; font-size: 1.1875rem; color: rgba(246, 243, 238, .8); }
.closing__text .btn { margin-top: 36px; }
.closing__list { grid-column: 9 / -1; border-top: 1px solid rgba(246, 243, 238, .2); }
.closing__list li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid rgba(246, 243, 238, .12); }
.closing__label { font-size: .8125rem; font-weight: 600; color: var(--ivory-muted); }
.closing__value { font-family: var(--f-display); font-size: 2rem; line-height: 1.1; text-decoration: none; color: var(--ivory); }
.closing__value--mail { font-size: 1.625rem; overflow-wrap: anywhere; }
.closing__value:hover { color: var(--led-light); }

.site-footer { background: #0F0D15; color: var(--ivory-muted); font-size: .9375rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1.2fr 1.2fr; gap: 32px; padding-block: 56px 40px; }
.site-footer__name { font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--ivory); margin-bottom: 8px; }
.site-footer__title { font-size: .8125rem; font-weight: 600; color: var(--ivory); margin-bottom: 10px; }
.site-footer p + p { margin-top: 4px; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--led-light); }
.site-footer__base { display: flex; justify-content: space-between; gap: 24px; padding-block: 20px 28px; border-top: 1px solid rgba(246, 243, 238, .1); font-size: .8125rem; }

/* Sticky mobile bar and lightbox */
.sticky-book { display: none; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 10, 18, .96); color: var(--ivory); }
.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(--ivory-muted); padding-inline: 72px; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(246, 243, 238, .25); background: rgba(246, 243, 238, .06); color: var(--ivory); cursor: pointer; }
.lightbox__btn:hover { background: rgba(246, 243, 238, .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: 1240px) {
  .nav__list { gap: 20px; }
  .site-header__inner { gap: 24px; }
}

@media (max-width: 1099px) {
  :root { --gutter: 28px; }
  .nav { display: none; }
  .menu-toggle {
    display: inline-grid; place-content: center; gap: 7px;
    width: 44px; height: 44px; padding: 0; margin-right: -8px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .site-header__actions { margin-left: auto; }

  .hero { --hero-copy-w: 30rem; --hero-veil: .45; }
  .booking { grid-template-columns: 1fr 1fr; }
  #guestsField { border-right: 0; }
  .booking__field { border-bottom: 1px solid var(--line); }
  .booking__submit { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
  .booking__submit .btn { min-width: 220px; }
  .booking__note { text-align: left; justify-self: start; max-width: none; }

  .intro__text { grid-column: 1 / span 7; }
  .intro__media { grid-column: 9 / -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .ways__text { grid-column: 1 / span 7; }
  .ways__map { grid-column: 8 / -1; }
  .room-tabs { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .room-tabs::-webkit-scrollbar { display: none; }
  .room__media { grid-column: 1 / -1; }
  .room__info { grid-column: 1 / span 9; }
  .section-head .h2 { grid-column: 1 / -1; }
  .section-head__text { grid-column: 1 / span 10; }
  .rooms__common { grid-template-columns: 1fr; }
  .amenities { columns: 2; }
  .dine__text { grid-column: 1 / -1; max-width: 40em; }
  .dine__media { grid-column: 1 / -1; }
  .services__head, .services__list { grid-column: 1 / -1; }
  .reviews__score { grid-column: 1 / span 5; }
  .reviews__list { grid-column: 6 / -1; }
  .location__info { grid-column: 1 / span 6; }
  .location__map { grid-column: 7 / -1; }
  .closing__text { grid-column: 1 / -1; }
  .closing__list { grid-column: 1 / span 8; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 899px) {
  .intro__grid, .location__grid, .ways__grid, .reviews__grid { grid-template-columns: 1fr; }
  .intro__text, .intro__media, .location__info, .location__map, .ways__text, .ways__map, .reviews__score, .reviews__list { grid-column: 1 / -1; }
  .intro__media { max-width: 420px; }
  .location__map { position: static; }
  /* Phones and tablets: the map sits right under the tabs, so switching shows the change at once */
  .ways__text { display: contents; }
  .ways__grid { gap: 0; }
  .ways .h2 { order: 1; }
  .ways__lead { order: 2; }
  .ways__tabs { order: 3; }
  .ways__map { order: 4; padding-top: 28px; padding-bottom: 8px; }
  .ways__panel { order: 5; }
  .ways__source { order: 6; padding-bottom: 48px; }
  .route-map { height: auto; width: min(100%, 440px); min-height: 0; }

  /* Popovers become bottom sheets */
  .popover {
    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; }
  .guests { width: 100%; padding-inline: 20px; }

  .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: var(--glass);
    box-shadow: 0 -1px 0 rgba(246, 243, 238, .12);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-book .btn { flex: 1; }
  .sticky-book__wa { width: 48px; height: 48px; flex: none; color: var(--ivory); border-color: rgba(246, 243, 238, .3); }
  .sticky-book__wa:hover { background: var(--glass-2) !important; }
  .sticky-book.is-visible { transform: none; }
  .site-footer { padding-bottom: 76px; }
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }

@media (max-width: 760px) {
  :root { --gutter: 16px; --header-h: 64px; --section-y: 68px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.375rem; }
  .brand__sub { font-size: .6875rem; }
  .site-header__cta { display: none; }
  .site-header__actions { gap: 8px; }

  /* Phone hero: the building photo with the night sky above it; the headline sits in that sky */
  .hero { min-height: 0; --hero-veil: 0; }
  .hero__media { bottom: auto; height: calc(min(176vw, 760px)); }
  .hero__media img { object-position: var(--hero-pos-m); }
  .hero__media::after { background: linear-gradient(180deg, rgba(10, 8, 12, .25), rgba(10, 8, 12, 0) 40%); }
  .hero__inner { flex: none; height: calc(min(176vw, 760px) - 40px); padding-top: calc(var(--header-h) + 18px); padding-bottom: 0; }
  .hero__copy { margin: 0; transform: none; }
  .hero__place { font-size: .875rem; margin-bottom: 10px; }
  .hero__title { font-size: clamp(2.6rem, 11.6vw, 3.4rem); }
  .hero__lead, .hero__now { display: none; }
  .booking-wrap { margin-bottom: 0; }
  .booking { box-shadow: 0 24px 40px -24px rgba(10, 8, 16, .6), 0 0 0 1px rgba(27, 26, 36, .06); }
  .booking__field { padding: 14px 16px; }
  .booking__value { font-size: 1.5rem; }
  .booking__submit { grid-template-columns: 1fr; padding: 14px 16px 16px; }
  .booking__submit .btn { min-width: 0; width: 100%; }
  .booking__note { text-align: center; justify-self: center; }
  #checkinField { border-right: 1px solid var(--line); }
  #guestsField { grid-column: 1 / -1; }
  .hero { padding-bottom: 28px; }

  .intro { padding-top: var(--section-y); }
  .facts { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .facts dd { font-size: 1.75rem; }
  .ways__tab { font-size: 1.75rem; margin-right: 28px; }
  .ways__dl > div { grid-template-columns: 1fr; gap: 2px; }
  .ways__panel .btn { width: 100%; }
  .route-map { width: 100%; }
  .rm-label { font-size: .75rem; }
  .rm-label--hotel, .rm-label--terminal { font-size: 1.125rem; }
  .ways__lobby-inner { align-items: flex-start; }
  .ways__lobby-dot { margin-top: 7px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head__text { grid-column: 1 / -1; font-size: 1.0625rem; }
  .room-tabs { display: flex; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .room-tab { flex: none; padding-right: 28px; }
  .room-tab__name { white-space: nowrap; }
  .room-tab[aria-selected="true"]::after { right: 28px; }
  .room { margin-top: 28px; gap: 24px; }
  .room__info { grid-column: 1 / -1; }
  .room__thumbs { gap: 6px; }
  .room__info .btn { width: 100%; }
  .amenities { columns: 1; }
  .dine__media { grid-template-columns: 1fr; gap: 12px; }
  .services__list { grid-template-columns: 1fr; }
  .reviews__big { margin-top: 10px; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .gallery__grid .g-big { grid-column: span 2; }
  .closing__list { grid-column: 1 / -1; }
  .closing__text .btn { width: 100%; }
  .closing__value { font-size: 1.75rem; }
  .closing__value--mail { font-size: 1.375rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__base { flex-direction: column; gap: 6px; }
  .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; }
}
