/* Dar al Ofoq · Proposal 4
   Layout concept: a light "horizon" house style. Cream pages, the logo's sun-over-horizon arc
   as the recurring motif, arched windows for photography, deep green reserved for bands and doors. */
:root {
  --ink: #241F1A;
  --muted: #5B5147;
  --paper: #F4EDDF;
  --paper-2: #FAF6EE;
  --sand: #ECE1CC;
  --pale: #E4DCCB;
  --green: #15453B;
  --green-deep: #0E332B;
  --gold: #C68A2E;
  --gold-l: #E7BC63;
  --terra: #A2472A;
  --line: rgba(36, 31, 26, .14);
  --line-light: rgba(244, 237, 223, .18);

  --display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --arabic: 'Reem Kufi', 'Noto Kufi Arabic', serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --hdr: 72px;
  --arch: 50% 50% 8px 8px / 34% 34% 8px 8px;
  --arch-soft: 50% 50% 6px 6px / 22% 22% 6px 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 10px 16px; background: var(--gold); color: var(--green-deep); font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec--tight { padding-block: clamp(48px, 6vw, 80px); }
.sec--sand { background: var(--sand); }
.sec--green { background: var(--green); color: var(--paper); }
.sec--deep { background: var(--green-deep); color: var(--paper); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px clamp(32px, 6vw, 88px); align-items: start; }
.split > * { min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Type ---------- */
.eyebrow { margin: 0; color: var(--terra); font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.sec--green .eyebrow, .sec--deep .eyebrow, .on-dark .eyebrow { color: var(--gold-l); }
.display { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5.4vw, 72px); line-height: 1; letter-spacing: -.01em; }
.display em, .title em { font-style: italic; color: var(--terra); }
.sec--green .display em, .sec--deep .display em, .on-dark em { color: var(--gold-l); }
.title { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
.h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
.lede { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; max-width: 34em; }
.muted { color: var(--muted); }
.sec--green .muted, .sec--deep .muted { color: var(--pale); }
.prose { max-width: 36em; }
.prose p { margin: 0 0 14px; }
[lang="ar"] { font-family: var(--arabic); font-weight: 500; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* Horizon divider: the logo's sun on a line */
.horizon { display: flex; align-items: flex-end; gap: 0; margin-block: clamp(40px, 6vw, 72px) 0; color: var(--gold); }
.horizon::before, .horizon::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .55; }
.horizon svg { width: 44px; height: 22px; flex: none; margin-bottom: -1px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--green-deep); }
.btn--gold:hover { background: var(--gold-l); }
.btn--green { background: var(--green); color: var(--paper); }
.btn--green:hover { background: var(--green-deep); }
.btn--line { border-color: rgba(21, 69, 59, .45); color: var(--green); background: transparent; }
.btn--line:hover { border-color: var(--green); background: rgba(21, 69, 59, .06); }
.btn--line-light { border-color: rgba(244, 237, 223, .5); color: var(--paper); background: transparent; }
.btn--line-light:hover { border-color: var(--gold-l); color: var(--gold-l); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--gold);
}
.textlink svg { width: 16px; height: 16px; transition: transform .2s; }
.textlink:hover svg { transform: translateX(3px); }
.sec--green .textlink, .sec--deep .textlink { color: var(--gold-l); }
.icon-btn {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(21, 69, 59, .35); background: transparent; color: var(--green); cursor: pointer;
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.icon-btn:hover { border-color: var(--gold); background: rgba(198, 138, 46, .12); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn svg { width: 18px; height: 18px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; background: var(--sand); border-radius: 999px; font-size: 13px; font-weight: 600; }
.chips--line li { background: transparent; border: 1px solid rgba(198, 138, 46, .55); color: var(--green-deep); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: rgba(250, 246, 238, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.hdr.is-scrolled { box-shadow: 0 8px 24px rgba(14, 51, 43, .08); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-deep); }
.brand img { width: 64px; height: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-size: 24px; font-weight: 600; white-space: nowrap; }
.brand__ar { font-size: 13px; color: var(--gold); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  color: var(--green-deep); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 18px; height: 9px; transform: translateX(-50%) scale(.4);
  border: 2px solid var(--gold); border-bottom: 0; border-radius: 18px 18px 0 0; opacity: 0; transition: opacity .2s, transform .2s;
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { opacity: 1; transform: translateX(-50%) translateY(10px) scale(1); }
.nav__link[aria-current="page"] { color: var(--terra); }
.menu-btn { display: none; }

.overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px);
  background: var(--green-deep); color: var(--paper);
  background-image: radial-gradient(circle at center, rgba(231, 188, 99, .09) 0 2px, transparent 2px); background-size: 34px 34px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s, transform .3s, visibility 0s linear .3s;
  overflow-y: auto;
}
.overlay.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
.overlay__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.overlay__top .brand { color: var(--paper); }
.overlay__close { border-color: rgba(244, 237, 223, .4); color: var(--paper); }
.overlay__nav { display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid var(--line-light); }
.overlay__nav a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--line-light); text-decoration: none;
  font-family: var(--display); font-size: clamp(34px, 9vw, 46px); line-height: 1.05; color: var(--paper);
}
.overlay__nav a [lang="ar"] { font-size: 18px; color: var(--gold-l); }
.overlay__nav a[aria-current="page"] { color: var(--gold-l); }
.overlay__contact { margin-top: auto; padding-top: 32px; display: grid; gap: 6px; font-size: 15px; color: var(--pale); }
.overlay__contact a { color: var(--paper); text-decoration: none; }

@media (max-width: 760px) {
  :root { --hdr: 64px; }
  .nav { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
    background: transparent; border: 1px solid rgba(21, 69, 59, .35); border-radius: 2px; color: var(--green-deep);
    font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  }
  .menu-btn svg { width: 18px; height: 18px; }
  .brand img { width: 52px; }
  .brand__name { font-size: 21px; }
}

/* Mobile action dock */
.dock { display: none; }
@media (max-width: 760px) {
  body.has-dock { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(14, 51, 43, .97); border-top: 1px solid rgba(231, 188, 99, .3);
  }
  .dock .btn { min-height: 46px; padding: 0 12px; font-size: 12px; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.crumbs a { color: inherit; text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.crumbs [aria-current] { color: var(--green); font-weight: 700; }

/* ---------- Home hero: an arched window onto the riad ---------- */
.hero { background: var(--paper-2); background-image: radial-gradient(circle at center, rgba(21, 69, 59, .06) 0 1.5px, transparent 2px); background-size: 30px 30px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.hero__copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero__logo { width: min(230px, 56%); margin-bottom: 4px; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(46px, 6.2vw, 92px); line-height: .96; letter-spacing: -.015em; color: var(--green-deep); }
.hero h1 em { color: var(--terra); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 14px 0; list-style: none; border-block: 1px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--green-deep); }
.hero__facts li { display: flex; align-items: center; }
.hero__facts li::before { content: ""; width: 5px; height: 5px; margin-right: 9px; border-radius: 50%; background: var(--gold); }

.window { position: relative; min-width: 0; }
.window__frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-height: min(78vh, 760px); width: 100%; margin-inline: auto;
  border-radius: var(--arch); background: var(--green-deep);
  outline: 1px solid rgba(198, 138, 46, .7); outline-offset: 10px;
}
.window__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.window__slide.is-active { opacity: 1; }
.window__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s ease-out; }
.window__slide.is-active img { transform: scale(1); }
.window__ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; }
@media (max-width: 600px) { .window__caption { flex-basis: 100%; } .suns { margin-right: auto; } }
.window__caption { flex: 1; min-width: 0; margin: 0; font-size: 14px; color: var(--muted); }
.window__caption b { display: block; font-family: var(--display); font-size: 21px; font-weight: 500; color: var(--green-deep); }
.suns { display: flex; gap: 2px; }
.sun-dot { width: 40px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: rgba(21, 69, 59, .3); }
.sun-dot svg { width: 26px; height: 13px; }
.sun-dot[aria-current="true"] { color: var(--gold); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .window__frame { aspect-ratio: 5 / 5.4; }
}

/* ---------- Stats band ---------- */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--green); color: var(--paper); }
.stats li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 24px 12px; text-align: center; border-left: 1px solid rgba(231, 188, 99, .2); }
.stats li:first-child { border-left: 0; }
.stats strong { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 3.4vw, 44px); line-height: 1; color: var(--gold-l); font-variant-numeric: lining-nums; }
.stats span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(231, 188, 99, .2); }
}

/* ---------- The door ---------- */
.door { position: relative; height: clamp(560px, 60vw, 820px); overflow: hidden; background: var(--green-deep); perspective: 1800px; }
.door__view { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 2.4s cubic-bezier(.16, .8, .3, 1); }
.door.is-open .door__view { transform: scale(1); }
.door__shade { position: absolute; inset: auto 0 0 0; height: 70%; background: linear-gradient(180deg, rgba(14, 51, 43, 0), rgba(14, 51, 43, .92)); }
.leaf {
  position: absolute; top: 0; bottom: 0; width: 50.2%; z-index: 3;
  background-color: var(--green);
  background-image: radial-gradient(circle, var(--gold) 0 2.5px, transparent 3px);
  background-size: 30px 52px; background-repeat: repeat-y;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, .28);
  transition: transform 1.5s cubic-bezier(.16, .8, .3, 1);
}
.leaf--l { left: 0; transform-origin: 0 50%; background-position: 4px 26px; }
.leaf--r { right: 0; transform-origin: 100% 50%; background-position: right 4px top 26px; }
.door.is-open .leaf--l { transform: rotateY(86deg); }
.door.is-open .leaf--r { transform: rotateY(-86deg); }
.leaf__panel { position: absolute; left: 16%; right: 16%; border: 1px solid var(--gold); background: var(--green-deep); outline: 1px solid rgba(198, 138, 46, .45); outline-offset: 8px; }
.leaf__panel--top { top: 9%; bottom: 52%; border-radius: 50% 50% 0 0 / 22% 22% 0 0; }
.leaf__panel--bot { top: 56%; bottom: 9%; }
.leaf__ring { position: absolute; top: 48%; width: clamp(26px, 3vw, 40px); height: clamp(26px, 3vw, 40px); border: 3px solid var(--gold); border-radius: 50%; }
.leaf--l .leaf__ring { right: 6%; }
.leaf--r .leaf__ring { left: 6%; }
.door__plaque {
  position: absolute; top: 10%; left: 50%; transform: translateX(-50%); z-index: 4;
  padding: 8px 14px; background: var(--paper); color: var(--green);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  border-radius: 2px; outline: 1px solid var(--green); outline-offset: -4px; transition: opacity .4s;
}
.door.is-open .door__plaque { opacity: 0; }
.door__caption { position: absolute; inset: auto 0 100px 0; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 20px; text-align: center; color: var(--paper); opacity: 0; transform: translateY(12px); transition: opacity 1s ease .5s, transform 1s ease .5s; }
.door.is-open .door__caption { opacity: 1; transform: none; }
.door__caption h2 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; }
.door__caption p { margin: 0; max-width: 32em; }
.door__btn { position: absolute; z-index: 5; left: 50%; bottom: 28px; transform: translateX(-50%); white-space: nowrap; }

/* ---------- Image treatments ---------- */
.arch-img { width: 100%; object-fit: cover; border-radius: var(--arch); }
.soft-img { width: 100%; object-fit: cover; border-radius: 6px; }
.figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.figure figcaption { font-size: 14px; color: var(--muted); }

/* Home "house" intro collage */
.collage { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.collage .a { grid-row: span 2; height: 100%; min-height: 420px; }
.collage .b, .collage .c { height: clamp(180px, 18vw, 250px); }
@media (max-width: 600px) {
  .collage { grid-template-columns: 1fr 1fr; }
  .collage .a { grid-column: 1 / -1; grid-row: auto; min-height: 0; height: 320px; }
  .collage .b, .collage .c { height: 160px; }
}

/* ---------- Horizontal scrollers (rooms) ---------- */
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 28vw, 340px); gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 14px var(--gutter) 22px; margin-inline: calc(var(--gutter) * -1);
  scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.scroller > * { scroll-snap-align: start; min-width: 0; }
.scroller-ctrl { display: flex; gap: 10px; align-items: center; }
@media (max-width: 600px) { .scroller-ctrl .icon-btn { display: none; } .scroller { grid-auto-columns: 78%; } }

.rcard { position: relative; display: flex; flex-direction: column; gap: 6px; }
.rcard__img { position: relative; }
.rcard__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--arch); transition: transform .6s ease; }
.rcard:hover .rcard__img img { transform: translateY(-4px); }
.rcard .badge { position: absolute; left: 16px; bottom: -18px; }
.rcard__body { padding-top: 26px; display: flex; flex-direction: column; gap: 4px; }
.rcard__name { margin: 0; font-family: var(--display); font-weight: 500; font-size: 27px; line-height: 1.1; color: var(--green-deep); }
.rcard__name a { text-decoration: none; }
.rcard__name a::after { content: ""; position: absolute; inset: 0; }
.rcard__ar { color: var(--terra); font-size: 15px; }
.rcard__line { margin: 0; font-size: 14px; color: var(--muted); }

/* Room number badge: a small arched door */
.badge {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 48px; flex: none;
  background: var(--green); color: var(--gold-l); font-family: var(--display); font-size: 21px; font-weight: 600; font-variant-numeric: lining-nums;
  border-radius: 50% 50% 2px 2px / 18px 18px 2px 2px; outline: 1px solid var(--gold-l); outline-offset: -4px;
  box-shadow: 0 0 0 3px var(--paper);
}
.badge--xl { width: clamp(52px, 5vw, 64px); height: clamp(62px, 6vw, 76px); font-size: clamp(26px, 2.6vw, 32px); border-radius: 50% 50% 2px 2px / 26px 26px 2px 2px; outline-offset: -5px; box-shadow: none; }

/* ---------- Neighbourhood street signs ---------- */
.signs { display: flex; flex-direction: column; gap: 14px; }
.sign { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; background: var(--paper); color: var(--green); border-radius: 2px; outline: 1.5px solid var(--green); outline-offset: -5px; }
.sign:nth-child(2) { margin-left: clamp(0px, 2vw, 24px); }
.sign:nth-child(3) { margin-left: clamp(0px, 1vw, 10px); }
.sign__en { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sign [lang="ar"] { margin-left: auto; font-size: 17px; }
.sign__arrow { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; background: var(--green); color: var(--paper); border-radius: 50%; }
.sign__arrow svg { width: 16px; height: 16px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 80px); align-items: center; }
.plate {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: clamp(48px, 6vw, 64px) clamp(20px, 3vw, 36px) clamp(26px, 3vw, 36px);
  background: var(--green-deep); color: var(--paper);
  border-radius: 50% 50% 4px 4px / 64px 64px 4px 4px; outline: 1px solid var(--gold); outline-offset: -8px;
}
.plate .eyebrow { color: var(--gold-l); }
.plate__big { margin: 0; font-family: var(--display); font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; }
.plate__note { margin: 0; font-size: 14px; color: var(--pale); }
@media (max-width: 760px) { .cta-band__in { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.phero { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.phero__in { display: flex; flex-direction: column; gap: 22px; padding-block: clamp(28px, 4vw, 44px) clamp(40px, 6vw, 72px); }
.phero__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 88px); align-items: end; }
.phero__row > * { min-width: 0; }
.phero h1 { margin: 10px 0 0; font-family: var(--display); font-weight: 500; font-size: clamp(44px, 6vw, 84px); line-height: .98; letter-spacing: -.015em; color: var(--green-deep); }
.phero h1 em { color: var(--terra); }
@media (max-width: 760px) { .phero__row { grid-template-columns: 1fr; } }
.band-img { width: 100%; height: clamp(260px, 42vw, 560px); object-fit: cover; }

/* ---------- The House page ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 9vw, 120px); }
.feature--flip .feature__media { order: 2; }
.feature__media img { height: clamp(320px, 38vw, 540px); }
.feature__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature--flip .feature__media { order: 0; } }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(20px, 3vw, 36px); }
.trio article { display: flex; flex-direction: column; gap: 10px; }
.trio img { height: clamp(320px, 30vw, 440px); margin-bottom: 8px; }
.trio p { margin: 0; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr 1fr; } .trio article:last-child { grid-column: 1 / -1; } .trio article:last-child img { height: 340px; } }
@media (max-width: 600px) { .trio { grid-template-columns: 1fr; } }

.amen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.amen li { display: flex; flex-direction: column; gap: 6px; padding: 28px clamp(16px, 2vw, 28px) 28px 0; border-bottom: 1px solid var(--line); }
.amen li:not(:nth-child(3n+1)) { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.amen img { width: 64px; margin-bottom: 6px; }
.amen h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 25px; line-height: 1.15; }
.amen p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
  .amen { grid-template-columns: 1fr 1fr; }
  .amen li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .amen li:nth-child(even) { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .amen { grid-template-columns: 1fr; }
  .amen li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- Rooms page ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--paper-2); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); background: var(--sand); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:hover { background: rgba(198, 138, 46, .07); }
.compare .rname { display: flex; align-items: center; gap: 12px; }
.compare .rname a { font-family: var(--display); font-size: 21px; color: var(--green-deep); text-decoration: none; white-space: nowrap; }
.compare .rname a:hover { color: var(--terra); }
.compare .badge { width: 30px; height: 36px; font-size: 16px; box-shadow: none; outline-offset: -3px; border-radius: 50% 50% 2px 2px / 13px 13px 2px 2px; }

.rooms-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 36px); }
.rooms-grid > .rcard { grid-column: span 2; }
.rooms-grid > .rcard:nth-child(-n+2) { grid-column: span 3; }
.rooms-grid > .rcard:nth-child(-n+2) .rcard__img img { aspect-ratio: 5 / 4; border-radius: var(--arch-soft); }
.rooms-grid > .rcard:nth-child(-n+2) .rcard__name { font-size: clamp(30px, 3vw, 38px); }
@media (max-width: 900px) {
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .rooms-grid > .rcard, .rooms-grid > .rcard:nth-child(-n+2) { grid-column: span 1; }
  .rooms-grid > .rcard:first-child { grid-column: 1 / -1; }
  .rooms-grid > .rcard:nth-child(2) .rcard__img img { aspect-ratio: 3 / 4; border-radius: var(--arch); }
}
@media (max-width: 560px) {
  .rooms-grid { grid-template-columns: 1fr; }
  .rooms-grid .rcard__img img, .rooms-grid > .rcard:nth-child(2) .rcard__img img { aspect-ratio: 4 / 3.4; border-radius: var(--arch-soft); }
}

/* ---------- Single room: title ---------- */
.rtitle__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: 20px 48px; }
@media (max-width: 860px) { .rtitle__row { grid-template-columns: 1fr; } }
.rtitle__name { display: flex; align-items: flex-end; gap: clamp(14px, 2vw, 22px); min-width: 0; }
.rtitle__name > div { min-width: 0; }
.rtitle__name [lang="ar"] { margin: 0; font-size: 20px; line-height: 1.3; color: var(--terra); }
.rtitle__name h1 { margin: 2px 0 0; }
.rtitle__aside { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rtitle__aside p { margin: 0; font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); }

/* ---------- Single room: gallery slider + bottom filmstrip ---------- */
.rg { padding-block: clamp(24px, 3vw, 40px) 0; }
.rg__shell { position: relative; background: var(--green-deep); border-radius: 6px; overflow: hidden; }
.rg__stage { position: relative; }
.rg__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none; height: clamp(320px, 56vw, 700px); max-height: 74vh;
}
.rg__track::-webkit-scrollbar { display: none; }
.rg__track:focus-visible { outline: 2px solid var(--gold-l); outline-offset: -4px; }
.rg__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; position: relative; }
.rg__slide img { width: 100%; height: 100%; object-fit: cover; }
.rg__top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px clamp(14px, 2vw, 22px); pointer-events: none; background: linear-gradient(180deg, rgba(14, 51, 43, .55), rgba(14, 51, 43, 0)); }
.rg__top > * { pointer-events: auto; }
.rg__group-label { padding: 6px 12px; border-radius: 999px; background: rgba(14, 51, 43, .7); color: var(--gold-l); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.rg__arrow, .rg__tool {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(244, 237, 223, .55); background: rgba(14, 51, 43, .55); color: var(--paper);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s, opacity .2s;
}
.rg__tool { width: 44px; height: 44px; }
.rg__arrow:hover, .rg__tool:hover { background: rgba(14, 51, 43, .9); }
.rg__arrow svg, .rg__tool svg { width: 18px; height: 18px; }
.rg__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.rg__arrow--prev { left: clamp(10px, 2vw, 22px); }
.rg__arrow--next { right: clamp(10px, 2vw, 22px); }

/* The filmstrip: docked along the bottom of the gallery, scrolls sideways */
.rg__bar { display: flex; align-items: center; gap: 16px; padding: 12px clamp(12px, 2vw, 20px) 14px; background: var(--green-deep); border-top: 1px solid rgba(231, 188, 99, .25); color: var(--paper); }
.rg__meta { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; width: clamp(160px, 22vw, 280px); }
.rg__count { font-family: var(--display); font-size: 22px; letter-spacing: .1em; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.rg__count b { color: var(--gold-l); font-weight: 600; }
.rg__caption { margin: 0; font-size: 13px; line-height: 1.45; color: var(--pale); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rg__strip {
  flex: 1; min-width: 0; display: flex; align-items: stretch; gap: 10px;
  overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 6px; scroll-padding-inline: 8px;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.rg__sep { flex: none; display: flex; align-items: center; padding: 0 6px 0 4px; margin-left: 4px; border-left: 1px solid rgba(231, 188, 99, .35); }
.rg__sep span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-l); white-space: nowrap; }
.thumb {
  flex: 0 0 clamp(92px, 10vw, 128px); height: clamp(64px, 6.6vw, 84px); padding: 0; border: 0; border-radius: 4px; overflow: hidden;
  background: #0A2A23; cursor: pointer; scroll-snap-align: start; opacity: .55; outline: 1px solid rgba(244, 237, 223, .15); outline-offset: 2px;
  transition: opacity .2s, outline-color .2s, transform .2s;
}
.thumb:hover { opacity: .85; }
.thumb[aria-current="true"] { opacity: 1; outline: 2px solid var(--gold-l); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .rg__bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .rg__meta { width: auto; flex-direction: row; align-items: baseline; gap: 12px; }
  .rg__count { font-size: 19px; flex: none; }
  .rg__arrow { width: 44px; height: 44px; }
  .rg__track { height: clamp(280px, 82vw, 520px); }
  .rg { padding-inline: 0; }
  .rg .wrap { padding-inline: 0; }
  .rg__shell { border-radius: 0; }
}

/* Full-screen viewing */
.rg.is-full .rg__shell { position: fixed; inset: 0; z-index: 150; border-radius: 0; display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.rg.is-full .rg__stage { flex: 1; min-height: 0; }
.rg.is-full .rg__track { height: 100%; max-height: none; }
.rg.is-full .rg__slide img { object-fit: contain; }
body.no-scroll { overflow: hidden; }

/* ---------- Single room: details ---------- */
.rdetail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 48px clamp(32px, 6vw, 96px); align-items: start; }
.rdetail__main { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 52px); min-width: 0; }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); padding-top: 4px; }
.specs dd { margin: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--gold); }
@media (max-width: 520px) { .ticks { grid-template-columns: 1fr; } }
.rdetail__aside { position: sticky; top: calc(var(--hdr) + 24px); display: flex; flex-direction: column; gap: 14px; }
.rdetail__aside .plate { align-items: stretch; }
.rdetail__aside .plate .btn { width: 100%; }
.aside-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .rdetail { grid-template-columns: 1fr; } .rdetail__aside { position: static; } }

.pager { border-top: 1px solid var(--line); }
.pager__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 22px; }
.pager__link { display: flex; align-items: center; gap: 14px; min-height: 56px; text-decoration: none; color: var(--terra); }
.pager__link svg { width: 22px; height: 22px; flex: none; transition: transform .2s; }
.pager__link--prev:hover svg { transform: translateX(-3px); }
.pager__link--next { justify-content: flex-end; text-align: right; }
.pager__link--next:hover svg { transform: translateX(3px); }
.pager__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager__name { font-family: var(--display); font-size: 23px; color: var(--green-deep); line-height: 1.2; }
.pager__all { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 600px) {
  .pager__in { grid-template-columns: 1fr 1fr; }
  .pager__all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .pager__name { font-size: 19px; }
  .pager__link { gap: 8px; }
}

/* ---------- Enquire page ---------- */
.enq { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .enq { grid-template-columns: 1fr; } }
.form-plate {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(52px, 6vw, 68px) clamp(20px, 3.4vw, 40px) clamp(24px, 3vw, 36px);
  background: var(--green); color: var(--paper);
  border-radius: 50% 50% 4px 4px / 64px 64px 4px 4px; outline: 1px solid var(--gold); outline-offset: -8px;
}
.form-plate__title { margin: 0; text-align: center; color: var(--gold-l); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pale); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 48px; padding: 0 12px;
  background: var(--green-deep); color: var(--paper); border: 1px solid rgba(231, 188, 99, .5); border-radius: 2px;
  font-family: var(--body); font-size: 16px; color-scheme: dark;
}
.field textarea { padding: 10px 12px; resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #9FB0A6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold-l); outline-offset: 1px; border-color: var(--gold-l); }
.field .hint { font-size: 12px; color: var(--pale); }
.field.has-error input { border-color: #F0A07E; }
.field .err { font-size: 13px; color: #F7C2A8; }
.form-plate .btn { align-self: flex-start; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-foot p { margin: 0; font-size: 13px; color: var(--pale); flex: 1 1 220px; }

.sent { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); background: var(--paper-2); border: 1px solid var(--gold); border-radius: 4px; }
.sent h2 { margin: 0; }
.sent textarea { width: 100%; min-height: 220px; padding: 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--ink); font: 14px/1.6 var(--body); resize: vertical; }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.ccard { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; }
.ccard__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ccard__label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.ccard__value { font-family: var(--display); font-size: 23px; color: var(--ink); overflow-wrap: anywhere; text-decoration: none; }
.ccard__value:hover { color: var(--green); }
.copy-btn { min-height: 40px; padding: 0 12px; border: 1px solid rgba(21, 69, 59, .35); border-radius: 2px; background: transparent; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; flex: none; }
.copy-btn:hover { border-color: var(--gold); }
.map-card { position: relative; display: block; overflow: hidden; border-radius: 4px; text-decoration: none; color: var(--paper); }
.map-card img { width: 100%; height: 260px; object-fit: cover; transition: transform .6s; }
.map-card:hover img { transform: scale(1.03); }
.map-card__txt { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 4px; padding: 60px 20px 18px; background: linear-gradient(180deg, rgba(14, 51, 43, 0), rgba(14, 51, 43, .92)); }
.map-card__txt b { font-family: var(--display); font-size: 25px; font-weight: 500; }
.map-card__txt span { font-size: 13px; color: var(--pale); }
.map-card__txt em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); margin-top: 6px; }
.notice { margin: 0; padding: 12px 16px; border: 1px solid rgba(198, 138, 46, .6); background: rgba(198, 138, 46, .1); border-radius: 3px; font-size: 14px; font-weight: 600; color: var(--green-deep); }

/* ---------- Footer ---------- */
.ftr { background: var(--green-deep); color: var(--paper); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 5vw, 72px); padding-block: clamp(56px, 7vw, 88px) 40px; }
.ftr__brand { display: flex; flex-direction: column; gap: 10px; }
.ftr__mark { display: inline-flex; width: 132px; padding: 10px 12px; background: var(--paper); border-radius: 3px; }
.ftr__name { margin: 8px 0 0; font-family: var(--display); font-size: 34px; font-weight: 600; line-height: 1; }
.ftr__brand [lang="ar"] { margin: 0; font-size: 20px; color: var(--gold-l); }
.ftr__brand p.q { margin: 6px 0 0; font-family: var(--display); font-style: italic; font-size: 19px; color: var(--pale); max-width: 24em; }
.ftr h2 { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ftr li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--paper); text-decoration: none; }
.ftr li a:hover { color: var(--gold-l); }
.ftr address { font-style: normal; color: var(--pale); line-height: 1.7; }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; border-top: 1px solid var(--line-light); font-size: 12px; color: #BFC9BF; }
@media (max-width: 760px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
