@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/literata-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Literata Fallback";
  src: local("Georgia"), local("Liberation Serif"), local("Noto Serif"), local("Times New Roman");
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3 Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Roboto"), local("Helvetica");
  size-adjust: 94.6%;
  ascent-override: 98%;
  descent-override: 30%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Amiri Name";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/amiri-name.woff2") format("woff2");
}
@font-face {
  font-family: "Amiri";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/amiri-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Amiri";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/amiri-arabic-bold.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/noto-sans-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  --bg: #f4f1eb;
  --surface: #ffffff;
  --sand: #e8e1d5;
  --text: #1b1f1e;
  --text-2: #454b49;
  --text-3: #59635f;
  --accent: #1b4f48;
  --accent-deep: #123832;
  --accent-soft: #d7e3dd;
  --brass: #b08d57;
  --on-dark: #eef2ef;
  --on-dark-2: #c4d2cc;
  --rule: #ddd6ca;
  --rule-strong: #9a907f;
  --shadow: 0 24px 60px -32px rgba(27, 31, 30, 0.35);
  --shadow-soft: 0 12px 32px -20px rgba(27, 31, 30, 0.25);

  --font-display: "Literata", "Literata Fallback", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans 3 Fallback", Arial, sans-serif;
  --font-arabic: "Amiri Name", "Amiri", "Noto Naskh Arabic", serif;
  --font-arabic-body: "Noto Sans Arabic", "Source Sans 3", "Source Sans 3 Fallback", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
  --scroll-offset: calc(var(--header-h) + 16px);

  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;

  --text-s: 0.9375rem;
  --text-m: 1.0625rem;
  --text-l: 1.25rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.75rem, 1.4rem + 1.1vw, 2.25rem);
  --text-display: clamp(2.75rem, 1.7rem + 4vw, 4.5rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-m);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(27, 31, 30, 0.4);
  z-index: 40;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent-soft); color: var(--text); }

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--gutter);
  top: -100px;
  background: var(--text);
  color: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 100;
  text-decoration: none;
  border-radius: var(--r-pill);
}
.skip-link:focus { top: 12px; }

/* Type */
.eyebrow {
  font-size: var(--text-s);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--accent-deep);
}

.sub-title {
  font-family: var(--font-body);
  font-size: var(--text-s);
  font-weight: 600;
  color: var(--text-3);
}

.prose p { max-width: 66ch; }
.prose p + p { margin-top: 1.1em; }
.about-link { margin-top: 1.5rem; }
.prose .lead {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.4;
  font-weight: 400;
  max-width: 50ch;
}
.prose p:not(.lead) { color: var(--text-2); }

/* Buttons and links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font-size: var(--text-m);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button:active { transform: translateY(1px); }
.button-solid { background: var(--accent); color: #fff; }
.button-solid:hover { background: var(--accent-deep); }
.button-ghost { border-color: var(--rule-strong); color: var(--text); background: transparent; }
.button-ghost:hover { border-color: var(--accent); color: var(--accent); }
.button-lg { padding: 1rem 1.6rem; }
.button .icon { width: 1.05rem; height: 1.05rem; flex: 0 0 auto; }

.prose a,
.contact-list a,
.entry a,
.professional a,
.footer-links a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover, .contact-list a:hover, .entry a:hover, .professional a:hover { color: var(--accent-deep); }

.tel {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}
a.tel { color: var(--accent); text-decoration: none; display: inline-block; padding: 0.65rem 0; margin: -0.65rem 0; }
a.tel:hover { text-decoration: underline; text-underline-offset: 3px; }
.nowrap { white-space: nowrap; }
.tel, .num, .latin { direction: ltr; unicode-bidi: isolate; }
.latin { overflow-wrap: anywhere; }
.dd-line { display: block; margin-top: 0.2rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 235, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: var(--text-l);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}
.mark {
  display: inline-block;
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--font-arabic);
  font-size: 1.75rem;
  line-height: 1;
  transform: translateY(-0.12em);
  padding-inline-end: 0.65rem;
  border-inline-end: 1px solid var(--rule-strong);
}
.wm-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-nav {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  font-size: var(--text-m);
  font-weight: 500;
  color: var(--text-2);
}
.site-nav a {
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
.site-nav a:hover { color: var(--accent); border-bottom-color: var(--rule-strong); }
.site-nav a[aria-current="location"] { color: var(--text); border-bottom-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta { padding: 0.7rem 1.1rem; font-size: var(--text-s); min-height: 44px; }
.header-call { display: none; }

.lang { position: relative; }
.lang summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(89, 99, 95, 0.78);
  font-size: var(--text-s);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: border-color 140ms ease, color 140ms ease;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { border-color: var(--accent); color: var(--accent); }
.lang-abbr { display: none; }
.lang .chev { width: 0.7rem; height: 0.7rem; transition: transform 160ms ease; }
.lang[open] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 10.5rem;
  list-style: none;
  padding: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  z-index: 60;
}
.lang-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: var(--text-m);
  font-weight: 500;
  white-space: nowrap;
}
.lang-menu a[lang="ar"] { font-family: var(--font-arabic-body); }
html:not([lang="ar"]) .lang-menu a[lang="ar"] { font-family: system-ui, sans-serif; }
.cta-narrow { display: none; }
.lang-menu a[lang="en"] { font-family: var(--font-body); }
.lang-menu a:hover { background: var(--bg); }
.lang-menu a[aria-current="true"] { color: var(--accent); font-weight: 600; }
.lang-menu a[aria-current="true"]::after {
  content: "";
  width: 0.45rem; height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-inline-end: -10px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform 200ms ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  flex-direction: column;
  padding: 0.25rem var(--gutter) 1.25rem;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.mobile-nav a {
  padding: 0.85rem 0;
  font-size: var(--text-m);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav a[aria-current="location"] { color: var(--accent); }
.mobile-nav:not([hidden]) { display: flex; }

/* Hero */
.hero { padding-block: clamp(4.5rem, 7vw, 6.5rem) clamp(2.5rem, 4vw, 4rem); }

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 4vw, 4rem) 0;
}

.hero-copy { padding-bottom: clamp(2rem, 4vw, 4rem); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-display);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
}

.hero-arabic {
  font-family: var(--font-arabic);
  font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.5rem);
  line-height: 1.4;
  color: var(--accent);
  text-align: left;
  margin-top: 0.4rem;
}

.hero-lede {
  margin-top: 1.5rem;
  font-size: var(--text-l);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-portrait {
  align-self: end;
  height: calc(100% + clamp(3rem, 6vw, 5.5rem));
  border-radius: var(--r-md) var(--r-md) 0 0;
  overflow: hidden;
  background: var(--sand);
  position: relative;
  box-shadow: var(--shadow-soft);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(27, 31, 30, 0.06);
  pointer-events: none;
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.fact-strip {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}
.fact-strip li {
  background: var(--sand);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.fact-label { font-size: var(--text-s); color: var(--text-3); font-weight: 500; }
.fact-value { font-weight: 600; color: var(--text); font-size: var(--text-m); line-height: 1.35; }

/* Sections */
.section { padding-block: clamp(3.5rem, 6.5vw, 6rem); }
.section-white { background: var(--surface); }
.section + .section:not(.section-white) { border-top: 1px solid var(--rule); }

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.section-grid > .section-title { position: sticky; top: var(--scroll-offset); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: 1.25rem;
}
.card {
  container-type: inline-size;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 2.2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.section-white .card { background: var(--bg); box-shadow: none; }
.card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.card > p { color: var(--text-2); font-size: var(--text-m); max-width: 60ch; }

.check-list {
  list-style: none;
  padding: 0;
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: var(--text-m);
  max-width: 60ch;
}
.check-list li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.6rem;
  align-items: baseline;
}
.check-list li::before {
  content: "";
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--brass);
  transform: translateY(-1px);
  justify-self: center;
}

.also {
  margin-top: 1.5rem;
  color: var(--text-2);
  max-width: 66ch;
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--rule-strong);
}
.timeline-item {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
}
.timeline-when {
  font-size: var(--text-m);
  color: var(--text-3);
  font-weight: 500;
  padding-top: 0.2rem;
  font-variant-numeric: tabular-nums;
}
.timeline-what h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.timeline-what .where { margin-top: 0.2rem; color: var(--text); font-weight: 500; }
.timeline-what p { margin-top: 0.35rem; color: var(--text-2); max-width: 66ch; }
.section-body .sub-title { margin-top: 2.5rem; }

/* Entries */
.entries { border-top: 1px solid var(--rule-strong); margin-top: 0.75rem; }
.entry { padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.entry h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.entry p { margin-top: 0.4rem; color: var(--text-2); max-width: 66ch; }
.entry-with-photo {
  display: grid;
  grid-template-columns: 12.5rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.entry-photo {
  border-radius: 12px;
  overflow: hidden;
  background: var(--sand);
  box-shadow: inset 0 0 0 1px rgba(27, 31, 30, 0.06);
}
.entry-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Locations */
.location-type { color: var(--text-2); }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}
.contact-list > div {
  display: grid;
  grid-template-columns: var(--dt, 5.5rem) 1fr;
  gap: 0.75rem;
}
.contact-list dt { color: var(--text-3); font-weight: 500; }
.contact-list dd { max-width: 60ch; }
.contact-list dd a:not(.tel) { display: inline-block; padding: 0.55rem 0; margin: -0.55rem 0; }
.location-hint { color: var(--text-2); padding-top: 0.25rem; }

@container (max-width: 360px) {
  .contact-list > div { grid-template-columns: 1fr; gap: 0.1rem; }
}

.referral p, .bring p, .professional p {
  margin-top: 0.75rem;
  color: var(--text-2);
  max-width: 66ch;
}

/* Footer */
.site-footer {
  background: var(--accent-deep);
  color: var(--on-dark);
  padding-block: 4rem 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem;
}
.footer-name {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: #fff;
}
.site-footer .mark { color: var(--brass); border-inline-end-color: rgba(238, 242, 239, 0.3); }
.footer-arabic {
  font-family: var(--font-arabic);
  font-size: var(--text-xl);
  line-height: 1.5;
  color: var(--on-dark-2);
  text-align: left;
}
.footer-role { margin-top: 0.6rem; color: var(--on-dark-2); max-width: 36ch; }
.footer-links { margin-top: 0.75rem; }
.footer-links a { color: var(--on-dark); }
.site-footer :focus-visible { outline-color: var(--brass); }
.footer-disclaimer { color: var(--on-dark-2); font-size: var(--text-s); max-width: 62ch; line-height: 1.5; }
.footer-copy { margin-top: 1.5rem; color: var(--on-dark-2); font-size: var(--text-s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .site-nav a, .nav-toggle span { transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .section-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-grid > .section-title { position: static; }
  .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 910px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 880px) {
  .hero-card { grid-template-columns: minmax(0, 1fr) minmax(200px, 34%); gap: 1.5rem; }
  .header-book { display: none; }
  .header-call { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 700px) {
  .hero { padding-top: clamp(2rem, 5vw, 3.5rem); }
  .hero-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }
  .hero-portrait {
    order: -1;
    height: clamp(260px, 62vw, 400px);
    border-radius: 0;
    box-shadow: none;
  }
  .hero-portrait img { object-position: 50% 10%; }
  .hero-copy { padding: clamp(1.5rem, 5vw, 2.5rem); }
  .hero-lede { max-width: 56ch; }
}

@media (max-width: 700px) {
  .header-inner { gap: 1rem; }
  .cta-who { display: none; }
  .wm-dr { display: none; }
  .wordmark { font-size: var(--text-m); }
}

@media (max-width: 560px) {
  .cta-verb { display: none; }
  .cta-full { display: none; }
  .cta-narrow { display: inline; }
  .hero-title { font-size: clamp(2.5rem, 12vw, 3.25rem); }
  .hero-actions .button { width: 100%; white-space: normal; text-align: center; }
  .fact-strip { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .timeline-when { padding-top: 0; }
  .entry-with-photo { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
}

@media (max-width: 480px) {
  .cta-short { display: none; }
  .header-cta { padding: 0.7rem 0.8rem; }
  .header-cta .icon { width: 1.15rem; height: 1.15rem; }
  .header-actions { gap: 0.5rem; }
  .lang summary { padding: 0 0.7rem; }
  .lang-full { display: none; }
  .lang-abbr { display: inline; }
}

@media (max-width: 352px) {
  .mark { display: none; }
}

@media (max-width: 420px) {
  .hero-actions .button-lg { padding-inline: 1.2rem; }
  .header-inner { gap: 0.75rem; }
  .header-actions { gap: 0.4rem; }
  .wordmark { font-size: var(--text-s); gap: 0.45rem; }
  .mark { font-size: 1.25rem; padding-inline-end: 0.45rem; }
  .nav-toggle { margin-inline-end: -8px; }
}


/* Arabic edition */
[dir="rtl"] .hero-arabic,
[dir="rtl"] .footer-arabic { text-align: right; }

html[lang="ar"] {
  --font-arabic: "Amiri", "Noto Naskh Arabic", serif;
  --font-display: "Amiri", "Literata", "Literata Fallback", Georgia, serif;
  --font-body: "Noto Sans Arabic", "Source Sans 3", "Source Sans 3 Fallback", Arial, sans-serif;
  --text-s: 1rem;
  --text-m: 1.125rem;
  --text-l: 1.3125rem;
  --text-xl: 1.625rem;
  --text-2xl: clamp(1.875rem, 1.5rem + 1.2vw, 2.5rem);
  --text-display: clamp(2.75rem, 1.6rem + 4vw, 4.75rem);
}
html[lang="ar"] body { line-height: 1.75; }
html[lang="ar"] :is(h1, h2, h3, h4, .eyebrow, .lang summary, .wordmark) { letter-spacing: 0; }
html[lang="ar"] :is(.section-title, .card h3, .timeline-what h3, .entry h4) { font-weight: 700; line-height: 1.5; }
html[lang="ar"] .footer-name { line-height: 1.5; }
html[lang="ar"] .mark { font-weight: 400; }
html[lang="ar"] .contact-list > div { --dt: 8.5rem; }
html[lang="ar"] .hero-title { font-weight: 700; line-height: 1.3; margin-top: 0.5rem; }
html[lang="ar"] .prose .lead { line-height: 1.7; }
html[lang="ar"] .hero-lede { line-height: 1.7; }
html[lang="ar"] .hero-latin {
  font-family: "Literata", "Literata Fallback", Georgia, serif;
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  letter-spacing: -0.01em;
}
html[lang="ar"] .footer-latin { font-family: "Literata", "Literata Fallback", Georgia, serif; font-size: var(--text-l); }
html[lang="ar"] .wordmark, html[lang="ar"] .footer-name { font-family: var(--font-body); font-weight: 600; }
html[lang="ar"] .button { line-height: 1.2; }
