/* =========================================================
   Antis Hotel, Sultanahmet
   Identity: the two columns of the logo ("in antis") and the
   mink velvet of the rooms. Bold moment: the rooftop slider.
   ========================================================= */

:root {
  /* Colour */
  --mink: #362E2A;          /* deep mink velvet: headings, dark bands, primary button */
  --mink-2: #4A403A;        /* hover on dark */
  --muted: #6B5B51;         /* secondary text (AA on white, plaster and velvet) */
  --velvet: #E9E1D7;        /* champagne velvet: booking base, closing band */
  --velvet-2: #DDD2C4;
  --plaster: #F3F2F0;       /* light neutral sections */
  --white: #FFFFFF;
  --ink: #2B2522;           /* body text */
  --line: #E3DED7;
  --brass: #A3824A;         /* logo brass: hairlines on light ground */
  --brass-lt: #CDB487;      /* hairlines on photo and dark ground */
  --on-dark: #F4EFE8;
  --on-dark-muted: #CBBFB3;
  --line-dark: rgba(244, 239, 232, .18);

  /* Type */
  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --header-h: 76px;
  --radius: 2px;
  --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); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--velvet); color: var(--mink); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.roof :focus-visible, .site-footer :focus-visible, .sticky-book :focus-visible,
.lightbox :focus-visible, .hero__shaft :focus-visible { outline-color: var(--brass-lt); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--mink); color: var(--on-dark); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -.005em;
  color: var(--mink);
  text-wrap: balance;
}
.intro__text > p + p, .roof__text p + p, .dining__text > p + p { margin-top: 1em; }

/* ---------- 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(--sans); font-weight: 600; font-size: .9375rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn--dark { background: var(--mink); color: var(--on-dark); }
.btn--dark:hover { background: var(--mink-2); }
.btn--light { background: var(--velvet); color: var(--mink); }
.btn--light:hover { background: var(--white); }
.btn--line { background: transparent; color: var(--mink); border-color: var(--mink); }
.btn--line:hover { background: var(--mink); color: var(--on-dark); }
.link-btn { background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: .9375rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--mink); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius);
  color: var(--mink); cursor: pointer;
}
.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(--plaster); }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.icon-btn--round { border-radius: 50%; border-color: var(--velvet-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(54, 46, 42, .5); }
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; gap: 32px;
  padding-inline: var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--mink); flex: none; }
.emblem { width: 26px; height: 29px; color: var(--brass); flex: none; }
.brand__name { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 2rem; line-height: 1; letter-spacing: .005em; }
.brand__sub { font-size: .8125rem; color: var(--muted); padding-top: 6px; white-space: nowrap; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--ink); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--brass); }
.site-header__tools { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: var(--radius); }
.lang__btn { background: none; border: 0; padding: 7px 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); cursor: pointer; }
.lang__btn.is-active { background: var(--mink); color: var(--on-dark); }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--mink); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55;
  background: var(--white);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--mink); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu__call { font-weight: 600; color: var(--mink); }

/* =========================================================
   HERO: a column in the sky
   Two brass hairlines (the antae) run down the sky on the left;
   the headline stands between them and the booking card is the
   column's base, stepping out over the photo's lower edge.
   Placement knobs for a new header photo:
     --hero-pos   object-position of the photo
     --col-x      left edge of the column
     --col-w      width of the column (keep it inside the sky)
     --drop       how far the base steps below the photo
   ========================================================= */
.hero {
  --hero-pos: 0% 50%;
  --col-x: clamp(24px, 2.4vw, 56px);
  --col-w: clamp(270px, 20.6vw, 420px);
  --col-pad: clamp(20px, 1.8vw, 34px);
  --drop: 44px;
  --step: 14px;
  position: relative;
  height: clamp(560px, calc(100svh - var(--header-h) - var(--drop)), 980px);
  margin-bottom: calc(var(--drop) + clamp(56px, 7vw, 104px));
  background: #0B5F93;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos); }
/* Deepens the sky behind the column so small text stays readable */
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 30, 48, .5) 0%, rgba(10, 30, 48, .28) 22%, rgba(10, 30, 48, 0) 38%);
}

.hero__column {
  position: absolute; z-index: 2;
  left: var(--col-x); top: 0; bottom: calc(var(--drop) * -1);
  width: var(--col-w);
  display: flex; flex-direction: column;
}
.hero__shaft {
  position: relative; flex: 1 1 auto;
  padding: clamp(24px, 5.2vh, 112px) var(--col-pad) 24px;
  color: var(--on-dark);
}
/* The antae: two hairlines from the cornice down to the base */
.hero__shaft::before, .hero__shaft::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px;
  background: var(--brass-lt);
  transform-origin: top;
}
.hero__shaft::before { left: 0; }
.hero__shaft::after { right: 0; }
.hero__place {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.125rem, .9rem + .5vw, 1.375rem);
  color: var(--brass-lt);
  margin-bottom: clamp(12px, 1.6vh, 20px);
}
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: min(clamp(2.375rem, .28rem + 2.9vw, 3.9rem), 6.4vh);
  line-height: 1.02; letter-spacing: -.008em;
  color: #FBF8F3;
  text-wrap: balance;
  text-shadow: 0 1px 24px rgba(6, 26, 42, .25);
}
.hero__lead {
  margin-top: clamp(14px, 2vh, 24px);
  font-size: clamp(.9375rem, .85rem + .2vw, 1.0625rem);
  line-height: 1.5;
  color: rgba(251, 248, 243, .92);
  max-width: 34ch;
}

/* Booking: the base */
.booking {
  position: relative; flex: none;
  margin-inline: calc(var(--step) * -1);
  padding: 14px;
  background: var(--velvet);
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(20, 16, 14, .55);
}
.booking::before { /* the plinth's top edge, where the hairlines land */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brass);
}
.booking__fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--velvet-2);
  border: 1px solid var(--velvet-2);
  margin: 4px 0 12px;
}
.booking__field {
  display: grid; align-content: start; gap: 1px;
  min-width: 0; min-height: 64px; padding: 9px 13px 8px; line-height: 1.3;
  background: var(--white); border: 0; text-align: left; cursor: pointer;
  transition: background-color .15s;
}
.booking__field:hover, .booking__field[aria-expanded="true"] { background: #FBF9F6; }
.booking__field[aria-expanded="true"] { box-shadow: inset 0 -2px 0 var(--mink); }
.booking__field--wide { grid-column: 1 / -1; min-height: 60px; }
.booking__label { font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.booking__value { font-family: var(--serif); font-size: clamp(1.3rem, 1rem + .45vw, 1.6rem); font-weight: 600; line-height: 1.15; font-variant-numeric: lining-nums; color: var(--mink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking__value.is-empty { color: var(--muted); font-weight: 500; }
.booking__sub { font-size: .8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking__note { margin-top: 7px; font-size: .75rem; line-height: 1.4; color: var(--muted); text-align: center; }

/* Popovers open beside the base, over the photo */
.popover[hidden] { display: none !important; }
.popover {
  position: absolute; z-index: 40;
  left: calc(100% + 14px); bottom: 0;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(20, 16, 14, .6), 0 0 0 1px rgba(54, 46, 42, .08);
  animation: pop .22s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

.datepicker { width: 690px; 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-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 600; font-size: 1.375rem; color: var(--mink); margin: 2px 0 10px; 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(--velvet); }
.day:disabled { color: #B9AFA8; cursor: default; }
.day:focus-visible { outline: none; }
.day:focus-visible span { box-shadow: 0 0 0 2px var(--brass); }
.day.is-today span { box-shadow: inset 0 0 0 1px var(--velvet-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(--velvet);
}
.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(--mink); color: var(--on-dark); }
.day--blank { pointer-events: none; }

.guests { width: 370px; padding: 6px 24px 20px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.counter__title { font-weight: 600; color: var(--mink); }
.counter__hint { font-size: .8125rem; color: var(--muted); line-height: 1.4; }
.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(--velvet-2); 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='%23362E2A' 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: 16px; }

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

/* The one opening moment: the antae draw down once, the words settle */
.js .hero__shaft::before, .js .hero__shaft::after { transform: scaleY(0); }
.js .hero__place, .js .hero__title, .js .hero__lead { opacity: 0; }
.is-ready .hero__shaft::before, .is-ready .hero__shaft::after { transform: scaleY(1); transition: transform 1.4s cubic-bezier(.6, 0, .2, 1); }
.is-ready .hero__shaft::after { transition-delay: .12s; }
.is-ready .hero__place, .is-ready .hero__title, .is-ready .hero__lead { opacity: 1; transition: opacity .9s ease .55s; }
.is-ready .hero__title { transition-delay: .7s; }
.is-ready .hero__lead { transition-delay: .85s; }
@media (prefers-reduced-motion: reduce) {
  .js .hero__shaft::before, .js .hero__shaft::after { transform: none; transition: none; }
  .js .hero__place, .js .hero__title, .js .hero__lead { opacity: 1; transition: none; }
}

/* Short desktop screens: keep the whole base above the fold */
@media (min-width: 960px) and (max-height: 740px) {
  .hero__lead { display: none; }
}

/* ---------- Section rhythm ---------- */
.intro, .rooms, .dining, .services, .voices, .location, .gallery { padding-block: clamp(72px, 9vw, 136px); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .h2 { grid-column: 1 / span 5; }
.section-head__text { grid-column: 7 / -1; color: var(--muted); max-width: 52ch; }

/* ---------- Intro ---------- */
.intro { padding-top: 0; }
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.intro__text { grid-column: 1 / span 5; }
.intro__text .h2 { margin-bottom: 28px; }
.intro__text > p { max-width: 50ch; }
.intro__media { grid-column: 7 / -1; }
.intro__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.intro__media figcaption, .dining figcaption { margin-top: 12px; font-size: .875rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 40px; border-top: 1px solid var(--line); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .8125rem; color: var(--muted); }
.facts dd { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 1.375rem; font-weight: 600; color: var(--mink); line-height: 1.25; }

/* ---------- Rooms: alternating editorial rows ---------- */
.rooms { background: var(--plaster); }
.room {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
}
.room + .room { margin-top: clamp(64px, 8vw, 120px); }
.room__media { grid-column: 1 / span 7; }
.room__body { grid-column: 9 / -1; }
.room--flip .room__media { grid-column: 6 / -1; grid-row: 1; }
.room--flip .room__body { grid-column: 1 / span 4; grid-row: 1; }
.room__photo { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.room__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room__count {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; background: rgba(54, 46, 42, .82); color: var(--on-dark);
  font-size: .8125rem; font-weight: 600;
}
.room__count svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.room__photo:hover .room__count { background: var(--mink); }
.room__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.875rem, 1.4rem + 1.3vw, 2.625rem); line-height: 1.06; color: var(--mink); }
.room__desc { margin-top: 16px; color: var(--ink); max-width: 44ch; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 26px 0 30px; border-top: 1px solid var(--velvet-2); }
.specs div { padding: 11px 0; border-bottom: 1px solid var(--velvet-2); }
.specs dt { font-size: .75rem; color: var(--muted); }
.specs dd { font-weight: 600; color: var(--mink); font-size: .9375rem; }
.room__note { margin-top: 14px; font-size: .8125rem; line-height: 1.5; color: var(--muted); max-width: 40ch; }

.amenities {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  margin-top: clamp(72px, 9vw, 128px); padding-top: 28px; border-top: 1px solid var(--velvet-2);
}
.amenities__title { grid-column: 1 / span 3; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--mink); }
.amenities__list { grid-column: 4 / -1; columns: 3; column-gap: 24px; }
.amenities__list li { break-inside: avoid; padding: 6px 0 6px 18px; position: relative; font-size: .9375rem; }
.amenities__list li::before { content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 1px; background: var(--brass); }

/* =========================================================
   ROOFTOP: the one bold element
   Two photos from the same roof share one frame; the column in
   the middle is the handle that moves between them.
   ========================================================= */
.roof { background: var(--mink); color: var(--on-dark); padding-top: clamp(72px, 9vw, 136px); padding-bottom: 28px; }
.roof .h2 { color: #FBF8F3; }
.roof__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.roof__head .h2 { grid-column: 1 / span 6; }
.roof__text { grid-column: 8 / -1; color: var(--on-dark-muted); max-width: 48ch; }
.roof__hint { margin-top: 18px; font-size: .875rem; color: var(--on-dark-muted); text-align: center; }

.views {
  --split: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 760;
  max-height: 88vh;
  overflow: hidden;
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background: #2A2420;
}
.views__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.views__img--a { object-position: 50% 50%; }
.views__img--b { object-position: 50% 50%; clip-path: inset(0 0 0 var(--split)); }
.views::after { /* soft floor under the captions */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; pointer-events: none;
  background: linear-gradient(0deg, rgba(20, 16, 14, .55), rgba(20, 16, 14, 0));
}
.views__cap {
  position: absolute; z-index: 2; bottom: clamp(16px, 2.4vw, 32px);
  display: grid; gap: 2px;
  font-size: .8125rem; color: rgba(251, 248, 243, .82);
  transition: opacity .25s;
}
.views__cap strong { font-family: var(--serif); font-weight: 600; font-size: clamp(1.375rem, 1rem + 1vw, 2rem); line-height: 1.1; color: #FBF8F3; }
.views__cap--a { left: var(--gutter); }
.views__cap--b { right: var(--gutter); text-align: right; }
.views[data-side="b"] .views__cap--a, .views[data-side="a"] .views__cap--b { opacity: 0; }

.views__col {
  position: absolute; z-index: 3; top: 0; bottom: 0;
  left: var(--split);
  width: 44px; margin-left: -22px;
  display: flex; flex-direction: column; align-items: center;
  cursor: ew-resize;
  outline: none;
  filter: drop-shadow(0 0 10px rgba(20, 16, 14, .35));
}
/* A small Doric column: capital, fluted shaft, base */
.views__capital, .views__base { flex: none; width: 36px; height: auto; fill: #FBF8F3; display: block; }
.views__shaft {
  flex: 1 1 auto; width: 18px;
  background:
    linear-gradient(90deg, rgba(54, 46, 42, .22) 0, rgba(54, 46, 42, 0) 35%, rgba(54, 46, 42, 0) 65%, rgba(54, 46, 42, .22) 100%),
    repeating-linear-gradient(90deg, #FBF8F3 0 3.5px, #DCD3C7 3.5px 4.5px);
}
.views__grip {
  position: absolute; top: 50%; left: 50%; z-index: 1;
  translate: -50% -50%;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #FBF8F3; color: var(--mink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transition: transform .2s var(--ease);
}
.views__grip svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.views__col:hover .views__grip, .views.is-dragging .views__grip { transform: scale(1.08); }
.views__col:focus-visible .views__grip { box-shadow: 0 0 0 3px var(--mink), 0 0 0 5px var(--brass-lt); }

/* ---------- Dining ---------- */
.dining__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.dining__main { grid-column: 1 / span 6; }
.dining__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; }
.dining__text { grid-column: 8 / -1; padding-top: clamp(0px, 4vw, 56px); }
.dining__text .h2 { margin-bottom: 28px; }
.dining__text > p { max-width: 46ch; }
.dining__side { margin-top: 40px; }
.dining__side img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Services ---------- */
.services { background: var(--plaster); }
.services__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.services__head { grid-column: 1 / span 4; }
.services__head .h2 { margin-bottom: 20px; }
.services__head p { color: var(--muted); max-width: 36ch; }
.services__list { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--velvet-2); }
.services__list div { padding: 16px 0; border-bottom: 1px solid var(--velvet-2); }
.services__list dt { font-weight: 600; color: var(--mink); }
.services__list dd { font-size: .9375rem; color: var(--muted); }

/* ---------- Voices ---------- */
.voices__title { margin-bottom: clamp(36px, 4vw, 56px); }
.voices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 48px; }
.voice { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding-top: 22px; border-top: 1px solid var(--brass); }
.voice blockquote { font-family: var(--serif); font-size: clamp(1.375rem, 1.1rem + .6vw, 1.625rem); line-height: 1.3; font-weight: 500; color: var(--mink); }
.voice figcaption { font-size: .875rem; color: var(--muted); }
.voice figcaption strong { color: var(--mink); font-weight: 600; margin-right: 6px; }
.voices__source { margin-top: 32px; font-size: .8125rem; color: var(--muted); }

/* ---------- Location ---------- */
.location { background: var(--plaster); }
.location__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: stretch; }
.location__info { grid-column: 1 / span 5; }
.location__info .h2 { margin-bottom: 20px; }
.location__intro { color: var(--muted); max-width: 46ch; margin-bottom: 36px; }
.location__map { grid-column: 7 / -1; min-height: 520px; position: relative; }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.02); }
.dist__title { font-family: var(--serif); font-weight: 600; font-size: 1.375rem; color: var(--mink); margin: 0 0 6px; }
.dist + .dist__title { margin-top: 30px; }
.dist li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--velvet-2); font-size: .9375rem; }
.dist__v { flex: none; font-weight: 600; color: var(--mink); font-variant-numeric: tabular-nums; }
.dist__note { margin: 18px 0 26px; font-size: .8125rem; color: var(--muted); }

/* ---------- Gallery: staggered colonnade ---------- */
.gallery .h2 { margin-bottom: clamp(36px, 4vw, 56px); }
.gallery__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.gallery__col { display: grid; gap: 16px; }
.gallery__col:nth-child(even) { margin-top: 56px; }
.gallery__item { display: block; padding: 0; border: 0; background: var(--plaster); cursor: zoom-in; overflow: hidden; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.gallery__item--tall img { aspect-ratio: 4 / 5; }
.gallery__item:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gallery__item:hover img { transform: none; } }

/* ---------- Closing ---------- */
.closing { background: var(--velvet); padding-block: clamp(72px, 8vw, 120px); }
.closing__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.closing__text { grid-column: 1 / span 6; }
.closing__kicker { font-family: var(--serif); font-style: italic; font-size: 1.375rem; color: var(--muted); }
.closing__title { font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 500; font-size: clamp(2.75rem, 1.8rem + 3.6vw, 5rem); line-height: 1; color: var(--mink); margin-top: 6px; }
.closing__addr { margin-top: 14px; color: var(--muted); }
.closing__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.closing__mail { margin-top: 18px; font-size: .9375rem; }
.closing__mail a { color: var(--mink); text-underline-offset: 3px; }
.closing__media { grid-column: 8 / -1; }
.closing__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mink); color: var(--on-dark-muted); padding-top: 64px; font-size: .9375rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.site-footer h3 { font-size: .8125rem; font-weight: 600; color: var(--on-dark); margin-bottom: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.emblem--footer { width: 32px; height: 35px; color: var(--brass-lt); }
.site-footer__name { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 2.25rem; color: var(--on-dark); line-height: 1; }
.site-footer__name span { font-style: normal; font-weight: 500; font-size: 1.25rem; color: var(--on-dark-muted); margin-left: 4px; }
.site-footer__base { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; padding-block: 22px 28px; font-size: .8125rem; }
.site-footer__base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-dark); }

/* ---------- 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(30, 25, 22, .97); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(90vw, 1600px); max-height: 80vh; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 22px; 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, .06); border: 1px solid rgba(255, 255, 255, .22); color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .14); }
.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; }
  .site-header__tools { margin-left: auto; }
}

@media (max-width: 1023px) {
  .section-head .h2, .section-head__text,
  .intro__text, .intro__media,
  .room__media, .room__body, .room--flip .room__media, .room--flip .room__body,
  .roof__head .h2, .roof__text,
  .dining__main, .dining__text,
  .services__head, .services__list,
  .location__info, .location__map,
  .closing__text, .closing__media,
  .amenities__title, .amenities__list { grid-column: 1 / -1; }
  .room--flip .room__media { grid-row: 1; }
  .room--flip .room__body { grid-row: 2; }
  .section-head__text, .roof__text { margin-top: 16px; }
  .intro__media { margin-top: 48px; }
  .room__body { margin-top: 26px; }
  .room__desc { max-width: 60ch; }
  .dining__main img { aspect-ratio: 3 / 2; }
  .dining__text { padding-top: 40px; }
  .services__list { margin-top: 36px; }
  .location__map { min-height: 420px; margin-top: 44px; }
  .amenities__list { columns: 2; margin-top: 16px; }
  .closing__media { margin-top: 44px; }
  .closing__media img { aspect-ratio: 3 / 2; }
  .voices__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* Below 960 px the column stacks: sky + headline on top,
   photo underneath (its upper edge fades into the sky),
   booking card overlapping the photo's lower edge. */
@media (max-width: 959px) {
  :root { --header-h: 64px; }
  .brand__sub { display: none; }
  .header-cta { display: none; }
  .brand__name { font-size: 1.75rem; }

  .hero {
    --hero-pos: 50% 28%;
    --sky-top: #0A4A75;
    --sky-bottom: #037DB8;    /* the photo's top sky colour; match it when the photo changes */
    --fade: 76px;             /* the photo's top edge fades into the sky over this length */
    height: auto; margin-bottom: clamp(56px, 12vw, 88px);
    background: none;
    display: flex; flex-direction: column;
  }
  .hero__column { display: contents; }
  .hero__shaft {
    order: 1;
    margin-inline: var(--gutter);
    padding: 30px 20px var(--fade);
    position: relative; z-index: 2;
  }
  .hero::before { /* sky behind the headline, continuing the photo's sky (height set from the headline block) */
    content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 0;
    height: calc(var(--sky-h, 340px) + 2px);
    background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
  }
  .hero__media {
    order: 2; position: relative; inset: auto; z-index: 1;
    margin-top: calc(var(--fade) * -1);
    aspect-ratio: 700 / 560;
  }
  .hero__media img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade));
    mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade));
  }
  .hero__media::after { display: none; }
  .hero__title { font-size: clamp(2.125rem, 1.3rem + 3.6vw, 3rem); }
  .hero__lead { max-width: 32ch; }
  .booking { order: 3; z-index: 3; margin: -56px calc(var(--gutter) - 6px) 0; }

  /* 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: 12px 12px 0 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    animation: sheet .3s var(--ease);
  }
  @keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }
  .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; }

  .views { aspect-ratio: 1 / 1; max-height: 78vh; }
  .views__img--a { object-position: 40% 50%; }
  .views__img--b { object-position: 90% 50%; }
  .views__cap strong { font-size: 1.25rem; }
  .views__cap { font-size: .75rem; max-width: 42%; }

  .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(54, 46, 42, .96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-book.is-visible { transform: none; }
  .sticky-book .btn { flex: 1; }
  .sticky-book__icon { width: 50px; height: 50px; flex: none; color: var(--on-dark); border-color: rgba(244, 239, 232, .35); }
  .sticky-book__icon:hover { background: rgba(255, 255, 255, .08); }
  .site-footer { padding-bottom: 84px; }
}

@media (min-width: 600px) and (max-width: 959px) {
  .hero { --hero-pos: 68% 50%; }
  .hero__media { aspect-ratio: 16 / 10; }
  .booking { max-width: 560px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts dd { font-size: 1.1875rem; }
  .specs { grid-template-columns: 1fr 1fr; }
  .services__list { grid-template-columns: 1fr; }
  .amenities__list { columns: 1; }
  .gallery__cols { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery__col { gap: 10px; }
  .gallery__col:nth-child(even) { margin-top: 32px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .closing__actions .btn { flex: 1 1 100%; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; transform: none; }
  .lightbox__cap { bottom: 132px; padding-inline: 20px; }
}
