/*
Theme Name: WikiLeads
Theme URI: https://wikileads.co
Author: WikiLeads
Description: Bilingual (EN/AR) theme for WikiLeads — B2B lead generation and sales development across Saudi Arabia, Egypt and MENA.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wikileads
*/

/* ============================================================
   1. FONTS
   ============================================================ */
@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('assets/fonts/gabarito-latin.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: 'Gabarito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('assets/fonts/gabarito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/sora-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/cairo-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: 'Cairo';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/cairo-latin.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;
}

/* ============================================================
   2. TOKENS
   ============================================================ */
:root {
  /* Brand — sampled directly from the WikiLeads company profile */
  --wl-ink:        #1C1C1E;
  --wl-accent:     #8CD6FF;
  --wl-accent-dp:  #2A9FD6;   /* accessible accent for text on white */
  --wl-canvas:     #F5F5F7;
  --wl-surface:    #FFFFFF;
  --wl-body:       #5C5C61;
  --wl-border:     #E2E2E7;
  --wl-on-dark:    #ADADAD;
  --wl-ink-soft:   #38383A;

  --wl-font-head: 'Gabarito', 'Trebuchet MS', system-ui, sans-serif;
  --wl-font-body: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wl-max:  1180px;
  --wl-gap:  clamp(16px, 2.2vw, 26px);
  --wl-pad:  clamp(20px, 5vw, 48px);
  --wl-sect: clamp(64px, 9vw, 128px);

  --wl-r-sm: 10px;
  --wl-r:    16px;
  --wl-r-lg: 22px;
  --wl-r-pill: 999px;

  --wl-shadow: 0 1px 2px rgba(28,28,30,.04), 0 8px 24px -12px rgba(28,28,30,.10);
  --wl-shadow-lg: 0 2px 4px rgba(28,28,30,.05), 0 24px 60px -24px rgba(28,28,30,.20);
}

html[lang^="ar"] {
  --wl-font-head: 'Cairo', 'Gabarito', system-ui, sans-serif;
  --wl-font-body: 'Cairo', system-ui, sans-serif;
}

/* ============================================================
   3. BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--wl-canvas);
  color: var(--wl-body);
  font-family: var(--wl-font-body);
  font-size: clamp(15.5px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--wl-font-head);
  color: var(--wl-ink);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3,
html[lang^="ar"] h4, html[lang^="ar"] h5 { letter-spacing: 0; line-height: 1.3; }

h1 { font-size: clamp(2.35rem, 5.6vw, 4.05rem); }
h2 { font-size: clamp(1.95rem, 4.1vw, 3.05rem); }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.35rem); }
h4 { font-size: 1.03rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

img, svg, video { max-width: 100%; height: auto; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

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

.wl-skip {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 999;
  background: var(--wl-ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--wl-r-sm) 0;
  font-family: var(--wl-font-head); font-weight: 700;
}
.wl-skip:focus { inset-inline-start: 0; }

.wl-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.wl-wrap {
  width: 100%;
  max-width: var(--wl-max);
  margin-inline: auto;
  padding-inline: var(--wl-pad);
}

.wl-section { padding-block: var(--wl-sect); }
.wl-section--tight { padding-block: clamp(48px, 6vw, 84px); }

.wl-section--dark {
  background: var(--wl-ink);
  color: var(--wl-on-dark);
}
.wl-section--dark h1, .wl-section--dark h2,
.wl-section--dark h3, .wl-section--dark h4 { color: #fff; }

/* Eyebrow — "01 — WHO WE ARE" */
.wl-eyebrow {
  font-family: var(--wl-font-head);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--wl-ink);
  margin: 0 0 .95rem;
  display: block;
}
html[lang^="ar"] .wl-eyebrow { letter-spacing: .04em; }
.wl-section--dark .wl-eyebrow { color: var(--wl-accent); }

.wl-lede {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.62;
  max-width: 62ch;
  color: var(--wl-body);
}
.wl-section--dark .wl-lede { color: var(--wl-on-dark); }

.wl-kicker {
  font-family: var(--wl-font-head);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.1vw, 1.6rem);
  color: var(--wl-ink);
  line-height: 1.32;
  letter-spacing: -0.015em;
  max-width: 46ch;
  margin: 0;
}
.wl-section--dark .wl-kicker { color: #fff; }

.wl-head { max-width: 70ch; margin-bottom: clamp(32px, 4.5vw, 56px); }
.wl-head > :last-child { margin-bottom: 0; }

/* ============================================================
   5. LOGO
   ============================================================ */
.wl-logo {
  display: inline-flex;
  align-items: center;
  gap: .16em;
  font-family: var(--wl-font-head);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--wl-ink);
  direction: ltr;
}
.wl-logo__wiki { color: currentColor; }
.wl-logo__badge {
  position: relative;
  background: var(--wl-accent);
  color: var(--wl-ink);
  border-radius: .30em;
  padding: .13em .20em .16em;
  letter-spacing: -0.02em;
}
/* speech-bubble tail, bottom-start corner */
.wl-logo__badge::after {
  content: '';
  position: absolute;
  inset-inline-start: .015em;
  bottom: -.13em;
  width: .26em;
  height: .22em;
  background: var(--wl-accent);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.wl-logo--light { color: #fff; }
.wl-logo--sm { font-size: 1.32rem; }
.wl-logo--xl { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.wl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--wl-font-head);
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: -0.005em;
  padding: .86em 1.5em;
  border-radius: var(--wl-r-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.wl-btn:hover { transform: translateY(-2px); }
.wl-btn:active { transform: translateY(0); }

.wl-btn--primary { background: var(--wl-accent); color: var(--wl-ink); box-shadow: 0 10px 26px -14px rgba(140,214,255,.9); }
.wl-btn--primary:hover { background: #A2DEFF; box-shadow: 0 16px 32px -14px rgba(140,214,255,1); }

.wl-btn--ink { background: var(--wl-ink); color: #fff; }
.wl-btn--ink:hover { background: #303033; }

.wl-btn--ghost { border-color: var(--wl-border); color: var(--wl-ink); background: transparent; }
.wl-btn--ghost:hover { border-color: var(--wl-ink); background: var(--wl-surface); }

.wl-section--dark .wl-btn--ghost,
.wl-hero .wl-btn--ghost,
.wl-cta .wl-btn--ghost {
  border-color: rgba(255,255,255,.28); color: #fff;
}
.wl-section--dark .wl-btn--ghost:hover,
.wl-hero .wl-btn--ghost:hover,
.wl-cta .wl-btn--ghost:hover {
  border-color: #fff; background: rgba(255,255,255,.07);
}

.wl-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Text link with arrow */
.wl-arrow {
  font-family: var(--wl-font-head);
  font-weight: 700;
  color: var(--wl-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  border-bottom: 2px solid var(--wl-accent);
  padding-bottom: 2px;
  transition: gap .18s ease;
}
.wl-arrow:hover { gap: .85em; }
.wl-arrow::after { content: '→'; }
html[dir="rtl"] .wl-arrow::after { content: '←'; }
.wl-section--dark .wl-arrow { color: #fff; }

/* ============================================================
   7. CARDS & GRIDS
   ============================================================ */
.wl-grid { display: grid; gap: var(--wl-gap); }
.wl-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wl-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wl-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .wl-grid--3, .wl-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wl-grid--2, .wl-grid--3, .wl-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.wl-card {
  background: var(--wl-surface);
  border: 1px solid var(--wl-border);
  border-radius: var(--wl-r);
  padding: clamp(20px, 2.4vw, 30px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wl-card h3, .wl-card h4 { margin-bottom: .45em; }
.wl-card p { font-size: .945rem; line-height: 1.6; margin: 0; }

.wl-card--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--wl-shadow);
  border-color: #D3D3DA;
}

.wl-section--dark .wl-card {
  background: #232326;
  border-color: #313135;
}
.wl-section--dark .wl-card p { color: var(--wl-on-dark); }

/* Numbered card */
.wl-num {
  font-family: var(--wl-font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--wl-accent-dp);
  line-height: 1;
  margin-bottom: .5rem;
  display: block;
}
.wl-section--dark .wl-num { color: var(--wl-accent); }

/* Bullet row — "— Sales teams spend too much time…" */
.wl-rows { display: grid; gap: 10px; }
.wl-row {
  background: var(--wl-surface);
  border: 1px solid var(--wl-border);
  border-radius: var(--wl-r-sm);
  padding: 15px 20px;
  display: flex;
  gap: .8em;
  align-items: baseline;
  font-size: .95rem;
  line-height: 1.5;
}
.wl-row::before {
  content: '—';
  color: var(--wl-accent-dp);
  font-weight: 700;
  flex: none;
}
.wl-row--check::before { content: '✓'; font-size: .95em; }

/* Chips */
.wl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wl-chip {
  background: var(--wl-surface);
  border: 1px solid var(--wl-border);
  border-radius: var(--wl-r-pill);
  padding: .58em 1.15em;
  font-size: .92rem;
  color: var(--wl-ink);
  line-height: 1.4;
}
.wl-chip--solid { background: var(--wl-ink); color: #fff; border-color: var(--wl-ink); font-family: var(--wl-font-head); font-weight: 700; }
.wl-chip--accent { background: var(--wl-ink); color: var(--wl-accent); border-color: var(--wl-ink); font-family: var(--wl-font-head); font-weight: 700; }
.wl-section--dark .wl-chip { background: #232326; border-color: #313135; color: #EDEDEF; }

/* Flow: Identify → Map → Engage → Qualify → Book */
.wl-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}
.wl-flow__step {
  flex: 1 1 150px;
  background: var(--wl-surface);
  border: 1px solid var(--wl-border);
  border-radius: var(--wl-r-sm);
  padding: 1.05em .9em;
  text-align: center;
  font-family: var(--wl-font-head);
  font-weight: 700;
  color: var(--wl-ink);
  font-size: 1rem;
}
.wl-flow__step--end { background: var(--wl-ink); color: var(--wl-accent); border-color: var(--wl-ink); }
.wl-flow__arrow {
  align-self: center;
  color: var(--wl-body);
  font-size: 1.15rem;
  flex: none;
}
html[dir="rtl"] .wl-flow__arrow { transform: scaleX(-1); }
@media (max-width: 720px) {
  .wl-flow { flex-direction: column; }
  .wl-flow__arrow { transform: rotate(90deg); }
  html[dir="rtl"] .wl-flow__arrow { transform: rotate(90deg) scaleX(-1); }
}

/* Split — text left, panel right */
.wl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}
@media (max-width: 900px) { .wl-split { grid-template-columns: minmax(0,1fr); } }

.wl-panel {
  background: var(--wl-surface);
  border: 1px solid var(--wl-border);
  border-radius: var(--wl-r-lg);
  padding: clamp(24px, 3vw, 38px);
}
.wl-panel__title {
  font-family: var(--wl-font-head);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--wl-ink);
  margin: 0 0 1.15rem;
}
html[lang^="ar"] .wl-panel__title { letter-spacing: .04em; }

.wl-list { display: grid; gap: .8rem; }
.wl-list li { font-size: .95rem; line-height: 1.55; }
.wl-list--divided li { border-bottom: 1px solid var(--wl-border); padding-bottom: .8rem; }
.wl-list--divided li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ============================================================
   8. HEADER
   ============================================================ */
.wl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,245,247,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.wl-header.is-stuck { border-bottom-color: var(--wl-border); }

.wl-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.wl-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.wl-nav a {
  font-family: var(--wl-font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--wl-ink);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}
.wl-nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--wl-accent);
  transform: scaleX(0);
  transform-origin: var(--wl-origin, left);
  transition: transform .2s ease;
}
html[dir="rtl"] .wl-nav a::after { --wl-origin: right; }
.wl-nav a:hover::after, .wl-nav a[aria-current="page"]::after { transform: scaleX(1); }

.wl-header__actions { display: flex; align-items: center; gap: 12px; }

.wl-lang {
  font-family: var(--wl-font-head);
  font-weight: 700;
  font-size: .88rem;
  color: var(--wl-ink);
  text-decoration: none;
  border: 1.5px solid var(--wl-border);
  border-radius: var(--wl-r-pill);
  padding: .48em 1em;
  transition: border-color .18s ease, background-color .18s ease;
}
.wl-lang:hover { border-color: var(--wl-ink); background: var(--wl-surface); }

.wl-burger {
  display: none;
  background: transparent;
  border: 1.5px solid var(--wl-border);
  border-radius: var(--wl-r-sm);
  width: 42px; height: 42px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.wl-burger span, .wl-burger span::before, .wl-burger span::after {
  display: block; width: 18px; height: 2px; background: var(--wl-ink); border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.wl-burger span { position: relative; }
.wl-burger span::before, .wl-burger span::after { content: ''; position: absolute; inset-inline-start: 0; }
.wl-burger span::before { top: -6px; }
.wl-burger span::after  { top: 6px; }
.wl-burger[aria-expanded="true"] span { background: transparent; }
.wl-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.wl-burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .wl-burger { display: inline-flex; }
  .wl-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--wl-surface);
    border-bottom: 1px solid var(--wl-border);
    padding: 8px var(--wl-pad) 20px;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .wl-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .wl-nav a { padding: 14px 0; border-bottom: 1px solid var(--wl-border); font-size: 1.05rem; }
  .wl-nav a::after { display: none; }
  .wl-nav .wl-btn { margin-top: 16px; }
}

/* ============================================================
   9. HERO
   ============================================================ */
.wl-hero {
  background: var(--wl-ink);
  color: var(--wl-on-dark);
  padding-block: clamp(72px, 11vw, 150px);
  position: relative;
  overflow: hidden;
}
.wl-hero::before {
  content: '';
  position: absolute;
  inset-inline-end: -14%;
  top: -34%;
  width: min(760px, 82vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(140,214,255,.17) 0%, rgba(140,214,255,0) 68%);
  pointer-events: none;
}
.wl-hero__inner { position: relative; max-width: 24ch; }
.wl-hero h1 { color: #fff; margin-bottom: .3em; }
.wl-hero h1 .wl-hl { color: var(--wl-accent); }
.wl-hero__sub {
  font-size: clamp(1.05rem, 1.75vw, 1.32rem);
  color: var(--wl-on-dark);
  max-width: 52ch;
  margin-bottom: 2.1rem;
  line-height: 1.55;
}
.wl-hero__meta {
  margin-top: 2.6rem;
  font-family: var(--wl-font-head);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #7E7E85;
}
html[lang^="ar"] .wl-hero__meta { letter-spacing: .04em; }
.wl-hero__inner { max-width: none; }

/* ============================================================
   10. CTA BAND
   ============================================================ */
.wl-cta {
  background: var(--wl-ink);
  color: var(--wl-on-dark);
  text-align: center;
  padding-block: clamp(64px, 9vw, 120px);
}
.wl-cta h2 { color: #fff; margin-bottom: .55em; }
.wl-cta p { max-width: 56ch; margin-inline: auto; margin-bottom: 2rem; }
.wl-cta .wl-btns { justify-content: center; }
.wl-cta .wl-logo { margin-bottom: 1.6rem; }

/* ============================================================
   11. FOOTER
   ============================================================ */
.wl-footer {
  background: var(--wl-ink);
  color: var(--wl-on-dark);
  padding-block: clamp(48px, 6vw, 76px) 32px;
  border-top: 1px solid #2B2B2E;
}
.wl-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 52px);
}
@media (max-width: 820px) { .wl-footer__top { grid-template-columns: minmax(0,1fr); } }

.wl-footer h4 {
  font-size: .74rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
  font-weight: 700;
}
html[lang^="ar"] .wl-footer h4 { letter-spacing: .04em; }
.wl-footer a { color: var(--wl-on-dark); text-decoration: none; transition: color .18s ease; }
.wl-footer a:hover { color: var(--wl-accent); }
.wl-footer__links { display: grid; gap: .7rem; font-size: .95rem; }
.wl-footer__blurb { font-size: .95rem; max-width: 40ch; margin-top: 1.1rem; }
.wl-footer__bottom {
  border-top: 1px solid #2B2B2E;
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: .85rem;
  color: #77777D;
}

/* ============================================================
   12. CONTACT
   ============================================================ */
.wl-form { display: grid; gap: 16px; }
.wl-field { display: grid; gap: 7px; }
.wl-field label {
  font-family: var(--wl-font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--wl-ink);
}
.wl-field input, .wl-field select, .wl-field textarea {
  font-family: var(--wl-font-body);
  font-size: .97rem;
  color: var(--wl-ink);
  background: var(--wl-surface);
  border: 1.5px solid var(--wl-border);
  border-radius: var(--wl-r-sm);
  padding: .8em .95em;
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.wl-field textarea { min-height: 140px; resize: vertical; }
.wl-field input:focus, .wl-field select:focus, .wl-field textarea:focus {
  outline: none;
  border-color: var(--wl-accent-dp);
  box-shadow: 0 0 0 3px rgba(140,214,255,.35);
}
.wl-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .wl-form__row { grid-template-columns: minmax(0,1fr); } }

.wl-note { font-size: .85rem; color: #83838A; }

.wl-alert {
  border-radius: var(--wl-r-sm);
  padding: 14px 18px;
  font-size: .95rem;
  border: 1px solid;
}
.wl-alert--ok  { background: #EAF7EE; border-color: #BFE3CB; color: #1E5B33; }
.wl-alert--err { background: #FDEDED; border-color: #F3C9C9; color: #7A2020; }

.wl-contact-list { display: grid; gap: 1.4rem; }
.wl-contact-list dt {
  font-family: var(--wl-font-head);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #83838A;
  margin-bottom: .3rem;
}
html[lang^="ar"] .wl-contact-list dt { letter-spacing: .04em; }
.wl-contact-list dd {
  margin: 0;
  font-family: var(--wl-font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--wl-ink);
}
.wl-contact-list dd a { text-decoration: none; }
.wl-contact-list dd a:hover { color: var(--wl-accent-dp); }

/* ============================================================
   13. PAGE HEADER (interior pages)
   ============================================================ */
.wl-pagehead {
  background: var(--wl-ink);
  color: var(--wl-on-dark);
  padding-block: clamp(56px, 7.5vw, 104px) clamp(52px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.wl-pagehead::before {
  content: '';
  position: absolute;
  inset-inline-end: -18%;
  top: -50%;
  width: min(660px, 78vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(140,214,255,.14) 0%, rgba(140,214,255,0) 68%);
  pointer-events: none;
}
.wl-pagehead__inner { position: relative; }
.wl-pagehead h1 { color: #fff; margin-bottom: .35em; }
.wl-pagehead p { max-width: 60ch; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.wl-pagehead .wl-eyebrow { color: var(--wl-accent); }

/* Editor content (WordPress pages/posts) */
.wl-prose { max-width: 72ch; }
.wl-prose h2 { margin-top: 1.8em; }
.wl-prose h3 { margin-top: 1.5em; }
.wl-prose ul, .wl-prose ol { padding-inline-start: 1.3em; margin-bottom: 1.1em; }
.wl-prose ul { list-style: disc; }
.wl-prose ol { list-style: decimal; }
.wl-prose li { margin-bottom: .5em; }
.wl-prose a { color: var(--wl-accent-dp); }
.wl-prose img { border-radius: var(--wl-r); margin-block: 1.5em; }
.wl-prose blockquote {
  margin: 1.5em 0;
  padding-inline-start: 1.2em;
  border-inline-start: 3px solid var(--wl-accent);
  font-size: 1.08rem;
}

/* ============================================================
   14. REVEAL ANIMATION
   ============================================================ */
.wl-reveal { opacity: 0; transform: translateY(16px); }
.wl-reveal.is-in { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
@media (prefers-reduced-motion: reduce) { .wl-reveal { opacity: 1; transform: none; } }

/* ============================================================
   15. HERO DENSITY — two-column hero so wide screens don't read empty
   ============================================================ */
.wl-hero { padding-block: clamp(52px, 6.5vw, 96px); }

.wl-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.wl-hero__copy > :last-child { margin-bottom: 0; }
.wl-hero__sub  { margin-bottom: 1.9rem; }
.wl-hero__meta { margin-top: 2rem; }

@media (max-width: 1000px) {
  .wl-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* Pipeline card sitting beside the hero copy */
.wl-pipe {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--wl-r-lg);
  padding: clamp(20px, 2.4vw, 28px);
}
.wl-pipe__title {
  font-family: var(--wl-font-head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wl-accent);
  margin: 0 0 1.15rem;
}
html[lang^="ar"] .wl-pipe__title { letter-spacing: .04em; }

.wl-pipe__list { display: grid; gap: 8px; }
.wl-pipe__item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 12px 16px;
}
.wl-pipe__item--end { background: var(--wl-accent); border-color: var(--wl-accent); }

.wl-pipe__n {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--wl-font-head);
  font-weight: 800;
  font-size: .78rem;
  color: var(--wl-accent);
  background: rgba(140,214,255,.14);
}
.wl-pipe__item--end .wl-pipe__n { color: var(--wl-ink); background: rgba(28,28,30,.14); }

.wl-pipe__t {
  font-family: var(--wl-font-head);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  line-height: 1.25;
}
.wl-pipe__item--end .wl-pipe__t { color: var(--wl-ink); }

.wl-pipe__d {
  display: block;
  font-family: var(--wl-font-body);
  font-weight: 400;
  font-size: .82rem;
  color: var(--wl-on-dark);
  margin-top: 2px;
}
.wl-pipe__item--end .wl-pipe__d { color: rgba(28,28,30,.72); }

/* ============================================================
   16. PRINT
   ============================================================ */
@media print {
  .wl-header, .wl-footer, .wl-cta, .wl-burger { display: none !important; }
  body { background: #fff; color: #000; }
  .wl-hero, .wl-pagehead, .wl-section--dark { background: #fff !important; color: #000 !important; }
  .wl-hero h1, .wl-pagehead h1 { color: #000 !important; }
}
