:root {
  --ink:        #0a0e14;
  --ink-soft:   #11161f;
  --panel:      #151b26;
  --line:       rgba(196,168,107,0.18);
  --gold:       #c4a86b;
  --gold-bright:#d8bd84;
  --paper:      #f4f1ea;
  --paper-dim:  #a7adb8;
  --paper-mute: #6c727e;
  --brand-blue: #2da9e1;
  --brand-navy: #272660;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: var(--ink); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.serif { font-family: 'Fraunces', serif; font-weight: 400; }
a { color: inherit; }

/* ---------- NAV ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(10,14,20,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.logo img { height: 38px; width: auto; display: block; }
.logo .lines { display: flex; flex-direction: column; line-height: 1.15; }
.logo .name { font-family: 'Fraunces', serif; font-size: 16px; letter-spacing: 0.01em; color: var(--paper); }
.logo .sub { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.nav-links { display: flex; gap: 38px; align-items: center; }
.nav-links a {
  color: var(--paper-dim); text-decoration: none; font-size: 12.5px;
  letter-spacing: 0.04em; transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--paper); }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold) !important;
  padding: 9px 20px; border-radius: 2px; transition: all 0.25s;
}
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; }
.burger { display: none; background: none; border: 0; color: var(--paper); font-size: 22px; cursor: pointer; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 2px;
  font-size: 13px; letter-spacing: 0.05em; text-decoration: none;
  transition: all 0.28s ease;
}
.btn-primary { background: var(--gold); color: var(--ink); font-weight: 500; }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--paper); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- SECTION SHELL ---------- */
section { position: relative; padding: 120px 0; }
.sec-tag {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
h2.sec {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.18; letter-spacing: -0.01em;
  max-width: 20ch;
}
h2.sec em { font-style: italic; color: var(--gold-bright); }

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-head {
  position: relative;
  padding: 190px 0 90px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-head .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 30%, rgba(196,168,107,0.09), transparent 70%);
}
.page-head .inner { position: relative; z-index: 2; }
.page-head .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.page-head .eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--gold); display: inline-block; }
.page-head h1 {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.1;
  letter-spacing: -0.015em; max-width: 18ch;
}
.page-head h1 em { font-style: italic; color: var(--gold-bright); }
.page-head p {
  margin-top: 26px; color: var(--paper-dim);
  max-width: 56ch; font-size: 1.05rem;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink-soft); border-top: 1px solid var(--line);
  padding: 60px 0 40px;
}
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; }
.foot-links { display: flex; gap: 30px; flex-wrap: wrap; }
.foot-links a { color: var(--paper-dim); text-decoration: none; font-size: 12.5px; transition: color 0.25s; }
.foot-links a:hover { color: var(--gold); }
.foot-base {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 11.5px; color: var(--paper-mute); letter-spacing: 0.04em;
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .wrap, .nav-inner { padding-left: 24px; padding-right: 24px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 24px; border-top: 1px solid var(--line); width: 100%; }
  .nav-cta { border: 0; }
  .burger { display: block; }
  section { padding: 80px 0; }
  .page-head { padding: 150px 0 70px; }
}
