/* ===== RTL + Persian typography overrides ===== */
:root {
  --sans: "Vazirmatn", -apple-system, sans-serif;
  --serif: "Vazirmatn", Georgia, serif;
  --mono: "Vazirmatn", ui-monospace, monospace;
}

body { direction: rtl; text-align: right; }

.eyebrow::before { content: "$ "; direction: ltr; display: inline-block; }

.topbar .wrap { flex-direction: row-reverse; }
.contact-row { direction: rtl; }
.contact-row a[href^="mailto"],
.contact-row a[href^="tel"] { direction: ltr; unicode-bidi: embed; }

.entry-head { flex-direction: row-reverse; }
.entry-date { direction: ltr; unicode-bidi: embed; }

.skill-row { flex-direction: row-reverse; }
.skill-label { text-align: right; }

.entry-desc ul { padding-left: 0; padding-right: 20px; }

h1.name, .role, .pitch { text-align: right; }

/* Flip physical margins used as flexbox-gap fallbacks */
.topbar-actions > * { margin-left: 0; margin-right: 10px; }
.contact-row > * { margin-right: 0; margin-left: 18px; }
.status-chip .dot { margin-right: 0; margin-left: 7px; }
.project-tags span { margin-right: 0; margin-left: 6px; }
.tag-cloud span { margin-right: 0; margin-left: 8px; }
.skill-label { margin-right: 0; margin-left: 10px; }
body { line-height: 1.9; }
.pitch, .entry-desc, .project-desc { line-height: 1.85; }
