/* ithamer.com — precompiled home. Brand tokens: decoration gold stays #C9922E;
   text gold is darkened to #8C5E12 so light-mode copy clears WCAG AA. */

@font-face {
  font-family: "Reem Kufi";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/reem-kufi-arabic-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
  font-family: "Reem Kufi";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/reem-kufi-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/plex-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/plex-arabic-600.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/plex-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/plex-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F6F2EA;
  --ink: #14213D;
  --gold: #C9922E;
  --gold-ink: #8C5E12;
  --muted: #5C6576;
  --line: rgba(20, 33, 61, 0.12);
  --card: #FAF7F1;
  --dot: rgba(20, 33, 61, 0.16);
  --lift: 0 22px 40px -26px rgba(20, 33, 61, 0.42);
  --glow: 0 0 28px -6px rgba(201, 146, 46, 0.55);
  --header-h: 72px;
  --font: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
  --display: "Reem Kufi", "IBM Plex Sans Arabic", sans-serif;
  --latin: "IBM Plex Sans", "IBM Plex Sans Arabic", sans-serif;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0D1320;
  --ink: #F3EEE3;
  --gold: #E3AA3A;
  --gold-ink: #E3AA3A;
  --muted: #8E98AD;
  --line: rgba(243, 238, 227, 0.11);
  --card: #111A2B;
  --dot: rgba(243, 238, 227, 0.12);
  --lift: 0 22px 44px -18px rgba(0, 0, 0, 0.72);
  --glow: 0 0 32px -4px rgba(227, 170, 58, 0.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-ink); }
::selection { background: var(--gold-ink); color: var(--bg); }
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--gold-ink);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 80;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.skip:focus { top: 12px; color: var(--bg); }

.mark { width: 100%; height: 100%; }
.mark use { pointer-events: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar {
  max-width: 1200px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 15px;
  color: var(--muted);
}
.nav-links a:hover { color: var(--gold-ink); }
.nav-toggle, .nav-backdrop { display: none; }

.theme-btn, .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.theme-btn:hover, .nav-toggle:hover { border-color: var(--gold); color: var(--ink); }
.theme-ico { flex: none; }
.nav-toggle { display: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--muted);
}
.kicker i, .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.2; }
h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(48px, 13vw, 112px);
  line-height: 1.2;
  overflow-wrap: break-word;
}
h2 { margin: 0; font-size: clamp(36px, 5vw, 56px); }
h3 { margin: 0; }

.hero { position: relative; isolation: isolate; }
.dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.7px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 45%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 30% 45%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding-block: clamp(56px, 10vw, 128px) clamp(72px, 11vw, 140px);
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; max-width: 100%; }
.hero-copy > * { max-width: 100%; }
.founder { margin: 18px 0 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-family: var(--display); font-weight: 600; font-size: clamp(18px, 4.6vw, 22px); line-height: 1.5; color: var(--ink); }
.founder .t { white-space: nowrap; }
.founder b { font-weight: 600; color: var(--gold-ink); }
.founder .sep { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 10px -1px color-mix(in srgb, var(--gold) 70%, transparent); }
html.motion .founder .t, html.motion .founder .sep { opacity: 0; transform: translateY(8px); animation: founder-in .7s cubic-bezier(.2,.7,.2,1) forwards; }
html.motion .founder .t:nth-child(1) { animation-delay: .25s; }
html.motion .founder .sep { animation-delay: .4s; transform: scale(0); }
html.motion .founder .t:nth-child(3) { animation-delay: .5s; }
@keyframes founder-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html .founder .t, html .founder .sep { opacity: 1 !important; transform: none !important; } }
.latin { font-family: var(--latin); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { color: var(--bg); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--ink); }
.hero-mark {
  justify-self: center;
  width: min(100%, 460px);
  aspect-ratio: 1;
}

.rule {
  height: 8px;
  background: radial-gradient(circle, var(--gold) 1.6px, transparent 2.1px) center / 16px 8px repeat-x;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent);
}
.section { padding-block: clamp(72px, 9vw, 112px); }
.section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-copy p { margin: 0; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.9; text-wrap: pretty; }
.num {
  font-family: var(--latin);
  font-size: 13px;
  color: var(--gold-ink);
  letter-spacing: 0.1em;
  min-width: 24px;
}
.eyebrow { margin: 0 0 8px; font-size: 14px; color: var(--muted); }

.band { border-top: 1px solid var(--line); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 20px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  cursor: pointer;
}
.fx {
  position: relative;
  z-index: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}
.fx::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(125deg, transparent 8%, var(--gold) 38%, #F6E7C4 50%, var(--gold) 62%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
html[data-theme="dark"] .fx::after {
  background: linear-gradient(125deg, transparent 8%, var(--gold) 36%, #FFF4D4 50%, var(--gold) 64%, transparent 92%);
}
.fx:hover,
.fx:focus-within {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--lift);
}

.card-dots {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 180px;
  height: 180px;
  border-radius: inherit;
  background-image: radial-gradient(circle, var(--gold) 1.15px, transparent 1.7px);
  background-size: 14px 14px;
  opacity: 0.28;
  -webkit-mask-image: radial-gradient(circle at 0 0, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 0 0, #000 0%, transparent 72%);
  pointer-events: none;
  transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
}
.fx:hover .card-dots,
.fx:focus-within .card-dots {
  width: 260px;
  height: 260px;
  opacity: 0.55;
}
.card-top, .card-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.card h3 { font-size: clamp(30px, 3.4vw, 40px); }
.en {
  font-family: var(--latin);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.card p { margin: 0; font-size: 18px; line-height: 1.8; text-wrap: pretty; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li {
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
}
.card-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.visit { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.visit:hover { color: var(--gold-ink); }
.card .visit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}
.card:focus-within {
  outline: 3px solid var(--gold-ink);
  outline-offset: 4px;
  box-shadow: 0 0 0 3px var(--gold-ink), var(--lift), var(--glow);
}
.card .visit:focus-visible { outline: none; }
.host { font-family: var(--latin); font-size: 13px; color: var(--muted); }
.badge {
  padding: 2px 10px;
  border: 1px solid var(--gold-ink);
  color: var(--gold-ink);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.6;
}

.services-head { padding-top: clamp(72px, 9vw, 112px); }
.services-head .section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.services-rest { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(72px, 9vw, 112px); }
.consult {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #14213D;
  color: #F3EEE3;
  --bg: #14213D;
  --ink: #F3EEE3;
  --gold: #E3AA3A;
  --gold-ink: #E3AA3A;
  --muted: #D9D3C6;
  --line: rgba(243, 238, 227, 0.22);
  --card: #1A2744;
}
html[data-theme="dark"] .consult {
  background: #070B14;
  --bg: #070B14;
  --ink: #F3EEE3;
  --gold: #E3AA3A;
  --gold-ink: #E3AA3A;
  --muted: #D5D0C4;
  --line: rgba(227, 170, 58, 0.35);
  --card: #111A2B;
}
.consult-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(227, 170, 58, 0.55) 1.15px, transparent 1.7px);
  background-size: 18px 18px;
  opacity: 0.22;
  -webkit-mask-image: radial-gradient(circle at 100% 0%, #000 0%, transparent 58%);
  mask-image: radial-gradient(circle at 100% 0%, #000 0%, transparent 58%);
  pointer-events: none;
}
.consult-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-block: clamp(40px, 6vw, 72px);
  max-width: 760px;
}
.consult-icon { color: var(--gold-ink); }
.consult h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.35;
  text-wrap: pretty;
}
.consult p { margin: 0; max-width: 38ch; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.8; }
.consult .btn-solid { background: #F3EEE3; color: #14213D; }
.consult .btn-solid:hover { color: #14213D; }
.consult .btn-ghost { color: #F3EEE3; border-color: rgba(243, 238, 227, 0.35); }
.consult .btn-ghost:hover { color: #F3EEE3; border-color: var(--gold); }
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1100px) {
  .services { grid-template-columns: 1fr; }
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 26px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.service h3 { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.5; text-wrap: pretty; }
.service p { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.8; }
.service-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.contact { position: relative; isolation: isolate; }
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding-block: clamp(72px, 9vw, 112px);
}
.contact-block { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.contact-block span { font-size: 14px; color: var(--muted); }
.phone, .mail {
  font-family: var(--latin);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: 0.04em;
  line-height: 1.3;
  min-height: 48px;
  max-width: 100%;
}
.mail { overflow-wrap: anywhere; }
.phone:hover, .mail:hover { color: var(--gold-ink); }
.mini-rule {
  width: 60px;
  height: 6px;
  margin: 8px 0;
  background: radial-gradient(circle, var(--gold) 1.6px, transparent 2.1px) center / 14px 6px repeat-x;
}

.site-footer { border-top: 1px solid var(--line); }
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 32px;
  font-size: 14px;
  color: var(--muted);
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-mark { width: 48px; height: 48px; }
.cv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
}
.soon {
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
}

html.motion [data-rv] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.motion [data-rv].in { opacity: 1; transform: none; }
html.motion .fx.in:hover,
html.motion .fx.in:focus-within { transform: translateY(-3px); }
@media (hover: none) {
  html.motion .fx.in .card-dots { animation: dots-settle .9s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes dots-settle { from { opacity: 0; transform: translateY(6px); } to { opacity: .45; transform: none; } }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; width: 48px; padding: 0; }
  .burger, .burger::before, .burger::after {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    position: relative;
    border-radius: 1px;
  }
  .burger::before, .burger::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
  }
  .burger::before { top: -6px; }
  .burger::after { top: 6px; }
  .nav-open .burger { background: transparent; }
  .nav-open .burger::before { top: 0; transform: rotate(45deg); }
  .nav-open .burger::after { top: 0; transform: rotate(-45deg); }
  .nav-links {
    position: fixed;
    z-index: 35;
    inset-block: var(--header-h) 0;
    inset-inline-start: 0;
    width: min(20rem, 88vw);
    margin: 0;
    padding: 12px 20px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-inline-end: 1px solid var(--line);
    box-shadow: 0 24px 48px -24px rgba(13, 19, 32, 0.45);
    transform: translateX(105%);
    visibility: hidden;
  }
  html[dir="ltr"] .nav-links { transform: translateX(-105%); }
  .nav-open .nav-links { transform: none; visibility: visible; }
  .nav-links a {
    min-height: 52px;
    padding: 0 4px;
    font-size: 18px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 30;
    background: rgba(13, 19, 32, 0.46);
    opacity: 0;
    visibility: hidden;
    border: 0;
    padding: 0;
  }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  html.no-js .nav-links {
    position: static;
    transform: none;
    visibility: visible;
    width: auto;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  html.no-js .nav-toggle, html.no-js .nav-backdrop { display: none; }
  .wrap { padding-inline: 20px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { width: min(72vw, 280px); }
  .services { grid-template-columns: 1fr; }
  .consult-inner { max-width: none; }
  .theme-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .theme-btn { width: 48px; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.motion [data-rv] { opacity: 1; transform: none; }
  .fx:hover, .fx:focus-within, .btn-solid:hover,
  html.motion .fx.in:hover, html.motion .fx.in:focus-within { transform: none; }
  .fx:hover::after, .fx:focus-within::after { opacity: 1; }
}

/* ===== Fable v2: about redesign ===== */
/* ============ 1. القسم الجديد — يُضاف إلى home.css ============ */

/* — توكنات مشتقة (لا تحتاج تعديل الوضع الداكن: كلها color-mix من التوكنات الأصلية) — */
.about{
  --gold-soft:color-mix(in srgb,var(--gold) 14%,transparent);
  --gold-faint:color-mix(in srgb,var(--gold) 7%,transparent);
  --ink-faint:color-mix(in srgb,var(--ink) 5%,transparent);
  --ease:cubic-bezier(.2,.7,.2,1);
}

/* — الشبكة: المقدمة يمينًا، المبادئ يسارًا، ثم شريط «المحطّتان» بعرض كامل — */
.about-grid{
  display:grid;
  grid-template-columns:minmax(0,7fr) minmax(0,5fr);
  gap:clamp(40px,7vw,96px);
  align-items:start;
}
.about-copy{display:flex;flex-direction:column;gap:20px;max-width:62ch}
.about-copy h2{margin-bottom:4px}
.about-lead{margin:0;font-size:clamp(19px,2vw,23px);line-height:1.75;text-wrap:pretty}
.about-lead strong{font-weight:600;color:var(--gold-ink)}
.about-copy p{margin:0;font-size:clamp(17px,1.6vw,19px);line-height:1.9;text-wrap:pretty}

/* المبادئ: كما في الموقع، مع تثبيت الترقيم لأنها فعلًا تسلسل منهجي */
.eyebrow{margin:0 0 8px;font-size:14px;color:var(--muted)}

/* — المحطّتان: ليست «بطاقات» بل لوحتا عرض (exhibit plates) تفصلهما مسطرة الذهب المنقّطة — */
.marks{
  margin-top:clamp(48px,7vw,88px);
  display:grid;
  grid-template-columns:1fr 1fr;
  position:relative;
}
.marks::before{ /* فاصل عمودي منقّط بين اللوحتين، بنفس لغة .rule في الموقع */
  content:"";position:absolute;inset-block:8%;inset-inline-start:50%;width:8px;transform:translateX(50%);
  background:radial-gradient(circle,var(--gold) 1.6px,transparent 2.1px) center / 8px 16px repeat-y;
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 25%,#000 75%,transparent);
  mask-image:linear-gradient(180deg,transparent,#000 25%,#000 75%,transparent);
  pointer-events:none;
}
.plate{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"text mark" "status mark";
  column-gap:clamp(20px,3vw,40px);
  row-gap:18px;
  align-items:center;
  padding:clamp(28px,4vw,52px) clamp(24px,4vw,56px);
  border-radius:28px;
  background:transparent;
  transition:background-color .6s var(--ease);
}
.plate:hover,.plate:focus-within{background:var(--ink-faint)}
.plate-text{grid-area:text;display:flex;flex-direction:column;gap:10px;min-width:0}
.plate-role{margin:0;font-size:14px;color:var(--muted)}
.plate h3{font-size:clamp(30px,3.6vw,44px);line-height:1.15;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.plate h3 .latin{font-family:var(--latin);font-weight:600;font-size:.4em;letter-spacing:.14em;color:var(--muted)}
.plate p{margin:0;font-size:clamp(17px,1.6vw,19px);line-height:1.85;text-wrap:pretty;max-width:38ch}
.plate p strong{font-weight:600}
.plate-mark{grid-area:mark;width:clamp(136px,16vw,188px);aspect-ratio:1;flex:none}
.plate-mark svg{display:block;width:100%;height:100%;overflow:visible}

/* سطر الحالة بدل «شارة قريبًا»: نقطة تتنفس + نص. يُقرأ كحالة لا كزخرفة */
.status{
  grid-area:status;display:inline-flex;align-items:center;gap:10px;
  font-size:14px;color:var(--gold-ink);min-height:28px;
}
.status i{width:8px;height:8px;border-radius:50%;background:var(--gold);flex:none;position:relative}
.status i::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:1px solid var(--gold);opacity:0}
html.motion .status i::after{animation:breathe 2.8s ease-out infinite}
@keyframes breathe{0%{transform:scale(.4);opacity:.8}70%{transform:scale(1.25);opacity:0}100%{opacity:0}}
.status .latin{color:var(--muted);letter-spacing:.08em;font-size:12px}

/* ============ 2. العلامتان (SVG inline، ألوان من التوكنات) ============ */

/* — جيو كور: «النواة المتداخلة». أربعة مربعات، كل واحد ربع الذي قبله، تنتهي بخلية ذهبية.
     عند الظهور تُرسم المربعات من الخارج إلى الداخل ثم تثبت الخلية بنبضة واحدة. لا حركة دائمة — */
.geo .lv{fill:none;stroke:var(--ink);stroke-linejoin:miter}
.geo .lv1{stroke-width:2.5;stroke-dasharray:608}
html.motion .geo .lv1{stroke-dashoffset:608}
.geo .lv2{stroke-width:3.5;stroke-dasharray:304}
html.motion .geo .lv2{stroke-dashoffset:304}
.geo .lv3{stroke-width:4.5;stroke-dasharray:152}
html.motion .geo .lv3{stroke-dashoffset:152}
.geo .cell{fill:var(--gold);transform-box:fill-box;transform-origin:center}
html.motion .geo .cell{transform:scale(0)}
.geo .halo{fill:none;stroke:var(--gold);stroke-width:1.5;transform-box:fill-box;transform-origin:center;opacity:0}
html.motion .in .geo .lv1{animation:draw .7s var(--ease) .1s forwards}
html.motion .in .geo .lv2{animation:draw .6s var(--ease) .55s forwards}
html.motion .in .geo .lv3{animation:draw .5s var(--ease) .95s forwards}
html.motion .in .geo .cell{animation:lock .5s cubic-bezier(.2,1.4,.4,1) 1.3s forwards}
html.motion .in .geo .halo{animation:halo 1.1s ease-out 1.45s forwards}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes lock{to{transform:scale(1)}}
@keyframes halo{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(2.4)}}
.plate:hover .geo .cell,.plate:focus-within .geo .cell{filter:drop-shadow(0 0 6px color-mix(in srgb,var(--gold) 60%,transparent))}
html.no-js .geo .lv,.no-motion .geo .lv{stroke-dashoffset:0}
html.no-js .geo .cell,.no-motion .geo .cell{transform:scale(1)}

/* — زاوية الساعة: الشعار الرسمي كما هو (قوس + عقدة + مؤشّر) بلون الحبر.
     حوله حلقة 24 علامة (كل 15° = ساعة) من هوية الشركة. عند الظهور تُضاء العلامات من الصفر (العبور)
     حتى موضع المؤشّر ثم تتوقف: الزاوية الساعية تُرسم مرة واحدة — */
.hoer .logo{fill:var(--ink);opacity:0;transform:translateY(6px)}
.hoer .tick{stroke:var(--dot);stroke-width:1.5;stroke-linecap:round;transform-box:view-box;transform-origin:100px 112px}
.hoer .tick.lit{stroke:var(--gold);opacity:0}
html.motion .in .hoer .logo{animation:rise .9s var(--ease) .1s forwards}
html.motion .in .hoer .tick.lit{animation:light .35s ease-out forwards}
html.motion .in .hoer .tick.lit:nth-child(1){animation-delay:.6s}
html.motion .in .hoer .tick.lit:nth-child(2){animation-delay:.72s}
html.motion .in .hoer .tick.lit:nth-child(3){animation-delay:.84s}
html.motion .in .hoer .tick.lit:nth-child(4){animation-delay:.96s}
html.motion .in .hoer .tick.lit:nth-child(5){animation-delay:1.08s}
html.motion .in .hoer .tick.lit:nth-child(6){animation-delay:1.2s}
@keyframes rise{to{opacity:1;transform:none}}
@keyframes light{to{opacity:1}}
html.no-js .hoer .logo,.no-motion .hoer .logo{opacity:1;transform:none}
html.no-js .hoer .tick.lit,.no-motion .hoer .tick.lit{opacity:1}

/* — البديل الموصى به لمكان «المبادئ الأربعة»: ثلاثة أعمال ومقياس واحد — */
.work{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.work li{display:grid;grid-template-columns:auto 1fr;gap:6px 18px;padding:22px 0;border-top:1px solid var(--line)}
.work li:last-child{border-bottom:1px solid var(--line)}
.work .w-en{grid-row:1/3;font-family:var(--latin);font-size:12px;letter-spacing:.18em;color:var(--gold-ink);writing-mode:vertical-rl;transform:rotate(180deg);align-self:center;padding-block:4px}
.work h3{font-size:clamp(22px,2.4vw,28px);line-height:1.3}
.work p{margin:0;font-size:15px;line-height:1.75;color:var(--muted);text-wrap:pretty}
.measure{margin:22px 0 0;display:flex;gap:14px;align-items:baseline;font-size:15px;color:var(--muted)}
.measure strong{font-family:var(--display);font-weight:700;font-size:clamp(20px,2.2vw,24px);color:var(--ink);line-height:1.4}

/* ============ 3. الجوال ============ */
@media (max-width:900px){
  .about-grid{grid-template-columns:1fr}
  .marks{grid-template-columns:1fr;row-gap:8px}
  .marks::before{inset-inline:12%;inset-block:50% auto;width:auto;height:8px;transform:translateY(-50%);
    background:radial-gradient(circle,var(--gold) 1.6px,transparent 2.1px) center / 16px 8px repeat-x;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 25%,#000 75%,transparent);
    mask-image:linear-gradient(90deg,transparent,#000 25%,#000 75%,transparent)}
  .plate{padding:28px 20px;border-radius:20px}
}
@media (max-width:520px){
  .plate{grid-template-columns:1fr;grid-template-areas:"mark" "text" "status";justify-items:start;row-gap:16px}
  .plate-mark{width:128px}
  .plate h3{font-size:30px}
}

/* ============ 4. تقليل الحركة: لا دوران، لا رسم، الحالة النهائية فورًا ============ */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  html.motion [data-rv]{opacity:1;transform:none}
  .geo .lv{stroke-dashoffset:0}
  .geo .cell{transform:scale(1)}
  .geo .halo{opacity:0}
  .hoer .logo{opacity:1;transform:none}
  .hoer .tick.lit{opacity:1}
}
/* fix4: contact fit on mobile */
.phone { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.phone svg { width: .8em; height: .8em; flex: none; }
.mail { overflow-wrap: normal; word-break: keep-all; white-space: nowrap; font-size: clamp(17px, 6vw, 32px); max-width: 100%; }

/* fable audit 3 */
html[data-theme="dark"] .consult{background:#1A2744;--bg:#1A2744;border-block:1px solid rgba(227,170,58,.28)}
.section{padding-block:clamp(56px,7vw,88px)}
.about{padding-bottom:clamp(32px,4vw,56px)}
.marks{margin-top:clamp(40px,5vw,64px)}

/* ---- i18n: language switcher + LTR/Chinese ---- */
.lang-sw{display:inline-flex;align-items:center;gap:4px;font-family:var(--latin);font-size:13px;color:var(--muted);white-space:nowrap}
.lang-sw a{color:var(--muted);padding:6px 7px;border-radius:999px;line-height:1;transition:color .2s,background .2s}
.lang-sw a:hover{color:var(--gold-ink)}
.lang-sw a[aria-current]{color:var(--ink);font-weight:600;background:color-mix(in srgb,var(--gold) 14%,transparent)}
.lang-sw a[lang=ar]{font-family:"IBM Plex Sans Arabic",var(--latin)}
.lang-sw span{opacity:.45}
html[dir=ltr]{--font:"IBM Plex Sans","Segoe UI",system-ui,sans-serif;--display:"Reem Kufi","IBM Plex Sans",sans-serif}
html[dir=ltr] .marks::before{transform:translateX(-50%)}
@media (max-width:760px){.lang-sw{font-size:12px;gap:2px}.lang-sw a{padding:6px 5px}}
html[dir=ltr] #hero-title{font-size:clamp(40px,8.4vw,84px);line-height:1.08;letter-spacing:-.01em;overflow-wrap:normal}
html[dir=ltr] .plate h3{line-height:1.15}
