/* ==========================================================================
   Vittori Palace Hotel & Residence
   --------------------------------------------------------------------------
   Design principles, after reviewing Ritz-Carlton, Aman, Rosewood and
   Mandarin Oriental:

     1. Photography carries the page. Full bleed, no frames, no borders.
     2. Colour comes from the photographs, not the interface. The UI is
        near-black, white and warm grey. The brand gold appears only as a
        hairline, never as a fill.
     3. Type is a light grotesque. Small labels are widely tracked; headlines
        are large, thin and tightly set. Few words, large.
     4. Space is the luxury. Sections breathe.
     5. No ornament. Nothing decorative that isn't a photograph or a hairline.

   Written with CSS logical properties so the Arabic RTL build inherits the
   layout without a mirrored stylesheet.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink:        #16150F;   /* near-black, a touch warm */
  --ink-soft:   #3A382F;
  --muted:      #5C594F;
  --line:       #E4E1DA;
  --line-soft:  #EFEDE8;
  --paper:      #FFFFFF;
  --stone:      #F5F3EF;   /* barely-there warm grey */
  --gold:       #9C895D;   /* brand — hairlines and small accents only */

  --sans:    "Jost", "Helvetica Neue", Arial, sans-serif;
  --display: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.5rem, 5vw, 5.5rem);
  --section-y: clamp(5rem, 12vw, 11rem);
  --maxw: 1560px;
  --maxw-text: 1180px;
  --maxw-narrow: 720px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: cubic-bezier(0.16, 1, 0.3, 1);

  /* Aliases kept so booking.css and admin.css — which were written against
     the previous palette — resolve rather than silently dropping rules.
     An undefined custom property invalidates the whole declaration. */
  --rule:       var(--line);
  --cream:      var(--stone);
  --sand:       var(--stone);
  --gold-deep:  var(--ink);
  --gold-light: rgba(255,255,255,.55);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.78;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  color: var(--ink);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1.3em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--ink); color: #fff; }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 1rem 1.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.skip-link:focus { inset-inline-start: 0; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); }
.section--stone { background: var(--stone); }
.section--cream { background: var(--stone); }   /* legacy alias */
.section--sand  { background: var(--stone); }   /* legacy alias */

.section--ink {
  background: var(--ink);
  color: rgba(255,255,255,.62);
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.center { text-align: center; }

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */

/* Small tracked label. The only "decorative" device on the site. */
.eyebrow {
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.75rem;
}
.section--ink .eyebrow { color: rgba(255,255,255,.5); }

.section-title {
  font-size: clamp(2.1rem, 5.2vw, 4.4rem);
  margin-bottom: 2rem;
  max-width: 18ch;
}
.center .section-title { margin-inline: auto; }

.section-lede {
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.9;
}
.center .section-lede { margin-inline: auto; }
.section--ink .section-lede { color: rgba(255,255,255,.6); }

/* The ornamental divider is retired. The markup is left in place across the
   page templates, so it is neutralised here rather than hunted down. */
.ornament { display: none; }

/* Drop caps likewise — they read as editorial-traditional. */
.dropcap::first-letter { font-size: inherit; float: none; padding: 0; color: inherit; }

/* --------------------------------------------------------------------------
   5. Links & buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 1.15rem 2.6rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn:hover { background: var(--ink); color: #fff; }

.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: transparent; color: var(--ink); }

.btn--light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Quiet text link with a hairline that extends on hover */
.link-more {
  display: inline-block;
  font-size: 0.86rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 8px;
  position: relative;
}
.link-more::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 2.2rem;
  height: 1px;
  background: var(--ink);
  transition: width .6s var(--slow);
}
.link-more:hover::after { width: 100%; }
.section--ink .link-more { color: #fff; }
.section--ink .link-more::after { background: #fff; }

/* --------------------------------------------------------------------------
   6. Header — slim, transparent over the hero, solid once scrolled
   -------------------------------------------------------------------------- */
.topbar { display: none; }   /* the utility bar is gone; contact lives in the footer */

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  transition: background .55s var(--ease), border-color .55s var(--ease), padding .55s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.75rem;
  transition: padding .55s var(--ease);
}

/* Over the hero: white marks on the photograph */
.site-header .brand img {
  height: 52px;
  width: auto;
  transition: height .55s var(--ease), filter .55s var(--ease);
  filter: brightness(0) invert(1);
}
.site-header .nav a,
.site-header .nav-toggle span { color: #fff; }
/* A transparent header sitting on a photograph is only readable where the
   photograph happens to be dark. A shallow scrim under it costs nothing
   visually and makes the marks legible over any picture — it fades out once
   the header goes solid on scroll. */
.site-header::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 190%;
  background: linear-gradient(to bottom, rgba(16,15,11,.42), rgba(16,15,11,0));
  pointer-events: none;
  opacity: 1;
  transition: opacity .55s var(--ease);
}
.site-header.is-stuck::before,
body.no-hero .site-header::before { opacity: 0; }

.site-header .nav a {
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 3px rgba(0,0,0,.55);
}
.site-header .header-lang { text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.site-header .nav-toggle span {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.55);
}
.site-header .header-book {
  color: #fff;
  border-color: rgba(255,255,255,.72);
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* Scrolled, or on a page with no hero: solid white */
.site-header.is-stuck,
body.no-hero .site-header {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom-color: var(--line);
}
.site-header.is-stuck .site-header__inner,
body.no-hero .site-header .site-header__inner { padding-block: 1.05rem; }
.site-header.is-stuck .brand img,
body.no-hero .site-header .brand img { filter: none; height: 44px; }
.site-header.is-stuck .nav a,
body.no-hero .site-header .nav a { color: var(--ink); }
.site-header.is-stuck .nav-toggle span,
body.no-hero .site-header .nav-toggle span { background: var(--ink); }
.site-header.is-stuck .header-book,
body.no-hero .site-header .header-book { color: var(--ink); border-color: var(--ink); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.25vw, 1.5rem);
}
.nav a {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  position: relative;
  transition: opacity .35s var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .5s var(--slow);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { width: 100%; }

/* The language switch lives in the header bar on desktop; on a phone the bar
   has no room for it, so it is repeated inside the menu overlay instead. */
.nav__lang { display: none; }

/* The reserve action, always present */
.header-actions { display: flex; align-items: center; gap: 1.4rem; }
.header-lang {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: .8;
}
.header-lang:hover { opacity: 1; }
.site-header .header-lang { color: #fff; }
.site-header.is-stuck .header-lang,
body.no-hero .site-header .header-lang { color: var(--ink); }

.header-book {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid;
  padding: 0.8rem 1.6rem;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
  white-space: nowrap;
}
.header-book:hover { background: #fff; color: var(--ink) !important; border-color: #fff !important; }
.site-header.is-stuck .header-book:hover,
body.no-hero .site-header .header-book:hover { background: var(--ink); color: #fff !important; border-color: var(--ink) !important; }

/* Mobile */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 0; padding: 0; cursor: pointer;
  position: relative; z-index: 95;
}
.nav-toggle span {
  display: block; width: 24px; height: 1px; margin: 6px auto;
  transition: transform .4s var(--ease), opacity .3s var(--ease), background .4s var(--ease);
}
.nav-toggle[aria-expanded="true"] span { background: var(--ink) !important; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1340px) {
  .nav-toggle { display: block; order: 3; }
  .header-actions { order: 2; margin-inline-start: auto; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 1.9rem;
    transform: translateY(-101%);
    transition: transform .7s var(--slow);
    z-index: 90;
    overflow-y: auto;
    padding: 6rem var(--gutter);
  }
  .nav.is-open { transform: translateY(0); }
  .site-header .nav a,
  .site-header.is-stuck .nav a { color: var(--ink); font-size: 1rem; letter-spacing: 0.26em; }
  body.nav-open { overflow: hidden; }
  .nav__lang {
    display: block;
    margin-top: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    min-width: 12rem;
    text-align: center;
  }
  .nav__lang::after { display: none; }
}
@media (max-width: 560px) {
  .header-book { padding: 0.7rem 1.1rem; letter-spacing: 0.16em; }
  .header-lang { display: none; }
}

/* Pages without an opening photograph need the content cleared of the
   fixed header. */
body.no-hero main { padding-block-start: clamp(84px, 9vw, 104px); }

/* --------------------------------------------------------------------------
   7. Hero — full bleed, full height
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* --------------------------------------------------------------------------
   Hero slideshow
   Every plate is stacked in the same box and crossfaded. The first carries
   .is-active in the markup, so with no JavaScript the hero is simply a single
   photograph rather than an empty black box. Each plate also drifts slowly
   out of a slight scale while it is on screen.
   -------------------------------------------------------------------------- */
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.8s var(--ease), transform 9s linear;
  will-change: opacity, transform;
}
.hero__media img.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Slide indicators — hairlines, bottom corner, out of the way of the cue */
.hero__dots {
  position: absolute;
  z-index: 2;
  inset-inline-end: var(--gutter);
  bottom: clamp(2rem, 4vw, 3.25rem);
  display: flex;
  gap: 0.65rem;
}
.hero__dots button {
  width: 30px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .5s var(--ease);
}
.hero__dots button[aria-current="true"] { background: rgba(255,255,255,.95); }
.hero__dots button:hover { background: rgba(255,255,255,.7); }
@media (max-width: 760px) { .hero__dots { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero__media img { transition: opacity .01ms; transform: none; }
}
/* Three scrims. The horizontal one is what makes bottom-start text legible
   over a busy photograph — without it the headline fights whatever happens
   to be behind it (signage, windows, bright sky). */
/* A centred statement needs an even ground, so the scrim is a vertical
   gradient plus a soft radial vignette rather than a one-sided wash. */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  /* Tuned for the WHOLE slideshow, not one picture. The daylight courtyard
     plate is pale stone edge to edge, so a scrim built only for the blue-hour
     shot left the eyebrow and sub-copy washing out. A flat tint carries the
     bright plates; the gradients still shape the dark ones. */
  background:
    linear-gradient(to bottom, rgba(20,19,14,.58) 0%, rgba(20,19,14,.18) 26%, rgba(20,19,14,.14) 55%, rgba(20,19,14,.66) 100%),
    radial-gradient(ellipse 76% 60% at 50% 46%, rgba(20,19,14,.50) 0%, rgba(20,19,14,0) 100%),
    linear-gradient(rgba(20,19,14,.17), rgba(20,19,14,.17));
}

/* Editorial: the statement sits at the lower start corner, not centred */
.hero__inner {
  width: 100%;
  max-width: 60rem;
  margin-inline: auto;
  padding: 7rem var(--gutter) 9rem;
  text-align: center;
}

/* The house mark, given the presence it deserves on the front page */
.hero__mark {
  width: clamp(104px, 11vw, 168px);
  height: auto;
  margin: 0 auto clamp(1.75rem, 3vw, 2.75rem);
  filter: brightness(0) invert(1);
  opacity: .96;
}
.hero__eyebrow {
  font-size: 0.86rem;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.9rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6.4vw, 5.6rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0 auto 2rem;
  max-width: 17ch;
}
.hero__sub {
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  color: rgba(255,255,255,.82);
  max-width: 52ch;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* A quiet cue that there is more below */
.hero__cue {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(1.75rem, 3vw, 2.75rem);
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
/* On a short viewport the hero block reaches the foot of the screen, so the
   cue would collide with the call to action. */
@media (max-height: 820px) { .hero__cue { display: none; } }
.hero__cue span::after {
  content: "";
  display: block;
  width: 1px;
  height: 46px;
  margin: 0 auto;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), rgba(255,255,255,0));
}

/* Inner-page banner */
.pagehead {
  position: relative;
  min-height: clamp(64svh, 70vh, 84svh);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.pagehead img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.pagehead::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(22,21,15,.76) 0%, rgba(22,21,15,.15) 48%, rgba(22,21,15,0) 70%),
    linear-gradient(to var(--scrim-dir, right), rgba(22,21,15,.5) 0%, rgba(22,21,15,0) 58%);
}
.pagehead__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(3.5rem, 7vw, 6rem);
}
.pagehead h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.8vw, 5rem);
  font-weight: 300;
  max-width: 16ch;
}
.pagehead .eyebrow { color: rgba(255,255,255,.92); margin-bottom: 1.4rem; font-size: 0.86rem; }

/* Breadcrumb — very quiet */
.crumbs {
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 2rem;
}
.crumbs a:hover { color: var(--ink); }
.crumbs em { font-style: normal; padding-inline: 0.75rem; opacity: .45; }
.crumbs span { color: var(--ink); }

/* --------------------------------------------------------------------------
   8. Booking bar — a hairline strip, not a control panel
   -------------------------------------------------------------------------- */
.booking {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.booking__form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: end;
  padding-block: clamp(2rem, 3.5vw, 3rem);
}
.field { display: flex; flex-direction: column; gap: 0.7rem; }
.field label {
  font-size: 0.84rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.6rem 0;
  border-radius: 0;
  transition: border-color .4s var(--ease);
}
.field input:focus,
.field select:focus { outline: none; border-bottom-color: var(--ink); }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .4; cursor: pointer; }
.booking .btn { white-space: nowrap; }

@media (max-width: 900px) {
  .booking__form { grid-template-columns: 1fr 1fr; }
  .booking .btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .booking__form { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   9. Split — photography runs to the edge of the viewport
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
}
.split--flip .split__media { order: 2; }

.split__media { position: relative; overflow: hidden; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.6s var(--slow);
}
.split:hover .split__media img { transform: scale(1.03); }

.split__body { max-width: 40rem; }

/* Let the image bleed off the page edge on wide screens */
@media (min-width: 1100px) {
  .split__media { margin-inline-start: calc(var(--gutter) * -1); }
  .split--flip .split__media { margin-inline-start: 0; margin-inline-end: calc(var(--gutter) * -1); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--flip .split__media { order: 0; }
  .split__media img { aspect-ratio: 3 / 2; }
}

/* A single full-bleed image band */
.bleed { position: relative; overflow: hidden; }
.bleed img { width: 100%; height: clamp(58svh, 72vh, 88svh); object-fit: cover; }

/* --------------------------------------------------------------------------
   10. Cards — no borders, no fills. Image, label, title, one line.
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(2rem, 3.5vw, 3.5rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card__media { overflow: hidden; position: relative; }
.card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.6s var(--slow);
}
.card:hover .card__media img { transform: scale(1.045); }

/* --------------------------------------------------------------------------
   Room card slideshow
   Several photographs of one category, stacked in the card's media box. The
   first plate stays in flow so it keeps the box its height; the rest are laid
   over it and cross-faded. Controls appear on hover, and stay put on touch,
   where there is no hover to reveal them.
   -------------------------------------------------------------------------- */
.card__media[data-room-shots] img {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  transition: opacity .55s var(--ease), transform 1.6s var(--slow);
}
.card__media[data-room-shots] img:first-child { position: relative; }
.card__media[data-room-shots] img.is-active { opacity: 1; }

.shots { position: absolute; inset: 0; pointer-events: none; }

.shots__nav {
  position: absolute;
  inset-block-start: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  background: rgba(22,21,15,.28);
  backdrop-filter: blur(2px);
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transition: opacity .35s var(--ease), background .35s var(--ease);
}
.shots__nav--prev { inset-inline-start: 0.9rem; }
.shots__nav--next { inset-inline-end: 0.9rem; }
.shots__nav::before {
  content: "";
  width: 9px; height: 9px;
  border-inline-start: 1px solid #fff;
  border-block-start: 1px solid #fff;
}
.shots__nav--prev::before { transform: translateX(2px) rotate(-45deg); }
.shots__nav--next::before { transform: translateX(-2px) rotate(135deg); }
.card:hover .shots__nav,
.shots__nav:focus-visible { opacity: 1; }
.shots__nav:hover { background: rgba(22,21,15,.55); }

.shots__dots {
  position: absolute;
  inset-block-end: 1.15rem;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  pointer-events: auto;
}
.shots__dots button {
  width: 6px; height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  box-shadow: 0 1px 2px rgba(0,0,0,.4);
  cursor: pointer;
  transition: background .3s var(--ease);
}
.shots__dots button[aria-current="true"] { background: #fff; }

.shots__count {
  position: absolute;
  inset-block-end: 1.2rem;
  inset-inline-end: 1.2rem;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.shots--many .shots__dots { display: none; }
.shots:not(.shots--many) .shots__count { display: none; }

/* No hover on a touch screen, so the controls have to be there already. */
@media (hover: none) {
  .shots__nav { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .card__media[data-room-shots] img { transition: opacity .01ms; }
}

.card__body {
  padding: 1.9rem 0 0;
  border: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card__body > .link-more { margin-top: auto; padding-top: 1.6rem; }
.card h3 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 300;
  margin-bottom: 0.7rem;
}
.card__meta {
  font-size: 0.86rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
  order: -1;
}
.card p { color: var(--muted); font-size: 1.04rem; }

/* A size marker sits on the photograph, so the foot of the image needs a
   little shade — but only on cards that actually carry one. */
.card__media:has(.card__size)::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(18,17,12,.5), rgba(18,17,12,0));
  pointer-events: none;
}

/* Size marker — plain text over the image, no chip */
.card__size {
  position: absolute;
  inset-block-end: 1.2rem;
  inset-inline-start: 1.2rem;
  color: #fff;
  font-size: 0.84rem;
  letter-spacing: 0.24em;
  text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 2px 16px rgba(0,0,0,.45);
}

/* Amenity list — hairline separated, no bullets */
.amenities {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
.amenities li { position: relative; }
.amenities li + li { padding-inline-start: 1.4rem; }
.amenities li + li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 1px; height: 11px;
  background: var(--line);
  transform: translateY(-50%);
}

/* --------------------------------------------------------------------------
   11. Facts — light, hairline-ruled, large thin numerals
   -------------------------------------------------------------------------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.fact {
  background: none;
  padding: clamp(2.5rem, 4vw, 3.75rem) 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
}
.fact:last-child { border-inline-end: 0; }
.fact__n {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  color: var(--ink);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.fact__l {
  font-size: 0.84rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--ink .fact__n { color: #fff; }
.section--ink .fact { border-color: rgba(255,255,255,.14); }
.section--ink .facts { border-color: rgba(255,255,255,.14); }
@media (max-width: 800px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2n) { border-inline-end: 0; }
}

/* --------------------------------------------------------------------------
   12. Gallery — tight grid, no gutters between plates
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.gallery-grid a { display: block; overflow: hidden; position: relative; background: var(--stone); }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.5s var(--slow), opacity .6s var(--ease);
}
.gallery-grid a:hover img { transform: scale(1.05); opacity: .9; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16,15,11,.97);
  display: none; place-items: center;
  padding: clamp(1rem, 5vw, 4.5rem);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none; border: 0;
  color: rgba(255,255,255,.75);
  width: 54px; height: 54px;
  cursor: pointer; font-size: 1.4rem; line-height: 1;
  transition: color .35s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { color: #fff; }
.lightbox__close { top: 1.75rem; inset-inline-end: 1.75rem; }
.lightbox__nav--prev { inset-inline-start: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { inset-inline-end: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__caption {
  position: absolute; bottom: 1.75rem; inset-inline: 0;
  text-align: center;
  color: rgba(255,255,255,.82);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   13. Quote — large, thin, unquoted
   -------------------------------------------------------------------------- */
.quote { text-align: center; max-width: 46rem; margin-inline: auto; }
.quote blockquote {
  margin: 0 0 2rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  font-style: normal;
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section--ink .quote blockquote { color: #fff; }
.quote cite {
  font-style: normal;
  font-size: 0.84rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--ink .quote cite { color: rgba(255,255,255,.5); }

/* --------------------------------------------------------------------------
   14. Lists & rows
   -------------------------------------------------------------------------- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: baseline;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
}
.row__label { font-size: 1.02rem; color: var(--ink); }
.row__value { font-size: 1rem; color: var(--muted); text-align: end; }

.feature-list {
  list-style: none;
  padding: 0; margin: 0;
  columns: 2;
  column-gap: 4rem;
}
.feature-list li {
  break-inside: avoid;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.04rem;
  color: var(--ink-soft);
}
.section--ink .feature-list li {
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.72);   /* the inherited ink colour is unreadable here */
}
@media (max-width: 680px) { .feature-list { columns: 1; } }

/* Facilities directory — several categories side by side, hairline separated */
.fac {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.fac__head {
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 1.1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.fac__list { list-style: none; margin: 0; padding: 0; }
.fac__list li {
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.fac__list li:last-child { border-bottom: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding-block: 1.75rem;
  padding-inline-end: 3rem;
  position: relative;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: var(--ink);
  transition: opacity .35s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { opacity: .6; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  background: var(--ink);
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.faq summary::before { width: 13px; height: 1px; transform: translateY(-50%); }
.faq summary::after  { width: 1px; height: 13px; transform: translate(-6px, -50%); }
.faq details[open] summary::after { opacity: 0; }
.faq details > div { padding-bottom: 2rem; color: var(--muted); max-width: 70ch; }
.faq details > div a { color: var(--ink); border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   15. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 7vw, 7rem);
}
@media (max-width: 950px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-block { margin-bottom: 2.75rem; }
.contact-block h3 {
  font-size: 0.84rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 400;
}
.contact-block a { border-bottom: 1px solid transparent; transition: border-color .35s var(--ease); }
.contact-block a:hover { border-bottom-color: var(--line); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }

.form-grid label {
  display: block;
  font-size: 0.84rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
  transition: border-color .4s var(--ease);
}
.form-grid textarea { resize: vertical; min-height: 120px; }
.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus { outline: none; border-bottom-color: var(--ink); }

.map-frame { border: 0; padding: 0; background: none; }
.map-frame iframe {
  display: block; width: 100%; height: clamp(340px, 46vh, 520px);
  border: 0; filter: grayscale(1) contrast(1.04);
}

/* --------------------------------------------------------------------------
   16. Offers
   -------------------------------------------------------------------------- */
.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 0;
  background: none;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.offer:nth-child(even) .offer__media { order: 2; }
.offer__media { overflow: hidden; }
.offer__media img {
  width: 100%; height: 100%;
  min-height: clamp(320px, 46vh, 560px);
  object-fit: cover;
  transition: transform 1.6s var(--slow);
}
.offer:hover .offer__media img { transform: scale(1.03); }
.offer__body { padding: 0; align-self: center; max-width: 38rem; }
.offer__tag {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  padding: 0;
  margin-bottom: 1.4rem;
}
@media (max-width: 900px) {
  .offer { grid-template-columns: 1fr; }
  .offer:nth-child(even) .offer__media { order: 0; }
}

/* --------------------------------------------------------------------------
   16b. Event room capacity chart
   Wide on a desktop, scrolled inside its own frame on a phone rather than
   forcing the page itself sideways.
   -------------------------------------------------------------------------- */
.capacity {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
.capacity__table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.capacity__table th,
.capacity__table td {
  padding: 1rem 1.15rem;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
.capacity__table thead th {
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}
/* The room name is the row's heading: start-aligned and a shade stronger */
.capacity__table tbody th {
  text-align: start;
  font-weight: 400;
  color: var(--ink);
  white-space: normal;
  min-width: 12rem;
}
.capacity__table thead th:first-child { text-align: start; }
.capacity__table tbody tr:last-child th,
.capacity__table tbody tr:last-child td { border-bottom: 0; }
.capacity__table tbody tr:hover td,
.capacity__table tbody tr:hover th { background: var(--stone); }
.capacity__table td { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.capacity__note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 70ch;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  padding-block: clamp(4.5rem, 9vw, 7.5rem) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}
@media (max-width: 950px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 1.75rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.9rem; line-height: 1.7; }
.site-footer a { transition: color .35s var(--ease); }
.site-footer a:hover { color: #fff; }
.footer-brand img {
  height: 90px;
  /* Without this the width="" attribute acts as a presentational hint and
     stretches the mark sideways, since only the height is set here. */
  width: auto;
  margin-bottom: 1.9rem;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.footer-brand p { max-width: 32ch; line-height: 1.9; }

.socials { display: flex; gap: 1.5rem; margin-top: 2rem; }
.socials a {
  width: auto; height: auto;
  border: 0;
  display: grid; place-items: center;
  opacity: .55;
  transition: opacity .35s var(--ease);
}
.socials a:hover { opacity: 1; }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,.7);
}

/* The agency credit sits between the copyright and the language switch,
   a shade quieter than either so it reads as a signature, not a claim. */
.footer-credit { color: rgba(255,255,255,.45); }
.footer-credit a { color: rgba(255,255,255,.62); }
.footer-credit a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   18. Reveal
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.3s var(--slow), transform 1.3s var(--slow);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* Superscript for the Arabic square-metre unit */
sup { font-size: 0.62em; line-height: 0; vertical-align: super; }

/* --------------------------------------------------------------------------
   19. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .booking, .site-footer, .nav-toggle, .hero__media { display: none !important; }
  body { color: #000; }
}
