:root {
  --ink: #1c1915;
  --muted: #5e564c;
  --ivory: #f7f4ef;
  --ivory-2: #efeae2;
  --paper: #fffcf8;
  --gold: #8d6b3a;
  --gold-2: #c6a36a;
  --line: rgba(28, 25, 21, 0.12);
  --night: #0e0e0c;
  --serif: "Noto Naskh Arabic", "Times New Roman", serif;
  --sans: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  --latin: "Cormorant Garamond", Georgia, serif;
  --max: 1180px;
  --header: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.85;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, .display { font-family: var(--serif); font-weight: 600; line-height: 1.35; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: #e7d3ae; color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.55rem 0.9rem;
  z-index: 80;
}
.skip:focus { top: 0.8rem; }
.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.kicker, .eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.lead { color: var(--muted); font-size: 1.12rem; max-width: 44rem; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section h2 { font-size: clamp(2rem, 4vw, 3.15rem); max-width: 18ch; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
body.home .site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.55), rgba(8, 8, 8, 0));
  border-bottom: 0;
  color: var(--ivory);
}
.nav {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand svg { width: 36px; height: 36px; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1; }
.brand small { display: block; margin-top: 0.15rem; font-family: var(--latin); letter-spacing: 0.14em; font-size: 0.72rem; color: var(--muted); }
body.home .brand small { color: rgba(247, 244, 239, 0.72); }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { font-size: 0.95rem; }
.nav-links a[aria-current="page"] { color: var(--gold); }
body.home .nav-links a { color: var(--ivory); }
body.home .nav-links a[aria-current="page"] { color: var(--gold-2); }
.lang, .nav-toggle {
  background: transparent;
  border: 1px solid currentColor;
  padding: 0.35rem 0.6rem;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}
.nav-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #1a120c; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ivory); }
.btn.gold { background: transparent; border-color: var(--gold-2); color: var(--gold-2); }
.btn.gold:hover { background: var(--gold-2); color: #1a120c; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; align-items: center; }
.linkish { border-bottom: 1px solid currentColor; padding-bottom: 0.1rem; }

.hero { position: relative; min-height: 100svh; color: var(--ivory); background: var(--night); display: grid; align-items: end; justify-items: start; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(6, 6, 6, 0.94) 0%, rgba(6, 6, 6, 0.82) 46%, rgba(6, 6, 6, 0.28) 72%, rgba(6, 6, 6, 0.08) 100%);
}
html[dir="ltr"] .hero-veil {
  background: linear-gradient(to right, rgba(6, 6, 6, 0.94) 0%, rgba(6, 6, 6, 0.82) 46%, rgba(6, 6, 6, 0.28) 72%, rgba(6, 6, 6, 0.08) 100%);
}
.hero-copy {
  position: relative;
  width: min(40rem, calc(100% - 2.5rem));
  margin-inline-start: max(1.25rem, calc((100vw - var(--max)) / 2));
  padding-block: calc(var(--header) + 2.5rem) 4.2rem;
}
body.home .nav-links a.btn.gold { color: var(--gold-2); background: transparent; border-color: var(--gold-2); }
body.home .nav-links a.btn.gold:hover { background: var(--gold-2); color: #1a120c; }
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); max-width: 14em; text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
.hero .deck { margin-top: 1.2rem; max-width: 38rem; color: rgba(247, 244, 239, 0.9); font-size: 1.12rem; }

.proof {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--night);
  color: var(--ivory);
  border-top: 1px solid rgba(198, 163, 106, 0.35);
}
.proof article { padding: 1.5rem 1.1rem 1.35rem; border-inline-start: 1px solid rgba(247, 244, 239, 0.1); }
.proof article:first-child { border-inline-start: 0; }
.proof strong {
  display: block;
  font-family: var(--latin);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--gold-2);
}
.proof span { display: block; margin-top: 0.45rem; color: rgba(247, 244, 239, 0.78); font-size: 0.92rem; }

.letter { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.letter h2 { margin-bottom: 1rem; }
.rule { width: 3rem; height: 1px; background: var(--gold-2); margin: 1rem 0 1.2rem; }

.rows { display: grid; }
.rows article {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.5rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line);
}
.rows article:last-child { border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 1.55rem; margin-bottom: 0.25rem; }
.rows p { color: var(--muted); }
.idx { font-family: var(--latin); color: var(--gold); font-size: 1.35rem; padding-top: 0.35rem; }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 560px; background: var(--night); color: var(--ivory); }
.split img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.split-copy { padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.split-copy .lead, .split-copy p { color: rgba(247, 244, 239, 0.8); }
.split-copy h2 { margin-bottom: 1rem; }

.register { border-top: 1px solid var(--line); }
.register-head, .register-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.7fr 0.7fr 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.95rem 0.2rem;
}
.register-head { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.12em; font-weight: 600; }
.register-row { border-top: 1px solid var(--line); color: inherit; }
.register-row:hover { background: rgba(198, 163, 106, 0.08); }
.register-row strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.register-row em {
  display: inline-block;
  margin-inline-start: 0.45rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1px solid var(--gold-2);
  padding: 0.05rem 0.4rem;
  vertical-align: middle;
}

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.models article { padding: 1.4rem 1.2rem 1.5rem; background: var(--paper); border-top: 1px solid var(--gold-2); }
.models h3 { font-size: 1.55rem; margin: 0.4rem 0 0.6rem; }
.models p { color: var(--muted); }

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.person img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 18%; background: var(--ivory-2); }
.person h3 { margin-top: 0.85rem; font-size: 1.6rem; }
.person .meta, .meta { color: var(--muted); }
.quote { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.7; }
.timeline article {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--line);
}
.names { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.names span { border: 1px solid var(--line); padding: 0.4rem 0.7rem; background: var(--paper); }

.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) 1.5rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 16ch; }

.form-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; align-items: start; }
form { display: grid; gap: 1.1rem; }
label { display: grid; gap: 0.35rem; font-size: 0.92rem; }
label span { color: var(--gold); font-weight: 600; }
input, select, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(28, 25, 21, 0.28);
  background: transparent;
  padding: 0.7rem 0.1rem;
  border-radius: 0;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.success { display: none; padding: 0.9rem 0; color: var(--ink); }
.success.show { display: block; }
.contact-list { display: grid; gap: 0.45rem; margin-top: 1.3rem; }
.contact-list a { border-bottom: 1px solid var(--gold-2); }

.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.filters button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.4rem 0.75rem;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.count { color: var(--muted); margin: 0.4rem 0 1rem; }
.hotel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.hotel-card { display: flex; flex-direction: column; background: transparent; color: inherit; }
.hotel-card-media { aspect-ratio: 4/5; overflow: hidden; background: var(--ivory-2); }
.hotel-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hotel-card-body { padding: 0.9rem 0 0.2rem; display: grid; gap: 0.15rem; }
.hotel-card h3 { font-size: 1.55rem; }
.hotel-card .kicker { margin-bottom: 0; }
.empty { padding: 1.5rem 0; }

dialog {
  width: min(920px, calc(100% - 1.5rem));
  max-height: calc(100svh - 2rem);
  margin: auto;
  border: 0;
  padding: 0;
  overflow: auto;
  background: var(--ivory);
  color: var(--ink);
}
dialog::backdrop { background: rgba(8, 8, 8, 0.72); }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.dialog-media { display: grid; grid-template-rows: 280px 160px; background: var(--night); }
.dialog-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.dialog-body { padding: 1.5rem 1.35rem 1.6rem; display: grid; align-content: start; gap: 0.7rem; }
.dialog-body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.points { display: grid; gap: 0.3rem; color: var(--muted); }
.close-x {
  position: absolute;
  inset-block-start: 0.6rem;
  inset-inline-end: 0.6rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--ivory);
}

.night { background: var(--night); color: var(--ivory); }
.night .lead, .night p { color: rgba(247, 244, 239, 0.78); }
.night .rows article { border-color: rgba(247, 244, 239, 0.16); }
.night .rows h3 { color: var(--ivory); }

.site-footer { background: var(--night); color: var(--ivory); padding-block: 3rem 1.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.site-footer a { color: var(--gold-2); }
.site-footer p, .site-footer li { color: rgba(247, 244, 239, 0.75); }
.legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(247, 244, 239, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(247, 244, 239, 0.55);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .proof, .letter, .split, .models, .people, .form-grid, .dialog-grid, .footer-grid, .hotel-grid { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr 1fr; }
  .hotel-grid { grid-template-columns: 1fr 1fr; }
  .register-head { display: none; }
  .register-row { grid-template-columns: 1fr 1fr; }
  .dialog-media { grid-template-rows: 220px 140px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--ivory);
    color: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 1.4rem;
    gap: 0.9rem;
    z-index: 30;
  }
  .nav-links.open { display: flex; }
  body.home .nav-links a,
  body.home .nav-links .lang { color: var(--ink); }
  .hotel-grid, .proof { grid-template-columns: 1fr; }
  .rows article, .timeline article, .form-row { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
