:root {
  --bg: #f7f1ee;
  --bg-2: #f3ede9;
  --ink: #1f1b18;
  --muted: #6b625c;
  --line: #e4dad3;
  --card: #ffffff;
  --accent: #b8863b;
  --accent-soft: #f6e7c8;
  --glow-a: #f5dfa8;
  --glow-b: #cfe6df;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(60, 45, 30, .08);
  --font: "Poppins", "Segoe UI", Tahoma, "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body, body[dir="rtl"] { font-family: "Cairo", "Tajawal", var(--font); }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(1.2) blur(8px);
  background: rgba(247, 241, 238, .82);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 42px; width: auto; object-fit: contain; }
.brand .logo-badge {
  height: 42px; width: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-soft), #fff);
  border: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--accent);
}
.brand .names { display: flex; flex-direction: column; line-height: 1.1; }
.brand .names .en { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: .5px; }
.brand .names .ar { font-size: .82rem; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang-toggle {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: .4rem .9rem; cursor: pointer; font-size: .85rem;
  font-weight: 600; transition: .2s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.ghost-link { font-size: .85rem; color: var(--muted); }
.ghost-link:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 12vw, 9rem) 0 clamp(3rem, 8vw, 6rem);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .55; z-index: 0;
}
.hero::before { width: 480px; height: 480px; background: var(--glow-a); top: 6%; left: -6%; }
.hero::after  { width: 460px; height: 460px; background: var(--glow-b); top: 0; right: -4%; }
.hero .watermark {
  position: absolute; top: 8%; left: 0; right: 0; text-align: center;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(3rem, 12vw, 9rem); color: rgba(120, 100, 80, .10);
  white-space: nowrap; z-index: 0; user-select: none; pointer-events: none;
}
.hero .inner { position: relative; z-index: 2; max-width: 640px; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 5rem); line-height: 1.02; margin: 0 0 1rem;
}
.hero p.sub { font-size: clamp(1rem, 2.4vw, 1.25rem); color: var(--muted); margin: 0 0 2rem; max-width: 34ch; }
.btn {
  display: inline-block; cursor: pointer; border: none;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem;
  padding: .95rem 1.9rem; border-radius: 10px; transition: .2s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head .eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; }
.section-head h2 { font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 2.8rem); margin: .3rem 0 .6rem; }
.section-head p { color: var(--muted); max-width: 58ch; margin: 0 auto; }

.about { background: linear-gradient(180deg, transparent, var(--bg-2)); }
.about .card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); max-width: 820px; margin: 0 auto;
  text-align: center; font-size: 1.05rem; color: #423b35;
}

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  aspect-ratio: 3 / 4; cursor: pointer;
}
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.06); }
.tile .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(20,15,10,.28); color: #fff; font-size: 2.4rem; pointer-events: none;
}
.tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem .8rem;
  background: linear-gradient(transparent, rgba(20,15,10,.72)); color: #fff; font-size: .85rem;
}
.empty-state { text-align: center; color: var(--muted); padding: 3rem 1rem; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(15,10,6,.9); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 4vw;
}
.lightbox.open { display: flex; }
.lightbox .content { max-width: 92vw; max-height: 88vh; }
.lightbox .content img, .lightbox .content video { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
.lightbox .close {
  position: absolute; top: 20px; inset-inline-end: 26px; color: #fff; font-size: 2.4rem;
  cursor: pointer; line-height: 1; background: none; border: none;
}

/* ---------- footer ---------- */
.site-footer { background: #1c1815; color: #d8cfc7; padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { font-family: var(--serif); color: #fff; font-size: 1.5rem; margin: 0 0 .6rem; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .9rem; }
.site-footer a, .site-footer p { color: #cfc5bc; font-size: .95rem; margin: .35rem 0; }
.site-footer a:hover { color: var(--accent-soft); }
.foot-item { display: flex; gap: .5rem; align-items: flex-start; }
.socials { display: flex; gap: .7rem; margin-top: .5rem; }
.socials a {
  width: 38px; height: 38px; border: 1px solid #40382f; border-radius: 10px;
  display: grid; place-items: center; font-size: 1rem;
}
.socials a:hover { border-color: var(--accent); background: #2a231d; }
.copyright { border-top: 1px solid #322a23; margin-top: 2rem; padding-top: 1.4rem; text-align: center; font-size: .82rem; color: #948a80; }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand .names .ar { display: none; }
}

/* rtl tweaks */
[dir="rtl"] .hero .inner { margin-inline-start: 0; }
