/* =========================================================
   Golden River Hotel by Continent, Arnavutköy
   The building has two faces: white neoclassical stone by day,
   and at night every pilaster is lit gold from its base.
   Light page (day stone), dark only where it is night:
   the hero stage and the 24-hour arcade.
   ========================================================= */

:root {
  --gece: #15120E;          /* night: arcade band */
  --gece-2: #221D17;
  --sahne: #010101;         /* the photo's own black sky */
  --isik: #F0A43F;          /* uplight gold: only on dark, as light */
  --isik-2: #F7BC63;
  --isik-soft: #FFE1AE;
  --tas: #F0EDE8;           /* facade stone by day */
  --tas-2: #E5E0D7;
  --surface: #FFFFFF;
  --ink: #1E1A15;           /* text, primary buttons on light */
  --ink-2: #3A332A;
  --yaldiz: #7F5F2E;        /* gilt: hairlines, small numerals on light */
  --muted: #675F56;
  --line: #E2DBD0;

  --on-dark: #EFE9DF;
  --on-dark-muted: #B3A897;
  --line-dark: rgba(239, 233, 223, .14);

  --f-display: "Forum", "Trajan Pro", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --f-body: "Libre Franklin", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(84px, 9.5vw, 144px);
  --header-h: 80px;
  --radius: 2px;
  --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) + 8px);
}

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

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 { margin: 0; }
dl, dd { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.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-weight: 400;
  font-size: clamp(2.2rem, 1.4rem + 2.5vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.005em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3rem); line-height: 1.55; }
.note { font-size: .875rem; color: var(--muted); 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; gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { --btn-bg: var(--ink-2); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 14px 32px; font-size: 1rem; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--amber { --btn-bg: var(--isik); --btn-fg: var(--gece); }
.btn--amber:hover { --btn-bg: var(--isik-2); }

.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yaldiz);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  font-weight: 500;
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link--dark { color: var(--on-dark); text-decoration-color: var(--isik); }

.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); }
.link-btn--dark { color: var(--on-dark-muted); }
.link-btn--dark:hover { color: var(--on-dark); }

.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, .step-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(--tas); }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.icon-btn--round { border-radius: 50%; border-color: var(--line); }

/* ---------- Emblem ---------- */
.brand__mark, .site-footer__mark {
  --em-fill: var(--ink); --em-rim: #B8873A; --em-river: #F6EEDF;
  overflow: visible;
}
.emblem__plate { fill: var(--em-fill); stroke: var(--em-rim); stroke-width: 1.6; stroke-linejoin: round; }
.emblem__river { fill: none; stroke: var(--em-river); stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  --hd-ink: var(--on-dark);
  --hd-muted: rgba(239, 233, 223, .62);
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  color: var(--hd-ink);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.site-header .brand__mark { --em-fill: transparent; --em-rim: var(--isik); --em-river: var(--on-dark); }
.site-header.is-scrolled {
  --hd-ink: var(--ink);
  --hd-muted: var(--muted);
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled .brand__mark { --em-fill: var(--ink); --em-rim: #B8873A; --em-river: #F6EEDF; }
.site-header__inner {
  height: 100%;
  padding-inline: clamp(16px, 3.4vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__mark { width: 46px; height: 38px; flex: none; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--f-display); font-size: 1.45rem; letter-spacing: .02em; white-space: nowrap; }
.brand__by { font-size: .6875rem; letter-spacing: .02em; color: var(--hd-muted); margin-top: 5px; white-space: nowrap; }

.nav__list { display: flex; gap: clamp(18px, 2.1vw, 34px); }
.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: var(--hd-muted);
}
.lang__btn + .lang__btn { border-left: 1px solid currentColor; }
.lang__btn.is-active { color: var(--hd-ink); }
.site-header:not(.is-scrolled) .site-header__cta { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: rgba(239, 233, 223, .55); }
.site-header:not(.is-scrolled) .site-header__cta:hover { --btn-bg: var(--on-dark); --btn-fg: var(--gece); --btn-bd: var(--on-dark); }
.site-header:not(.is-scrolled) :focus-visible { outline-color: var(--isik); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform .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(--surface);
  padding-block: 16px 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(--f-display); font-size: 1.8rem; color: var(--ink); text-decoration: none;
}
.mobile-menu__foot { display: grid; gap: 10px; margin-top: 28px; color: var(--muted); }
.mobile-menu__foot a { text-decoration: none; }

/* =========================================================
   HERO
   One place to tune it:
   --hero-h        hero height
   --media-h       height of the photo inside the black stage
   --media-fade    how far the photo's left/right edges dissolve
   --hero-pos      object-position of the photo
   --copy-top      distance of the headline from the top
   --copy-align    center (stage) or start (full photo, sky on the left)
   --copy-w        max width of the headline block
   --hero-ink      headline colour
   ========================================================= */
.hero {
  --hero-h: clamp(600px, calc(100svh - 64px), 1080px);
  --media-h: calc(100% - clamp(250px, 32svh, 350px) - var(--media-lift, 34px));
  --media-fade: 13%;
  --media-lift: clamp(0px, calc((100svh - 760px) * .14), 40px);
  --hero-pos: 50% 50%;
  --copy-top: calc(var(--header-h) + clamp(8px, 2.4svh, 30px));
  --copy-align: center;
  --copy-w: 30ch;
  --hero-ink: #F7EFE1;
  position: relative;
  height: var(--hero-h);
  background: var(--sahne);
  color: var(--hero-ink);
  margin-bottom: 76px;
}
.hero__media { display: block; position: absolute; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos); }

/* Stage: the photo keeps its proportions in the middle of the night */
/* the photo stops just above the booking bar so the gold reflection in the wet street stays visible */
.hero[data-hero="stage"] .hero__media {
  left: 50%; bottom: var(--media-lift, 34px);
  height: var(--media-h);
  aspect-ratio: 2400 / 1603;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--media-fade), #000 calc(100% - var(--media-fade)), transparent 100%), linear-gradient(180deg, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--media-fade), #000 calc(100% - var(--media-fade)), transparent 100%), linear-gradient(180deg, #000 86%, transparent 100%);
  mask-composite: intersect;
}
/* Full: for the day header photo (sky on the left) */
.hero[data-hero="full"] {
  --copy-align: start;
  --copy-w: 15ch;
  --hero-pos: 70% 40%;
  --hero-ink: var(--ink);
}
.hero[data-hero="full"] .hero__media { inset: 0; }
body:has(.hero[data-hero="full"]) .site-header:not(.is-scrolled) { --hd-ink: var(--ink); --hd-muted: var(--muted); }
body:has(.hero[data-hero="full"]) .site-header:not(.is-scrolled) .brand__mark { --em-fill: var(--ink); --em-rim: #B8873A; --em-river: #F6EEDF; }
body:has(.hero[data-hero="full"]) .site-header:not(.is-scrolled) .site-header__cta { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }

.hero__copy {
  position: absolute; z-index: 2;
  top: var(--copy-top); left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; text-align: var(--copy-align);
  padding-inline: var(--gutter);
}
.hero[data-hero="full"] .hero__copy {
  align-items: flex-start;
  left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  right: auto; padding: 0; top: calc(var(--header-h) + 8vh);
}
.hero__stars {
  font-size: .75rem; letter-spacing: .5em; padding-left: .5em;
  color: var(--isik);
  margin-bottom: clamp(10px, 1.4svh, 18px);
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.3rem, .9rem + 3.05vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -.004em;
  margin: 0;
  max-width: var(--copy-w);
}
.hero__title .ln { display: block; }
.hero__lead {
  max-width: 62ch;
  margin-top: clamp(12px, 1.8svh, 20px);
  font-size: clamp(.98rem, .92rem + .2vw, 1.0625rem);
  color: rgba(247, 239, 225, .78);
}
.hero[data-hero="full"] .hero__lead { color: var(--muted); max-width: 36ch; }

/* ---------- Booking bar: a stone cornice over the street ---------- */
.booking-wrap {
  position: absolute; z-index: 20;
  left: 50%; bottom: 0;
  width: min(1100px, calc(100% - 2 * var(--gutter)));
  transform: translate(-50%, 50%);
}
.booking {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr auto;
  background: var(--tas);
  color: var(--ink);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55);
}
/* the projecting cornice: a wider band and a hairline, as on the facade */
.booking::before {
  content: ""; position: absolute; left: -10px; right: -10px; top: -8px; height: 3px;
  background: rgba(240, 237, 232, .72);
}
.booking__field {
  display: grid; align-content: center; gap: 2px;
  text-align: left;
  padding: 18px 26px;
  background: none; border: 0; border-right: 1px solid var(--line);
  cursor: pointer;
  min-height: 104px;
  transition: background-color .2s var(--ease);
}
.booking__field:hover, .booking__field[aria-expanded="true"] { background: #F7F5F1; }
.booking__label { font-size: .8125rem; font-weight: 500; color: var(--muted); }
.booking__value {
  font-family: var(--f-display); font-size: 1.6rem; line-height: 1.15; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.booking__value.is-empty { color: #7D756B; }
.booking__sub { font-size: .8125rem; color: var(--muted); min-height: 1.3em; }
.booking__submit {
  display: grid; align-content: center; justify-items: stretch; gap: 6px;
  padding: 16px 20px;
}
.booking__alt { font-size: .8125rem; color: var(--muted); text-align: center; text-underline-offset: 3px; }
.booking__alt:hover { color: var(--ink); }

/* Popovers */
.popover {
  position: absolute; z-index: 40;
  top: calc(100% + 10px);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -20px rgba(21, 18, 14, .4), 0 0 0 1px rgba(21, 18, 14, .07);
  animation: pop .22s 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.3rem; color: var(--ink); 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(--tas-2); }
.day:disabled { color: #BDB5AA; cursor: default; }
.day:focus-visible { outline: none; }
.day:focus-visible span { box-shadow: 0 0 0 2px var(--yaldiz); }
.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(--tas);
}
.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(--ink-2); }
.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: 500; color: var(--ink); }
.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='%231E1A15' 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: #A3352B; }
.guests__foot { display: flex; justify-content: flex-end; padding-top: 18px; }

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

/* =========================================================
   INTRO: day and night
   ========================================================= */
.intro { padding-top: calc(var(--section) + 20px); }
.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.intro__text { grid-column: 1 / span 5; }
.intro__text .h2 { margin-bottom: 28px; max-width: 12ch; }
.intro__text p + p { margin-top: 18px; color: var(--muted); }
.intro__media { grid-column: 7 / -1; position: relative; padding-bottom: 22%; }
.intro__day img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% 50%; }
.intro__night {
  position: absolute; left: -14%; bottom: 0; width: 56%;
  border: 8px solid var(--surface); border-bottom: 0; border-left: 0;
}
.intro__night img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.intro__day figcaption { text-align: right; }
figcaption { margin-top: 10px; font-size: .8125rem; color: var(--muted); }

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

.scores { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 28px; }
.scores div { display: grid; gap: 2px; }
.scores dt { font-size: .8125rem; color: var(--muted); }
.scores dd { display: flex; align-items: baseline; gap: 6px; }
.scores__num { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; color: var(--ink); }
.scores__of { font-size: .9375rem; color: var(--muted); margin-left: -4px; }
.scores__n { font-size: .875rem; color: var(--muted); }

/* =========================================================
   SIGNATURE: the arcade as a 24-hour clock
   ========================================================= */
.hours {
  background: var(--gece);
  color: var(--on-dark);
  padding-block: var(--section) clamp(72px, 8vw, 120px);
  overflow: hidden;
}
.hours .h2 { color: #FBF5EA; }
.hours :focus-visible { outline-color: var(--isik); }
.hours__head {
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.hours__head .h2 { grid-column: 1 / span 5; }
.hours__intro { grid-column: 7 / -1; color: var(--on-dark-muted); max-width: 56ch; }

.arcade {
  position: relative;
  cursor: pointer;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  border-radius: var(--radius);
}
.arcade:focus-visible { outline: 2px solid var(--isik); outline-offset: 8px; }
.arcade__svg { display: block; width: 100%; height: auto; overflow: visible; }

/* the drawing */
.bay__glow, .bay__lamp, .bay__halo { opacity: 0; transition: opacity .7s var(--ease) calc(var(--i) * 45ms); }
.arcade.is-lit .bay__glow { opacity: var(--n); }
.arcade.is-lit .bay__lamp { opacity: var(--n); }
.arcade.is-lit .bay__halo { opacity: calc(var(--n) * .9); }
.bay__room { opacity: 0; transition: opacity .35s var(--ease); }
.bay.is-selected .bay__room { opacity: 1; }
.bay__hit { fill: transparent; }
.hour-label {
  font-family: var(--f-display); fill: #8E8473; text-anchor: middle;
  transition: fill .2s;
}
.hour-label.is-selected { fill: var(--isik); }
.reflection { opacity: .5; }

.arcade__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 6px;
}
.arcade__hint { font-size: .875rem; color: var(--on-dark-muted); }
.arcade__steps { display: flex; align-items: center; gap: 14px; }
.step-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line-dark); color: var(--on-dark);
  cursor: pointer;
}
.step-btn:hover { background: var(--gece-2); }

.hours__panel {
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(28px, 3.5vw, 48px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line-dark);
}
.hours__now { grid-column: 1 / span 4; }
.hours__time {
  font-family: var(--f-display);
  font-size: clamp(4rem, 2.6rem + 4vw, 6.5rem);
  line-height: .9;
  color: var(--isik);
  font-variant-numeric: lining-nums;
}
.hours__verdict { margin-top: 14px; font-size: 1.125rem; color: #FBF5EA; max-width: 26ch; }
.hours__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.hours__list {
  grid-column: 6 / -1;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 44px);
  align-content: start;
}
.hours__list div { padding: 14px 0 16px; border-bottom: 1px solid var(--line-dark); }
.hours__list dt { font-size: .8125rem; color: var(--on-dark-muted); margin-bottom: 4px; }
.hours__list dd { font-size: .9375rem; line-height: 1.5; color: var(--on-dark); }
.state {
  display: inline-block; margin-right: 6px;
  font-weight: 600; color: var(--on-dark-muted);
}
.state--on { color: var(--isik); }

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

.room-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-bottom: clamp(28px, 3vw, 40px);
}
.room-tab {
  position: relative;
  display: grid; gap: 4px; align-content: start;
  padding: 22px 20px 20px 0;
  text-align: left; cursor: pointer;
  background: none; border: 0;
}
.room-tab::before {
  content: ""; position: absolute; left: 0; right: 20px; top: -1px; height: 2px;
  background: var(--yaldiz);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.room-tab__name {
  font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + .7vw, 1.85rem); line-height: 1.15;
  color: #8C8275;
  transition: color .25s var(--ease);
}
.room-tab__meta { font-size: .875rem; color: var(--muted); }
.room-tab:hover .room-tab__name, .room-tab.is-active .room-tab__name { color: var(--ink); }
.room-tab.is-active::before { transform: scaleX(1); }

.rooms__stage { display: grid; }
.room {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(16px, 2.4vw, 32px);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.room.is-active { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.room__media { grid-column: 1 / span 7; }
.room__main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tas); }
.room__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumb {
  padding: 0; border: 0; background: var(--tas); cursor: pointer;
  opacity: .55; transition: opacity .2s var(--ease);
  position: relative;
}
.thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.thumb:hover { opacity: .85; }
.thumb.is-active { opacity: 1; }
.thumb.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--yaldiz); }
.room__body { grid-column: 9 / -1; align-self: start; padding-top: 6px; }
.room__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.room__desc { color: var(--ink); }
.specs { margin: 24px 0 28px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.specs div:first-child { border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { color: var(--ink); font-weight: 500; text-align: right; }

.rooms__common {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px;
  margin-top: clamp(40px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line);
}
.rooms__common-title { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.amenities { display: flex; flex-wrap: wrap; gap: 6px 22px; flex: 1 1 420px; font-size: .9375rem; color: var(--muted); }
.amenities li { position: relative; }
.amenities li + li::before {
  content: ""; position: absolute; left: -12px; top: 50%; width: 3px; height: 3px; border-radius: 50%;
  background: var(--yaldiz); transform: translateY(-50%);
}

/* =========================================================
   DINING
   ========================================================= */
.dining { background: var(--tas); }
.dining__grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(16px, 2.4vw, 32px);
  row-gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}
.dining__text { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.dining__text .h2 { margin-bottom: 26px; }
.dining__text p + p { margin-top: 16px; color: var(--muted); }
.dining__main { grid-column: 7 / -1; grid-row: 1; }
.dining__main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.dining__strip { grid-column: 7 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.dining__strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.hours-dl { margin-top: 32px; }
.hours-dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid #D9D2C6; }
.hours-dl div:first-child { border-top: 1px solid #D9D2C6; }
.hours-dl dt { color: var(--muted); font-size: .9375rem; }
.hours-dl dd { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.2; color: var(--ink); white-space: nowrap; }

/* =========================================================
   MEETINGS
   ========================================================= */
.meet__grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: center;
}
.meet__media { grid-column: 1 / span 6; }
.meet__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.meet__text { grid-column: 8 / -1; }
.meet__text .h2 { margin-bottom: 24px; }
.meet__text p + p { margin-top: 16px; color: var(--muted); }
.meet__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--tas); }
.services .h2 { margin-bottom: clamp(32px, 4vw, 52px); }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(20px, 3vw, 48px);
}
.services__grid div { padding: 18px 0 20px; border-top: 1px solid #D9D2C6; }
.services__grid dt { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.2; color: var(--ink); margin-bottom: 6px; }
.services__grid dd { color: var(--muted); font-size: .9375rem; max-width: 38ch; }

/* =========================================================
   LOCATION
   ========================================================= */
.location__grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: stretch;
}
.location__info { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; }
.location__info .h2 { margin-bottom: 22px; }
.location__address { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.35; color: var(--ink); margin-bottom: 32px; }
.distances { width: 100%; margin-bottom: 32px; }
.distances__title { font-size: .8125rem; font-weight: 500; color: var(--muted); margin: 0 0 4px; }
.distances ul + .distances__title { margin-top: 22px; }
.distances li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9375rem;
}
.distances li span:last-child { color: var(--ink); font-weight: 500; text-align: right; white-space: nowrap; }
.distances .note { margin-top: 16px; }
.location__map { grid-column: 7 / -1; min-height: 520px; background: var(--tas); }
.location__map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; filter: grayscale(.7) sepia(.08) contrast(1.02); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { padding-top: 0; }
.gallery .h2 { margin-bottom: clamp(28px, 3.5vw, 44px); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 15vw, 220px);
  grid-auto-flow: dense;
  gap: clamp(8px, 1vw, 14px);
}
.gallery__grid .g-xl { grid-column: span 2; 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: var(--tas); 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
   ========================================================= */
.closing {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--sahne); color: var(--on-dark);
  padding-block: clamp(96px, 12vw, 180px);
}
.closing__bg {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  opacity: .62;
}
.closing::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(1, 1, 1, .88) 0, rgba(1, 1, 1, .55) 45%, rgba(1, 1, 1, .1) 100%);
}
.closing__title {
  font-family: var(--f-display); font-weight: 400; color: #FBF5EA;
  font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.9rem); line-height: 1.06; margin: 0;
  max-width: 16ch; text-wrap: balance;
}
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

/* =========================================================
   FOOTER (day stone)
   ========================================================= */
.site-footer { background: var(--tas); color: var(--muted); font-size: .9375rem; padding-top: 64px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; padding-bottom: 48px; }
.site-footer__mark { width: 56px; height: 46px; margin-bottom: 14px; }
.site-footer__name { font-family: var(--f-display); font-size: 1.5rem; color: var(--ink); }
.site-footer__group { margin-top: 6px; max-width: 34ch; }
.site-footer__title { font-size: .8125rem; font-weight: 500; color: var(--yaldiz); margin: 0 0 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(#D9D2C6, #D9D2C6) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

.sticky-book { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(10, 9, 7, .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, .18); color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__btn:focus-visible { outline-color: var(--isik); }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 1023px) {
  .intro__text, .intro__media,
  .meet__media, .meet__text,
  .location__info, .location__map,
  .dining__text, .dining__main, .dining__strip,
  .section-head .h2, .section-head__text,
  .hours__head .h2, .hours__intro { grid-column: 1 / -1; }
  .dining__text { grid-row: auto; }
  .dining__main, .dining__strip { grid-row: auto; }
  .dining__main { margin-top: 24px; }
  .intro__media { margin-top: 48px; padding-bottom: 0; }
  .intro__night { position: relative; left: auto; width: 62%; margin: -18% 0 0 auto; border-width: 8px 0 0 8px; border-style: solid; border-color: var(--surface); }
  .intro__day figcaption { text-align: left; }
  .meet__text, .location__map { margin-top: 40px; }
  .section-head__text, .hours__intro { margin-top: 16px; }

  .hours__now { grid-column: 1 / -1; }
  .hours__list { grid-column: 1 / -1; margin-top: 32px; }

  .room__media, .room__body { grid-column: 1 / -1; }
  .room__body { padding-top: 28px; }
  .room-tabs { grid-template-columns: repeat(2, 1fr); }

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

@media (max-width: 899px) {
  /* booking bar becomes a card */
  .booking { grid-template-columns: 1fr 1fr; }
  .booking__field { min-height: 86px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .booking__field:nth-child(2) { border-right: 0; }
  #guestsField { grid-column: 1 / -1; border-right: 0; }
  .booking__submit { grid-column: 1 / -1; padding: 14px 18px 16px; }
  .hero { margin-bottom: 220px; }
  .booking-wrap { transform: translate(-50%, 72%); }

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

  .arcade__bar { flex-direction: column-reverse; align-items: stretch; margin-top: 14px; }
  .arcade__steps { justify-content: center; gap: 18px; }
  .arcade__hint { text-align: center; }

  .sticky-book {
    display: flex; gap: 12px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-book .btn { flex: 1; }
  .sticky-book__wa { width: 48px; height: 48px; flex: none; background: #fff; }
  .sticky-book.is-visible { transform: none; }
  .site-footer { padding-bottom: 76px; }
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }

/* Phones: the headline sits in the black sky above the photo */
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .hero {
    height: auto;
    padding-top: calc(var(--header-h) + 18px);
    margin-bottom: 0;
    display: flex; flex-direction: column;
  }
  .hero__copy { position: relative; top: auto; order: 1; padding-bottom: 6px; }
  .hero__media { order: 2; }
  .booking-wrap { order: 3; }
  .hero__title { font-size: clamp(2.05rem, 1.2rem + 4.2vw, 2.7rem); max-width: 14ch; }
  .hero__lead { font-size: .9375rem; max-width: 34ch; }
  .hero[data-hero="stage"] .hero__media {
    position: relative; left: auto; bottom: auto; transform: none;
    width: 100%; height: auto; aspect-ratio: 1100 / 1266;
    margin-top: -6px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%);
    mask-image: linear-gradient(180deg, transparent 0, #000 9%);
  }
  .booking-wrap {
    position: relative; left: auto; bottom: auto; transform: none;
    width: auto; margin: -48px 16px 0;
  }
  .booking::before { left: -6px; right: -6px; }
  /* day header photo on phones: the headline sits on the photo's sky */
  .hero[data-hero="full"] { padding-top: 0; background: var(--surface); }
  .hero[data-hero="full"] .hero__media { position: relative; inset: auto; width: 100%; height: 74svh; }
  .hero[data-hero="full"] .hero__copy { position: absolute; top: calc(var(--header-h) + 20px); left: var(--gutter); right: var(--gutter); }
  .booking__value { font-size: 1.35rem; }
  .intro { padding-top: var(--section); }

  .brand__mark { width: 38px; height: 32px; }
  .brand__name { font-size: 1.2rem; }
  .brand__by { font-size: .625rem; }
  .site-header__cta { display: none; }

  .facts { grid-template-columns: 1fr; }
  .hours__list { grid-template-columns: 1fr; }
  .hours__time { font-size: 4.25rem; }
  .room-tabs { grid-template-columns: 1fr 1fr; }
  .room-tab { padding: 16px 12px 14px 0; }
  .room-tab__name { font-size: 1.25rem; }
  .services__grid { grid-template-columns: 1fr; }
  .dining__strip { grid-template-columns: repeat(3, 1fr); }
  .dining__strip figcaption { font-size: .75rem; }
  .location__map, .location__map iframe { min-height: 360px; }
  .distances li { flex-direction: column; gap: 2px; }
  .distances li span:last-child { text-align: left; white-space: normal; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; }
  .gallery__grid .g-xl { grid-column: span 2; grid-row: span 2; }
  .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; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
