/* ─────────────────────────────────────────────────────────
   GoNitaq — design system
   ───────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* brand */
  --teal: #0D7377;
  --teal-700: #0a5d61;
  --teal-50: #e7f1f1;
  --saffron: #F2A93B;

  /* surfaces */
  --white: #FFFFFF;
  --sand: #F1F4F4;
  --sand-warm: #F6F2EA;

  /* ink */
  --ink-900: #14201f;
  --ink-700: #2b3837;
  --ink-500: #5a6968;
  --ink-400: #8a9695;
  --ink-300: #b9c1c0;
  --ink-200: #dde2e1;
  --ink-100: #eef1f0;

  /* type */
  --font-ar: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-en: 'Inter', system-ui, sans-serif;

  /* radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--font-ar);
  color: var(--ink-900);
  background: var(--white);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  line-height: 1.55;
}

body {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
input { font-family: inherit; }

/* ─── Layout ─── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
  .container { padding: 0 20px; }
}

/* ─── Type ─── */
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--teal);
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--saffron);
  display: inline-block;
}

h1, h2, h3, h4 { font-family: var(--font-ar); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; color: var(--ink-900); }

.h-display { font-size: clamp(40px, 6.2vw, 72px); font-weight: 600; line-height: 1.08; letter-spacing: -0.022em; }
.h-section { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; line-height: 1.15; letter-spacing: -0.018em; }
.h-card { font-size: 22px; font-weight: 600; line-height: 1.25; }

.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-500); line-height: 1.65; max-width: 56ch; }
.muted { color: var(--ink-500); }
.tiny { font-size: 13px; color: var(--ink-500); }

/* Latin numeric display (uses Inter for crisper numerics) */
.num-display {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink-900);
  direction: ltr;
  display: inline-block;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: var(--font-ar);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  min-height: 48px;
  transition: background-color 320ms ease, color 320ms ease, border-color 320ms ease, transform 320ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover { background: var(--teal-700); }
.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border: 1px solid var(--ink-200);
}
.btn-outline:hover { border-color: var(--ink-900); }
.btn-text {
  background: transparent;
  color: var(--ink-900);
  padding: 8px 0;
  min-height: 0;
}
.btn-text .arrow {
  transition: transform 320ms ease;
  display: inline-block;
}
.btn-text:hover .arrow { transform: translateX(-4px); }
.btn-sm { padding: 10px 16px; font-size: 14px; min-height: 40px; }

/* ─── Header ─── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.site-header .nav {
  display: flex; align-items: center; gap: 32px;
}
.site-header .nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 280ms ease;
}
.site-header .nav a:hover { color: var(--ink-900); }
.site-header .logo {
  display: flex; align-items: center; gap: 10px;
}
.site-header .logo .mark { width: 36px; height: 36px; border-radius: 9px; background: var(--teal); position: relative; }
.site-header .logo .mark::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--saffron);
}
.site-header .logo .wordmark {
  font-family: var(--font-ar); font-weight: 700; font-size: 19px; color: var(--teal); letter-spacing: -0.01em;
}
.site-header .right { display: flex; align-items: center; gap: 16px; }

.mobile-menu-btn { display: none; width: 40px; height: 40px; border-radius: 8px; align-items: center; justify-content: center; }
.mobile-menu-btn:hover { background: var(--sand); }

@media (max-width: 880px) {
  .site-header .inner { height: 64px; }
  .site-header .nav { display: none; }
  .site-header .right .btn { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 120px 0 96px;
  overflow: hidden;
  background-color: #F1F4F4;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg-desktop.svg');
  background-size: cover;
  /* RTL hero: arches emanate from the left edge, text sits right — keep
     focal corner pinned to the left no matter the viewport width. */
  background-position: left center;
  background-repeat: no-repeat;
  pointer-events: none;
}
@media (max-width: 720px) {
  .hero::before {
    background-image: url('assets/hero-bg-mobile.svg');
    background-position: center top;
  }
}
/* legacy watermark — superseded by hero-bg SVG, kept hidden so the home.html
   markup stays valid if anyone re-adds it. */
.hero .interpunct-mark { display: none; }
.hero .inner {
  position: relative;
  max-width: 920px;
}
.hero h1 .accent-dot {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--saffron);
  margin: 0 4px;
  vertical-align: middle;
  transform: translateY(-12px);
}
.hero .cta-row {
  margin-top: 40px;
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.hero .lede { margin-top: 22px; }

@media (max-width: 720px) {
  .hero { padding: 72px 0 56px; }
}

/* ─── Value props ─── */
.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 64px 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.values-row .val {
  display: flex; flex-direction: column; gap: 10px;
}
.values-row .val .label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--teal); font-weight: 500;
}
.values-row .val .label::before {
  content: ''; width: 22px; height: 1px; background: var(--teal); display: inline-block;
}
.values-row .val .title { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink-900); }
.values-row .val .desc { font-size: 15px; color: var(--ink-500); line-height: 1.6; }

@media (max-width: 720px) {
  .values-row { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
}

/* ─── Categories ─── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.cat-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 26px 26px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  min-height: 180px;
  transition: transform 360ms cubic-bezier(.2,.7,.3,1), border-color 360ms ease, box-shadow 360ms ease;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink-200);
  box-shadow: 0 14px 30px -22px rgba(20, 32, 31, 0.18);
}
.cat-card.live { border-color: var(--teal); background: linear-gradient(180deg, rgba(13,115,119,0.025), transparent 40%); }
.cat-card.live::before {
  content: ''; position: absolute; top: 0; right: 28px; width: 32px; height: 3px;
  background: var(--teal); border-radius: 0 0 3px 3px;
}
.cat-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.cat-card .num {
  font-family: var(--font-en); font-size: 13px; color: var(--ink-400); font-weight: 500; direction: ltr;
}
.cat-card .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.cat-card .pill.live { background: var(--teal-50); color: var(--teal); }
.cat-card .pill.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: pulse 2s ease-in-out infinite; }
.cat-card .pill.soon { background: var(--sand); color: var(--ink-500); }
.cat-card h3 { margin-top: 36px; font-size: 19px; font-weight: 600; line-height: 1.3; }
.cat-card .desc { margin-top: 6px; font-size: 14px; color: var(--ink-500); line-height: 1.55; }
.cat-card.coming h3, .cat-card.coming .desc { color: var(--ink-400); }
.cat-card.coming { background: var(--sand); border-color: transparent; }
.cat-card.coming:hover { transform: translateY(-2px); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cat-grid { grid-template-columns: 1fr; gap: 12px; } .cat-card { min-height: 140px; padding: 22px 20px; } }

/* ─── Methodology ─── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
}
.method-step {
  padding: 32px 28px 28px 24px;
  border-right: 1px solid var(--ink-100);
  display: flex; flex-direction: column; gap: 18px;
}
.method-step:last-child { border-right: none; }
.method-step .step-num {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: var(--saffron);
  direction: ltr;
  letter-spacing: 0.04em;
}
.method-step h4 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.method-step p { font-size: 14.5px; color: var(--ink-500); line-height: 1.6; }

@media (max-width: 880px) {
  .method-grid { grid-template-columns: 1fr; }
  .method-step { border-right: none; border-bottom: 1px solid var(--ink-100); padding: 28px 0; }
  .method-step:last-child { border-bottom: none; }
}

/* ─── Trust numbers ─── */
.trust {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  align-items: center;
}
.trust .meet {
  display: flex; flex-direction: column; gap: 18px;
  padding: 32px;
  background: var(--sand);
  border-radius: var(--r-lg);
}
.trust .avatar {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(160deg, #d4dcdb, #b9c1c0);
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.trust .avatar svg { width: 64px; height: 64px; display: block; }
.trust .meet .who { font-size: 15px; font-weight: 600; }
.trust .meet .role { font-size: 13.5px; color: var(--ink-500); margin-top: 2px; }
.trust .meet .quote { font-size: 14.5px; color: var(--ink-700); line-height: 1.65; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stat .num-display .plus { color: var(--saffron); }
.stat .label { font-size: 14.5px; color: var(--ink-500); line-height: 1.5; margin-top: 14px; max-width: 22ch; }
.stat .label-em { font-family: var(--font-en); font-weight: 600; color: var(--ink-900); }

@media (max-width: 980px) {
  .trust { grid-template-columns: 1fr; gap: 40px; }
  .stats { gap: 24px; }
}
@media (max-width: 540px) {
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .stat { padding-bottom: 24px; border-bottom: 1px solid var(--ink-100); }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ─── Logos strip ─── */
.logos-section { background: var(--sand); padding: 72px 0; }
.logos-section .head { text-align: right; max-width: 540px; margin-bottom: 40px; }
.logos-section .head h3 { font-size: 22px; font-weight: 600; }
.logos-section .head p { font-size: 14.5px; color: var(--ink-500); margin-top: 8px; }

.logos-track-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos-track {
  display: flex;
  width: max-content;
  animation: scroll-logos 50s linear infinite;
  gap: 56px;
  align-items: center;
}
.logos-track:hover { animation-play-state: paused; }
.logo-item {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink-400);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
  transition: color 320ms ease, opacity 320ms ease;
}
.logo-item:hover { color: var(--ink-900); opacity: 1; }
.logo-item .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.4; }

@keyframes scroll-logos {
  from { transform: translateX(0); }
  to { transform: translateX(50%); } /* RTL: positive moves left visually because of direction context; we'll force direction inside */
}

/* ─── Lead magnet ─── */
.lead-magnet {
  background: var(--sand-warm);
  padding: 96px 0;
}
.lead-magnet .inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.lead-magnet .left { max-width: 520px; }
.lead-magnet .eyebrow { color: var(--ink-700); }
.lead-magnet .eyebrow::before { background: var(--saffron); }
.lead-magnet h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.25; margin-top: 16px; letter-spacing: -0.015em; }
.lead-magnet .desc { margin-top: 16px; font-size: 16px; color: var(--ink-500); line-height: 1.6; }

.lead-form {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white);
  padding: 28px;
  border-radius: var(--r-md);
  border: 1px solid rgba(20, 32, 31, 0.06);
}
.lead-form .row { display: flex; gap: 10px; }
.lead-form input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--ink-200);
  background: var(--white);
  font-size: 15px;
  color: var(--ink-900);
  outline: none;
  transition: border-color 280ms ease;
  font-family: var(--font-ar);
}
.lead-form input:focus { border-color: var(--teal); }
.lead-form input::placeholder { color: var(--ink-400); }
.lead-form .note { font-size: 13px; color: var(--ink-500); display: inline-flex; align-items: center; gap: 8px; }
.lead-form .note::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-300); }

@media (max-width: 880px) {
  .lead-magnet { padding: 64px 0; }
  .lead-magnet .inner { grid-template-columns: 1fr; gap: 32px; }
  .lead-form { padding: 20px; }
  .lead-form .row { flex-direction: column; }
}

/* ─── Footer ─── */
.site-footer { background: #0c1a1b; color: #c6cfce; padding: 72px 0 32px; }
.site-footer a { color: #c6cfce; transition: color 280ms ease; }
.site-footer a:hover { color: #fff; }
.site-footer .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer .brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer .brand .logo { display: flex; align-items: center; gap: 10px; }
.site-footer .brand .mark { width: 36px; height: 36px; border-radius: 9px; background: var(--teal); position: relative; }
.site-footer .brand .mark::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--saffron);
}
.site-footer .brand .wordmark { font-weight: 700; font-size: 20px; color: #fff; }
.site-footer .signature {
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  margin-top: 4px;
}
.site-footer .signature .em { color: var(--saffron); }
.site-footer .col h5 { font-size: 13px; font-weight: 500; color: #fff; opacity: 0.7; margin-bottom: 18px; letter-spacing: 0.02em; }
.site-footer .col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.site-footer .col li { font-size: 14.5px; }
.site-footer .bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.site-footer .socials { display: flex; gap: 14px; }
.site-footer .socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 280ms ease, background-color 280ms ease;
}
.site-footer .socials a:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }

@media (max-width: 880px) {
  .site-footer .top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer .brand { grid-column: span 2; }
  .site-footer .bottom { flex-direction: column-reverse; gap: 20px; align-items: flex-start; }
}

/* ─── WhatsApp sticky ─── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(13, 115, 119, 0.5), 0 2px 8px -2px rgba(0,0,0,0.12);
  z-index: 40;
  transition: transform 360ms cubic-bezier(.2,.7,.3,1), background-color 320ms ease;
  animation: fab-in 800ms cubic-bezier(.2,.7,.3,1) 600ms both;
}
.whatsapp-fab:hover { background: var(--teal-700); transform: scale(1.06); }
.whatsapp-fab svg { width: 28px; height: 28px; color: #fff; }
.whatsapp-fab .label {
  position: absolute;
  right: 64px;
  background: var(--ink-900);
  color: #fff;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
}
.whatsapp-fab:hover .label { opacity: 1; transform: translateX(0); }

@keyframes fab-in {
  0% { transform: translateY(20px) scale(0.4); opacity: 0; }
  60% { transform: translateY(-4px) scale(1.1); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 720px) {
  .whatsapp-fab { bottom: 20px; left: 20px; width: 52px; height: 52px; }
}

/* ─── Reveal animations ─── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms cubic-bezier(.2,.7,.3,1), transform 700ms cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

.hero h1, .hero .lede, .hero .cta-row, .hero .eyebrow {
  opacity: 0; transform: translateY(20px);
  animation: hero-in 800ms cubic-bezier(.2,.7,.3,1) forwards;
}
.hero .eyebrow { animation-delay: 80ms; }
.hero h1 { animation-delay: 160ms; }
.hero .lede { animation-delay: 320ms; }
.hero .cta-row { animation-delay: 460ms; }

@keyframes hero-in {
  to { opacity: 1; transform: none; }
}

/* ─── About-specific ─── */
.about-hero {
  padding: 120px 0 56px;
  position: relative;
}
.about-hero .lede { font-size: clamp(22px, 2.3vw, 30px); color: var(--ink-900); font-weight: 500; line-height: 1.4; max-width: 22ch; }
@media (max-width: 720px) { .about-hero { padding: 64px 0 32px; } }

.story-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 64px 0;
  border-top: 1px solid var(--ink-100);
}
.story-block h2 { font-size: clamp(28px, 3vw, 38px); }
.story-block .body p { font-size: 17px; line-height: 1.7; color: var(--ink-700); margin-bottom: 20px; max-width: 60ch; }
.story-block .body p:last-child { margin-bottom: 0; }
.story-block .body .em-line { color: var(--ink-900); font-weight: 500; }
@media (max-width: 880px) { .story-block { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; } }

.founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding: 96px 0;
  align-items: start;
  border-top: 1px solid var(--ink-100);
}
.founder .photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--sand);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
}
.founder .photo .silhouette {
  width: 70%;
  margin-bottom: -2%;
}
.founder .photo::after {
  content: ''; position: absolute; top: 16px; right: 16px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--saffron);
}
.founder .body .name { font-size: 13px; color: var(--teal); font-weight: 500; letter-spacing: 0.04em; text-transform: none; }
.founder .body h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.2; margin-top: 8px; letter-spacing: -0.015em; }
.founder .body p { font-size: 16.5px; color: var(--ink-700); line-height: 1.7; margin-top: 18px; max-width: 56ch; }
.founder .sig {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-100);
  font-family: var(--font-ar);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-900);
  max-width: 36ch;
}
.founder .sig .em { color: var(--saffron); font-weight: 600; }
.founder .sig .by { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-500); font-weight: 400; }
@media (max-width: 880px) {
  .founder { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .founder .photo { max-width: 220px; aspect-ratio: 4/5; }
}

.values-block {
  padding: 96px 0;
  background: var(--sand);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.value-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
  border: 1px solid rgba(20,32,31,0.04);
  transition: transform 360ms cubic-bezier(.2,.7,.3,1), box-shadow 360ms ease;
}
.value-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(20,32,31,0.18); }
.value-card .v-num {
  font-family: var(--font-en); font-size: 13px; color: var(--saffron); font-weight: 600; direction: ltr; letter-spacing: 0.04em;
}
.value-card h4 { font-size: 22px; font-weight: 600; }
.value-card p { font-size: 15.5px; color: var(--ink-500); line-height: 1.65; }
@media (max-width: 880px) {
  .values-block { padding: 64px 0; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
}

.contact-block {
  padding: 120px 0;
  text-align: center;
}
.contact-block h2 { font-size: clamp(32px, 3.6vw, 48px); max-width: 18ch; margin: 0 auto; letter-spacing: -0.018em; }
.contact-block p { margin-top: 20px; font-size: 17px; color: var(--ink-500); line-height: 1.6; max-width: 48ch; margin-left: auto; margin-right: auto; }
.contact-block .ctas { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-block .email-link {
  display: inline-block; margin-top: 28px; font-size: 15px; color: var(--ink-500);
}
.contact-block .email-link a { color: var(--ink-900); border-bottom: 1px solid var(--ink-300); padding-bottom: 2px; transition: border-color 280ms ease; }
.contact-block .email-link a:hover { border-color: var(--teal); }

@media (max-width: 720px) { .contact-block { padding: 72px 0; } }

/* ─── Section heads ─── */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 8px;
}
.section-head .left { display: flex; flex-direction: column; gap: 16px; }
.section-head .left h2 { max-width: 16ch; }
.section-head .right { font-size: 16px; color: var(--ink-500); line-height: 1.65; max-width: 44ch; padding-bottom: 6px; }

@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head .right { padding-bottom: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   Founder avatar (Ahmed) — drops Ahmed's portrait SVG into the
   3 placements (home trust, about founder photo, contact founder).
   The SVG is a self-contained composition (sand bg + accent ring +
   character + saffron accent dot), so we strip the parent frames'
   redundant background + dot.
   ═══════════════════════════════════════════════════════════════ */

/* Universal: fill the parent at full width, preserve aspect ratio */
.avatar-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;     /* match parent's rounding (circle or rounded square) */
}

/* Home — trust section avatar (76×76 circle).
   Remove the gradient background since the SVG has its own. */
.trust .avatar:has(.avatar-img) {
  background: transparent;
}
.trust .avatar .avatar-img {
  width: 100%;
  height: 100%;
}

/* About — founder photo block.
   Change to square (1/1) since the SVG is square; remove sand bg + saffron dot. */
.founder .photo:has(.avatar-img) {
  aspect-ratio: 1 / 1;
  background: transparent;
  max-width: 280px;            /* a touch smaller than 4/5 was — feels right square */
}
.founder .photo:has(.avatar-img)::after {
  display: none;               /* SVG already has the saffron accent built in */
}
@media (max-width: 880px) {
  .founder .photo:has(.avatar-img) {
    max-width: 200px;
  }
}

/* Contact — founder-card avatar (140×140 circle).
   Remove sand bg + saffron dot since SVG provides both. */
.founder-card .avatar:has(.avatar-img) {
  background: transparent;
  border: none;
}
.founder-card .avatar:has(.avatar-img)::after {
  display: none;
}

/* Fallback for browsers without :has() support (very few in 2026).
   The page still works — just shows the SVG inside the existing frame,
   which means a slight double-background. Acceptable graceful degrade. */
