/* Fonts hosted on this site (no requests to Google). Source: Fontsource, SIL Open Font License 1.1 */
@font-face{font-family:'Sora';font-style:normal;font-display:swap;font-weight:400;src:url('../fonts/sora-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Sora';font-style:normal;font-display:swap;font-weight:600;src:url('../fonts/sora-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Sora';font-style:normal;font-display:swap;font-weight:700;src:url('../fonts/sora-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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-display:swap;font-weight:400;src:url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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-display:swap;font-weight:500;src:url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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-display:swap;font-weight:600;src:url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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 Mono';font-style:normal;font-display:swap;font-weight:500;src:url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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 Arabic';font-style:normal;font-display:swap;font-weight:400;src:url('../fonts/ibm-plex-sans-arabic-arabic-400-normal.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,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-display:swap;font-weight:400;src:url('../fonts/ibm-plex-sans-arabic-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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 Arabic';font-style:normal;font-display:swap;font-weight:500;src:url('../fonts/ibm-plex-sans-arabic-arabic-500-normal.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,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-display:swap;font-weight:500;src:url('../fonts/ibm-plex-sans-arabic-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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 Arabic';font-style:normal;font-display:swap;font-weight:700;src:url('../fonts/ibm-plex-sans-arabic-arabic-700-normal.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,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-display:swap;font-weight:700;src:url('../fonts/ibm-plex-sans-arabic-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* ==========================================================================
   Nodeward Technologies — site styles (v2)
   Night ground, photographic heroes, editorial service rows, one light section.
   ========================================================================== */

:root {
  --night: #0C1018;
  --surface: #0C1018;
  --surface-raised: #151A26;
  --charcoal: #1A1F2C;
  --border: #242B3A;
  --border-strong: #5B6475;
  --ink: #F3F5F8;
  --ink-muted: #98A0B3;
  --teal: #00B8A9;
  --teal-deep: #007A70;
  --teal-hover: #33CBBE;
  --mist: #F3F5F8;
  --mist-ink: #1A1F2C;
  --mist-muted: #5B6475;
  --mist-border: #D5DAE3;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
  --font-arabic: 'IBM Plex Sans Arabic', 'IBM Plex Sans', Tahoma, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --wrap: 1200px;
  --pad: 28px;
  --section: 128px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: var(--font-arabic); line-height: 1.95; }

img, svg { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-hover); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 {
  font-family: var(--font-arabic); font-weight: 700; letter-spacing: 0; line-height: 1.4;
}
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* The gateway rule: the brand's one recurring device, a teal line leaving a frame. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 48px; height: 2px; background: var(--teal); flex: none; }

.lead { font-size: 20px; line-height: 1.6; color: var(--ink-muted); max-width: 58ch; }
.muted { color: var(--ink-muted); }

/* ---------- accessibility chrome ---------- */
.skip { position: absolute; inset-inline-start: -9999px; top: 0; z-index: 100; background: var(--teal); color: var(--night); padding: 12px 20px; border-radius: var(--radius); }
.skip:focus { inset-inline-start: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 16px; font-weight: 500; white-space: nowrap;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
html[lang="ar"] .btn { font-family: var(--font-arabic); }
.btn-primary { background: var(--teal); color: var(--night); }
.btn-primary:hover { background: var(--teal-hover); color: var(--night); }
.btn-ghost { border-color: rgba(243, 245, 248, .28); color: var(--ink); background: rgba(12, 16, 24, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--night); color: var(--ink); }
.btn-dark:hover { background: #000; color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 16, 24, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a.nav-link { color: var(--ink-muted); text-decoration: none; font-size: 15px; white-space: nowrap; padding: 8px 0; transition: color .18s ease; }
.nav a.nav-link:hover { color: var(--ink); }
.nav a.nav-link[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--teal); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

.lang { display: inline-flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.lang > * { display: inline-flex; align-items: center; padding: 0 13px; min-height: 42px; font-size: 14px; text-decoration: none; }
.lang .is-active { background: var(--surface-raised); color: var(--ink); font-weight: 500; }
.lang a { color: var(--ink-muted); } .lang a:hover { color: var(--ink); }
.lang .lang-en { font-family: var(--font-sans); font-size: 13.5px; letter-spacing: .04em; }
.lang .lang-ar { font-family: var(--font-arabic); font-size: 15px; }

.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; background: transparent; border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink); }

/* ---------- sections ---------- */
main { display: block; }
.section { padding: var(--section) 0; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--surface-raised); }

.section-head { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); }

/* light section: mist ground, charcoal ink */
.section-light { background: var(--mist); color: var(--mist-ink); }
.section-light .muted, .section-light .lead { color: var(--mist-muted); }
.section-light .eyebrow { color: var(--teal-deep); }
.section-light .eyebrow::before { background: var(--teal-deep); }
.section-light h2, .section-light h3 { color: var(--mist-ink); }
.section-light .feature-list li, .section-light .card, .section-light .step { border-top-color: var(--mist-border); }
.section-light .figure figcaption { color: var(--mist-muted); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: 112px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 16, 24, .97) 0%, rgba(12, 16, 24, .9) 40%, rgba(12, 16, 24, .55) 100%),
    linear-gradient(180deg, rgba(12, 16, 24, .2) 0%, rgba(12, 16, 24, .96) 100%);
}
[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(12, 16, 24, .97) 0%, rgba(12, 16, 24, .9) 40%, rgba(12, 16, 24, .55) 100%),
    linear-gradient(180deg, rgba(12, 16, 24, .2) 0%, rgba(12, 16, 24, .96) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 72px; align-items: end; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); max-width: 14ch; }
html[lang="ar"] .hero h1 { font-size: clamp(36px, 5.2vw, 64px); max-width: 16ch; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* one orchestrated entrance, nothing else moves on its own */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero .panel { opacity: 0; animation: rise .8s .3s cubic-bezier(.2, .7, .2, 1) forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

.panel {
  background: rgba(21, 26, 38, .78);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
}
.panel-title { display: block; margin-bottom: 20px; font-size: 15px; font-weight: 500; color: var(--ink-muted); }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.check-list svg { flex: none; margin-top: 4px; color: var(--teal); }
.panel-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.panel-foot strong { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; }
html[lang="ar"] .panel-foot strong { font-family: var(--font-arabic); }

/* ---------- strengths: four quiet statements ---------- */
.strengths { border-block: 1px solid var(--border); background: var(--surface); }
.strengths ul {
  list-style: none; margin: 0; padding: 28px 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px;
  font-size: 15.5px; line-height: 1.5; color: var(--ink-muted);
}
.strengths li { padding-inline-start: 16px; border-inline-start: 1px solid var(--teal); }

/* ---------- service rows (home) ---------- */
.service-rows { display: flex; flex-direction: column; margin-top: 56px; border-top: 1px solid var(--border); }
.service-rows .card {
  display: grid; grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.4fr) auto;
  gap: 32px; align-items: start;
  padding: 36px 0; border: 0; border-bottom: 1px solid var(--border);
  background: none; border-radius: 0; text-decoration: none; color: inherit;
  transition: padding-inline-start .25s ease;
}
.service-rows .card:hover { padding-inline-start: 8px; }
.service-rows .card .icon { color: var(--teal); margin-top: 6px; }
.service-rows .card h3 { font-size: 28px; }
.service-rows .card p { margin: 0; color: var(--ink-muted); font-size: 16.5px; }
.service-rows .card .card-more { color: var(--ink); font-size: 15px; white-space: nowrap; margin-top: 10px; text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 5px; }

/* ---------- generic cards (service pages) ---------- */
.grid { display: grid; gap: 32px 40px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border-top: 1px solid var(--border); padding: 24px 0 8px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.card h3 { font-size: 22px; }
.card .muted { font-size: 16px; }
.card svg.icon { color: var(--teal); }

/* ---------- steps (a real sequence) ---------- */
.steps { display: grid; gap: 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; }
.step { border-top: 1px solid var(--border); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step:first-child { border-top-color: var(--teal); }
.step .step-no { font-size: 14px; color: var(--ink-muted); }
.step h3 { font-size: 24px; }
.step .muted { font-size: 16px; }

.feature-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 32px 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-list li { border-top: 1px solid var(--border); padding-top: 20px; }
.feature-list h3 { font-size: 21px; margin-bottom: 8px; }
.feature-list .muted { font-size: 16px; }

/* ---------- photography ---------- */
.figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.figure figcaption { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.figure-wide { margin-top: 48px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 24px; margin-top: 56px; }
.photo-grid .figure img { object-fit: cover; }
.photo-grid .figure:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.photo-grid .figure:nth-child(1) img { height: 100%; flex-grow: 1; }
.photo-grid .figure:nth-child(2) { grid-column: 3; grid-row: 1; }
.photo-grid .figure:nth-child(3) { grid-column: 3; grid-row: 2; }
.photo-grid .figure:nth-child(2) img, .photo-grid .figure:nth-child(3) img { aspect-ratio: 4 / 3; }

/* ---------- CTA: full-bleed teal ---------- */
.cta-section { padding: 0; }
.cta { background: var(--teal); color: var(--night); border-radius: 0; padding: 96px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.cta h2 { font-size: clamp(34px, 4.6vw, 56px); color: var(--night); max-width: 14ch; }
.cta p { color: rgba(12, 16, 24, .78); font-size: 18px; max-width: 48ch; margin-top: 16px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-actions span { font-size: 15px; color: rgba(12, 16, 24, .78); }

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  background: var(--night); border: 1px solid var(--border-strong); border-radius: var(--radius);
  color: var(--ink); font-family: inherit; font-size: 16px; padding: 13px 14px; min-height: 50px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(0, 184, 169, .18); }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6B7385; }
.form-note { font-size: 14px; color: var(--ink-muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0 0 18px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--teal); background: rgba(0, 184, 169, .08); font-size: 15px; }
.form-status.is-sent { padding: 28px 24px; text-align: start; }
.form-status.is-sent .form-status-title { font-family: var(--font-display); font-size: 22px; margin: 0 0 8px; color: var(--ink); }
.form-status.is-sent .form-status-title::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); margin-inline-end: 10px; vertical-align: middle; }
.form-status.is-sent p { margin: 0; color: var(--ink-muted); }
.form-status:focus { outline: none; }
.form-status.is-error { border-color: #D64545; background: rgba(214, 69, 69, .08); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 40px; align-items: start; margin-top: 56px; }

.detail-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.detail-list .label { display: block; font-size: 13.5px; color: var(--ink-muted); margin-bottom: 2px; }
.detail-list a { color: var(--ink); text-decoration: none; }
.detail-list a:hover { color: var(--teal); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-grid img { height: 36px; width: auto; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .label { font-size: 14px; color: var(--ink); font-weight: 500; }
.footer-col a { color: var(--ink-muted); text-decoration: none; font-size: 15.5px; }
.footer-col a:hover { color: var(--teal); }
.footer-col .muted { font-size: 15px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 14px; color: var(--ink-muted); }

/* ---------- RTL ---------- */
[dir="rtl"] .ltr { direction: ltr; display: inline-block; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; } .nav a.nav-link { font-size: 14px; }
}
@media (max-width: 1080px) {
  :root { --section: 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strengths ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-rows .card { grid-template-columns: 48px minmax(0, 1fr); gap: 16px 24px; }
  .service-rows .card p, .service-rows .card .card-more { grid-column: 2; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .photo-grid .figure:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
  .photo-grid .figure:nth-child(2), .photo-grid .figure:nth-child(3) { grid-column: auto; grid-row: auto; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  :root { --section: 80px; --pad: 22px; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px var(--pad) 24px; background: var(--night); border-bottom: 1px solid var(--border); }
  .nav.is-open { display: flex; }
  .nav a.nav-link { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 12px; }
  .nav-toggle { display: inline-flex; }
  .site-header { position: relative; }
  .hero { padding: 72px 0 64px; }
  .grid-3, .grid-2, .steps, .feature-list, .form { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 28px; }
  .strengths ul { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cta { padding: 72px 0; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 24px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .photo-grid { grid-template-columns: minmax(0, 1fr); }
  .photo-grid .figure:nth-child(1) { grid-column: auto; }
  .service-rows .card h3 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .cta, .nav-toggle, .hero-bg { display: none; }
  body { background: #fff; color: #111; }
}

/* ==========================================================================
   Motion system (v2.1) — applied only when JS runs and motion is allowed
   ========================================================================== */

/* page settles in */
html.js main { animation: settle .6s ease-out both; }
@keyframes settle { from { opacity: 0; } to { opacity: 1; } }

/* hero: slow drift of the photograph + ambient glow */
html.js .hero-bg { transform: scale(1.12); transition: transform 1.8s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
html.js .hero.is-ready .hero-bg { transform: scale(1.04); }
.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  inset-inline-end: -20vw; top: -20vw;
  background: radial-gradient(closest-side, rgba(0, 184, 169, .16), rgba(0, 184, 169, 0) 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-8vw, 6vw, 0) scale(1.15); }
}

/* header condenses after the first scroll */
.site-header { transition: background-color .3s ease, box-shadow .3s ease; }
.header-inner { transition: min-height .3s ease; }
.site-header.is-scrolled { background: rgba(12, 16, 24, .92); box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 12px 40px rgba(0, 0, 0, .35); }
.site-header.is-scrolled .header-inner { min-height: 68px; }

/* scroll reveals */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* the gateway rule draws itself */
html.js .eyebrow::before { transform: scaleX(0); transform-origin: left center; transition: transform .9s cubic-bezier(.2, .7, .2, 1) .15s; }
html.js [dir="rtl"] .eyebrow::before { transform-origin: right center; }
html.js .is-visible .eyebrow::before, html.js .hero.is-ready .eyebrow::before { transform: scaleX(1); }

/* service rows: a teal edge slides in on hover */
.service-rows .card { position: relative; }
.service-rows .card::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 2px;
  background: var(--teal); transform: scaleY(0); transform-origin: top; transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.service-rows .card:hover::before { transform: scaleY(1); }
.service-rows .card h3 { transition: color .25s ease; }
.service-rows .card:hover h3 { color: var(--teal); }

/* photographs: contained zoom */
.figure { overflow: visible; }
.figure .frame { overflow: hidden; border-radius: var(--radius-lg); display: block; flex-grow: 1; }
.figure .frame img { border-radius: 0; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.figure:hover .frame img { transform: scale(1.04); }
.photo-grid .figure:nth-child(1) .frame { height: 100%; }
.photo-grid .figure:nth-child(1) .frame img { height: 100%; object-fit: cover; }

/* buttons and links breathe */
.btn { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 184, 169, .28); }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.card-more, .detail-list a, .footer-col a { position: relative; }
.service-rows .card .card-more { text-decoration: none; background-image: linear-gradient(var(--teal), var(--teal)); background-size: 0 1px; background-repeat: no-repeat; background-position: left bottom; padding-bottom: 3px; transition: background-size .35s cubic-bezier(.2, .7, .2, 1); }
.service-rows .card:hover .card-more { background-size: 100% 1px; }
[dir="rtl"] .service-rows .card .card-more { background-position: right bottom; }

/* CTA: a slow light moves across the band */
.cta { position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: -40% -20%; pointer-events: none;
  background: radial-gradient(40% 60% at 30% 50%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%);
  animation: sweep 14s ease-in-out infinite alternate;
}
@keyframes sweep { from { transform: translate3d(-10%, 0, 0); } to { transform: translate3d(35%, 10%, 0); } }
.cta .wrap { position: relative; }

/* mobile nav slides */
@media (max-width: 860px) {
  .nav { transform: translateY(-8px); opacity: 0; transition: transform .25s ease, opacity .25s ease; pointer-events: none; display: flex; }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
}

/* Reduced motion: keep the life, remove the travel.
   Cross-fades and colour changes stay; parallax, drift, zoom and large movement go. */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { transform: none; transition: opacity .6s ease; }
  html.js .eyebrow::before { transform: none; transition: none; }
  html.js .hero-bg { transform: none !important; transition: none; }
  html.js .hero-copy > *, html.js .hero .panel { transform: none; animation: fadeOnly .6s ease forwards; }
  @keyframes fadeOnly { to { opacity: 1; } }
  .hero::after, .cta::before { animation: none; }
  .figure .frame img { transition: none; }
  .figure:hover .frame img { transform: none; }
  .btn-primary:hover { transform: none; box-shadow: none; }
  .service-rows .card { transition: none; }
  .service-rows .card:hover { padding-inline-start: 8px; }
  .service-rows .card::before { transition: none; }
}

/* ==========================================================================
   Hover and focus states (v2.2) — every interactive or scannable block responds
   ========================================================================== */

/* cards on service pages: tinted field, teal rule, title turns teal */
.grid .card, .steps .step, .feature-list li {
  position: relative;
  padding-inline: 20px;
  margin-inline: -20px;
  border-radius: var(--radius-lg);
  transition: background-color .25s ease, border-color .25s ease;
}
.grid .card:hover, .steps .step:hover, .feature-list li:hover,
.grid .card:focus-within, .steps .step:focus-within, .feature-list li:focus-within {
  background: rgba(255, 255, 255, .035);
  border-top-color: var(--teal);
}
.section-light .grid .card:hover, .section-light .feature-list li:hover, .section-light .steps .step:hover {
  background: rgba(26, 31, 44, .05);
  border-top-color: var(--teal-deep);
}
.grid .card h3, .steps .step h3, .feature-list h3 { transition: color .25s ease; }
.grid .card:hover h3, .steps .step:hover h3, .feature-list li:hover h3 { color: var(--teal); }
.section-light .feature-list li:hover h3 { color: var(--teal-deep); }
.grid .card:hover svg.icon { color: var(--teal-hover); }

/* strengths */
.strengths li { transition: color .25s ease, border-color .25s ease; }
.strengths li:hover { color: var(--ink); border-inline-start-color: var(--teal-hover); border-inline-start-width: 2px; padding-inline-start: 15px; }

/* panels: deliverables, assessment, contact details */
.section .panel { transition: border-color .25s ease, box-shadow .25s ease; }
.section .panel:hover, .section .panel:focus-within { border-color: rgba(0, 184, 169, .55); box-shadow: 0 0 0 1px rgba(0, 184, 169, .25), 0 20px 60px rgba(0, 0, 0, .35); }
.check-list li { transition: color .2s ease; }
.check-list li:hover { color: var(--teal-hover); }
.check-list li:hover svg { color: var(--teal-hover); }

/* navigation: underline grows */
.nav a.nav-link { background-image: linear-gradient(var(--teal), var(--teal)); background-size: 0 2px; background-repeat: no-repeat; background-position: left calc(100% - 2px); transition: color .18s ease, background-size .3s cubic-bezier(.2, .7, .2, 1); }
[dir="rtl"] .nav a.nav-link { background-position: right calc(100% - 2px); }
.nav a.nav-link:hover, .nav a.nav-link:focus-visible { background-size: 100% 2px; color: var(--ink); }
.nav a.nav-link[aria-current="page"] { box-shadow: none; background-size: 100% 2px; }
.lang a { transition: color .18s ease, background-color .18s ease; }
.lang a:hover { background: rgba(255, 255, 255, .06); }
.brand img { transition: opacity .2s ease; }
.brand:hover img { opacity: .85; }

/* ghost and dark buttons get a visible state */
.btn-ghost:hover { background: rgba(243, 245, 248, .08); }
.btn-dark:hover { background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }

/* footer */
.footer-col a { transition: color .18s ease, padding-inline-start .2s ease; }
.footer-col a:hover { color: var(--teal-hover); padding-inline-start: 4px; }
.footer-col .muted { transition: color .18s ease; }

/* photographs and captions */
.figure figcaption { transition: color .25s ease; }
.figure:hover figcaption { color: var(--ink); }
.section-light .figure:hover figcaption { color: var(--mist-ink); }

/* contact details */
.detail-list li { transition: color .2s ease; }
.detail-list li:hover .label { color: var(--teal); }

/* every link and control shows a cursor and a clear focus ring */
a, button, .nav-toggle { cursor: pointer; }
.service-rows .card:focus-visible, .grid a.card:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }

/* Reduced motion removes travel only. Colour, border and background feedback always applies. */
@media (prefers-reduced-motion: reduce) {
  .grid .card, .steps .step, .feature-list li, .strengths li, .nav a.nav-link, .footer-col a, .section .panel, .check-list li { transition: none; }
  .footer-col a:hover { padding-inline-start: 0; }
  .service-rows .card:hover::before { transform: scaleY(1); }
  .service-rows .card:hover .card-more { background-size: 100% 1px; }
}

/* ==========================================================================
   Service detail: tabs and FAQ (v2.3)
   ========================================================================== */
.tabs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 48px; margin-top: 56px; align-items: start; }
.tab-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.tab {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: start; background: none; border: 0; border-bottom: 1px solid var(--border);
  padding: 18px 16px; color: var(--ink-muted); font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer; position: relative; transition: color .2s ease, background-color .2s ease;
}
html[lang="ar"] .tab { font-family: var(--font-arabic); font-weight: 700; letter-spacing: 0; }
.tab svg { width: 22px; height: 22px; flex: none; color: var(--ink-muted); transition: color .2s ease, transform .3s cubic-bezier(.2, .7, .2, 1); }
.tab::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: -1px; width: 2px; background: var(--teal); transform: scaleY(0); transform-origin: top; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.tab:hover { color: var(--ink); background: rgba(255, 255, 255, .03); }
.tab:hover svg { color: var(--teal-hover); }
.tab[aria-selected="true"] { color: var(--ink); background: rgba(255, 255, 255, .035); }
.tab[aria-selected="true"] svg { color: var(--teal); transform: translateX(4px); }
[dir="rtl"] .tab[aria-selected="true"] svg { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .tab svg:first-child { transform: scaleX(-1); }
.tab[aria-selected="true"]::before { transform: scaleY(1); }
.tab:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }

.tab-panels { position: relative; min-height: 420px; }
.tab-panel { animation: panel-in .4s cubic-bezier(.2, .7, .2, 1); }
.tab-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tab-panel h3 { font-size: 32px; margin-bottom: 14px; }
.tab-panel .lead { font-size: 18px; max-width: 60ch; }
.tab-detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 48px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.detail-label { display: block; font-size: 14px; color: var(--ink-muted); margin-bottom: 10px; }
.tab-aside p { font-size: 16px; margin-bottom: 20px; }
.tab-aside p:last-child { margin-bottom: 0; }
.tab-detail .check-list li { font-size: 15.5px; }
.tab-detail .check-list svg { margin-top: 5px; }

.faq-list { margin-top: 48px; border-top: 1px solid var(--border); max-width: 860px; }
.faq { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  transition: color .2s ease;
}
html[lang="ar"] .faq summary { font-family: var(--font-arabic); font-weight: 700; letter-spacing: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal); }
.faq summary svg { flex: none; color: var(--teal); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.faq[open] summary svg { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 0 24px; max-width: 66ch; color: var(--ink-muted); font-size: 16.5px; }

@media (max-width: 1080px) {
  .tabs { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tab-list { flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--border); scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab { width: auto; border-bottom: 0; padding: 14px 14px; white-space: nowrap; font-size: 15px; }
  .tab::before { inset-inline-start: 0; inset-inline-end: 0; top: auto; bottom: 0; width: auto; height: 2px; transform: scaleX(0); transform-origin: left; }
  .tab[aria-selected="true"]::before { transform: scaleX(1); }
  .tab-panels { min-height: 0; }
  .tab-detail { grid-template-columns: minmax(0, 1fr); }
  .tab-panel h3 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .tab-panel { animation: none; }
  .tab::before, .tab svg, .faq summary svg { transition: none; }
}

/* ==========================================================================
   v2.4 — navigation menu, baseline levels, self-check, insights, teaser
   ========================================================================== */

/* services dropdown */
.nav-group { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font-family: inherit; color: var(--ink-muted); font-size: 15px; padding: 8px 0; }
.nav-trigger:hover, .nav-group.is-open .nav-trigger { color: var(--ink); }
.nav-trigger svg { transition: transform .2s ease; }
.nav-group.is-open .nav-trigger svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: 100%; inset-inline-start: -16px; min-width: 340px; margin-top: 14px;
  background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 8px; display: none; flex-direction: column; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  z-index: 60;
}
.nav-group.is-open .nav-menu { display: flex; animation: panel-in .2s ease; }
.nav-group.is-open::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.nav-menu a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: background-color .15s ease; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: rgba(255, 255, 255, .05); color: var(--ink); }
.nav-menu a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--teal); }
[dir="rtl"] .nav-menu a[aria-current="page"] { box-shadow: inset -2px 0 0 var(--teal); }
.nav-menu strong { font-weight: 600; font-size: 15px; }
.nav-menu span { font-size: 13.5px; color: var(--ink-muted); }
@media (max-width: 860px) {
  .nav-group { display: contents; }
  .nav-trigger { display: none; }
  .nav-menu { position: static; display: flex; min-width: 0; background: none; border: 0; box-shadow: none; padding: 0; animation: none; }
  .nav-menu a { padding: 12px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-menu span { display: none; }
}

/* baseline teaser */
.baseline-teaser { padding-bottom: 0; }
.teaser {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 36px 40px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 184, 169, .10), rgba(0, 184, 169, 0) 60%), var(--surface-raised);
  text-decoration: none; color: inherit; transition: border-color .25s ease, transform .25s ease;
}
.teaser:hover { border-color: rgba(0, 184, 169, .55); transform: translateY(-2px); color: inherit; }
.teaser h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 10px 0 8px; }
.teaser .lead { font-size: 16px; }
.teaser .btn { flex: none; }
@media (max-width: 860px) { .teaser { flex-direction: column; align-items: flex-start; padding: 28px; } }

/* five-stage method */
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.steps-5 .step h3 { font-size: 20px; }
.steps-5 .step .muted { font-size: 15px; }
@media (max-width: 1080px) { .steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps-5 { grid-template-columns: minmax(0, 1fr); } }

/* baseline levels */
.levels { margin-top: 56px; display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.level { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 32px; padding: 48px 0; border-bottom: 1px solid var(--border); }
.level-no { position: relative; }
.level-no span { font-family: var(--font-display); font-size: 48px; font-weight: 600; letter-spacing: -0.04em; color: var(--teal); line-height: 1; position: sticky; top: 110px; }
html[lang="ar"] .level-no span { font-family: var(--font-arabic); }
.level h3 { font-size: 34px; margin-bottom: 12px; }
.level .lead { font-size: 18px; }
.level-detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 48px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.level-detail .check-list li { font-size: 15.5px; }
.level:nth-child(1) .level-no span { color: var(--amber, #FF8C42); }
@media (max-width: 860px) {
  .level { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 36px 0; }
  .level-no span { position: static; font-size: 36px; }
  .level-detail { grid-template-columns: minmax(0, 1fr); }
}

/* self-check */
.selfcheck { margin-top: 48px; max-width: 820px; display: flex; flex-direction: column; border-top: 1px solid var(--mist-border); }
.selfcheck-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--mist-border); cursor: pointer; font-size: 17px; line-height: 1.5; color: var(--mist-ink); transition: color .15s ease; }
.selfcheck-item:hover { color: var(--teal-deep); }
.selfcheck-item input { appearance: none; width: 22px; height: 22px; flex: none; margin-top: 3px; border: 1.5px solid var(--mist-muted); border-radius: var(--radius); background: #fff; cursor: pointer; position: relative; transition: background-color .15s ease, border-color .15s ease; }
.selfcheck-item input:checked { background: var(--teal-deep); border-color: var(--teal-deep); }
.selfcheck-item input:checked::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.selfcheck-item input:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 2px; }
.selfcheck-result { display: flex; align-items: baseline; gap: 18px; padding: 24px 0 0; flex-wrap: wrap; }
.selfcheck-result strong { font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; color: var(--mist-ink); }
html[lang="ar"] .selfcheck-result strong { font-family: var(--font-arabic); }
.selfcheck-result [data-verdict] { font-size: 18px; color: var(--teal-deep); font-weight: 500; }

/* insights */
.insight-grid { margin-top: 56px; }
.insight-card { padding-top: 0; border-top: 0; }
.insight-img { display: block; overflow: hidden; border-radius: var(--radius-lg); margin-bottom: 18px; }
.insight-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.insight-card:hover .insight-img img { transform: scale(1.04); }
.insight-card h3 { font-size: 22px; line-height: 1.25; }
.hero-article h1 { max-width: 20ch; font-size: clamp(32px, 4.6vw, 56px); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr); gap: 64px; align-items: start; }
.article-body { font-size: 18px; line-height: 1.75; max-width: 68ch; }
.article-body p + p { margin-top: 1.4em; }
.article-body p:first-child { font-size: 20px; }
.article-aside { position: sticky; top: 110px; }
@media (max-width: 1080px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .article-aside { position: static; } }

/* contrast on light section when grid cards live there */
.section-light .selfcheck-item input:not(:checked) { background: #fff; }


/* ==========================================================================
   v2.6 — example dashboard, baseline chips, framework line, mapping table,
   readiness check, capability tags
   ========================================================================== */
.section-light .btn-ghost { border-color: var(--mist-border); color: var(--mist-ink); background: transparent; backdrop-filter: none; }
.section-light .btn-ghost:hover { border-color: var(--mist-ink); background: rgba(26, 31, 44, .04); color: var(--mist-ink); }

/* example client dashboard (home hero) */
.dash { padding: 26px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.dash-head .panel-title { margin: 0; }
.dash-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--teal); background: rgba(0, 184, 169, .1); border: 1px solid rgba(0, 184, 169, .3); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.dash-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: nw-pulse 2.4s infinite; }
@keyframes nw-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 184, 169, .55); } 70% { box-shadow: 0 0 0 8px rgba(0, 184, 169, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 184, 169, 0); } }
.dash-metrics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-metrics li { background: rgba(12, 16, 24, .55); border: 1px solid rgba(255, 255, 255, .06); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.dash-metrics span { font-size: 13px; color: var(--ink-muted); line-height: 1.35; min-height: 2.7em; }
.dash-metrics strong { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
html[lang="ar"] .dash-metrics strong { font-family: var(--font-arabic); }
.dash-metrics b { display: block; height: 3px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; position: relative; }
.dash-metrics b::after { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: var(--v, 0); background: var(--teal); transform-origin: left center; animation: nw-grow 1.2s .7s cubic-bezier(.2, .7, .2, 1) both; }
[dir="rtl"] .dash-metrics b::after { transform-origin: right center; }
.dash-metrics b.zero::after { width: 100%; background: rgba(94, 224, 181, .5); }
@keyframes nw-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dash-feed { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-muted); }
.dash-feed li { display: flex; gap: 10px; align-items: baseline; }
.dash-feed em { font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 3px; flex: none; min-width: 76px; text-align: center; }
.dash-feed .ok { color: #5EE0B5; background: rgba(94, 224, 181, .1); }
.dash-feed .block { color: #FF8C42; background: rgba(255, 140, 66, .12); }
.dash-feed .info { color: #8FB8FF; background: rgba(143, 184, 255, .1); }
.dash-note { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-muted); opacity: .85; }

/* baseline on home: level chips + framework line */
.level-chips { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--mist-border); }
.level-chips li { position: relative; padding: 26px 20px 0 0; display: flex; flex-direction: column; gap: 6px; }
[dir="rtl"] .level-chips li { padding: 26px 0 0 20px; }
.level-chips li::before { content: ""; position: absolute; top: -8px; inset-inline-start: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--mist); border: 2px solid var(--teal-deep); transition: background-color .25s ease; }
.level-chips li:hover::before { background: var(--teal-deep); }
.level-chips span { font-size: 13px; font-weight: 600; color: var(--teal-deep); letter-spacing: .06em; }
.level-chips strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--mist-ink); letter-spacing: -0.01em; }
html[lang="ar"] .level-chips strong { font-family: var(--font-arabic); }
.level-chips em { font-style: normal; font-size: 15px; color: var(--mist-muted); line-height: 1.45; }
.fw-line { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 20px 0; border-block: 1px solid var(--mist-border); }
.fw-label { font-size: 14px; color: var(--mist-muted); }
.fw-line ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fw-line li { font-size: 14px; font-weight: 600; color: var(--mist-ink); padding: 6px 12px; border: 1px solid var(--mist-border); border-radius: 999px; background: #fff; direction: ltr; }
.baseline-home .hero-actions { margin-top: 32px; }
@media (max-width: 860px) {
  .level-chips { grid-template-columns: 1fr 1fr; gap: 0 20px; border-top: 0; }
  .level-chips li { border-top: 2px solid var(--mist-border); padding-bottom: 22px; }
}
@media (max-width: 480px) { .level-chips { grid-template-columns: 1fr; } }

/* framework mapping table (baseline) */
.table-wrap { margin-top: 48px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
.map-table { width: 100%; border-collapse: collapse; min-width: 780px; font-size: 15px; }
.map-table th, .map-table td { text-align: start; padding: 16px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.map-table thead th { font-size: 13px; font-weight: 600; color: var(--ink-muted); background: var(--surface-raised); }
.map-table tbody th { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); white-space: nowrap; }
html[lang="ar"] .map-table tbody th { font-family: var(--font-arabic); }
.map-table tbody th span { display: block; font-family: var(--font-sans); font-size: 12px; font-weight: 500; color: var(--teal); letter-spacing: .06em; margin-bottom: 2px; }
.map-table td { color: var(--ink-muted); font-variant-numeric: tabular-nums; line-height: 1.6; }
.map-table tbody tr:last-child > * { border-bottom: 0; }
.map-table tbody tr { transition: background-color .2s ease; }
.map-table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.map-notes { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-muted); max-width: 900px; }
.map-notes p { margin: 0; }
.map-notes strong { color: var(--ink); font-weight: 600; }

/* readiness check */
.readiness { max-width: 880px; }
.rd-progress { position: sticky; top: 80px; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(243, 245, 248, .94); backdrop-filter: blur(8px); border: 1px solid var(--mist-border); border-radius: var(--radius-lg); font-size: 15px; color: var(--mist-muted); }
.rd-progress strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--mist-ink); }
html[lang="ar"] .rd-progress strong { font-family: var(--font-arabic); }
.rd-reset { margin-inline-start: auto; background: none; border: 0; padding: 4px 0; color: var(--teal-deep); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rd-area { margin-top: 56px; }
.rd-area-head { display: flex; align-items: flex-start; gap: 18px; padding-bottom: 14px; }
.rd-no { font-size: 13px; font-weight: 600; color: var(--teal-deep); letter-spacing: .06em; padding-top: 9px; }
.section-light .rd-title { font-size: 26px; margin: 0 0 4px; }
.rd-area-head p { margin: 0; }
.rd-area-score { margin-inline-start: auto; font-size: 14px; color: var(--mist-muted); padding-top: 9px; white-space: nowrap; }
.rd-area-score b { color: var(--mist-ink); font-size: 18px; }
.selfcheck.rd-list { margin-top: 0; max-width: none; }
.rd-actions { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.rd-result { margin-top: 56px; padding: 44px; background: #fff; border: 1px solid var(--mist-border); border-radius: var(--radius-lg); outline: none; scroll-margin-top: 110px; animation: panel-in .5s cubic-bezier(.2, .7, .2, 1); }
.rd-result[hidden] { display: none; }
.section-light .rd-result h2 { font-size: clamp(40px, 5.5vw, 64px); margin: 14px 0 10px; }
.rd-result .lead { max-width: 62ch; }
.rd-meter { list-style: none; margin: 32px 0 40px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.rd-meter li { font-size: 13px; color: var(--mist-muted); padding-top: 12px; border-top: 5px solid var(--mist-border); transition: border-color .4s ease; }
.rd-meter li.on { border-top-color: var(--teal-deep); }
.rd-meter li.here { color: var(--mist-ink); font-weight: 600; }
.section-light .rd-result h3 { font-size: 18px; margin: 0 0 14px; }
.rd-bars { display: flex; flex-direction: column; gap: 12px; margin: 0 0 36px; }
.rd-bar { display: grid; grid-template-columns: 220px minmax(0, 1fr) 60px; gap: 16px; align-items: center; font-size: 15px; color: var(--mist-ink); }
.rd-bar i { height: 6px; background: var(--mist); border-radius: 3px; overflow: hidden; display: block; }
.rd-bar b { display: block; height: 100%; width: 0; background: var(--teal-deep); border-radius: 3px; transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.rd-bar em { font-style: normal; font-size: 14px; color: var(--mist-muted); text-align: end; }
.rd-gaps { margin: 0 0 36px; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--mist-ink); font-size: 16px; line-height: 1.5; }
.rd-fine { margin: 24px 0 0; font-size: 14px; }
@media (max-width: 640px) {
  .rd-bar { grid-template-columns: minmax(0, 1fr) 52px; row-gap: 6px; }
  .rd-bar i { grid-column: 1 / -1; grid-row: 2; }
  .rd-result { padding: 26px; }
  .rd-meter li { font-size: 11px; }
  .rd-progress { top: 72px; }
}

/* capability tags (cybersecurity) */
.cap-grid { margin-top: 56px; }
.cap-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--teal-deep); border: 1px solid currentColor; border-radius: 3px; padding: 3px 8px; margin-bottom: 14px; direction: ltr; }
.cap-note { margin: 44px 0 0; font-size: 15px; color: var(--mist-muted); max-width: 760px; padding-inline-start: 16px; border-inline-start: 2px solid var(--teal-deep); }

@media (prefers-reduced-motion: reduce) {
  .dash-status i, .dash-metrics b::after, .rd-result { animation: none; }
  .rd-bar b { transition: none; }
}
.cap-tag { align-self: flex-start; }
html[lang="ar"] .rd-gaps { list-style: arabic-indic; }

/* Privacy notice and terms of use */
.hero-legal { padding: 88px 0 40px; }
.hero-legal h1 { font-size: clamp(36px, 5vw, 56px); }
.article-body.legal h2 { font-size: 22px; margin: 1.8em 0 .5em; }
.article-body.legal h2:first-child { margin-top: 0; }
.article-body.legal p + p { margin-top: .8em; }
.article-body.legal p:first-child, .article-body.legal h2 + p { font-size: inherit; }
.article-body.legal a { color: var(--teal); }
.legal-date { margin-top: 2.4em; font-size: 15px; }
.footer-bottom .footer-legal { display: inline-flex; gap: 18px; }
.footer-bottom .footer-legal a { color: inherit; text-decoration: none; }
.footer-bottom .footer-legal a:hover { color: var(--ink); }

[hidden] { display: none !important; }
.field.turnstile:empty { display: none; }
