/* Residence 1604, Brickell Key. Shared design system for the hub and the audience landings. */

:root {
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #f7f4ee;
  --bg-2: #efe9de;
  --bg-3: #e5ded0;
  --ink: #141a1f;
  --ink-2: #3f464d;
  --muted: #767d85;
  --line: rgba(20, 26, 31, 0.14);
  --gold: #b8935a;
  --gold-2: #dcc49f;
  --accent: #b8935a;
  --dark: #0f1417;
  --dark-2: #161c21;
  --on-dark: #f3eee5;
  --on-dark-2: #c8c1b4;
  --shadow: 0 30px 60px -30px rgba(15, 20, 23, 0.35);
  --max: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-theme="luxury"],
body[data-theme="nightlife"] {
  --bg: #0f1417;
  --bg-2: #151b20;
  --bg-3: #1c2329;
  --ink: #f3eee5;
  --ink-2: #cbc4b7;
  --muted: #8f8980;
  --line: rgba(243, 238, 229, 0.14);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
}

body[data-theme="nightlife"] {
  --bg: #0a0b10;
  --bg-2: #10121a;
  --bg-3: #171a25;
  --gold: #e0b35f;
  --accent: #c58bff;
}

body[data-theme="family"] {
  --bg: #fbf7f0;
  --bg-2: #f2ebdf;
  --bg-3: #e8dfcf;
  --accent: #3f7f70;
  --gold: #b48a4f;
}

body[data-theme="lifestyle"] {
  --bg: #fcfbf8;
  --bg-2: #ecf4f4;
  --bg-3: #dcebec;
  --accent: #1f8f9e;
  --gold: #c39657;
}

body[data-theme="gulf"] {
  --bg: #f8f5ee;
  --bg-2: #efe8d9;
  --bg-3: #e3d8c2;
  --accent: #0f5f57;
  --gold: #b9964f;
}

html[lang="ar"] {
  --serif: "Amiri", "Cormorant Garamond", Georgia, serif;
  --sans: "Tajawal", Inter, system-ui, sans-serif;
}
html[lang="he"] {
  --serif: "Frank Ruhl Libre", "Cormorant Garamond", Georgia, serif;
  --sans: "Heebo", Inter, system-ui, sans-serif;
}
html[lang^="zh-Hans"] { --serif: "Noto Serif SC", "Cormorant Garamond", serif; --sans: "Noto Sans SC", Inter, system-ui, sans-serif; }
html[lang^="zh-Hant"] { --serif: "Noto Serif TC", "Cormorant Garamond", serif; --sans: "Noto Sans TC", Inter, system-ui, sans-serif; }
html[lang^="ja"] { --serif: "Noto Serif JP", "Cormorant Garamond", serif; --sans: "Noto Sans JP", Inter, system-ui, sans-serif; }
html[lang^="ko"] { --serif: "Noto Serif KR", "Cormorant Garamond", serif; --sans: "Noto Sans KR", Inter, system-ui, sans-serif; }
html[lang^="th"] { --sans: "Noto Sans Thai", Inter, system-ui, sans-serif; --serif: "Noto Serif Thai", "Cormorant Garamond", serif; }
/* Scripts that do not take Latin letter-spacing or uppercase tracking */
html[lang="ar"] .btn, html[lang="he"] .btn, html[lang^="zh"] .btn, html[lang^="ja"] .btn, html[lang^="ko"] .btn, html[lang^="th"] .btn,
html[lang="he"] .eyebrow, html[lang^="zh"] .eyebrow, html[lang^="ja"] .eyebrow, html[lang^="ko"] .eyebrow, html[lang^="th"] .eyebrow,
html[lang="he"] .nav__links, html[lang^="zh"] .nav__links, html[lang^="ja"] .nav__links, html[lang^="ko"] .nav__links, html[lang^="th"] .nav__links,
html[lang="he"] .filters button, html[lang^="zh"] .filters button, html[lang^="ja"] .filters button, html[lang^="ko"] .filters button,
html[lang="he"] .glance__list span, html[lang^="zh"] .glance__list span, html[lang^="ja"] .glance__list span, html[lang^="ko"] .glance__list span,
html[lang="he"] .form label, html[lang^="zh"] .form label, html[lang^="ja"] .form label, html[lang^="ko"] .form label,
html[lang="he"] .rate__k, html[lang^="zh"] .rate__k, html[lang^="ja"] .rate__k, html[lang^="ko"] .rate__k,
html[lang="he"] .footer__k, html[lang^="zh"] .footer__k, html[lang^="ja"] .footer__k, html[lang^="ko"] .footer__k,
html[lang="he"] .hero__rates, html[lang^="zh"] .hero__rates, html[lang^="ja"] .hero__rates, html[lang^="ko"] .hero__rates,
html[lang="he"] .link-arrow, html[lang^="zh"] .link-arrow, html[lang^="ja"] .link-arrow, html[lang^="ko"] .link-arrow,
html[lang="he"] .nav__brand-sub, html[lang^="zh"] .nav__brand-sub, html[lang^="ja"] .nav__brand-sub, html[lang^="ko"] .nav__brand-sub { letter-spacing: 0.04em; }
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3, html[lang^="ja"] h1, html[lang^="ja"] h2, html[lang^="ja"] h3, html[lang^="ko"] h1, html[lang^="ko"] h2, html[lang^="ko"] h3, html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3 { line-height: 1.3; letter-spacing: 0; }
html[lang^="zh"] body, html[lang^="ja"] body, html[lang^="ko"] body { font-weight: 400; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.04rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 500; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(3rem, 8vw, 7rem); font-weight: 300; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); }
h3 { font-size: clamp(1.55rem, 2.4vw, 2.15rem); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; letter-spacing: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.2rem;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 0.9rem; }

.fineprint { font-size: 0.85rem; color: var(--muted); }
/* Visually hidden helpers use clipping, not negative offsets: an offset becomes scrollable overflow in RTL layouts. */
.skip { position: absolute; left: 8px; top: 8px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); background: var(--ink); color: var(--bg); padding: 0; z-index: 100; }
.skip:focus { width: auto; height: auto; clip-path: none; padding: 8px 14px; }

/* Layout */
.section-head { max-width: 760px; margin: 0 auto 3.5rem; text-align: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--ink-2); }
.section-head--light { color: var(--on-dark); }
.section-head--light p:last-child { color: var(--on-dark-2); }
section { padding-block: clamp(4.5rem, 9vw, 8.5rem); padding-inline: var(--gutter); }
.wrap { max-width: var(--max); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1rem 1.9rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: 0.95rem; }
.btn:hover { background: var(--ink); color: var(--bg); transform: translateY(-1px); }
.btn--light { border-color: rgba(255, 255, 255, 0.9); color: #fff; }
.btn--light:hover { background: #fff; color: #111; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold { border-color: var(--gold); color: var(--gold); }
.btn--gold:hover { background: var(--gold); color: #fff; }
.btn--small { padding: 0.7rem 1.2rem; font-size: 0.7rem; }

.link-arrow { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid var(--gold); padding-bottom: 0.3em; }
.link-arrow::after { content: "\2192"; margin-inline-start: 0.6em; display: inline-block; transition: transform 0.3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
html[dir="rtl"] .link-arrow::after { transform: scaleX(-1); }
html[dir="rtl"] .link-arrow:hover::after { transform: scaleX(-1) translateX(4px); }
html[lang="ar"] .link-arrow { letter-spacing: 0; font-size: 0.95rem; }

/* Navigation */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--gutter);
  color: #fff;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav--solid {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  color: var(--ink);
  padding-block: 0.7rem;
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__brand { display: flex; flex-direction: column; line-height: 1.05; }
.nav__brand-main { font-family: var(--serif); font-size: 1.45rem; letter-spacing: 0.04em; }
.nav__brand-sub { font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.8; }
html[lang="ar"] .nav__brand-sub { letter-spacing: 0; font-size: 0.8rem; }
.nav__links { display: flex; gap: 2rem; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
html[lang="ar"] .nav__links { letter-spacing: 0; font-size: 0.95rem; }
.nav__links a { opacity: 0.85; transition: opacity 0.3s; position: relative; padding-block: 0.3rem; }
.nav__links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav .btn--small { border-color: currentColor; color: inherit; }
.nav .btn--small:hover { background: currentColor; }
.nav--solid .btn--small:hover { color: var(--bg); }
.nav:not(.nav--solid) .btn--small:hover { color: #111; }

.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.74rem; letter-spacing: 0.2em; font-weight: 500; padding: 0.5rem 0.2rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 0.4em; height: 0.4em; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang__menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.6rem);
  min-width: 11rem;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.4rem 0;
}
.lang__menu button, .lang__menu a { display: block; width: 100%; text-align: start; padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.lang__menu button:hover, .lang__menu a:hover, .lang__menu .is-active { background: var(--bg-2); }

.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav__burger span { top: 21px; }
.nav__burger span::before { left: 0; top: -7px; }
.nav__burger span::after { left: 0; top: 7px; }
.nav--open .nav__burger span { background: transparent; }
.nav--open .nav__burger span::before { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__burger span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__links {
    position: fixed; inset: 0; top: 0; padding: 6.5rem var(--gutter) 3rem;
    flex-direction: column; gap: 1.6rem; font-size: 1.1rem; letter-spacing: 0.14em;
    background: var(--bg); color: var(--ink);
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
    z-index: -1;
  }
  .nav--open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav--open { color: var(--ink); }
  .nav__burger { display: block; }
  .nav .btn--small { display: none; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 7rem var(--gutter) 6rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: var(--dark);
}
.hero__video, .hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 18, 0.55) 0%, rgba(10, 14, 18, 0.15) 35%, rgba(10, 14, 18, 0.25) 65%, rgba(10, 14, 18, 0.7) 100%);
}
.hero__content { position: relative; max-width: 900px; animation: rise 1.4s var(--ease) both 0.2s; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.85); }
.hero__title { margin-bottom: 0.25em; text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
.hero__sub { font-family: var(--serif); font-size: clamp(1.25rem, 2.3vw, 1.75rem); font-weight: 300; line-height: 1.4; max-width: 680px; margin: 0 auto 1.6rem; }
.hero__rates { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; margin-bottom: 2.4rem; opacity: 0.9; }
html[lang="ar"] .hero__rates { letter-spacing: 0; font-size: 1rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); width: 1px; height: 64px; overflow: hidden; }
.hero__scroll span { position: absolute; inset: 0; background: linear-gradient(#fff, transparent); animation: drop 2.2s infinite var(--ease); }
.hero--left { text-align: start; place-items: end start; }
.hero--left .hero__content { max-width: 820px; margin: 0; }
.hero--left .hero__sub { margin-inline: 0; }
.hero--left .hero__cta { justify-content: flex-start; }
.hero--short { min-height: 78svh; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drop { 0% { transform: translateY(-100%); } 60% { transform: translateY(100%); } 100% { transform: translateY(100%); } }

/* At a glance strip */
.glance { padding-block: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.glance__list {
  max-width: var(--max); margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.glance__list li { padding: 1.7rem 1rem; text-align: center; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.2rem; }
.glance__list li:first-child { border-inline-start: 0; }
.glance__list strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; line-height: 1; }
.glance__list strong sup { font-size: 0.45em; vertical-align: super; }
.glance__list .glance__word { font-size: 1.7rem; padding-top: 0.25rem; }
.glance__list span { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .glance__list span { letter-spacing: 0; font-size: 0.85rem; }
@media (max-width: 720px) {
  .glance__list { grid-template-columns: repeat(2, 1fr); }
  .glance__list li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .glance__list li:nth-child(-n+2) { border-top: 0; }
  .glance__list li:nth-child(2n) { border-inline-start: 1px solid var(--line); }
}

/* Intro and editorial blocks */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; max-width: var(--max); margin-inline: auto; }
.intro__text p { color: var(--ink-2); max-width: 46ch; }
.intro__media { margin: 0; box-shadow: var(--shadow); }
.intro__media img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }

.rooms { padding-top: 0; display: grid; gap: clamp(3rem, 7vw, 6rem); max-width: var(--max); margin-inline: auto; }
.room { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.room--flip .room__media { order: 2; }
.room__media { margin: 0; display: grid; gap: 1rem; }
.room__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.room__media--pair { grid-template-columns: 1fr 1fr; }
.room__media--pair img { aspect-ratio: 4 / 5; }
.room__text p:last-child { color: var(--ink-2); margin: 0; max-width: 44ch; }
@media (max-width: 900px) { .room { grid-template-columns: 1fr; } .room--flip .room__media { order: 0; } }

/* Dark statement band */
.design, .manifesto {
  background: var(--dark);
  color: var(--on-dark);
  text-align: center;
}
.design__inner, .manifesto__inner { max-width: 820px; margin: 0 auto; }
.design h2, .manifesto h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 300; }
.design p, .manifesto p { color: var(--on-dark-2); font-size: 1.12rem; }
.manifesto p.big { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--on-dark); line-height: 1.35; font-style: italic; font-weight: 300; }
.design__badge { margin-top: 2rem; }
.design__badge span, .design__badge a {
  display: inline-block; padding: 0.7rem 1.4rem; border: 1px solid var(--gold); color: var(--gold);
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500;
}
html[lang="ar"] .design__badge span { letter-spacing: 0; font-size: 0.95rem; }
.manifesto--accent { background: var(--accent); }
.manifesto--accent p, .manifesto--accent .eyebrow { color: rgba(255, 255, 255, 0.85); }
.manifesto--accent p.big { color: #fff; }

/* Views */
.views { background: var(--bg-2); }
.views__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: var(--max); margin-inline: auto; }
.views__grid figure { margin: 0; }
.views__grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.views__grid figcaption { padding-top: 1.1rem; display: grid; gap: 0.2rem; }
.views__grid figcaption strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.views__grid figcaption span { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 800px) { .views__grid { grid-template-columns: 1fr; } .views__grid img { aspect-ratio: 3 / 2; } }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.6rem; margin-bottom: 2.4rem; }
.filters button { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; padding: 0.5rem 0.1rem; color: var(--muted); border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
html[lang="ar"] .filters button { letter-spacing: 0; font-size: 0.95rem; }
.filters button:hover, .filters button.is-active { color: var(--ink); border-color: var(--gold); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 0.75rem;
  max-width: var(--max);
  margin-inline: auto;
}
.gallery__grid figure { margin: 0; position: relative; overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.gallery__grid figure.is-wide { grid-column: span 2; }
.gallery__grid figure.is-tall { grid-row: span 2; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.6s; }
.gallery__grid figure:hover img { transform: scale(1.04); }
.gallery__grid figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 2.2rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(10, 14, 18, 0.72)); color: #fff; font-size: 0.82rem;
  opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s var(--ease);
}
.gallery__grid figure:hover figcaption, .gallery__grid figure:focus-visible figcaption { opacity: 1; transform: none; }
.gallery__count { text-align: center; margin-top: 1.6rem; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 640px) { .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 0.4rem; } .gallery__grid figure.is-wide { grid-column: span 2; } }
.gallery__grid.is-folded figure:nth-of-type(n+13) { display: none; }
.gallery__more { display: flex; margin: 1.6rem auto 0; }

/* Film */
.film { background: var(--dark); color: var(--on-dark); }
.film__player { max-width: 1120px; margin: 0 auto; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.film__player video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film__more { max-width: 1120px; margin: 1.5rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.film__card { display: grid; gap: 0.3rem; text-align: start; padding: 1.4rem 1.6rem; border: 1px solid rgba(243, 238, 229, 0.18); transition: border-color 0.3s, background 0.3s; }
.film__card:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.03); }
.film__card-k { font-family: var(--serif); font-size: 1.5rem; }
.film__card-v { font-size: 0.9rem; color: var(--on-dark-2); }
.film__embed { max-width: 1120px; margin: 1.5rem auto 0; aspect-ratio: 16 / 9; background: #000; }
.film__embed iframe { width: 100%; height: 100%; border: 0; }
.film__credit { max-width: 1120px; margin: 1.5rem auto 0; font-size: 0.75rem; color: var(--muted); }
@media (max-width: 640px) { .film__more { grid-template-columns: 1fr; } }

/* Building */
.building { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: var(--max); margin-inline: auto; }
.building__media { display: grid; grid-template-columns: 3fr 2fr; gap: 1rem; align-items: end; }
.building__media img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 3 / 2; }
.building__media picture:last-child img { aspect-ratio: 4 / 5; }
.building__text p { color: var(--ink-2); }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.4rem; margin: 1.6rem 0 1.2rem; }
.amenities li { position: relative; padding-inline-start: 1.3rem; font-size: 0.95rem; }
.amenities li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.75em; width: 0.6rem; height: 1px; background: var(--gold); }
@media (max-width: 900px) { .building { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .amenities { grid-template-columns: 1fr; } }

/* Location */
.location { background: var(--bg-2); }
.location__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); max-width: var(--max); margin-inline: auto; }
.distances li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.distances li strong { white-space: nowrap; color: var(--ink); font-weight: 400; font-family: var(--serif); font-size: 1.1rem; }
.map { position: relative; min-height: 360px; background: var(--bg-3); }
.map__load { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.map__load img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7); transition: transform 1s var(--ease); }
.map__load:hover img { transform: scale(1.03); }
.map__label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(15, 20, 23, 0.85); color: #fff; padding: 0.9rem 1.6rem; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location > .fineprint { max-width: var(--max); margin: 1.2rem auto 0; }
@media (max-width: 900px) { .location__grid { grid-template-columns: 1fr; } }

/* Season and international */
.season { background: var(--bg); }
.season__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); max-width: var(--max); margin-inline: auto; }
.season p { color: var(--ink-2); }
.intl li { position: relative; padding: 0.7rem 0 0.7rem 1.6rem; border-bottom: 1px solid var(--line); }
html[dir="rtl"] .intl li { padding: 0.7rem 1.6rem 0.7rem 0; }
.intl li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.35rem; width: 0.7rem; height: 1px; background: var(--gold); }
@media (max-width: 800px) { .season__inner { grid-template-columns: 1fr; } }

/* Rates */
.rates__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.rate { border: 1px solid var(--line); padding: 2.6rem 2.4rem; display: grid; gap: 0.5rem; background: var(--bg); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.rate:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rate--alt { background: var(--bg-2); }
.rate__k { font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--gold); margin: 0; }
html[lang="ar"] .rate__k { letter-spacing: 0; font-size: 0.95rem; }
.rate__v { font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 300; line-height: 1; margin: 0.2rem 0 1rem; }
.rate__v span { font-size: 0.35em; font-family: var(--sans); letter-spacing: 0.1em; margin-inline-start: 0.4em; color: var(--muted); }
.rate ul { display: grid; gap: 0.45rem; margin-bottom: 1.6rem; color: var(--ink-2); font-size: 0.97rem; }
.rate .btn { justify-self: start; }
.rates > .fineprint { text-align: center; margin: 1.6rem auto 0; max-width: 60ch; }
@media (max-width: 700px) { .rates__grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { background: var(--bg-2); }
.faq__list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 1.3rem 2.4rem 1.3rem 0; font-family: var(--serif); font-size: 1.35rem; position: relative; }
html[dir="rtl"] .faq__list summary { padding: 1.3rem 0 1.3rem 2.4rem; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; inset-inline-end: 0.3rem; top: 50%; transform: translateY(-50%); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform 0.3s var(--ease); }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list p { color: var(--ink-2); margin: 0 0 1.4rem; max-width: 64ch; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); max-width: var(--max); margin-inline: auto; }
.contact__text p { color: var(--ink-2); }
.contact__direct { font-style: normal; display: grid; gap: 0.6rem; margin: 1.6rem 0; }
.contact__tile { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 1.1rem; border: 1px solid var(--line); font-size: 0.95rem; transition: border-color 0.3s; }
.contact__tile:hover { border-color: var(--gold); }
.contact__tile small { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact__tile--todo { border-style: dashed; color: var(--muted); }
.contact__tile--todo em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #b0532a; }
.contact__addr { font-size: 0.92rem; color: var(--muted); }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: 0.35rem; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .form label { letter-spacing: 0; font-size: 0.9rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.9rem 0; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); border-radius: 0; outline: none; transition: border-color 0.3s;
}
.form select option { color: #111; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; margin-top: 0.5rem; }
.form__note { font-size: 0.8rem; color: var(--muted); margin: 0; }
.form__note.is-error { color: #b0532a; }
.form__note.is-ok { color: #2d7a5a; }
.hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; margin: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--dark); color: var(--on-dark-2); padding: 4rem var(--gutter) 2rem; font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: var(--max); margin: 0 auto 3rem; }
.footer__brand { font-family: var(--serif); font-size: 1.7rem; color: var(--on-dark); margin-bottom: 0.4rem; }
.footer__k { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
html[lang="ar"] .footer__k { letter-spacing: 0; font-size: 0.9rem; }
.footer__langs a { margin-inline-end: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.footer__langs a:hover { border-color: var(--gold); }
.footer__eho { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 1rem; }
.footer__legal { max-width: var(--max); margin: 0 auto; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.76rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 11, 14, 0.96); display: grid; place-items: center; padding: 3.5rem 1rem; animation: fadein 0.3s ease; }
.lightbox__figure { margin: 0; max-width: min(1400px, 96vw); text-align: center; }
.lightbox img { max-width: 96vw; max-height: 82vh; width: auto; height: auto; margin: 0 auto; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6); }
.lightbox figcaption { color: rgba(255, 255, 255, 0.8); font-size: 0.85rem; padding-top: 1rem; display: flex; justify-content: center; gap: 1.5rem; }
.lightbox__close, .lightbox__nav { position: absolute; color: #fff; font-size: 2.4rem; font-weight: 200; width: 56px; height: 56px; display: grid; place-items: center; opacity: 0.75; transition: opacity 0.3s; }
.lightbox__close:hover, .lightbox__nav:hover { opacity: 1; }
.lightbox__close { top: 0.6rem; right: 0.8rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 3.6rem; }
.lightbox__nav--prev { left: 0.4rem; }
.lightbox__nav--next { right: 0.4rem; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* WhatsApp float */
.wa-float { position: fixed; inset-inline-end: 1.2rem; bottom: 1.2rem; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); transition: transform 0.3s var(--ease); }
.wa-float:hover { transform: translateY(-2px) scale(1.04); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Personas (hub) */
.personas { background: var(--bg); }
.personas__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; max-width: var(--max); margin-inline: auto; }
.persona { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--dark); color: #fff; }
.persona img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 1.2s var(--ease), opacity 0.6s; }
.persona:hover img { transform: scale(1.05); opacity: 0.7; }
.persona__text { position: absolute; inset-inline: 0; bottom: 0; padding: 1.4rem 1.3rem; background: linear-gradient(transparent, rgba(8, 11, 14, 0.85)); }
.persona__text .eyebrow { color: var(--gold-2); margin-bottom: 0.4rem; font-size: 0.62rem; }
.persona__text strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; display: block; line-height: 1.15; }
.persona__text span { font-size: 0.82rem; opacity: 0.85; display: block; margin-top: 0.3rem; }
@media (max-width: 1100px) { .personas__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .personas__grid { grid-template-columns: repeat(2, 1fr); } .persona { aspect-ratio: 4 / 5; } }

/* Landing building blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: var(--max); margin-inline: auto; }
.split--flip .split__media { order: 2; }
.split__media { margin: 0; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__text p { color: var(--ink-2); max-width: 48ch; }
.split__text ul { display: grid; gap: 0.5rem; margin: 1.2rem 0 0; color: var(--ink-2); }
.split__text ul li { position: relative; padding-inline-start: 1.3rem; }
.split__text ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.8em; width: 0.6rem; height: 1px; background: var(--gold); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--flip .split__media { order: 0; } }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: var(--max); margin-inline: auto; }
.pillar { padding: 2rem 1.8rem; border: 1px solid var(--line); background: var(--bg); display: grid; gap: 0.6rem; align-content: start; }
.pillar strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.15; }
.pillar span { color: var(--ink-2); font-size: 0.95rem; }
.pillar .num { font-family: var(--serif); font-size: 2.6rem; font-weight: 300; color: var(--gold); line-height: 1; }
.pillars--five { grid-template-columns: repeat(5, 1fr); }
.details { background: var(--bg-2); }
.personas__more { text-align: center; margin: 2.4rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.2rem; align-items: baseline; }
@media (max-width: 1100px) { .pillars--five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr 1fr; } .pillars--five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars, .pillars--five { grid-template-columns: 1fr; } }

/* Market pages */
.market-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; max-width: var(--max); margin: 2.5rem auto 0; }
.market-point { padding: 1.8rem; border: 1px solid var(--line); background: var(--bg); }
.market-point strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; display: block; margin-bottom: 0.4rem; }
.market-point p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.market-hero-sub { max-width: 720px; }
.markets-index { max-width: var(--max); margin-inline: auto; }
.markets-index h3 { margin-top: 2.4rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; font-family: var(--sans); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.markets-index ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.4rem 1.6rem; }
.markets-index li a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.markets-index li a:hover { color: var(--gold); }
.markets-index li a small { color: var(--muted); font-size: 0.8rem; }
@media (max-width: 720px) { .market-points { grid-template-columns: 1fr; } }

.timeline { max-width: 860px; margin: 0 auto; border-inline-start: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 2.2rem 2.2rem; }
html[dir="rtl"] .timeline li { padding: 0 2.2rem 2.2rem 0; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -4px; top: 0.55rem; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.timeline time { display: block; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.timeline strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; display: block; margin-bottom: 0.2rem; }
.timeline p { color: var(--ink-2); margin: 0; max-width: 60ch; }

.compare { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; text-align: center; }
.compare__col { padding: 2rem 1.5rem; border: 1px solid var(--line); background: var(--bg); display: grid; gap: 0.6rem; }
.compare__col .eyebrow { margin-bottom: 0.2rem; }
.compare__col strong { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; }
.compare__col span { color: var(--ink-2); font-size: 0.95rem; }
.compare__eq { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } .compare__eq { transform: rotate(90deg); } }

.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.8rem); font-weight: 300; line-height: 1.3; font-style: italic; }
.quote cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }

.cta-band { background: var(--dark); color: var(--on-dark); text-align: center; }
.cta-band h2 { font-weight: 300; }
.cta-band p { color: var(--on-dark-2); max-width: 56ch; margin-inline: auto; }
.cta-band .hero__cta { margin-top: 1.8rem; }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; padding-inline: 0; max-width: 100%; }
.strip img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
@media (max-width: 700px) { .strip { grid-template-columns: repeat(2, 1fr); } }

.crumb { position: absolute; top: 5.6rem; inset-inline-start: var(--gutter); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); z-index: 2; }
.crumb a { border-bottom: 1px solid rgba(255, 255, 255, 0.35); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__content { animation: none; }
  .hero__scroll span { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Theme specific touches */
body[data-theme="luxury"] .rate, body[data-theme="nightlife"] .rate { background: var(--bg-2); }
body[data-theme="luxury"] .rate--alt, body[data-theme="nightlife"] .rate--alt { background: var(--bg-3); }
body[data-theme="luxury"] .btn--dark, body[data-theme="nightlife"] .btn--dark { background: var(--gold); border-color: var(--gold); color: #111; }
body[data-theme="luxury"] .btn--dark:hover, body[data-theme="nightlife"] .btn--dark:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
body[data-theme="luxury"] .design, body[data-theme="luxury"] .manifesto, body[data-theme="luxury"] .film, body[data-theme="luxury"] .cta-band, body[data-theme="luxury"] .footer,
body[data-theme="nightlife"] .design, body[data-theme="nightlife"] .manifesto, body[data-theme="nightlife"] .film, body[data-theme="nightlife"] .cta-band, body[data-theme="nightlife"] .footer { background: #000; }
body[data-theme="nightlife"] .eyebrow { color: var(--accent); }
body[data-theme="nightlife"] .glance__list strong { color: var(--gold); }
body[data-theme="nightlife"] .hero__shade { background: linear-gradient(180deg, rgba(10, 8, 20, 0.6), rgba(10, 8, 20, 0.2) 40%, rgba(10, 8, 20, 0.85)); }
body[data-theme="lifestyle"] .manifesto { background: var(--accent); }
body[data-theme="lifestyle"] .manifesto p, body[data-theme="lifestyle"] .manifesto .eyebrow { color: rgba(255, 255, 255, 0.85); }
body[data-theme="lifestyle"] .manifesto p.big { color: #fff; }
body[data-theme="family"] .manifesto { background: var(--accent); }
body[data-theme="family"] .manifesto p, body[data-theme="family"] .manifesto .eyebrow { color: rgba(255, 255, 255, 0.85); }
body[data-theme="family"] .manifesto p.big { color: #fff; }
body[data-theme="gulf"] .manifesto { background: var(--accent); }
body[data-theme="gulf"] .manifesto p, body[data-theme="gulf"] .manifesto .eyebrow { color: rgba(255, 255, 255, 0.85); }
body[data-theme="gulf"] .manifesto p.big { color: #fff; }
body[data-theme="gulf"] .eyebrow { color: var(--accent); }
body[data-theme="gulf"] .compare__eq, body[data-theme="gulf"] .pillar .num { color: var(--gold); }
