/* ============================================================
   mostafafathy.com — shared design system
   Tokens · base · header · footer · article · list pages
   ============================================================ */

:root {
  --bg: #F6F4EF;
  --bg-2: #EFEBE3;
  --ink: #14110D;
  --ink-2: #3A3630;
  --muted: #625B50;
  --rule: #D8D2C6;
  --rule-strong: #14110D;
  --accent: #F4A93C;
  --accent-ink: #8F5A00;
  --accent-soft: rgba(244,169,60,0.18);
  --card: #FBFAF7;
  --max: 1240px;
  --measure: 68ch;
  --gutter: clamp(20px, 5vw, 56px);
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --t-fast: 160ms;
  --t-base: 260ms;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12100D;
    --bg-2: #1A1713;
    --ink: #F3EDE3;
    --ink-2: #D9D2C6;
    --muted: #A69E90;
    --rule: #2C2822;
    --rule-strong: #F3EDE3;
    --accent: #F4A93C;
    --accent-ink: #F4A93C;
    --accent-soft: rgba(244,169,60,0.16);
    --card: #17140F;
  }
}

/* Arabic pages */
[lang="ar"] {
  --font-display: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Cairo", "Segoe UI", Tahoma, sans-serif;
  /* JetBrains Mono carries no Arabic glyphs, so Arabic inside a .label fell back
     to whatever the system offered — usually a poor, loosely-fitted face. Cairo
     sits behind it: Latin and digits keep the monospace look, Arabic gets Cairo. */
  --font-mono: "JetBrains Mono", "Cairo", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #14110D; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 100; font-family: var(--font-mono); font-size: 13px; }
.skip:focus { inset-inline-start: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

.label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.label--ink { color: var(--ink); }
.label--accent { color: var(--accent-ink); }
[lang="ar"] .label { letter-spacing: 0; text-transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.wordmark { font-family: "Archivo", var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.wordmark i { display: inline-block; width: 10px; height: 10px; background: var(--accent); }
.nav { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; color: var(--ink-2); border-bottom: 2px solid transparent; transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--rule-strong); font-weight: 600; font-size: 15px; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.nav-cta:hover { background: var(--ink); color: var(--bg); }
.nav-cta svg { width: 16px; height: 16px; }
[dir="rtl"] .nav-cta svg { transform: scaleX(-1); }
@media (max-width: 760px) { .nav { display: none; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); margin-top: auto; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; padding-top: 8px; padding-bottom: 8px; }
.site-footer .label { font-size: 11px; }
.site-footer a.label { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a.label:hover { color: var(--accent-ink); }
.site-footer .ar { font-family: var(--font-body); font-size: 15px; color: var(--muted); }
.site-footer .footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0 22px; border-bottom: 1px solid var(--rule); }
.footer-nav a { display: inline-flex; align-items: center; min-height: 48px; font-size: 15px; color: var(--ink-2); }
.footer-nav a:hover { color: var(--accent-ink); }

/* ---------- Buttons / links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; font-family: var(--font-body); font-weight: 600; font-size: 16px; border: 1.5px solid var(--rule-strong); cursor: pointer; transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.btn svg { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(3px); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent); color: #14110D; border-color: var(--accent); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; min-height: 44px; border-bottom: 1.5px solid transparent; transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.link svg { width: 16px; height: 16px; }
.link:hover { border-bottom-color: var(--accent); color: var(--accent-ink); }

/* ---------- Page head (article + list pages) ---------- */
.page-head { border-bottom: 1px solid var(--rule); padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); }
.page-head .label { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.page-head .label::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.page-head h1 { font-size: clamp(32px, 5vw, 60px); letter-spacing: -0.03em; max-width: 20ch; }
[lang="ar"] .page-head h1 { letter-spacing: 0; }
.page-head p { margin-top: 20px; color: var(--ink-2); font-size: 17px; max-width: 60ch; }

/* ---------- Article ---------- */
.article-wrap { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(64px, 9vw, 110px); }
.back { font-family: var(--font-mono); font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 26px; transition: color var(--t-fast) var(--ease); }
.back + .article-tag { display: block; width: fit-content; }
.back:hover { color: var(--accent-ink); }
[dir="rtl"] .back { flex-direction: row-reverse; }
.article-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 10px; display: inline-block; margin-bottom: 20px; }
[lang="ar"] .article-tag { letter-spacing: 0; text-transform: none; }
.article-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.6vw, 50px); letter-spacing: -0.032em; line-height: 1.06; margin: 8px 0 20px; }
[lang="ar"] .article-title { letter-spacing: 0; line-height: 1.3; }
.article-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 36px; display: flex; gap: 20px; flex-wrap: wrap; }
[lang="ar"] .article-meta { letter-spacing: 0; text-transform: none; }
.article-divider { border: none; border-top: 2px solid var(--rule-strong); margin: 0 0 40px; }

.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); max-width: var(--measure); }
[lang="ar"] .prose { font-size: 19px; line-height: 1.95; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); color: var(--ink); margin: 52px 0 14px; letter-spacing: -0.02em; }
.prose h3 { font-size: 20px; color: var(--ink); margin: 36px 0 10px; letter-spacing: -0.01em; }
.prose p { margin: 0 0 22px; }
.prose a { color: var(--accent-ink); border-bottom: 1px solid var(--accent-soft); transition: border-color var(--t-fast) var(--ease); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { color: var(--muted); }
.prose code { font-family: var(--font-mono); font-size: 0.85em; background: var(--bg-2); border: 1px solid var(--rule); padding: 2px 6px; color: var(--ink); }
.prose pre { background: var(--bg-2); border: 1px solid var(--rule); padding: 16px 18px; overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; margin: 0 0 22px; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose blockquote { border-inline-start: 3px solid var(--accent); margin: 28px 0; padding: 2px 0; padding-inline-start: 22px; color: var(--ink); font-size: 1.05em; }
.prose ul, .prose ol { padding-inline-start: 22px; margin: 0 0 22px; list-style: revert; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent-ink); }
.prose hr { border: none; border-top: 1px solid var(--rule); margin: 44px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 10px 12px; text-align: start; }
.prose th { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

.stat-box { border: 0; border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule); background: none; padding: 22px 0; margin: 32px 0; }
.stat-box .stat-num { font-family: var(--font-display); font-size: clamp(38px, 5vw, 54px); font-weight: 800; color: var(--accent-ink); line-height: 1; margin-bottom: 8px; letter-spacing: -0.03em; }
.stat-box .stat-label { font-size: 15px; color: var(--ink-2); }

/* ---------- Post list (writing index, ar index) ---------- */
.posts { border-top: 2px solid var(--rule-strong); }
.post { display: grid; grid-template-columns: 140px minmax(0, 1fr) 56px; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: start; transition: background var(--t-base) var(--ease); }
.post:hover { background: linear-gradient(90deg, var(--accent-soft), transparent 45%); }
[dir="rtl"] .post:hover { background: linear-gradient(-90deg, var(--accent-soft), transparent 45%); }
.post time { font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 6px; display: block; }
.post time small { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; }
[lang="ar"] .post time small { letter-spacing: 0; text-transform: none; }
.post h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.15; }
[lang="ar"] .post h3 { letter-spacing: 0; line-height: 1.4; }
.post p { color: var(--ink-2); font-size: 16px; margin-top: 8px; max-width: 64ch; }
.post .arrow { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--rule); justify-self: end; transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.post:hover .arrow { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translate(2px, -2px); }
[dir="rtl"] .post .arrow svg { transform: scaleX(-1); }
.post .arrow svg { width: 18px; height: 18px; }
@media (max-width: 700px) { .post { grid-template-columns: 1fr 44px; } .post time { grid-column: 1 / -1; padding-top: 0; } }

/* ---------- Definition rows (uses page) ---------- */
.rows { border-top: 2px solid var(--rule-strong); }
.row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 56px); padding: 22px 0; border-bottom: 1px solid var(--rule); }
.row dt, .row .row-k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 4px; margin: 0; }
.row dd, .row .row-v { margin: 0; color: var(--ink); }
.row dd small, .row .row-v small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Simple centered page (404) ---------- */
.center-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 60px var(--gutter); }
.center-page h1 { font-size: clamp(52px, 12vw, 120px); letter-spacing: -0.04em; }
.center-page p { margin: 18px 0 30px; color: var(--ink-2); font-size: 18px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 480ms var(--ease), transform 480ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 70ms; }
.reveal[data-delay="2"] { transition-delay: 140ms; }
.reveal[data-delay="3"] { transition-delay: 210ms; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Legacy page wrappers (uses, 404) ---------- */
.page { max-width: 900px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(64px, 9vw, 110px); }
.page > .label { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.page > .label::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.page > h1 { font-size: clamp(34px, 5.4vw, 64px); letter-spacing: -0.035em; margin-bottom: 20px; }
.page > .intro { color: var(--ink-2); font-size: 18px; max-width: 62ch; margin-bottom: clamp(36px, 5vw, 56px); }

/* uses.html */
.section { margin-bottom: clamp(40px, 6vw, 64px); }
.section-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; border-bottom: 2px solid var(--rule-strong); margin-bottom: 4px; }
.item { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 8px clamp(24px, 4vw, 48px); padding: 18px 0; border-bottom: 1px solid var(--rule); }
.item-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.item-desc { color: var(--ink-2); font-size: 16px; line-height: 1.62; }
@media (max-width: 640px) { .item { grid-template-columns: 1fr; gap: 4px; } }

/* 404 */
.code { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; }
.cursor { display: inline-block; width: 0.38em; height: 0.82em; background: var(--accent); margin-inline-start: 0.12em; vertical-align: baseline; animation: blink 1.2s step-end infinite; }
@keyframes blink { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0.15; } }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; border-bottom: 1.5px solid transparent; }
.links a:hover { border-bottom-color: var(--accent); color: var(--accent-ink); }
.links .primary { border: 1.5px solid var(--rule-strong); padding: 0 18px; }
.links .primary:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* pull quote (Arabic articles) */
.pull-quote { font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 26px); line-height: 1.5; color: var(--ink); border-inline-start: 3px solid var(--accent); padding-inline-start: 22px; margin: 34px 0; }
[lang="ar"] .pull-quote { line-height: 1.7; }

/* ---------- Article components (legacy classes) ---------- */
.arrow-list { font-family: var(--font-mono); font-size: 15px; line-height: 2; color: var(--ink); border-inline-start: 2px solid var(--accent); padding-inline-start: 18px; margin: 0 0 24px; }

.en-link { font-family: var(--font-mono); font-size: 13px; color: var(--muted); border: 1px solid var(--rule); padding: 12px 14px; margin-bottom: 30px; }
.en-link a { color: var(--accent-ink); border-bottom: 1px solid var(--accent-soft); }
.en-link a:hover { border-bottom-color: var(--accent); }

.comparison-box { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule); margin: 30px 0; }
.comp-col { padding: 20px 22px; }
.comp-col + .comp-col { border-inline-start: 1px solid var(--rule); }
.comp-col p { font-size: 16px; margin: 0 0 12px; color: var(--ink-2); }
.comp-col p:last-child { margin-bottom: 0; }
.comp-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; }
[lang="ar"] .comp-label { letter-spacing: 0; text-transform: none; font-size: 13px; }
.comp-col.good .comp-label { color: #2E7D4F; }
.comp-col.bad .comp-label { color: #B3452F; }
@media (prefers-color-scheme: dark) {
  .comp-col.good .comp-label { color: #7CC49A; }
  .comp-col.bad .comp-label { color: #E88F79; }
}
@media (max-width: 620px) {
  .comparison-box { grid-template-columns: 1fr; }
  .comp-col + .comp-col { border-inline-start: 0; border-top: 1px solid var(--rule); }
}

.check-card, .moment-card { border-top: 1px solid var(--rule); padding: 18px 0; margin: 0; }
.check-card:first-of-type, .moment-card:first-of-type { border-top: 2px solid var(--rule-strong); margin-top: 28px; }
.check-card p, .moment-card p { font-size: 16px; color: var(--ink-2); margin: 0; }
.m-label, .check-card > strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
[lang="ar"] .m-label { font-size: 18px; }

/* ---------- Read-progress line (under the sticky header) ---------- */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform; pointer-events: none;
}
[dir="rtl"] .read-progress { transform-origin: 100% 50%; }
@media (prefers-reduced-motion: no-preference) { .read-progress { transition: transform 90ms linear; } }

/* ---------- Section rail (desktop only) ---------- */
.rail {
  position: fixed; top: 50%; transform: translateY(-50%);
  inset-inline-start: max(14px, calc((100vw - var(--max)) / 2 - 96px));
  z-index: 40; display: none; flex-direction: column; gap: 2px;
}
@media (min-width: 1180px) { .rail { display: flex; } }
.rail a {
  display: flex; align-items: center; gap: 10px; min-height: 30px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted); opacity: .55;
  transition: opacity var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.rail a::before {
  content: ""; width: 16px; height: 2px; background: currentColor;
  transition: width var(--t-base) var(--ease), background var(--t-fast) var(--ease);
}
.rail a span { opacity: 0; transform: translateX(-4px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
[dir="rtl"] .rail a span { transform: translateX(4px); }
.rail:hover a span, .rail a:focus-visible span { opacity: 1; transform: none; }
.rail a:hover, .rail a:focus-visible { opacity: 1; color: var(--ink); }
.rail a.is-active { opacity: 1; color: var(--accent-ink); }
.rail a.is-active::before { width: 30px; background: var(--accent); }

/* ---------- Article: drop cap + pull quote ---------- */
.prose > p.lede { font-size: 1.12em; color: var(--ink); }
.prose > p:first-of-type::first-letter {
  float: inline-start; font-family: var(--font-display); font-weight: 800;
  font-size: 3.1em; line-height: .84; padding-inline-end: 0.09em;
  margin-top: 0.06em; color: var(--accent-ink);
}
[lang="ar"] .prose > p:first-of-type::first-letter { float: none; font-size: inherit; color: inherit; margin: 0; padding: 0; }

/* ---------- Meta strip on article header ---------- */
.article-meta .dot { color: var(--rule-strong); opacity: .35; }

/* ============================================================
   Partner strip — a hairline band naming a community partnership.
   Deliberately in the site's own palette: a partner is a mention,
   not a takeover. Their wordmark runs monochrome like any other mark.
   ============================================================ */
.partner-strip { background: var(--bg-2); border-block: 1px solid var(--rule); }
.partner-strip .wrap {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  padding-block: clamp(24px, 3vw, 34px);
}
.partner-strip img {
  inline-size: 104px;
  block-size: auto;
  filter: brightness(0);
  opacity: .82;
  flex: none;
}
.partner-strip p {
  margin: 0;
  flex: 1 1 24ch;
  font-size: 15.5px;
  color: var(--ink-2);
}
.partner-strip p b { color: var(--ink); font-weight: 600; }
.partner-strip a.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  border-block-end: 1px solid var(--accent);
  padding-block-end: 3px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.partner-strip a.more:hover { color: var(--ink); border-color: var(--rule-strong); }
.partner-strip a.more svg { inline-size: 15px; block-size: 15px; }
@media (prefers-color-scheme: dark) {
  .partner-strip img { filter: brightness(0) invert(1); opacity: .9; }
}
[lang="ar"] .partner-strip a.more { letter-spacing: 0; text-transform: none; font-family: inherit; font-size: 14.5px; }
[lang="ar"] .partner-strip p { font-size: 16px; line-height: 1.8; }
