:root {
  --bg: #0E0B09; --bg2: #15110D; --panel: #1B1511; --panel2: #211913;
  --line: rgba(214,160,120,.14); --line2: rgba(214,160,120,.24);
  --terra: #C26A3C; --terra-soft: #E0A578; --clay: #94502D; --gold: #C9A571;
  --cream: #F1E6D8; --ivory: #FBF5ED; --muted: #A2917F; --dim: #80715F;
  --ff-display: 'Cormorant Garamond', serif; --ff-ui: 'Jost', sans-serif;
  --ff-ar: 'Aref Ruqaa', serif;
  --rail: 96px;
}
* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--cream); font-family: var(--ff-ui);
  font-weight: 300; line-height: 1.65; overflow-x: hidden; padding-left: var(--rail); }
a { color: inherit; text-decoration: none; }
.ic { width: 24px; height: 24px; color: currentColor; flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-weight: 500; font-size: 12.5px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.grain { position: fixed; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: soft-light; z-index: 1;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMjAnIGhlaWdodD0nMTIwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nLjknIG51bU9jdGF2ZXM9JzInLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0nMTIwJyBoZWlnaHQ9JzEyMCcgZmlsdGVyPSd1cmwoI24pJyBvcGFjaXR5PScuNicvPjwvc3ZnPg=="); }

.e-rail { position: fixed; top: 0; left: 0; width: var(--rail); height: 100vh; z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 26px 0 24px; border-right: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg), #000 20%); }
.e-rail .emblem { color: var(--gold); }
.e-rail-word { writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg);
  font-family: var(--ff-ui); font-weight: 500; font-size: 11px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--muted); }
.e-rail-word b { color: var(--terra-soft); font-family: var(--ff-ar); letter-spacing: 0; font-size: 15px; }
.e-rail-loc { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--dim); }

.e-top { position: fixed; top: 0; left: var(--rail); right: 0; z-index: 80; height: 78px;
  display: flex; align-items: center; gap: 14px; padding: 0 clamp(24px,5vw,60px);
  background: color-mix(in oklab, var(--bg), transparent 8%); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line); }
.e-back { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--cream); opacity: .85; margin-right: auto; }
.e-back:hover { opacity: 1; color: var(--terra-soft); }
.e-back svg { width: 18px; height: 18px; }
.e-top .m-brand { display: none; align-items: center; gap: 10px; }
.e-top .m-brand .brand-ar { font-family: var(--ff-ar); font-weight: 700; font-size: 20px; color: var(--terra-soft); }
.lang { font-family: var(--ff-ar); font-size: 17px; color: var(--cream); opacity: .85; padding: 6px 12px; border: 1px solid var(--line2); border-radius: 999px; }
.lang:hover { background: rgba(255,255,255,.05); }
.doc-switch { font-size: 13.5px; color: var(--cream); opacity: .85; padding: 8px 16px; border: 1px solid var(--line2); border-radius: 999px; transition: background .2s, opacity .2s; }
.doc-switch:hover { opacity: 1; background: rgba(255,255,255,.05); }

.shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 60px); position: relative; z-index: 2; }

.doc-head { padding: 128px 0 40px; max-width: 720px; }
.doc-h1 { font-family: var(--ff-display); font-weight: 500; line-height: .92; letter-spacing: -.02em;
  color: var(--ivory); margin: 22px 0 0; font-size: clamp(52px, 7vw, 92px); }
.doc-h1 em { font-style: italic; color: var(--terra-soft); }
.doc-lede { margin: 22px 0 0; font-size: 17px; color: color-mix(in oklab, var(--cream), transparent 12%); max-width: 48ch; }
.doc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; font-size: 13px; color: var(--muted); }
.doc-meta b { color: var(--cream); font-weight: 500; }
.doc-meta .dot { color: var(--dim); }

.doc-body { display: grid; grid-template-columns: 220px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; padding-bottom: 100px; }
.toc { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 4px; padding-bottom: 40px; }
.toc-title { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.toc a { font-size: 13.5px; color: var(--muted); padding: 8px 0 8px 14px; border-left: 1px solid var(--line); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--cream); }
.toc a.active { color: var(--terra-soft); border-left-color: var(--terra-soft); }

.doc-content { max-width: 720px; }
.lead-para { font-family: var(--ff-display); font-weight: 500; font-style: italic; font-size: 22px; line-height: 1.45; color: var(--cream); margin: 0 0 40px; }
.doc-content section { padding: 34px 0; border-top: 1px solid var(--line); }
.doc-content h2 { font-family: var(--ff-display); font-weight: 600; font-size: 28px; color: var(--ivory); margin: 0 0 16px; display: flex; align-items: baseline; gap: 14px; }
.doc-content .sn { font-style: italic; font-weight: 500; color: var(--terra-soft); font-size: 20px; }
.doc-content p { margin: 0 0 14px; font-size: 15.5px; color: var(--muted); }
.doc-content ul { margin: 0 0 14px; padding: 0 0 0 1.2em; }
.doc-content li { margin: 0 0 10px; font-size: 15px; color: var(--muted); }
.doc-content li b { color: var(--cream); font-weight: 500; }
.callout { display: flex; gap: 14px; align-items: flex-start; margin: 22px 0; padding: 18px 20px; border-radius: 14px;
  background: color-mix(in oklab, var(--terra), transparent 88%); border: 1px solid color-mix(in oklab, var(--terra), transparent 60%); }
.callout svg { width: 22px; height: 22px; color: var(--terra-soft); flex: none; margin-top: 2px; }
.callout p { margin: 0; color: var(--cream); font-size: 14.5px; }
.contact-card { display: grid; gap: 14px; margin-top: 18px; padding: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line2); }
.contact-card div { display: flex; flex-direction: column; gap: 4px; }
.contact-card span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.contact-card b { font-size: 16px; color: var(--ivory); font-weight: 500; }
.contact-card p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--cream); }
.doc-foot-note { margin-top: 40px; padding: 22px 24px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); }
.doc-foot-note p { margin: 0; font-size: 14.5px; color: var(--muted); }
.doc-foot-note a { color: var(--terra-soft); border-bottom: 1px solid var(--line2); }
.doc-foot-note a:hover { border-color: var(--terra-soft); }

.doc-footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 60px 0 36px; position: relative; z-index: 2; }
.foot-word { display: block; width: clamp(100px, 16vw, 180px); height: auto; margin-bottom: 28px; }
.foot-word img { display: block; width: 100%; height: auto; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-bottom span { font-size: 12.5px; color: var(--dim); }
.foot-links { display: flex; gap: 20px; }
.foot-links a { font-size: 13.5px; color: var(--muted); transition: color .2s; }
.foot-links a:hover { color: var(--cream); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); color: var(--muted); transition: color .2s, border-color .2s; }
.foot-social a:hover { color: var(--terra-soft); border-color: var(--terra-soft); }
.foot-social svg { width: 17px; height: 17px; }

@media (max-width: 900px) {
  :root { --rail: 0px; }
  .e-rail { display: none; }
  .e-top { left: 0; }
  .e-top .m-brand { display: flex; }
  .doc-body { grid-template-columns: 1fr; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 16px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 10px; }
  .toc a { border-left: none; padding: 4px 0; }
  .toc-title { width: 100%; margin-bottom: 4px; }
}
@media (max-width: 560px) {
  .doc-head { padding-top: 110px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}


html[dir="rtl"] {
  --ff-ui: 'Markazi Text', 'Jost', sans-serif;
  --ff-display: 'Markazi Text', 'Cormorant Garamond', serif;
}
html[dir="rtl"] body { padding-left: 0; padding-right: var(--rail); font-weight: 400; }
html[dir="rtl"] .e-rail { left: auto; right: 0; border-right: none; border-left: 1px solid var(--line); }
html[dir="rtl"] .e-top { left: 0; right: var(--rail); flex-direction: row-reverse; }
html[dir="rtl"] .e-back { margin-right: 0; margin-left: auto; }
html[dir="rtl"] .toc a { border-left: none; border-right: 1px solid var(--line); padding: 8px 14px 8px 0; }
html[dir="rtl"] .toc a.active { border-right-color: var(--terra-soft); }
@media (max-width: 900px) {
  html[dir="rtl"] body { padding-right: 0; }
  html[dir="rtl"] .e-top { right: 0; left: 0; }
  html[dir="rtl"] .toc a { border-right: none; padding: 4px 0; }
}
