/* Opal — The house that lights up. */
@font-face { font-family: 'Bodoni Moda'; src: url('/fonts/BodoniModa.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/DMSans.woff2') format('woff2'); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: 'Noto Naskh Arabic'; src: url('/fonts/NotoNaskhArabic.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('/fonts/PlexArabic-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('/fonts/PlexArabic-Medium.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }

:root {
  --night: #0c0a0e;
  --night-2: #151217;
  --night-3: #1f1b21;
  --stone: #ede5d7;
  --stone-bg: #faf9f6;
  --stone-2: #f1f0ec;
  --stone-3: #cbbda6;
  --ink: #1d1813;
  --ink-soft: #5b5045;

  --fire: #9a85ff;
  --on-night: #f4eee5;
  --on-night-soft: rgba(244, 238, 229, .64);
  --line-night: rgba(244, 238, 229, .16);
  --line-stone: rgba(29, 24, 19, .16);
  --display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --text: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 4.4vw, 72px);
  --header: 76px;
}
html[lang="ar"] {
  --display: 'Noto Naskh Arabic', serif;
  --text: 'Plex Arabic', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--on-night); font-family: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--fire); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--stone-bg); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* Type */
.eyebrow { font-family: var(--text); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; color: var(--lamp); }

html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.display { font-family: var(--display); margin: 0; }
html[lang="ar"] .display { letter-spacing: 0; font-weight: 500; }

.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--on-night-soft); margin: 0; }
html[lang="ar"] .lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.85; }
.on-stone .lede { color: var(--ink-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 52px; padding: 0 26px; border: 1px solid currentColor; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); white-space: nowrap; }
html[lang="ar"] .btn { letter-spacing: 0; font-size: 15px; }
.btn:hover { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.btn.solid { border-color: var(--lamp); }
.btn.solid:hover { border-color: var(--on-night); }
.on-stone .btn:hover { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.arr { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); flex: none; }
.arr::after { content: ''; position: absolute; inset-inline-end: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-inline-end: 1px solid currentColor; transform: rotate(45deg); }
html[dir="rtl"] .arr::after { transform: rotate(-45deg); }
.btn:hover .arr, .link:hover .arr { width: 28px; }
.link { display: inline-flex; gap: 12px; align-items: center; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-weight: 500; }
html[lang="ar"] .link { letter-spacing: 0; font-size: 15px; }

/* Header */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); transition: background .5s var(--ease), backdrop-filter .5s var(--ease), transform .5s var(--ease); }
.hdr::after { content: ''; position: absolute; inset: auto 0 0 0; height: 1px; transition: opacity .5s var(--ease); }
.hdr.is-solid { backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }
.hdr.is-solid::after { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-start, .hdr-end { display: flex; align-items: center; gap: 28px; }
.hdr-end { justify-content: flex-end; }
.menu-btn { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; height: 44px; }
html[lang="ar"] .menu-btn { letter-spacing: 0; font-size: 15px; }
.burger { width: 26px; height: 9px; position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; inset-inline: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease), width .5s var(--ease); }
.burger::before { top: 0; } .burger::after { bottom: 0; width: 70%; }
.menu-btn:hover .burger::after { width: 100%; }
.wordmark { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.wordmark b { font-family: 'Bodoni Moda', serif; font-weight: 400; font-size: 27px; letter-spacing: .34em; margin-inline-start: .34em; }
.wordmark small { font-size: 9px; letter-spacing: .42em; text-transform: uppercase; color: var(--on-night-soft); margin-inline-start: .42em; }
html[lang="ar"] .wordmark small { letter-spacing: 0; font-size: 11px; margin: 0; }
.lang { font-size: 14px; color: var(--on-night-soft); transition: color .3s; }
.lang:hover { color: var(--on-night); }
html[lang="ar"] .lang { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.hdr .btn { height: 42px; padding: 0 22px; }

/* Overlays: menu + booking */
.overlay { position: fixed; inset: 0; z-index: 80; visibility: hidden; pointer-events: none; }
.overlay.is-open { visibility: visible; pointer-events: auto; }
.overlay .scrim { position: absolute; inset: 0; background: rgba(6, 5, 8, .6); opacity: 0; transition: opacity .6s var(--ease); }
.overlay.is-open .scrim { opacity: 1; }
.overlay .panel { position: absolute; top: 0; bottom: 0; background: var(--night-2); transition: transform .7s var(--ease-out); overflow-y: auto; }
.overlay .x { position: absolute; top: 18px; inset-inline-end: var(--gutter); height: 44px; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; z-index: 2; }
html[lang="ar"] .overlay .x { letter-spacing: 0; font-size: 15px; }
.overlay .x i { width: 22px; height: 22px; position: relative; }
.overlay .x i::before, .overlay .x i::after { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: currentColor; transform: rotate(45deg); }
.overlay .x i::after { transform: rotate(-45deg); }

.menu .panel { background: var(--stone-bg); inset-inline: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); transform: translateY(-100%); }
.menu.is-open .panel { transform: none; }
.menu-nav { padding: calc(var(--header) + 6vh) var(--gutter) 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.menu-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu-nav li { border-bottom: 1px solid var(--line-stone); }
.menu-nav li a { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 18px 0; gap: 8px; }
.menu-nav li a::before { counter-increment: m; content: '0' counter(m); font-size: 11px; letter-spacing: .2em; }
.menu-nav li b { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.05; transition: color .4s var(--ease), text-shadow .4s var(--ease); }
.menu-nav li small { grid-column: 2; font-size: 13px; }

.menu-meta { display: flex; flex-wrap: wrap; gap: 14px 36px; font-size: 14px; }
.menu-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.menu-art { position: relative; overflow: hidden; }
.menu-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.menu.is-open .menu-art img { transform: none; }
.menu-art figcaption { position: absolute; inset: auto 0 0 0; padding: 24px 28px; font-size: 13px; color: var(--on-night-soft); background: linear-gradient(transparent, rgba(0,0,0,.6)); }

.booking .panel { inset-inline-end: 0; width: min(520px, 100%); transform: translateX(100%); padding: calc(var(--header) + 12px) clamp(24px, 3vw, 44px) 40px; border-inline-start: 1px solid var(--line-night); }
html[dir="rtl"] .booking .panel { transform: translateX(-100%); }
.booking.is-open .panel { transform: none !important; }
.booking h2 { margin: 10px 0 8px; }
.booking .note { font-size: 13px; color: var(--on-night-soft); margin: 18px 0 0; }
.booking .alt { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line-night); display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 14px; }
.booking .alt a { color: var(--on-night-soft); } .booking .alt a:hover { color: var(--on-night); }

/* Forms */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-night); border: 1px solid var(--line-night); margin-top: 28px; }
.field { background: var(--night-2); padding: 14px 18px 12px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.field.wide { grid-column: 1 / -1; }
.field label, .field .lbl { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--on-night-soft); }
html[lang="ar"] .field label, html[lang="ar"] .field .lbl { letter-spacing: 0; font-size: 13px; }
.field input, .field select { background: transparent; border: 0; padding: 4px 0; font-size: 18px; outline: none; color-scheme: dark; width: 100%; min-width: 0; }
.field select option { background: var(--night-2); }
.field:focus-within { background: var(--night-3); }
.fields + .btn, .fields ~ .actions { margin-top: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.block { width: 100%; }
.on-stone .fields { background: var(--line-stone); border-color: var(--line-stone); }
.on-stone .field { background: var(--stone-bg); }
.on-stone .field:focus-within { background: var(--stone-2); }
.on-stone .field label, .on-stone .field .lbl { color: var(--ink-soft); }
.on-stone .field input, .on-stone .field select { color-scheme: light; }
.on-stone .field select option { background: var(--stone-bg); }

/* Sections */
.on-stone { background: var(--stone-bg); color: var(--ink); }
.wrap { padding-inline: var(--gutter); }
.sec { padding-block: clamp(96px, 14vw, 200px); position: relative; }
.media-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Dusk: day → night */
.dusk { position: relative; height: 320vh; }
.dusk-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.dusk-copy { position: relative; z-index: 2; padding: calc(var(--header) + 6vh) var(--gutter) 8vh; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.dusk-pics { position: relative; overflow: hidden; }
.dusk-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dusk-pics .night { clip-path: inset(100% 0 0 0); }
.dusk-pics .tint { position: absolute; inset: 0; opacity: 0; mix-blend-mode: multiply; }
.dusk-clock { position: absolute; z-index: 3; inset-inline-start: 28px; bottom: 26px; display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.9); text-shadow: 0 1px 12px rgba(0,0,0,.4); }
html[lang="ar"] .dusk-clock { letter-spacing: 0; font-size: 13px; }
.dusk-clock .bar { width: 120px; height: 1px; background: rgba(255,255,255,.35); position: relative; }
.dusk-clock .bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0%; }
.signs { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.sign { font-family: 'Bodoni Moda', serif; font-size: clamp(18px, 1.7vw, 26px); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); transition: color .9s var(--ease), text-shadow .9s var(--ease); }
html[lang="ar"] .sign { font-family: var(--display); letter-spacing: 0; font-size: clamp(20px, 1.9vw, 28px); }

/* Directory */
.directory { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.dir-head { position: sticky; top: calc(var(--header) + 40px); display: flex; flex-direction: column; gap: 26px; }
.dir-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone-2); margin-top: 18px; max-width: 420px; }
.dir-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.4s var(--ease-out); }
.dir-frame img.is-on { opacity: 1; transform: none; }
.dir-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-stone); }
.dir-list li { border-bottom: 1px solid var(--line-stone); }
.dir-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 24px; padding: 30px 0; position: relative; }
.dir-row b { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 54px); line-height: 1.05; transition: transform .6s var(--ease-out), color .4s; }
html[lang="ar"] .dir-row b { font-weight: 500; line-height: 1.4; }
.dir-row small { grid-column: 1; font-size: 14px; color: var(--ink-soft); letter-spacing: .02em; }
.dir-row .arr { grid-row: 1 / span 2; grid-column: 2; color: var(--ink); }
.dir-row .thumb { display: none; }
a.dir-row:hover b, .dir-row.is-on b { transform: translateX(14px); }
html[dir="rtl"] a.dir-row:hover b, html[dir="rtl"] .dir-row.is-on b { transform: translateX(-14px); }

/* Rooms rail */
.rooms-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.rooms-head .lede { max-width: 28em; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 30vw, 440px); gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
.strip::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; }
.card .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--night-3); position: relative; }
.on-stone .card .ph { background: var(--stone-2); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card:hover .ph img { transform: scale(1.045); }
.card .meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; }
html[lang="ar"] .card h3 { font-weight: 500; line-height: 1.5; }
.card .sz { font-size: 13px; color: var(--on-night-soft); white-space: nowrap; }
.on-stone .card .sz, .on-stone .card p { color: var(--ink-soft); }
.card p { margin: 0; font-size: 14px; color: var(--on-night-soft); line-height: 1.55; }
.tag { position: absolute; top: 14px; inset-inline-start: 14px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; background: rgba(12,10,14,.7); padding: 6px 10px; backdrop-filter: blur(6px); }
html[lang="ar"] .tag { letter-spacing: 0; font-size: 12px; }
.strip-nav { display: flex; gap: 10px; }
.strip-nav button { width: 52px; height: 52px; border: 1px solid currentColor; display: grid; place-items: center; transition: background .3s, color .3s; }
.strip-nav button:hover { background: var(--ink); color: var(--stone); }
.strip-nav .arr { width: 18px; }
.strip-nav .prev .arr { transform: scaleX(-1); }
html[dir="rtl"] .strip-nav .prev .arr { transform: none; } html[dir="rtl"] .strip-nav .next .arr { transform: scaleX(-1); }

/* Where */
.where { position: relative; align-items: flex-end; overflow: hidden; }
.where::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,10,14,.9) 0%, rgba(12,10,14,.35) 55%, rgba(12,10,14,.15) 100%); z-index: 1; }
.where-in { position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter) clamp(48px, 9vh, 100px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-night); }
.stat { padding: 22px 18px 0 0; display: flex; flex-direction: column; gap: 6px; }
html[dir="rtl"] .stat { padding: 22px 0 0 18px; }
.stat b { font-family: 'Bodoni Moda', serif; font-weight: 400; font-size: clamp(48px, 5vw, 80px); line-height: 1; }
.stat b small { font-family: var(--text); font-size: 13px; letter-spacing: .14em; margin-inline-start: 6px; text-transform: uppercase; }
html[lang="ar"] .stat b small { letter-spacing: 0; }
.stat span { font-size: 13px; color: var(--on-night-soft); }

/* Close */
.closing { position: relative; place-items: center; text-align: center; overflow: hidden; }
.closing::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(12,10,14,.35), rgba(12,10,14,.82)); z-index: 1; }
.closing > div { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 34px; padding: 0 var(--gutter); }

/* Footer */
.ftr { background: var(--stone-bg); border-top: 1px solid var(--line-stone); padding: 72px var(--gutter) 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; font-size: 14px; color: var(--ink); }
.ftr h4 { margin: 0 0 16px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; }
html[lang="ar"] .ftr h4 { letter-spacing: 0; font-size: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr .logo { height: auto; margin-bottom: 18px; border-radius: 2px; }
.ftr .fine { grid-column: 1 / -1; border-top: 1px solid var(--line-stone); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; }

.crumbs { font-size: 12px; color: var(--on-night-soft); display: flex; gap: 10px; }
.crumbs a:hover { color: var(--on-night); }

/* Stay planner */
.planner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.planner-intro { position: sticky; top: calc(var(--header) + 40px); min-width: 0; }
.planner h2 { margin: 14px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { height: 48px; padding: 0 22px; border: 1px solid var(--line-stone); font-size: 15px; transition: .35s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--stone); border-color: var(--ink); }
.advice { margin-top: 30px; min-height: 5.2em; font-family: var(--display); font-size: clamp(21px, 1.8vw, 27px); line-height: 1.35; color: var(--ink); }
html[lang="ar"] .advice { line-height: 1.8; }
.planner .fields { margin-top: 10px; }
.when { margin-top: 36px; }
.grid-rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.grid-rooms .card { transition: opacity .5s var(--ease), filter .5s var(--ease); }
.grid-rooms.is-filtered .card:not(.is-fit) { opacity: .28; filter: grayscale(.8); }
.grid-rooms .card .ph { aspect-ratio: 5 / 4; }
.fit-badge { display: none; }
.grid-rooms.is-filtered .card.is-fit .fit-badge { display: block; }

/* Room page */
.room-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 100vh; }
.room-top .pic { position: relative; min-height: 60vh; }
.room-top .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-top .info { padding: calc(var(--header) + 6vh) var(--gutter) 6vh; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.room-top .crumbs { color: var(--ink-soft); }
.room-top .crumbs a:hover, .room-top.on-stone .lede { color: var(--ink); }
.room-top .confirm { color: var(--lamp-deep); }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-night); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line-night); display: flex; flex-direction: column; gap: 2px; }
.facts div:nth-child(odd) { padding-inline-end: 16px; }
.facts dt { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--on-night-soft); }
html[lang="ar"] .facts dt { letter-spacing: 0; font-size: 13px; }
.facts dd { margin: 0; font-size: 17px; }
.confirm { font-size: 12px; border: 1px solid rgba(243,201,131,.4); padding: 10px 14px; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.gallery figure { margin: 0; overflow: hidden; background: var(--stone-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure:nth-child(1) { grid-column: span 4; aspect-ratio: 16/10; }
.gallery figure:nth-child(2) { grid-column: span 2; }
.gallery figure:nth-child(3), .gallery figure:nth-child(4), .gallery figure:nth-child(5) { grid-column: span 2; aspect-ratio: 4/3; }
.roof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 48px; }
.roof a { display: flex; flex-direction: column; gap: 14px; }
.roof .ph { aspect-ratio: 3/2; overflow: hidden; }
.roof .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.roof a:hover img { transform: scale(1.05); }
.roof b { font-family: var(--display); font-weight: 400; font-size: 26px; }
.roof small { color: var(--ink-soft); font-size: 14px; }
.bookbar { position: sticky; bottom: 0; z-index: 20; background: rgba(12,10,14,.9); backdrop-filter: blur(14px); border-top: 1px solid var(--line-night); padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bookbar .t { display: flex; flex-direction: column; line-height: 1.25; }
.bookbar .t b { font-family: var(--display); font-weight: 400; font-size: 22px; }
.bookbar .t small { color: var(--on-night-soft); font-size: 12px; }
.bookbar .fields { margin: 0; flex: 1; max-width: 640px; grid-template-columns: 1fr 1fr 110px; }
.bookbar .field { padding: 8px 14px 6px; }
.bookbar .field input, .bookbar .field select { font-size: 15px; }

/* Celebrate */
.cele-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 100vh; }
.cele-hero .info {
  --cele-space: clamp(32px, 6vh, 72px);
  padding: calc(var(--header) + var(--cele-space)) var(--gutter) var(--cele-space);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.cele-hero .actions { justify-content: center; }
.cele-hero .vid { position: relative; overflow: hidden; min-height: 70vh; }
.cele-hero .vid video, .cele-hero .vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cele-hall-overview { padding-block-start: clamp(64px, 8vw, 120px); }
.cele-hall-overview::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: var(--gutter);
  border-block-start: 1px solid var(--line-stone);
  pointer-events: none;
}
.cele-hall-details { padding-block: 0; }
.cele-roof { padding-block-start: clamp(40px, 5vw, 72px); }
.halls { border-top: 1px solid var(--line-stone); }
.hall { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 72px); padding: clamp(40px, 6vw, 84px) 0; border-bottom: 1px solid var(--line-stone); align-items: center; }
.hall-name { display: flex; flex-direction: column; gap: 18px; }
.hall-name .lit-sign, .hall-name .unlit { font-family: 'Bodoni Moda', serif; font-size: clamp(42px, 5.2vw, 88px); letter-spacing: .12em; text-transform: uppercase; line-height: 1; transition: color .9s var(--ease), text-shadow .9s var(--ease); }
html[lang="ar"] .hall-name .lit-sign, html[lang="ar"] .hall-name .unlit { font-family: var(--display); letter-spacing: 0; line-height: 1.3; }
.hall-name .unlit { color: var(--ink); }
.hall-name p { margin: 0; max-width: 26em; }
.hall-pics { display: grid; grid-template-columns: 5fr 7fr; gap: 14px; }
.hall-pics figure { margin: 0; overflow: hidden; aspect-ratio: 3/4; position: relative; }
.hall-pics figure:nth-child(2) { aspect-ratio: auto; }
.hall-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hall-pics figcaption { position: absolute; inset: auto 0 0 0; padding: 12px 14px; font-size: 12px; color: rgba(255,255,255,.85); background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.split .ph { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.split .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .txt { display: flex; flex-direction: column; gap: 26px; }
.enq { max-width: 860px; }
.enq .fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.enq .check { display: flex; gap: 12px; align-items: center; font-size: 15px; margin-top: 18px; }
.enq .check input { width: 20px; height: 20px; accent-color: var(--ink); }
.enq .small { font-size: 13px; color: var(--ink-soft); margin-top: 16px; }

/* Venue */
.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); }
.moments.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.moment { display: flex; flex-direction: column; gap: 16px; }
.moment .ph { aspect-ratio: 4/5; overflow: hidden; }
.moment .ph img { width: 100%; height: 100%; object-fit: cover; }
.moment h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.15; }
html[lang="ar"] .moment h3 { font-weight: 500; line-height: 1.5; }
.moment p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.next-venues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-night); }
.next-venues a { position: relative; aspect-ratio: 16/10; overflow: hidden; display: flex; align-items: flex-end; padding: 32px; background: var(--night); }
.next-venues img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .6s, transform 1.4s var(--ease-out); }
.next-venues a:hover img { opacity: .8; transform: scale(1.04); }
.next-venues span { position: relative; display: flex; flex-direction: column; gap: 8px; }

/* Reveal (JS adds .js on <html>) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); }

/* Tablet */
@media (max-width: 1080px) {
  .ftr { grid-template-columns: 1fr 1fr; }
  .where-in { grid-template-columns: 1fr; }
  .gallery figure:nth-child(n) { grid-column: span 3; aspect-ratio: 4/3; }
  .gallery figure:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 16/10; }
  .moments.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 820px) {
  :root { --header: 64px; }
  .hdr { grid-template-columns: auto 1fr auto; }
  .hdr .wordmark { justify-self: center; }
  .wordmark b { font-size: 21px; }
  .wordmark small { font-size: 8px; }
  .menu-btn { min-width: 44px; }
  .menu-btn .lbl, .hdr .lang { display: none; }
  .hdr-end { gap: 0; }
  .hdr .btn { height: 44px; padding: 0 16px; font-size: 11px; }
  .menu .panel { grid-template-columns: 1fr; }
  .menu-art { display: none; }

  .dusk { height: auto; }
  .dusk-stage { position: relative; height: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: clamp(240px, 43svh, 410px) auto; }
  .dusk-pics .day, .dusk-clock { display: none; }
  .dusk-pics .night { clip-path: none; }
  .dusk-copy .sign { color: var(--lamp); }
  .dusk-pics { grid-row: 1; }
  .dusk-copy { grid-row: 2; padding: 28px var(--gutter) 32px; justify-content: flex-start; gap: 18px; }
  .dusk-copy .lede { font-size: 15px; }

  .directory, .planner, .split, .room-top, .cele-hero { grid-template-columns: minmax(0, 1fr); }
  .planner-intro { position: static; }
  .sec { padding-block: clamp(48px, 9vw, 80px); }
  .actions .btn, .planner .btn {
    min-height: 48px;
    max-width: 100%;
    height: auto;
    padding: 12px 16px;
    text-align: center;
    white-space: normal;
  }
  .dir-head { position: static; }
  .dir-frame { display: none; }
  .dir-row { grid-template-columns: 72px 1fr auto; padding: 18px 0; }
  .dir-row .thumb { display: block; grid-row: 1 / span 2; width: 72px; height: 72px; object-fit: cover; }
  .dir-row b, .dir-row small { grid-column: 2; }
  .dir-row .arr { grid-column: 3; }
  .strip { grid-auto-columns: 78vw; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat b { font-size: 40px; }
  .ftr { grid-template-columns: 1fr; }
  .grid-rooms { grid-template-columns: minmax(0, 1fr); }
  .room-top .pic { min-height: clamp(250px, 46svh, 420px); }
  .room-top .info { padding-top: 40px; }
  .roof { grid-template-columns: 1fr; }
  .bookbar { flex-wrap: wrap; }
  .bookbar .t { display: none; }
  .bookbar .fields { grid-template-columns: 1fr 1fr 70px; max-width: none; }
  .bookbar .btn { width: 100%; height: 46px; }
  .cele-hero .info { padding-block: var(--cele-space); }
  .cele-hero .vid { min-height: clamp(240px, 44svh, 410px); order: -1; }
  .hall { grid-template-columns: 1fr; }
  .enq .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moments, .moments.four { grid-template-columns: 1fr; }
  .moment .ph { aspect-ratio: 4/3; }
  .next-venues { grid-template-columns: 1fr; }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field { min-width: 0; }
  .split .ph { aspect-ratio: 4/3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .dusk { height: auto; }
  .dusk-stage { position: relative; height: auto; min-height: 100vh; }
  .dusk-pics .night { clip-path: none; }
  .dusk-pics .day { display: none; }
  .sign { color: var(--lamp); }

}

/* Refinements */

.gallery figure:nth-child(3):nth-last-child(2), .gallery figure:nth-child(4):last-child { grid-column: span 3; aspect-ratio: 16/10; }
.gallery figure:nth-child(3):last-child { grid-column: 1 / -1; aspect-ratio: 21/9; }
@media (max-width: 820px) {


}
.m-only { display: none !important; }
@media (max-width: 820px) {
  .d-only, .bookbar .fields { display: none !important; }
  .m-only { display: inline-flex !important; }
  .bookbar { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
}
.hdr.is-solid { background: rgba(12, 10, 14, .9); }

/* Brand colours and lettering */
:root {
  --lamp: #BB8A40; /* Opal brand gold, sampled from the logo */
  --lamp-deep: #8E6526; /* same hue, darkened for small text on limestone */
  --lit: #DDB26C; /* the gold when a sign is switched on */
  --sign: 'Times New Roman', Tinos, 'Liberation Serif', Times, serif; /* the logo + building signage face */
}

/* Logo lockup: the real O mark over the OPAL HOTEL wordmark */
.wordmark { gap: 7px; }
.wordmark .wm-mark { width: 34px; height: auto; }
.wordmark .wm-type { width: 104px; height: auto; }
@media (max-width: 820px) { .wordmark .wm-mark { width: 28px; } .wordmark .wm-type { width: 88px; } .wordmark { gap: 5px; } }
.ftr .logo { width: 96px; border-radius: 0; }

/* Display type: a little more body, closer to the brand's sturdy serif */
.display { font-weight: 500; }
.menu-nav li b, .card h3, .moment h3, .dir-row b, .roof b, .bookbar .t b { font-weight: 500; }

/* Eyebrows: a short gold rule; over photography the words go ivory so they don't sink into the lit façade */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--lamp); flex: none; }
.where .eyebrow, .closing .eyebrow { color: rgba(244, 238, 229, .88); }

/* Primary buttons: ivory on dark and on footage, ink on limestone; gold only on hover */
.btn.solid { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.btn.solid:hover { background: var(--lamp); border-color: var(--lamp); color: var(--night); }
.on-stone .btn.solid { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.on-stone .btn.solid:hover { background: var(--lamp); border-color: var(--lamp); color: var(--ink); }
.on-stone .eyebrow { color: var(--lamp-deep); }
.on-stone .link { color: var(--ink); }

/* Signs: the hall names in the same lettering as the real signage, lit in Opal gold */
.sign, .hall-name .lit-sign, .hall-name .unlit { font-family: var(--sign); font-weight: 700; letter-spacing: .08em; }
html[lang="ar"] .sign, html[lang="ar"] .hall-name .lit-sign, html[lang="ar"] .hall-name .unlit { font-family: var(--display); letter-spacing: 0; }

/* Small gold details */
.tag { color: var(--lit); }
.confirm { color: var(--lit); border-color: rgba(187, 138, 64, .5); }
.stat b small { color: var(--lit); }
.where-in .stats { border-top-color: var(--line-stone); }
.where-in .stat > span { color: var(--ink); }
.where-in .stat b small { color: var(--lamp-deep); }
.on-stone.dusk-copy .lede, .on-stone.where-in .lede, .on-stone.cele-hero .lede { color: var(--ink); }
.dusk-clock .bar i { background: var(--lit); }
.menu-nav li a:hover b, .menu-nav li a[aria-current] b { color: var(--lamp-deep); }
a.dir-row:hover b, .dir-row.is-on b { color: var(--lamp-deep); }

.chip[aria-pressed="true"] { background: var(--ink); }

.hdr, .hdr.is-solid { backdrop-filter: none; -webkit-backdrop-filter: none; }

.sign.lit, .lit-sign, .closing .lit-sign, .menu-nav li a:hover b, .menu-nav li a[aria-current] b { text-shadow: none !important; }
.sign.lit, .lit-sign { color: var(--lamp); }
.closing .lit-sign { color: var(--on-night) !important; }

/* Top bar in limestone beige (same as the stone sections) so the gold logo sits on light, as designed */
.hdr, .hdr.is-solid { background: var(--stone-bg); color: var(--ink); }
.hdr::after { background: var(--line-stone); opacity: 1; }
.hdr .lang { color: var(--ink-soft); }
.hdr .lang:hover { color: var(--ink); }
.hdr .btn { border-color: var(--ink); color: var(--ink); }
.hdr .btn:hover { background: var(--ink); color: var(--stone); border-color: var(--ink); }

/* ---------- Round 4: calmer editorial type + text motion ---------- */
/* Smaller, quieter headlines: one statement per section, magazine pull-quote scale */
.display { line-height: 1.04; letter-spacing: -.012em; }
.d-xl { font-size: clamp(46px, 6.2vw, 104px); }
.d-l  { font-size: clamp(36px, 4.3vw, 72px); }
.d-m  { font-size: clamp(30px, 3.1vw, 52px); }
.d-s  { font-size: clamp(22px, 1.9vw, 30px); }

html[lang="ar"] .display { line-height: 1.4; }
html[lang="ar"] .d-xl { font-size: clamp(42px, 5.4vw, 88px); }
html[lang="ar"] .d-l { font-size: clamp(32px, 3.8vw, 62px); }
html[lang="ar"] .d-m { font-size: clamp(28px, 2.8vw, 46px); }

.lede { max-width: 32em; }

/* SplitText line masks: room for descenders and Arabic marks */
.ln-mask { padding-block: .1em; margin-block: -.1em; }
html[lang="ar"] .ln-mask { padding-block: .2em; margin-block: -.2em; }

/* Lenis (from lenis.css) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Scroll and gallery components */

/* --- Gradual Blur: progressive frosted strip at the bottom of a photo --- */
.gblur { position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none; z-index: 1; }
.gblur i { position: absolute; inset: 0; }
.gblur i:nth-child(1) { backdrop-filter: blur(.5px); -webkit-backdrop-filter: blur(.5px); mask-image: linear-gradient(transparent 0%, #000 16%); -webkit-mask-image: linear-gradient(transparent 0%, #000 16%); }
.gblur i:nth-child(2) { backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px); mask-image: linear-gradient(transparent 16%, #000 32%); -webkit-mask-image: linear-gradient(transparent 16%, #000 32%); }
.gblur i:nth-child(3) { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); mask-image: linear-gradient(transparent 32%, #000 48%); -webkit-mask-image: linear-gradient(transparent 32%, #000 48%); }
.gblur i:nth-child(4) { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); mask-image: linear-gradient(transparent 48%, #000 64%); -webkit-mask-image: linear-gradient(transparent 48%, #000 64%); }
.gblur i:nth-child(5) { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); mask-image: linear-gradient(transparent 64%, #000 80%); -webkit-mask-image: linear-gradient(transparent 64%, #000 80%); }
.gblur i:nth-child(6) { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); mask-image: linear-gradient(transparent 80%, #000 96%); -webkit-mask-image: linear-gradient(transparent 80%, #000 96%); }
.gblur::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,14,0) 20%, rgba(12,10,14,.42) 100%); }

/* --- Scroll Expand: framed film that grows to full bleed --- */
.xhero { position: relative; }
.xhero-stage { position: sticky; top: var(--header); height: calc(100svh - var(--header)); overflow: hidden; }
.xhero-top { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 40px; padding: clamp(28px, 5vh, 56px) var(--gutter) 0; }
.xhero-top .eyebrow { margin-bottom: 18px; }
.xhero-top .display { max-width: none; }
.xhero-aside { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; padding-bottom: .4em; }
.xhero-aside .lede { font-size: clamp(15px, 1.15vw, 18px); }
.xhero-frame { position: absolute; inset: 0; z-index: 3; clip-path: inset(var(--xt, 42%) var(--gutter) 3vh var(--gutter) round 18px); will-change: clip-path; background: var(--night); }
.xhero-frame picture img, .xhero-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xhero-frame video { opacity: 0; }
.xhero-frame video.is-playing { opacity: 1; }
.xhero-frame .tall { display: none; }

/* --- Scroll Stack: rounded cards that pin and settle into a dimmed deck --- */
.stack { padding: 4vh var(--gutter) 10vh; }
.scard { position: sticky; height: calc(100svh - var(--header) - 6vh); border-radius: 18px; overflow: hidden; margin-bottom: 5vh; transform-origin: 50% 0; background: var(--night); }
.scard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scard-cap, .band-cap { position: absolute; z-index: 2; inset: auto 0 0 0; padding: clamp(22px, 3vw, 44px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; color: var(--on-night); margin: 0; }
.band-cap { display: block; }
.band-cap.row { display: flex; }
.scard-cap .eyebrow, .band-cap .eyebrow { color: rgba(244,238,229,.88); margin-bottom: 12px; }
.scard-cap .num { font-family: var(--sign); font-weight: 700; color: var(--lit); letter-spacing: .1em; margin-inline-end: 4px; }
.scard-cap .display, .band-cap .display { color: var(--on-night); }
.scard-cap .btn { flex: none; }

/* Photo bands (Location, closing): image stays clean, text rides the blur strip */
.photo-band { position: relative; margin: 0; height: 78vh; min-height: 480px; overflow: hidden; }
.photo-band.tall { height: 92vh; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.where { min-height: 0; display: block; overflow: visible; }
.where::before { display: none; }
.where-in { padding: clamp(36px, 5vw, 72px) var(--gutter) clamp(56px, 7vw, 100px); }
.closing { height: auto; min-height: 0; display: block; text-align: start; }
.closing::before { display: none; }
.closing .actions { justify-content: flex-end; }

/* --- Accordion Gallery: the five halls --- */
.acc { display: flex; gap: 10px; height: min(74vh, 720px); }
.acc-p { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 14px; background: var(--night-2); transition: flex-grow .9s var(--ease-out); }
.acc-p.is-open { flex-grow: 4.2; }
.acc-p > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); filter: grayscale(.55) brightness(.75); transition: transform 1.4s var(--ease-out), filter .9s var(--ease); }
.acc-p.is-open > img { transform: scale(1); filter: none; }
.acc-cap { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; color: var(--on-night); }
.acc-name { font-family: var(--sign); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; white-space: nowrap; transition: font-size .6s var(--ease-out); }
html[lang="ar"] .acc-name { font-family: var(--display); letter-spacing: 0; font-size: 16px; }
.acc-p.is-open .acc-name { font-size: clamp(26px, 2.6vw, 40px); }
.acc-cap small { font-size: 14px; color: rgba(244,238,229,.85); max-width: 30em; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .7s var(--ease-out); }
.acc-p.is-open .acc-cap small { opacity: 1; transform: none; transition-delay: .25s; }
.acc-p .gblur { height: 40%; }

/* --- Staggered Menu: gold + limestone curtains run ahead of the panel --- */
.menu .prelayer { position: absolute; inset: 0; transform: translateY(-100%); transition: transform .7s var(--ease-out); }
.menu .prelayer.p1 { background: var(--lamp); transition-delay: .12s; }
.menu .prelayer.p2 { background: var(--stone-bg); transition-delay: .06s; }
.menu.is-open .prelayer { transform: none; }
.menu.is-open .prelayer.p1 { transition-delay: 0s; }
.menu.is-open .prelayer.p2 { transition-delay: .06s; }
.menu .panel { transition-delay: 0s; }
.menu.is-open .panel { transition-delay: .14s; }

/* --- Mobile --- */
@media (max-width: 820px) {

  .xhero-frame .wide { display: none; }
  .xhero-frame .tall { display: block; }
  .stack { padding-inline: 12px; }
  .scard { border-radius: 14px; }
  .scard-cap, .band-cap.row { flex-direction: column; align-items: flex-start; }
  .photo-band { height: 64vh; }
  .acc { flex-direction: column; height: auto; }
  .acc-p { flex: none; height: 76px; transition: height .8s var(--ease-out); }
  .acc-p.is-open { height: 58vh; }
}

@media (min-width: 821px) and (prefers-reduced-motion: reduce) {
  .xhero { height: auto; }
  .xhero-stage { position: relative; top: 0; height: auto; }
  .xhero-frame { position: relative; height: 70vh; clip-path: none; margin: 32px var(--gutter) 0; border-radius: 18px; overflow: hidden; }
  .scard { position: relative; top: 0 !important; }
}
.stat b [data-count] { font-size: inherit; color: inherit; }
.photo-band { width: 100%; display: block; }
.closing { place-items: normal; }

/* Scroll Expand animation states */
@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
  .js .xhero-frame { visibility: hidden; }
}
.xhero { height: 205vh; }
.xhero-top { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; padding-top: clamp(24px, 4.5vh, 48px); }
.xhero-top .display { font-size: clamp(40px, 5vw, 84px); line-height: 1.02; }
html[lang="ar"] .xhero-top .display { font-size: clamp(36px, 4.4vw, 72px); line-height: 1.3; }
.xhero-aside { padding-bottom: .5em; }
.xhero-frame { backface-visibility: hidden; transform: translateZ(0); }
.scard::before { content: ''; position: absolute; inset: 0; z-index: 4; background: #0c0a0e; opacity: var(--dim, 0); pointer-events: none; }
.dusk-pics .tint { background: linear-gradient(180deg, rgba(18,12,30,.35), rgba(12,10,20,.7)); mix-blend-mode: normal; }
/* lighter blur stack: four layers instead of six */
.gblur i:nth-child(1), .gblur i:nth-child(3) { display: none; }
@media (max-width: 820px) {
  .xhero { height: auto; }
  .dusk-stage { min-height: 0; }
  .xhero-stage { position: relative; top: 0; height: auto; }
  .xhero-top { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: calc(var(--header) + 24px); }
  .xhero-top .eyebrow { margin-bottom: 12px; }
  .xhero-aside { gap: 14px; padding-bottom: 0; }
  .xhero-aside .lede { max-width: 36ch; }
  .xhero-frame {
    position: relative;
    height: clamp(280px, 52svh, 490px);
    margin: 22px var(--gutter) 12px;
    border-radius: 18px;
    overflow: hidden;
    clip-path: none;
    will-change: auto;
  }
  .stack { padding-block: 20px 42px; }
  .scard { position: relative; top: auto !important; height: clamp(330px, 57svh, 530px); margin-bottom: 16px; }
  .photo-band, .photo-band.tall { height: clamp(350px, 60svh, 540px); min-height: 0; }
  .gblur i { display: none; }
  .gblur::after { background: linear-gradient(transparent, rgba(12, 10, 14, .78)); }
  .js [data-reveal], .js [data-reveal].is-in { opacity: 1; transform: none; transition: none; }
  .menu .prelayer { display: none; }
  .menu .panel, .menu.is-open .panel { transition-duration: .32s; transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  .js .xhero-frame { visibility: visible; }
  .xhero { height: auto; }
}

/* Circular photo and room galleries */
.cg {
  --cg-width: clamp(230px, 28vw, 365px);
  --cg-height: clamp(265px, 34vw, 440px);
  position: relative;
}
.cg-gallery {
  --cg-width: clamp(265px, 36vw, 470px);
  --cg-height: clamp(205px, 28vw, 350px);
}
.cg-stage {
  display: flex;
  gap: 22px;
  max-width: 1600px;
  margin-inline: auto;
  padding: 20px 0 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.cg-card {
  display: block;
  width: var(--cg-width);
  flex: none;
  scroll-snap-align: center;
  text-align: center;
}
.cg-picture {
  display: block;
  height: var(--cg-height);
  overflow: hidden;
  border-radius: 14px;
  background: var(--stone-2);
  box-shadow: 0 8px 24px rgba(12, 10, 14, .17);
}
.cg-dark .cg-picture, .hall-gal .cg-picture { background: var(--night-3); }
.cg-picture img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cg-picture img { transition: transform .35s var(--ease-out); }
  .cg-stage:not(.is-dragging) .cg-card:hover img { transform: scale(1.025); }
}
.cg-label {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 500;
  line-height: 1.25;
}
html[lang="ar"] .cg-label { line-height: 1.45; }
.cg.is-ready .cg-stage {
  position: relative;
  display: block;
  height: calc(var(--cg-height) + 144px);
  overflow: hidden;
  scroll-snap-type: none;
  touch-action: pan-y;
  cursor: grab;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.cg-gallery.is-ready .cg-stage { height: calc(var(--cg-height) + 110px); }
.cg.is-ready .cg-card {
  position: absolute;
  top: 24px;
  left: calc(50% - var(--cg-width) / 2);
  cursor: inherit;
}
.cg.is-ready .cg-stage.is-dragging { cursor: grabbing; }
.cg-stage.is-dragging .cg-card { user-select: none; }
.cg-card:focus-visible { outline-offset: 4px; border-radius: 14px; }
.cg-controls {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding-inline: var(--gutter);
  position: relative;
}
.cg-controls[hidden], .cg-caption[hidden] { display: none; }
.cg-nav {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: color .25s, background .25s;
}
.cg-nav:hover { background: var(--on-night); color: var(--night); }
.on-stone .cg-nav:hover { background: var(--ink); color: var(--stone); }
.cg-nav .arr { width: 18px; }
.cg-nav.prev .arr { transform: scaleX(-1); }
.cg-dots { display: flex; flex-wrap: wrap; justify-content: center; }
.cg-dot { display: grid; place-items: center; width: 25px; height: 28px; border-radius: 6px; }
.cg-dot::after { content: ''; width: 6px; height: 6px; border-radius: 6px; background: currentColor; opacity: .45; }
.cg-dot[aria-current]::after { width: 18px; opacity: 1; }
.cg-captions {
  min-height: 116px;
  max-width: calc(420px + 2 * var(--gutter));
  margin: 16px auto 0;
  padding-inline: var(--gutter);
  text-align: center;
}
.cg-caption { color: var(--ink-soft); font-size: 15px; }
.cg-caption span { font-size: 13px; }
.cg-caption p { margin: 4px 0 8px; }
.cg-dark .cg-caption { color: var(--on-night-soft); }
@media (max-width: 820px) {
  .cg { --cg-width: min(64vw, 365px); --cg-height: min(78vw, 365px); }
  .cg-gallery { --cg-width: min(67vw, 470px); --cg-height: min(61vw, 325px); }
  .cg.is-ready .cg-stage { height: calc(var(--cg-height) + 100px); mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); }
  .cg-gallery.is-ready .cg-stage { height: calc(var(--cg-height) + 82px); }
  .cg-nav { width: 42px; height: 42px; }
  .cg-controls { gap: 8px; }
}
/* ---------- Menu pages ---------- */
.pillnav { position: sticky; top: var(--header); z-index: 30; background: var(--night); border-bottom: 1px solid var(--line-night); }
.pills { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 12px var(--gutter); }
.pills::-webkit-scrollbar { display: none; }
.pill { position: relative; z-index: 1; flex: none; height: 38px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 40px; font-size: 13px; letter-spacing: .04em; color: var(--on-night-soft); transition: color .4s var(--ease); white-space: nowrap; }
html[lang="ar"] .pill { font-size: 15px; letter-spacing: 0; }
.pill:hover { color: var(--on-night); }
.pill.is-on { color: var(--night); }
.gallery-filters { background: var(--lamp); border-color: var(--line-stone); }
.gallery-filters .pills { justify-content: safe center; }
.gallery-filters .pill { color: var(--stone-bg); }
.gallery-filters .pill-ind { background: var(--night); }
@media (max-width: 600px) {
  .gallery-filters .pills { gap: 2px; padding-inline: 10px; }
  .gallery-filters .pill { padding-inline: 6px; font-size: 12px; }
}
.pill-ind { position: absolute; z-index: 0; top: 12px; height: 38px; border-radius: 40px; background: var(--stone-bg); left: 0; width: 0; transition: transform .6s var(--ease-out), width .6s var(--ease-out); }
.menu-body { padding: clamp(48px, 7vw, 110px) var(--gutter) clamp(80px, 10vw, 160px); }
.menu-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.menu-side { position: sticky; top: calc(var(--header) + 96px); display: flex; flex-direction: column; gap: 22px; }
.mnote { margin: 0; font-size: 13px; color: var(--ink-soft); max-width: 26em; padding: 12px 14px; border: 1px solid var(--line-stone); }
.mcat { padding: 0 0 clamp(48px, 5vw, 76px); scroll-margin-top: calc(var(--header) + 80px); }
.mcat-t { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); font-family: var(--display); font-weight: 500; font-size: clamp(28px, 2.8vw, 44px); line-height: 1.1; }
html[lang="ar"] .mcat-t { line-height: 1.5; }
.mcat-t small { font-family: var(--text); font-size: 12px; letter-spacing: .2em; color: var(--lamp-deep); }
.mlist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(28px, 4vw, 64px); }
.mlist li { break-inside: avoid; display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-stone); font-size: 16px; }
html[lang="ar"] .mlist li { font-size: 17px; }
.mi { flex: 0 1 auto; }
.dots { flex: 1 1 auto; min-width: 16px; border-bottom: 1px dotted rgba(29,24,19,.3); transform: translateY(-4px); }
.mp { flex: none; font-variant-numeric: tabular-nums; color: var(--lamp-deep); font-weight: 500; }
@media (max-width: 820px) {
  .menu-wrap { grid-template-columns: 1fr; }
  .menu-side { position: static; }
  .mlist { columns: 1; }
}

/* Inner-page heroes */
.mhero {
  background: var(--stone-bg);
  color: var(--ink);
  padding-top: var(--header);
  padding-bottom: clamp(28px, 4vw, 56px);
}
.mhero.no-photos { padding-bottom: 0; }
.mhero .eyebrow { color: var(--lamp-deep); }
.mhero-head {
  display: flex;
  min-height: clamp(170px, 24vh, 255px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-block: 24px;
  text-align: center;
}
.mhero-title { margin: 18px 0 0; font-family: var(--display); font-size: clamp(34px, 5.2vw, 88px); font-weight: 700; line-height: 1; letter-spacing: -.035em; }
html[lang="ar"] .mhero-title { font-size: clamp(32px, 4.8vw, 76px); line-height: 1.32; letter-spacing: 0; }
.mhero-title span { display: inline-block; }
.mhero-trip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); padding: 0 var(--gutter); }
.mhero-trip figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--stone-2); }
.mhero-trip img { width: 100%; height: 100%; object-fit: cover; }
.mhero.is-menu .mhero-trip figure { aspect-ratio: 1 / 1; }
@media (max-width: 820px) {
  .mhero-trip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .mhero-trip::-webkit-scrollbar { display: none; }
  .mhero-trip figure { scroll-snap-align: center; }
}

/* ================= Added pages ================= */

/* About */
.about-intro { max-width: 30em; margin: 0 0 clamp(48px, 6vw, 96px); line-height: 1.3; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--ink); padding-top: 32px; }
.principle .pnum { font-size: 12px; letter-spacing: .2em; color: var(--lamp-deep); }
.principle h3 { margin: 14px 0 10px; font-family: var(--display); font-weight: 500; font-size: clamp(26px, 2.2vw, 34px); }
.principle p { margin: 0; color: var(--ink-soft); max-width: 24em; }
.facts-band { padding-block: clamp(56px, 7vw, 100px); }
.stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.ccards { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-stone); }
.ccard { display: flex; flex-direction: column; gap: 6px; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line-stone); font-size: 18px; }
html[dir="rtl"] .ccard { padding: 20px 0 20px 16px; }
.ccard a:hover { color: var(--lamp-deep); }
.field textarea { background: transparent; border: 0; padding: 4px 0; font-size: 17px; outline: none; resize: vertical; width: 100%; }
.contact-grid .enq { max-width: none; }

/* Gallery and room photo carousels */
.gal-sec { padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(80px, 10vw, 140px); }
.pc {
  --pc-width: clamp(218px, 27vw, 330px);
  --pc-height: clamp(174px, 22vw, 285px);
  position: relative;
}
.pc-flex {
  --pc-width: clamp(200px, 24vw, 324px);
  --pc-height: clamp(260px, 31vw, 426px);
}
.pc-stage {
  display: flex;
  gap: 18px;
  max-width: 1600px;
  margin-inline: auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.pc-card {
  display: block;
  width: var(--pc-width);
  height: var(--pc-height);
  flex: none;
  overflow: hidden;
  border-radius: 12px;
  background: var(--stone-2);
  box-shadow: 0 8px 20px rgba(12, 10, 14, .14);
  scroll-snap-align: center;
}
.pc-stage img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.pc.is-ready .pc-stage {
  position: relative;
  display: block;
  height: calc(var(--pc-height) + 134px);
  overflow: hidden;
  scrollbar-width: none;
  touch-action: pan-y;
  cursor: grab;
}
.pc-ring.is-ready .pc-stage { perspective: 1000px; perspective-origin: 50% 44%; }
.pc-flex.is-ready .pc-stage {
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.pc.is-ready .pc-card {
  position: absolute;
  top: 67px;
  left: calc(50% - var(--pc-width) / 2);
  cursor: inherit;
}
.pc.is-ready .pc-stage.is-dragging { cursor: grabbing; }
.pc-status { display: grid; min-width: 7em; gap: 3px; text-align: center; }
.pc-count { font-size: 12px; letter-spacing: .08em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pc-controls .cg-nav:disabled { opacity: .4; cursor: default; }
@media (max-width: 820px) {
  .pc-ring { --pc-width: min(50vw, 275px); --pc-height: min(45vw, 231px); }
  .pc-flex { --pc-width: min(63vw, 300px); --pc-height: min(79vw, 390px); }
  .pc.is-ready .pc-stage { height: calc(var(--pc-height) + 104px); }
  .pc-ring.is-ready .pc-stage { perspective: 600px; }
  .pc.is-ready .pc-card { top: 52px; }
}
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,7,10,.96); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; }
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; height: 100%; justify-content: center; padding: 70px 0 30px; }
.lb-fig img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; }
.lb-fig figcaption { color: var(--on-night-soft); font-size: 13px; letter-spacing: .1em; }
.lb-nav { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-night); color: var(--on-night); display: grid; place-items: center; justify-self: center; }
.lb-nav .arr { width: 18px; } .lb-nav.prev .arr { transform: scaleX(-1); }
.lb-x { position: absolute; top: 18px; inset-inline-end: 24px; color: var(--on-night); display: inline-flex; gap: 12px; align-items: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; height: 44px; }
.lb-x i { width: 22px; height: 22px; position: relative; }
.lb-x i::before, .lb-x i::after { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: currentColor; transform: rotate(45deg); } .lb-x i::after { transform: rotate(-45deg); }

/* Hall pages */
.hall-gal { background: var(--night); color: var(--on-night); padding-bottom: clamp(40px, 5vw, 70px); }
.gal-note { margin: 18px auto 0; font-size: 12px; color: var(--on-night-soft); text-align: center; }
.on-stone-facts { border-top-color: var(--line-stone); }
.on-stone-facts div { border-bottom-color: var(--line-stone); }
.on-stone-facts dt { color: var(--ink-soft); }

/* Policies */
.legal-head { padding: calc(var(--header) + clamp(48px, 8vh, 96px)) var(--gutter) clamp(28px, 4vw, 48px); }
.legal-head .display { margin-top: 18px; max-width: 18em; }
.legal-body { padding-bottom: clamp(80px, 10vw, 140px); }
.prose { max-width: 46em; font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose h2 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 1.8vw, 28px); margin: 2em 0 .6em; line-height: 1.3; }
.prose p { margin: 0 0 1em; } .prose ul { margin: 0 0 1.2em; padding-inline-start: 1.2em; }
.prose a { color: var(--lamp-deep); text-decoration: underline; text-underline-offset: 3px; }
.fine-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 820px) {
  .principles, .contact-grid { grid-template-columns: 1fr; }
  .stats.four { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .ccards { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 1fr; } .lb-nav { position: absolute; bottom: 24px; } .lb-nav.prev { inset-inline-start: 24px; } .lb-nav.next { inset-inline-end: 24px; }
}

/* Keep keyboard focus rings inside scrolling and clipped controls. */
.pill:focus-visible, .acc-p:focus-visible, .pc-card:focus-visible, .pc:focus-visible, .cg:focus-visible { outline-offset: -4px; }
.field:has(:focus-visible) { outline: 2px solid var(--fire); outline-offset: 2px; }

/* Optional analytics consent, rendered only when a provider is approved and enabled. */
.consent { position: fixed; z-index: 70; inset-inline-start: var(--gutter); inset-block-end: calc(24px + env(safe-area-inset-bottom)); width: min(450px, calc(100% - 2 * var(--gutter))); padding: 20px; border: 1px solid var(--line-stone); }
.consent h2, .consent p { margin: 0 0 12px; }
.consent h2 { font-size: 18px; }
.consent .actions { flex-wrap: wrap; }
