/* bundle of: /assets/css/tokens.css /assets/css/header.css /assets/css/footer.css /assets/css/templates.css?v=20261120p8 /assets/css/preloader.css /assets/css/ui.css /assets/css/rtl.css?v=20261019 /assets/css/new-inner-templates.css?v=20261120p8 /assets/css/fonts.css?v=20261027 /assets/css/site-polish.css?v=20261123 */
/* ---- /assets/css/tokens.css ---- */
/* ==========================================================================
   tokens.css — the single source of design tokens for mouazalsabbagh.com
   Loaded FIRST on every page. Every other stylesheet reads these values;
   older token names (--primary, --lime, --hf-lime, …) now point here.
   Source of values: Figma "2010 - 2026 Portfolio" (J3Y9lEJVB9Ug2U8dugvccR).
   ========================================================================== */
:root {
  /* Brand */
  --color-brand: #82FF00;              /* Figma chartreuse-green/50 */
  --color-brand-rgb: 130, 255, 0;      /* for rgba(var(--color-brand-rgb), a) */
  --color-brand-hover: #B9FF3D;
  --color-on-brand: #070707;           /* text/icons on the green */

  /* Surfaces (dark → light) */
  --color-black: #000000;
  --color-ink: #070707;
  --color-coal: #0F0E0E;
  --color-bg-deep: #0D1117;
  --color-panel: #101316;
  --color-bg: #161B22;                 /* page background */
  --color-surface: #1F1F1F;            /* cards */
  --color-surface-raised: #1E242C;
  --color-surface-hover: #282828;

  /* Text */
  --color-text: #FFFFFF;
  --color-text-soft: #F2F3F5;
  --color-text-muted: rgba(255, 255, 255, 0.65);
  --color-text-faint: rgba(242, 243, 245, 0.40);
  --color-text-faint-accessible: rgba(242, 243, 245, 0.50); /* 4.80:1 on bg: use for text under 24px */
  --color-text-dim: #757575;           /* Figma grey labels on the home page; 3.75:1, 24px+ only */
  --color-text-dim-accessible: #8A8A8A; /* 5.01:1 on bg: use for text under 24px */

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-grey-300: #CDCDCD;
  --color-grey-400: #BDBDBD;
  --color-grey-450: #B0AFAF;
  --color-grey-500: #A0A0A0;
  --color-grey-600: #888686;
  --color-grey-700: #555555;
  --color-grey-800: #3E3E3E;
  --color-grey-900: #1A1A1A;
  --color-grey-925: #171717;
  --color-grey-950: #131313;

  /* Feedback */
  --color-error: #FF8A7A;
  --color-error-soft: #FF9393;
  --color-success: #0FCD81;

  /* Lines */
  --color-border: rgba(255, 255, 255, 0.10);
  --color-border-strong: rgba(255, 255, 255, 0.22);

  /* Type */
  --font-display: 'Outfit', system-ui, sans-serif;  /* defined in fonts.css */
  --font-body: 'DM Sans', system-ui, sans-serif;  /* defined in fonts.css */
  --font-arabic: 'Sora', 'IBM Plex Sans Arabic', sans-serif;  /* defined in fonts.css */

  /* Type scale (px). Every fixed font-size on the site uses one of these. */
  --fs-12: 12px;  --fs-13: 13px;  --fs-14: 14px;  --fs-15: 15px;  --fs-16: 16px;
  --fs-17: 17px;  --fs-18: 18px;  --fs-20: 20px;  --fs-22: 22px;  --fs-24: 24px;
  --fs-26: 26px;  --fs-28: 28px;  --fs-30: 30px;  --fs-35: 35px;  --fs-40: 40px;
  --fs-45: 45px;  --fs-50: 50px;  --fs-56: 56px;  --fs-64: 64px;  --fs-70: 70px;
  --fs-82: 82px;  --fs-90: 90px;
  /* Display sizes (hero and big ticker type from Figma) */
  --fs-100: 100px; --fs-120: 120px; --fs-140: 140px; --fs-150: 150px; --fs-164: 164px; --fs-200: 200px;
  /* Fluid sizes (generated pages): scale with the viewport between a min and max */
  --fs-fluid-2xl: clamp(2rem, 1.4rem + 2.2vw, 2.75rem);
  --fs-fluid-3xl: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
  --fs-fluid-mast: clamp(3.5rem, 1.2rem + 9vw, 9rem);
  --fs-fluid-cs-title: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);   /* case-study titles */
  --fs-fluid-cs-head: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);  /* case-study section heads */

  /* Header bar height: 92px desktop and 1024, 86px tablet (768–991), 68px phone */
  --header-h: 92px;

  /* Radius */
  --radius-xs: 4px;
  --radius-img: 6px;
  --radius-input: 8px;
  --radius-card: 12px;
  --radius-btn: 15px;                  /* Figma Send button 798:77725 */
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: .2s;
  --dur-base: .3s;
  --dur-slow: .5s;

  /* Focus */
  --focus-ring: 2px solid var(--color-brand);
  --focus-offset: 3px;
}

/* Header heights per Figma /en/ frames: 1024+ uses the desktop bar (92px, agreed 13 Oct;
   Figma still shows 100px), 768 frame = 86px, 390 frame = 68px. */
@media (max-width: 991.98px) { :root { --header-h: 86px; } }
@media (max-width: 767.98px) { :root { --header-h: 68px; } }

/* Breakpoints (CSS can't use variables in media queries, so these are the agreed values).
   Every media query on the site uses one of these 8 boundaries:
     376   small phones (<376)
     480   large phones
     576   phablet          (Figma 390 frame sits in 376–479)
     768   tablet           (Figma 768 frame)
     992   small laptop
     1025  desktop nav      (Figma 1024 frame is ≤1024: collapsed menu)
     1200  desktop
     1400  wide             (Figma 1440 / 1920 frames)
   Write max-width as boundary − 0.02 (e.g. max-width: 767.98px), min-width as the boundary. */

/* ---- /assets/css/header.css ---- */
/* header.css — agreed header template (2026-10). Global reset + body rule from the template
   are intentionally omitted so existing page layouts are unaffected. */

/* ================= HEADER STYLES ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(8, 8, 8, 0.88);
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 25px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 24px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  gap: 40px;
  transition: max-height 0.3s ease;
}

.nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--fs-16);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-brand);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: var(--color-brand);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-button {
  background-color: var(--color-brand);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 12px;
  transition: opacity 0.3s ease;
}

.cta-button:hover {
  opacity: 0.8;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
}

.mobile-toggle .divider {
  display: block;
  width: 25px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}


/* ================= RESPONSIVE BREAKPOINTS ================= */

/* Tablet & Smaller Desktop */
@media (max-width: 1024px) {
  /* Header Adjustments */
  .header-nav {
    display: none; /* Hidden by default on mobile, toggled via JS */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 8, 0.95);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .header-nav.nav-open {
    display: flex; /* Class added by Javascript to open menu */
  }

  .mobile-toggle {
    display: flex;
  }
}

/* Mobile Screens */
@media (max-width: 767.98px) {
  .header-container {
    padding: 20px 20px;
  }

  .cta-button {
    font-size: var(--fs-12);
    padding: 8px 16px;
  }
}

/* Tiny Mobile */
@media (max-width: 479.98px) {
  .cta-button {
    display: none; /* Hide CTA to save space for logo and hamburger */
  }
}

/* Fixed header: keep in-page anchors clear of it */
html { scroll-padding-top: var(--header-h); }

/* Figma homepage: match its content offset to this header's real height */
body.home-figma { --hf-header-h: var(--header-h); }

/* ================= NAV v3 (2026-10-12): menu follows sitemap.xml ================= */
.header-nav { align-items: center; gap: 32px; }
.nav-item { position: relative; }
.nav-drop-btn {
  background: none; border: 0; padding: 5px 0; cursor: pointer;
  color: var(--color-white); font-family: var(--font-body); font-size: var(--fs-16); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px; position: relative;
}
.nav-drop-btn svg { width: 10px; height: 10px; transition: transform .2s ease; }
.nav-drop-btn:hover, .nav-item.open > .nav-drop-btn { color: var(--color-brand); }
.nav-item.open > .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-btn.active::after { content: ""; position: absolute; bottom: -5px; left: 0; width: 25px; height: 2px; background: var(--color-brand); border-radius: 2px; }
.nav-sub {
  position: absolute; top: calc(100% + 18px); left: -20px; min-width: 260px;
  list-style: none; margin: 0; padding: 10px;
  background: rgba(13, 17, 23, 0.98); border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-sub::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.nav-item.open > .nav-sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1025px) {
  .nav-item:hover > .nav-sub { opacity: 1; visibility: visible; transform: none; }
}
.nav-sub a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--color-white); text-decoration: none; font-family: var(--font-body); font-size: var(--fs-15); font-weight: 500; line-height: 1.3; }
.nav-sub a small { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-12); color: rgba(255,255,255,.55); margin-top: 2px; }
.nav-sub a:hover, .nav-sub a[aria-current] { background: rgba(255,255,255,.06); color: var(--color-brand); }

@media (max-width: 1024px) {
  .header-nav { align-items: stretch; padding: 12px 20px 24px; gap: 0; max-height: calc(100vh - 80px); overflow-y: auto; }
  .header-nav > .nav-link, .nav-drop-btn { padding: 14px 0; font-size: var(--fs-18); width: 100%; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; }
  .nav-link.active::after, .nav-drop-btn.active::after { display: none; }
  .nav-link.active, .nav-drop-btn.active { color: var(--color-brand); }
  .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: transparent; padding: 4px 0 12px 12px; min-width: 0; }
  .nav-item.open > .nav-sub { display: block; }
  .nav-sub::before { display: none; }
}
@media (max-width: 1024px) { .header-nav { background: var(--color-bg-deep); } }

/* Header height comes from --header-h (tokens.css): 92px desktop, 68px collapsed menu. */
.site-header .header-container { height: var(--header-h); padding-top: 0; padding-bottom: 0; box-sizing: border-box; }

/* ---- /assets/css/footer.css ---- */
/* --- Base Footer Styles --- */
.main-footer.footer-two {
    background-color: rgb(15, 14, 14);
    color: rgba(255, 255, 255, 0.65);
    padding: 75px 0 0;
    font-family: var(--font-body);
    font-size: var(--fs-16);
    line-height: 30px;
    position: relative;
    z-index: 1;
}

.main-footer.footer-two a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- Layout Containers --- */
.main-footer .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-footer .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: center;
    justify-content: space-between;
}

/* --- Widgets --- */
.footer-widget {
    margin-bottom: 25px;
}

/* Logo Widget */
.widget_logo.text-md-start {
    text-align: left;
}

.logo img {
    max-width: 100%;
    height: auto;
}

/* Navigation Menu Widget */
.widget_nav_menu ul {
    list-style: none;
    padding: 0;
    margin: 0 -22px;
    display: inline-flex;
    flex-wrap: wrap;
}

.widget_nav_menu ul li {
    margin: 0 22px 5px;
    font-family: var(--font-body);
}

.widget_nav_menu ul li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--fs-16);
}

.widget_nav_menu ul li a:hover {
    color: var(--color-brand); /* Example hover color based on copyright link */
}

/* Text Widget */
.widget_text .text {
    padding-bottom: 20px;
    font-size: var(--fs-16);
    line-height: 30px;
}

/* Social Media Widget */
.social-flow {
    display: inline-flex;
    align-items: center;
}

.social-flow h4 {
    margin: 0 15px 0 0;
    font-size: var(--fs-18);
    color: var(--color-white);
}

.social-style-one {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.social-style-one a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgb(176, 175, 175);
    text-align: center;
    margin: 0 5px;
    border-radius: 50%;
}

.social-style-one a:hover {
    background-color: var(--color-brand);
    color: var(--color-black);
    border-color: var(--color-brand);
}

/* --- Divider --- */
.main-footer hr {
    border: none;
    border-top: 0px solid rgba(255, 255, 255, 0.1);
    margin: 0 0;
}

.mb-40 { margin-bottom: 40px !important; }
.mt-0 { margin-top: 0 !important; }

/* --- Footer Bottom / Copyright --- */
.footer-bottom {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    padding: 20px 0;
    font-size: var(--fs-14);
    text-align: center;
}

.copyright-text p {
    margin: 0;
}

.copyright-text a {
    color: rgb(130, 255, 0);
    font-weight: 500;
}

/* --- Responsive Adjustments (Mobile) --- */
@media (max-width: 991.98px) {
    .widget_nav_menu {
        margin-left: 0 !important;
        text-align: center;
    }
    .widget_nav_menu ul {
        justify-content: center;
    }
    .text-lg-end {
        text-align: center !important;
    }
    .social-flow {
        justify-content: center;
        width: 100%;
    }
}

/* --- Extra sitemap row (pages not in the agreed nav) — added 2026-10 --- */
.footer-sitemap ul {
    list-style: none;
    padding: 18px 0 22px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 26px;
}
.footer-sitemap a {
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-body);
    font-size: var(--fs-14);
    line-height: 24px;
}
.footer-sitemap a:hover { color: var(--color-brand); }
.social-style-one a img { width: 18px; height: 18px; vertical-align: middle; }

/* ---- /assets/css/templates.css?v=20261120p8 ---- */
/* ==========================================================================
   templates.css — shared stylesheet for every inner page of mouazalsabbagh.com
   Loads after bootstrap.min.css + header.css + footer.css. No Noxfolio style.css.

   Brand tokens are unchanged (dark + var(--color-brand), DM Sans + Inter).
   What's new: a bilingual masthead (English title + Arabic counterpart) that every
   page opens with, a stricter type scale, and radius used by hierarchy, not by habit.
   ========================================================================== */

/* Bootstrap is only needed for the agreed footer grid. Importing it into a layer
   means every rule below wins over it without specificity fights. */
@layer vendor{
/*!
 * Bootstrap v5.0.2 (https://getbootstrap.com/)
 * Copyright 2011-2021 The Bootstrap Authors
 * Copyright 2011-2021 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0))}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-font-sans-serif);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]::-webkit-calendar-picker-indicator{display:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.list-unstyled{padding-left:0;list-style:none}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.figure{display:inline-block}.container{width:100%;padding-right:var(--bs-gutter-x,.75rem);padding-left:var(--bs-gutter-x,.75rem);margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}@media (min-width:1400px){.container{max-width:1320px}}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(var(--bs-gutter-y) * -1);margin-right:calc(var(--bs-gutter-x) * -.5);margin-left:calc(var(--bs-gutter-x) * -.5)}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.col-6{flex:0 0 auto;width:50%}@media (min-width:768px){.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}}@media (min-width:992px){.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-12{flex:0 0 auto;width:100%}}@media (min-width:1200px){.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-12{flex:0 0 auto;width:100%}}.table{--bs-table-bg:transparent;--bs-table-accent-bg:transparent;--bs-table-striped-color:#212529;--bs-table-striped-bg:rgba(0, 0, 0, 0.05);--bs-table-active-color:#212529;--bs-table-active-bg:rgba(0, 0, 0, 0.1);--bs-table-hover-color:#212529;--bs-table-hover-bg:rgba(0, 0, 0, 0.075);width:100%;margin-bottom:1rem;color:#212529;vertical-align:top;border-color:#dee2e6}.table>:not(caption)>*>*{padding:.5rem .5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table>:not(:last-child)>:last-child>*{border-bottom-color:currentColor}.btn{display:inline-block;font-weight:400;line-height:1.5;color:#212529;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529}.btn:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{pointer-events:none;opacity:.65}.btn-primary{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-primary:hover{color:#fff;background-color:#0b5ed7;border-color:#0a58ca}.btn-primary:focus{color:#fff;background-color:#0b5ed7;border-color:#0a58ca;box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-primary.active,.btn-primary:active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0a58ca;border-color:#0a53be}.btn-primary.active:focus,.btn-primary:active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-dark{color:#fff;background-color:#212529;border-color:#212529}.btn-dark:hover{color:#fff;background-color:#1c1f23;border-color:#1a1e21}.btn-dark:focus{color:#fff;background-color:#1c1f23;border-color:#1a1e21;box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-dark.active,.btn-dark:active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1a1e21;border-color:#191c1f}.btn-dark.active:focus,.btn-dark:active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#212529;border-color:#212529}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropend,.dropstart,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;z-index:1000;display:none;min-width:10rem;padding:.5rem 0;margin:0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty::after{margin-left:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#1e2125;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#0d6efd}.dropdown-item.disabled,.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem;color:#0d6efd;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:#0a58ca}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.navbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-top:.5rem;padding-bottom:.5rem}.navbar>.container{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.alert{position:relative;padding:1rem 1rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}@-webkit-keyframes progress-bar-stripes{0%{background-position-x:1rem}}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.list-group{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.25rem}.list-group-item{position:relative;display:block;padding:.5rem 1rem;color:#212529;text-decoration:none;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.toast{width:350px;max-width:100%;font-size:.875rem;pointer-events:auto;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .5rem 1rem rgba(0,0,0,.15);border-radius:.25rem}.toast:not(.showing):not(.show){opacity:0}.toast.hide{display:none}.modal{position:fixed;top:0;left:0;z-index:1060;display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-body{position:relative;flex:1 1 auto;padding:1rem}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}}.tooltip{position:absolute;z-index:1080;display:block;margin:0;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .tooltip-arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1070;display:block;max-width:276px;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .popover-arrow{position:absolute;display:block;width:1rem;height:.5rem}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.popover-header{padding:.5rem 1rem;margin-bottom:0;font-size:1rem;background-color:#f0f0f0;border-bottom:1px solid rgba(0,0,0,.2);border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:1rem 1rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}@-webkit-keyframes spinner-border{to{transform:rotate(360deg)}}@keyframes spinner-border{to{transform:rotate(360deg)}}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.offcanvas{position:fixed;bottom:0;z-index:1050;display:flex;flex-direction:column;max-width:100%;visibility:hidden;background-color:#fff;background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.show{transform:none}.clearfix::after{display:block;clear:both;content:""}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.d-flex{display:flex!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.flex-wrap{flex-wrap:wrap!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.align-items-center{align-items:center!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.mt-0{margin-top:0!important}.me-0{margin-right:0!important}.me-4{margin-right:1.5rem!important}.pb-5{padding-bottom:3rem!important}.text-center{text-align:center!important}.text-success{color:#198754!important}.text-danger{color:#dc3545!important}.visible{visibility:visible!important}@media (min-width:768px){.text-md-start{text-align:left!important}}@media (min-width:992px){.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}}
}

:root {
  --ink:var(--color-bg-deep);          /* page background */
  --surface:var(--color-bg);      /* alternate band */
  --raised:var(--color-surface-raised);       /* inputs, image wells */
  --line:var(--color-border);
  --line-strong:var(--color-border-strong);
  --text:var(--color-text-soft);
  --muted:var(--color-text-muted);
  --faint:var(--color-text-faint-accessible);
  --lime:var(--color-brand);
  --lime-ink:var(--color-on-brand);     /* text on lime */

  --f-display:var(--font-display);
  --f-body:var(--font-body);
  --f-arabic:var(--font-arabic);

  /* type scale — 1.25 steps from 16px, display sizes fluid */
  --t-xs: var(--fs-13);  /* 13 */
  --t-sm: var(--fs-14);   /* 14 */
  --t-base: var(--fs-16);     /* 16 */
  --t-md: var(--fs-18);   /* 18 */
  --t-lg: var(--fs-22);   /* 22 */
  --t-xl: var(--fs-28);    /* 28 */
  --t-2xl: var(--fs-fluid-2xl);      /* 32–44 */
  --t-3xl: var(--fs-fluid-3xl);       /* 40–64 */
  --t-mast: var(--fs-fluid-mast);        /* 56–144 */

  --wrap: 1280px;
  --gutter: 40px;
  --r-img:var(--radius-img);
  --r-btn:var(--radius-btn);
  
}

@media (max-width: 767.98px) {
  :root { --gutter: 20px;  }
}

/* ---------- base ---------- */
body.tpl {
  margin: 0;
  background: var(--ink);
  color: var(--muted);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:where(body.tpl) :where(h1, h2, h3, h4) {
  color: var(--text);
  font-family: var(--f-display);
  font-weight: 600;
  margin: 0;
}
:where(body.tpl) :where(p, ul, ol, figure, dl, dd) { margin: 0; }
:where(body.tpl) :where(a) { color: inherit; text-decoration: none; }
:where(body.tpl) :where(img) { max-width: 100%; display: block; }
body.tpl :focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
body.tpl ::selection { background: var(--lime); color: var(--lime-ink); }
body.tpl .site-header .cta-button,
body.tpl .site-header .cta-button:hover { color: var(--color-ink); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--lime); color: var(--lime-ink) !important; padding: 10px 16px; border-radius: var(--r-btn);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.t-main { padding-top: var(--header-h); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

.band { padding: 120px 0; }
.band-tight { padding: 72px 0; }
.band-alt { background: var(--surface); }
@media (max-width: 767.98px) { .band { padding: 80px 0; } .band-tight { padding: 56px 0; } }

/* ---------- bilingual masthead (the signature) ---------- */
.mast { padding: 88px 0 56px; }
.mast-titles {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 48px;
}
.mast-en {
  font-size: var(--t-mast);
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.mast-en .ln { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.1em; }
.mast-en .ln > span { display: inline-block; }
.mast-ar {
  font-family: var(--f-arabic);
  font-weight: 500;
  color: var(--lime);
  font-size: calc(var(--t-mast) * 0.42);
  line-height: 1.2;
  text-align: right;
  padding-bottom: 0.2em;
}
.mast-foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.mast-lede {
  max-width: 58ch;
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--muted);
}
.mast-aside { font-size: var(--t-sm); color: var(--faint); text-align: right; white-space: nowrap; }
.mast-aside strong { display: block; color: var(--text); font-family: var(--f-display); font-size: var(--t-lg); font-weight: 600; }

@media (max-width: 991.98px) {
  .mast { padding: 56px 0 40px; }
  .mast-titles { grid-template-columns: 1fr; }
  .mast-ar { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .mast-foot { flex-direction: column; gap: 16px; }
  .mast-aside { text-align: left; }
}

/* The one orchestrated moment: masthead lines rise into place on load */
@media (prefers-reduced-motion: no-preference) {
  .mast-en .ln > span { animation: rise 0.9s var(--ease) both; }
  .mast-en .ln:nth-child(2) > span { animation-delay: 0.08s; }
  .mast-en .ln:nth-child(3) > span { animation-delay: 0.16s; }
  .mast-ar { animation: fade 0.9s 0.35s var(--ease) both; }
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- section heads ---------- */
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: 48px;
}
.sec-title { font-size: var(--t-3xl); line-height: 1.02; letter-spacing: -0.03em; }
.sec-note { max-width: 44ch; font-size: var(--t-base); color: var(--muted); }
@media (max-width: 767.98px) { .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; } }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  border-radius: var(--r-btn); border: 1px solid transparent;
  font-family: var(--f-body); font-size: var(--t-base); font-weight: 600;
  cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.btn-lime { background: var(--lime); color: var(--lime-ink) !important; }
.btn-lime:hover { background: var(--color-brand-hover); }
.btn-line { background: transparent; color: var(--text) !important; border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--lime); color: var(--lime) !important; }
.btn svg { width: 18px; height: 18px; }

.link-u { color: var(--text); background-image: linear-gradient(var(--lime), var(--lime)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 2px; transition: color .2s; }
.link-u:hover { color: var(--lime); }

/* ---------- chips (filters, tags) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip {
  font-family: var(--f-body); font-size: var(--t-sm); font-weight: 500;
  color: var(--muted); background: transparent;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 16px; cursor: pointer; transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.chip .n { opacity: .6; margin-left: 6px; font-variant-numeric: tabular-nums; }
.tag { font-size: var(--t-sm); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; display: inline-block; }

/* ---------- works: toolbar, grid, index ---------- */
.works-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--line);
}
.view-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.view-toggle button {
  background: none; border: 0; color: var(--muted); font: 500 var(--t-sm)/1 var(--f-body);
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
}
.view-toggle button[aria-pressed="true"] { background: var(--text); color: var(--ink); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.work-grid[hidden], .work-index[hidden] { display: none; }
@media (max-width: 1024px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px)  { .work-grid { grid-template-columns: 1fr; gap: 40px; } }

.work-card a { display: block; }
.work-card .img { aspect-ratio: 576 / 620; overflow: hidden; border-radius: var(--r-img); background: var(--raised); }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card h3 { margin-top: 18px; font-size: var(--t-lg); letter-spacing: -0.01em; transition: color .2s; }
.work-card p { margin-top: 4px; font-size: var(--t-sm); color: var(--muted); }
.work-card a:hover img { transform: scale(1.035); }
.work-card a:hover h3 { color: var(--lime); }
.work-card[hidden] { display: none; }

.work-index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.work-index li { border-bottom: 1px solid var(--line); }
.work-index li[hidden] { display: none; }
.work-index a {
  display: grid; grid-template-columns: minmax(0,2.2fr) minmax(0,1.6fr) minmax(0,1.1fr) minmax(0,1fr); gap: 24px; align-items: baseline;
  padding: 22px 4px; transition: color .2s, padding .3s var(--ease);
}
.work-index .nm { font-family: var(--f-display); font-size: var(--t-xl); font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.work-index .cl, .work-index .cat { font-size: var(--t-sm); color: var(--muted); }
.work-index .ar { font-family: var(--f-arabic); font-size: var(--t-md); color: var(--faint); text-align: right; }
.work-index a:hover .nm { color: var(--lime); }
.work-index a:hover { padding-left: 14px; }
@media (max-width: 767.98px) {
  .work-index a { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .work-index .nm { font-size: var(--t-lg); }
  .work-index .cat { display: none; }
  .work-index .cl { grid-column: 1; grid-row: 2; }
  .work-index .ar { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
}
.peek {
  position: fixed; top: 0; left: 0; width: 280px; aspect-ratio: 576/620; z-index: 50;
  pointer-events: none; border-radius: var(--r-img); overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.92); transition: opacity .2s, transform .3s var(--ease);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.peek img { width: 100%; height: 100%; object-fit: cover; }
.peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none), (max-width: 767.98px) { .peek { display: none; } }

.empty-note { padding: 48px 0; color: var(--muted); }

/* ---------- project detail ---------- */
.kv { border-radius: var(--r-img); overflow: hidden; background: var(--raised); aspect-ratio: 1200 / 628; }
.kv img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 32px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--t-sm); font-weight: 400; color: var(--faint); margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--text); font-size: var(--t-md); font-weight: 500; line-height: 1.4; }
@media (max-width: 767.98px) { .facts { grid-template-columns: 1fr 1fr; } }

.result {
  display: grid; grid-template-columns: auto 1fr; gap: 16px 56px; align-items: end;
  padding: 72px 0; border-bottom: 1px solid var(--line);
}
.result .num { font-family: var(--f-display); font-weight: 600; color: var(--lime); font-size: clamp(5rem, 2rem + 12vw, 12rem); line-height: .82; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.result p { max-width: 40ch; font-size: var(--t-md); color: var(--muted); padding-bottom: 12px; }
.result p strong { color: var(--text); font-weight: 600; display: block; font-size: var(--t-lg); font-family: var(--f-display); margin-bottom: 6px; }
@media (max-width: 767.98px) { .result { grid-template-columns: 1fr; padding: 48px 0; } }

.story { display: grid; grid-template-columns: 1fr 2fr; gap: 32px 72px; padding: 72px 0; border-bottom: 1px solid var(--line); }
.story h2 { font-size: var(--t-xl); letter-spacing: -0.02em; }
.story .body { max-width: 64ch; }
.story .body p + p { margin-top: 1em; }
.story .body p { font-size: var(--t-md); line-height: 1.7; }
@media (max-width: 767.98px) { .story { grid-template-columns: 1fr; padding: 48px 0; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--r-img); overflow: hidden; background: var(--raised); aspect-ratio: 410 / 310; }
.gallery figure.tall { aspect-ratio: auto; }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure.tall { grid-row: auto; } }

.next-project a { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.next-project small { display: block; font-size: var(--t-sm); color: var(--faint); margin-bottom: 8px; }
.next-project .nm { font-family: var(--f-display); font-weight: 600; color: var(--text); font-size: var(--t-3xl); letter-spacing: -0.03em; line-height: 1; transition: color .2s; }
.next-project a:hover .nm { color: var(--lime); }
.next-project .img { aspect-ratio: 1200/628; border-radius: var(--r-img); overflow: hidden; }
.next-project img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) { .next-project a { grid-template-columns: 1fr; } }

/* ---------- lists: capabilities, pipeline, timeline ---------- */
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 64px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.rows h3 { font-size: var(--t-xl); letter-spacing: -0.02em; }
.rows h3 .ar { display: block; text-align: left; margin-top: 8px; font-family: var(--f-arabic); font-weight: 500; font-size: var(--t-md); color: var(--lime); letter-spacing: 0; }
.rows p { font-size: var(--t-md); line-height: 1.65; max-width: 60ch; }
.rows .chips { margin-top: 20px; }
.rows .more { margin-top: 20px; display: inline-block; }
@media (max-width: 767.98px) { .rows > li { grid-template-columns: 1fr; padding: 32px 0; } }

.pipeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: step; border-top: 1px solid var(--line-strong); }
.pipeline li { counter-increment: step; padding: 24px 20px 0 0; position: relative; }
.pipeline li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--f-display); font-weight: 600; font-size: var(--t-sm); color: var(--lime);
  font-variant-numeric: tabular-nums; margin-bottom: 20px;
}
.pipeline li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.pipeline h3 { font-size: var(--t-lg); margin-bottom: 8px; }
.pipeline p { font-size: var(--t-sm); line-height: 1.6; }
@media (max-width: 1024px) { .pipeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } }
@media (max-width: 575.98px) { .pipeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-strong); padding-left: 24px; row-gap: 32px; } .pipeline li { padding: 0; } .pipeline li::after { left: -28px; top: 4px; } .pipeline li::before { margin-bottom: 8px; } }

.timeline { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 180px 1fr auto; gap: 8px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline .yr { font-family: var(--f-display); font-weight: 500; color: var(--faint); font-variant-numeric: tabular-nums; font-size: var(--t-base); }
.timeline .role { color: var(--text); font-family: var(--f-display); font-weight: 600; font-size: var(--t-lg); }
.timeline .org { display: block; font-family: var(--f-body); font-weight: 400; font-size: var(--t-base); color: var(--muted); margin-top: 2px; }
.timeline .loc { font-size: var(--t-sm); color: var(--faint); }
.timeline li.now .yr { color: var(--lime); }
@media (max-width: 767.98px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- about ---------- */
.about-intro { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.about-intro .portrait { border-radius: var(--r-img); overflow: hidden; background: var(--surface); }
.about-intro .portrait img { width: 100%; height: auto; }
.about-intro .lead { font-family: var(--f-display); color: var(--text); font-size: var(--t-2xl); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.about-intro .body { margin-top: 32px; max-width: 60ch; }
.about-intro .body p { font-size: var(--t-md); line-height: 1.7; }
.about-intro .body p + p { margin-top: 1em; }
@media (max-width: 991.98px) { .about-intro { grid-template-columns: 1fr; gap: 40px; } .about-intro .portrait { max-width: 420px; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats div { padding: 28px 24px 0 0; }
.stats strong { display: block; font-family: var(--f-display); font-weight: 600; color: var(--text); font-size: var(--t-3xl); letter-spacing: -0.03em; line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 767.98px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; } }

.awards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 40px; }
.awards li { padding: 22px 0; border-top: 1px solid var(--line); }
.awards .medal { font-family: var(--f-display); font-weight: 600; color: var(--text); font-size: var(--t-lg); }
.awards .medal .gold { color: var(--lime); }
.awards p { font-size: var(--t-sm); margin-top: 4px; }

.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { list-style: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 28px 20px; min-height: 110px; }
.logos img { max-height: 48px; width: auto; object-fit: contain; opacity: .85; }
.logos { padding: 0; margin: 0; }

/* ---------- AI engine ---------- */
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; border-top: 1px solid var(--line); }
.cap-grid article { padding: 36px 0; border-bottom: 1px solid var(--line); }
.cap-grid h3 { font-size: var(--t-xl); letter-spacing: -0.02em; margin-bottom: 12px; }
.cap-grid p { font-size: var(--t-base); line-height: 1.7; max-width: 52ch; }
.cap-grid .chips { margin-top: 18px; }
@media (max-width: 767.98px) { .cap-grid { grid-template-columns: 1fr; } }

.toolbelt { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.toolbelt li { list-style: none; font-family: var(--f-display); font-weight: 500; color: var(--text); font-size: var(--t-lg); padding: 10px 20px; border: 1px solid var(--line-strong); border-radius: 999px; }
.toolbelt { padding: 0; margin: 0; }

/* ---------- blog ---------- */
.feature-post a { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.feature-post .img { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 406/373; background: var(--raised); }
.feature-post img, .post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature-post a:hover img, .post-card a:hover img { transform: scale(1.03); }
.post-meta { font-size: var(--t-sm); color: var(--faint); display: flex; gap: 16px; flex-wrap: wrap; }
.post-meta .cat { color: var(--lime); }
.feature-post h2 { font-size: var(--t-3xl); letter-spacing: -0.03em; line-height: 1.05; margin: 16px 0 20px; transition: color .2s; }
.feature-post p { font-size: var(--t-md); max-width: 46ch; }
.feature-post a:hover h2, .post-card a:hover h3 { color: var(--lime); }
@media (max-width: 991.98px) { .feature-post a { grid-template-columns: 1fr; gap: 28px; } }

.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 40px; margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--line); }
.post-card .img { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 406/373; background: var(--raised); margin-bottom: 20px; }
.post-card h3 { font-size: var(--t-xl); line-height: 1.2; letter-spacing: -0.02em; margin: 10px 0; transition: color .2s; }
.post-card p { font-size: var(--t-base); max-width: 52ch; }
@media (max-width: 767.98px) { .post-list { grid-template-columns: 1fr; margin-top: 64px; } }

/* article */
.art-head { padding: 72px 0 88px; }
.art-head .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: end; }
.art-head figure { margin: 0; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 406/373; }
.art-head figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991.98px) { .art-head { padding: 48px 0 56px; } .art-head .wrap { grid-template-columns: 1fr; gap: 40px; } }
.art-head h1 { font-size: var(--t-3xl); line-height: 1.04; letter-spacing: -0.035em; margin: 20px 0 24px; max-width: 18ch; }
.art-head .dek { font-size: var(--t-lg); color: var(--muted); max-width: 56ch; line-height: 1.5; }
.art-hero { border-radius: var(--r-img); overflow: hidden; margin: 0 0 72px; }
.art-hero img { width: 100%; max-height: 640px; object-fit: cover; }
.prose { font-size: var(--fs-18); line-height: 1.75; color: rgba(242,243,245,.78); }
.prose > * + * { margin-top: 1.1em; }
.prose > h2 { font-size: var(--t-xl); letter-spacing: -0.02em; line-height: 1.25; margin-top: 2.2em; }
.prose > h2 + * { margin-top: .5em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--lime); }
.prose blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 3px solid var(--lime); font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.35; color: var(--text); font-weight: 500; letter-spacing: -0.01em; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: var(--t-sm); color: var(--faint); margin-top: 10px; }
.art-foot { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.author { display: flex; gap: 16px; align-items: center; }
.author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--surface); }
.author strong { display: block; color: var(--text); font-weight: 600; }
.author span { font-size: var(--t-sm); }
.share { display: flex; gap: 8px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 991.98px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }
body.tpl .mail-hero { font-family: var(--f-display); font-weight: 600; color: var(--text); font-size: clamp(1.75rem, 0.9rem + 2.6vw, 2.875rem); letter-spacing: -0.035em; line-height: 1.1; overflow-wrap: anywhere; }
body.tpl .mail-hero:hover { color: var(--lime); }
.copy-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.reach { margin-top: 56px; border-top: 1px solid var(--line); }
.reach div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.reach dt { font-weight: 400; color: var(--faint); font-size: var(--t-sm); padding-top: 3px; }
.reach dd { margin: 0; color: var(--text); font-size: var(--t-md); }
.reach dd a:hover { color: var(--lime); }

.form { display: grid; gap: 22px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 575.98px) { .form .two { grid-template-columns: 1fr; } }
.field label { display: block; font-size: var(--t-sm); color: var(--text); margin-bottom: 8px; font-weight: 500; }
.field label .opt { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--raised); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 16px; font: 400 var(--t-base)/1.5 var(--f-body);
  transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field textarea { min-height: 168px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23F2F3F5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(var(--color-brand-rgb),.15); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field .err { display: none; color: var(--color-error); font-size: var(--t-sm); margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: var(--color-error); }
.field.invalid .err { display: block; }
.form-status { font-size: var(--t-sm); min-height: 1.5em; }
.form-status.ok { color: var(--lime); }
.form-status.bad { color: var(--color-error); }

/* ---------- closing band (before footer) ---------- */
.closer { padding: 120px 0; border-top: 1px solid var(--line); }
.closer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.closer h2 { font-size: var(--t-3xl); letter-spacing: -0.035em; line-height: 1.02; max-width: 14ch; }
.closer h2 .ar { display: block; text-align: left; font-family: var(--f-arabic); font-weight: 500; color: var(--lime); font-size: .5em; letter-spacing: 0; margin-top: 14px; }
.closer .acts { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 767.98px) { .closer { padding: 80px 0; } }

/* ---------- 404 ---------- */
.lost { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 0 120px; }
.lost img { width: 100%; max-width: 520px; border-radius: var(--r-img); }
.lost h2 { font-size: var(--t-2xl); letter-spacing: -0.02em; margin-bottom: 16px; }
.lost p { font-size: var(--t-md); max-width: 46ch; margin-bottom: 28px; }
.lost ul { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.lost li a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); font-family: var(--f-display); font-weight: 500; font-size: var(--t-lg); }
.lost li a span { color: var(--faint); font-family: var(--f-body); font-size: var(--t-sm); font-weight: 400; }
.lost li a:hover { color: var(--lime); }
@media (max-width: 991.98px) { .lost { grid-template-columns: 1fr; padding-top: 24px; } .lost img { max-width: 320px; } }

/* ---------- footer tweaks for inner pages (bootstrap reboot sets blue links) ---------- */
body.tpl .main-footer { overflow-x: clip; }
body.tpl .main-footer a { color: inherit; }
body.tpl .social-style-one a { display: flex; align-items: center; justify-content: center; line-height: 1; }
body.tpl .main-footer .copyright-text a { color: var(--lime); }
body.tpl .main-footer .footer-sitemap a { color: rgba(255,255,255,.45); }
body.tpl .main-footer .footer-sitemap a:hover,
body.tpl .main-footer .widget_nav_menu a:hover { color: var(--lime); }
body.tpl .main-footer .widget_nav_menu ul li a { color: rgba(255,255,255,.65); }

/* utilities */
.mt-s { margin-top: 24px; } .mt-m { margin-top: 48px; } .mt-l { margin-top: 96px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   v2 additions — components for the full content set (Oct 2026)
   ========================================================================== */

/* statement line under the masthead title (the page's real headline) */
.mast-statement {
  margin-top: 32px; max-width: 26ch;
  font-family: var(--f-display); font-weight: 500; color: var(--text);
  font-size: var(--t-2xl); line-height: 1.15; letter-spacing: -0.02em;
}
.mast-quote {
  margin-top: 40px; max-width: 40ch; padding-left: 24px; border-left: 3px solid var(--lime);
  font-family: var(--f-display); font-weight: 500; color: var(--text);
  font-size: var(--t-xl); line-height: 1.35; letter-spacing: -0.01em;
}
.mast-aside .tagline { display: block; color: var(--muted); font-size: var(--t-sm); white-space: normal; max-width: 22ch; margin-left: auto; }
@media (max-width: 991.98px) { .mast-aside .tagline { margin-left: 0; } }

/* project cards without a key visual yet */
.work-card .img.noimg, .next-project .img.noimg {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 24px;
  background: var(--surface); border: 1px solid var(--line);
}
.noimg .ar { font-family: var(--f-arabic); font-weight: 500; color: var(--lime); font-size: var(--t-xl); line-height: 1.3; text-align: right; }
.noimg .en { font-size: var(--t-sm); color: var(--faint); }
.work-card .metric { margin-top: 10px; font-size: var(--t-sm); color: var(--lime); font-weight: 500; }

/* small stat row (project detail, pillar pages) */
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.minis strong { display: block; font-family: var(--f-display); font-weight: 600; color: var(--text); font-size: var(--t-2xl); letter-spacing: -0.02em; line-height: 1.05; }
.minis span { display: block; margin-top: 6px; font-size: var(--t-sm); color: var(--muted); max-width: 30ch; }
@media (max-width: 767.98px) { .minis { grid-template-columns: 1fr; } }

/* split statement block: heading left, prose right */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px 72px; padding: 72px 0; border-top: 1px solid var(--line); }
.split h2 { font-size: var(--t-3xl); letter-spacing: -0.03em; line-height: 1.02; }
.split .body p { font-size: var(--t-md); line-height: 1.7; max-width: 60ch; }
.split .body p + p { margin-top: 1em; }
.split .note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text); font-size: var(--t-base); line-height: 1.6; max-width: 60ch; }
@media (max-width: 991.98px) { .split { grid-template-columns: 1fr; padding: 48px 0; } }

/* client names, typographic */
.clients { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.clients li { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-weight: 500; color: var(--text); font-size: var(--t-xl); letter-spacing: -0.015em; }
.clients li span { display: block; font-family: var(--f-body); font-weight: 400; font-size: var(--t-sm); color: var(--faint); letter-spacing: 0; margin-top: 4px; }
@media (max-width: 767.98px) { .clients { grid-template-columns: 1fr 1fr; } .clients li { font-size: var(--t-lg); } }

/* sectors list */
.sectors { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 64px; }
.sectors li { break-inside: avoid; padding: 16px 0; border-top: 1px solid var(--line); color: var(--text); font-size: var(--t-md); }
@media (max-width: 767.98px) { .sectors { columns: 1; } }

/* AI engine steps with tools */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; border-top: 1px solid var(--line-strong); }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 80px 1fr 1.5fr; gap: 16px 40px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-weight: 600; color: var(--lime); font-size: var(--t-lg); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: var(--t-xl); letter-spacing: -0.02em; }
.steps .tools { margin-top: 10px; font-size: var(--t-sm); color: var(--muted); }
.steps p { font-size: var(--t-base); line-height: 1.7; max-width: 60ch; }
@media (max-width: 767.98px) { .steps > li { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; } }

/* module blocks (AI pipeline) */
.module { padding: 64px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px 72px; }
.module h2 { font-size: var(--t-2xl); letter-spacing: -0.02em; line-height: 1.1; }
.module h2 small { display: block; margin-top: 10px; font-family: var(--f-body); font-weight: 400; font-size: var(--t-base); color: var(--muted); letter-spacing: 0; }
.module dl { margin: 0; }
.module dl div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; gap: 12px 24px; }
.module dl div:first-child { border-top: 0; padding-top: 0; }
.module dt { color: var(--text); font-weight: 600; font-size: var(--t-base); }
.module dd { margin: 0; font-size: var(--t-base); line-height: 1.7; }
@media (max-width: 991.98px) { .module { grid-template-columns: 1fr; padding: 48px 0; } .module dl div { grid-template-columns: 1fr; gap: 4px; } }

/* tech matrix */
.matrix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.matrix section { border-top: 2px solid var(--lime); padding-top: 20px; }
.matrix h3 { font-size: var(--t-lg); margin-bottom: 16px; }
.matrix ul { list-style: none; padding: 0; margin: 0; }
.matrix li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: var(--t-base); line-height: 1.45; }
@media (max-width: 1024px) { .matrix { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 575.98px) { .matrix { grid-template-columns: 1fr; } }

/* downloads */
.dl-group + .dl-group { margin-top: 96px; }
.dl-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.dl-list li { display: grid; grid-template-columns: 1.2fr 1.8fr auto; gap: 16px 40px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.dl-list h3 { font-size: var(--t-lg); letter-spacing: -0.01em; }
.dl-list .fmt { display: block; margin-top: 6px; font-size: var(--t-sm); color: var(--faint); }
.dl-list p { font-size: var(--t-base); line-height: 1.6; max-width: 56ch; }
.dl-list .roles { display: block; margin-top: 8px; font-size: var(--t-sm); color: var(--text); }
@media (max-width: 991.98px) { .dl-list li { grid-template-columns: 1fr; } .dl-list .btn { justify-self: start; } }

/* sitemap directory */
.dir { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.dir li a { display: grid; grid-template-columns: 1.1fr 0.9fr 2fr; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.dir .nm { color: var(--text); font-family: var(--f-display); font-weight: 600; font-size: var(--t-lg); transition: color .2s; }
.dir .path { font-size: var(--t-sm); color: var(--faint); }
.dir .ds { font-size: var(--t-base); color: var(--muted); }
.dir li a:hover .nm { color: var(--lime); }
@media (max-width: 767.98px) { .dir li a { grid-template-columns: 1fr; gap: 4px; } }
.cs-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.cs-cols h3 { font-size: var(--t-lg); border-top: 2px solid var(--lime); padding-top: 16px; margin-bottom: 8px; }
.cs-cols ul { list-style: none; padding: 0; margin: 0; }
.cs-cols li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: var(--t-base); line-height: 1.4; }
.cs-cols li a:hover { color: var(--lime); }
@media (max-width: 1024px) { .cs-cols { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 575.98px) { .cs-cols { grid-template-columns: 1fr; } }

/* pillar switcher at the end of pillar pages */
.pillar-nav { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar-nav a { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.pillar-nav a strong { display: block; color: var(--text); font-family: var(--f-display); font-weight: 600; font-size: var(--t-lg); transition: color .2s; }
.pillar-nav a span { font-size: var(--t-sm); color: var(--muted); }
.pillar-nav a:hover strong, .pillar-nav a[aria-current] strong { color: var(--lime); }
@media (max-width: 767.98px) { .pillar-nav { grid-template-columns: 1fr 1fr; } }

.closer .manifesto { margin-top: 20px; max-width: 52ch; font-size: var(--t-base); color: var(--muted); }

@media (max-width: 479.98px) { .mast-en { font-size: clamp(2.5rem, 12vw, 3.5rem); } }
.mast-quote + .mast-foot, .mast-statement + .mast-foot { margin-top: 40px; }

/* ==========================================================================
   v3 additions — client archive, trusted-by list (Oct 12 2026)
   ========================================================================== */
.filter-note { font-size: var(--t-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.sub-title { font-size: var(--t-xl); letter-spacing: -0.02em; margin: 0 0 28px; }

.archive-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line-strong); }
.archive { width: 100%; border-collapse: collapse; font-size: var(--t-base); }
.archive thead th { text-align: left; font-weight: 500; font-size: var(--t-sm); color: var(--faint); padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.archive tbody th, .archive td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.archive tbody th { text-align: left; font-family: var(--f-display); font-weight: 600; color: var(--text); font-size: var(--t-md); }
.archive tbody th a { color: var(--text); background-image: linear-gradient(var(--lime), var(--lime)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; }
.archive tbody th a:hover { color: var(--lime); }
.archive .cs { margin-left: 10px; font-family: var(--f-body); font-weight: 500; font-size: var(--fs-12); color: var(--lime-ink); background: var(--lime); border-radius: 999px; padding: 2px 8px; vertical-align: 2px; }
.archive td { color: var(--muted); font-size: var(--t-sm); }
.archive .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-right: 0; }
.archive tbody td.num:last-child { color: var(--text); font-family: var(--f-display); font-weight: 600; font-size: var(--t-md); }
.archive tr[hidden] { display: none; }
@media (max-width: 767.98px) {
  .archive thead th:nth-child(3), .archive td:nth-child(3), .archive thead th:nth-child(2), .archive td:nth-child(2) { display: none; }
}

.trusted { list-style: none; padding: 0; margin: 0; columns: 4; column-gap: 40px; border-top: 1px solid var(--line); padding-top: 12px; }
.trusted li { break-inside: avoid; padding: 9px 0; color: var(--text); font-family: var(--f-display); font-weight: 500; font-size: var(--t-md); border-bottom: 1px solid var(--line); }
@media (max-width: 1024px) { .trusted { columns: 3; } }
@media (max-width: 767.98px) { .trusted { columns: 2; column-gap: 24px; } .trusted li { font-size: var(--t-base); } }
.awards .medal { display: block; }

/* Visible breadcrumb (matches the BreadcrumbList JSON-LD) */
.crumbs { margin: 0 0 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 0; padding: 0; list-style: none; font-size: var(--fs-14); letter-spacing: .02em; }
.crumbs li { display: inline-flex; align-items: center; color: rgba(255,255,255,.55); }
.crumbs li + li::before { content: "/"; margin: 0 12px; color: rgba(255,255,255,.28); }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--color-brand); }
.crumbs [aria-current="page"] { color: var(--color-brand); }

/* Footer on template pages — match index.html exactly (style.css isn't loaded here) */
body.tpl .main-footer .row { --bs-gutter-x: 30px; }
body.tpl .main-footer .widget_nav_menu { width: fit-content; margin-left: auto; }
body.tpl .main-footer hr { opacity: 1; border: 0; border-top: 1px solid transparent; color: var(--color-coal); background-color: var(--color-coal); }
body.tpl .main-footer .social-style-one a { display: block; color: var(--color-grey-450); font-size: var(--fs-14); line-height: 40px; text-align: center; }
@media (max-width: 767.98px) { body.tpl .main-footer .widget_nav_menu { margin-left: auto; margin-right: auto; } }
body.tpl .main-footer .social-style-one a img { display: inline-block; vertical-align: middle; }
body.tpl .main-footer .widget_logo .logo-outer, body.tpl .main-footer .widget_logo .logo { display: inline-block; }

/* Figma Component 27, node 798:77725; scoped to Contact submission. */
@font-face {
  font-family: 'Contact Envelope';
  src: url('/assets/vendor/fontawesome-5.15.4/webfonts/fa-regular-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
.form .contact-submit {
  --contact-submit-green:var(--color-brand);
  box-sizing: border-box;
  width: 172px;
  height: 50px;
  min-height: 50px;
  padding: 10px 17px;
  gap: 8px;
  border: 0;
  border-radius: 15px;
  background: var(--contact-submit-green);
  color: var(--color-ink) !important;
  font-family: var(--f-body);
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 30px;
  text-transform: none;
  white-space: nowrap;
}


.contact-submit-icon {
  display: inline-block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  font-family: 'Contact Envelope';
  font-style: normal;
  font-weight: 400;
  font-size: var(--fs-16);
  line-height: 16px;
  text-align: center;
}
.contact-submit-icon::before { content: '\f0e0'; }

/* Contact profile destinations wrap without crowding on small screens. */
.contact-profiles { display:flex; flex-wrap:wrap; gap:10px 16px; align-items:baseline; }

/* ---- /assets/css/preloader.css ---- */
/* preloader.css — the home page's video-logo preloader for every inner page.
   Same look and timing as index.html (home-hero-anim.css + its inline failsafe). */
.preloader {
    position: fixed; inset: 0; z-index: 9999999;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-bg) none;
    animation: site-preloader-out 0.4s ease 6s forwards;   /* closes even if no script runs */
}
.preloader-logo:not([hidden]) {
    display: block; width: 250px; max-width: calc(100% - 32px); height: 100%; object-fit: contain;
}
.preloader.is-done {
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
@keyframes site-preloader-out { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .preloader { display: none; } }

/* ---- /assets/css/ui.css ---- */
/* ==========================================================================
   ui.css — shared components and accessibility layer. Loaded LAST on every page.
   Uses tokens.css only. Sections: 1 Buttons · 2 Inputs · 3 Focus · 4 Hidden controls · 5 Reduced motion
   ========================================================================== */

/* 1. Buttons ---------------------------------------------------------------
   One button. Base classes: .theme-btn (template pages), .btn (generated pages),
   .cta-button (header). Variants: default = primary, .btn--outline (alias .btn-line),
   .btn--ghost. Sizes: .btn--sm / .btn--md / .btn--lg.
   States: hover, :focus-visible, :disabled / [aria-disabled="true"] / .is-disabled,
   loading = .is-loading or inside a form[aria-busy="true"].                   */
html body .theme-btn, html body .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
html body .theme-btn, html body .btn, html body .cta-button {
  border-radius: var(--radius-btn);
  font-family: var(--font-body); font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease),
              color var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
/* primary */
html body .theme-btn:not(.btn--outline):not(.btn--ghost),
html body .cta-button,
html body .btn.btn-lime {
  background-color: var(--color-brand); color: var(--color-on-brand) !important; opacity: 1;
}
html body .theme-btn:not(.btn--outline):not(.btn--ghost):hover,
html body .cta-button:hover,
html body .btn.btn-lime:hover {
  background-color: var(--color-brand-hover); opacity: 1;
}
/* outline */
html body .theme-btn.btn--outline, html body .btn.btn--outline, html body .btn.btn-line {
  background-color: transparent; color: var(--color-text) !important; border: 1px solid var(--color-border-strong);
}
html body .theme-btn.btn--outline:hover, html body .btn.btn--outline:hover, html body .btn.btn-line:hover {
  border-color: var(--color-brand); color: var(--color-brand) !important;
}
/* ghost */
html body .theme-btn.btn--ghost, html body .btn.btn--ghost {
  background-color: transparent; color: var(--color-text) !important; border: 1px solid transparent;
}
html body .theme-btn.btn--ghost:hover, html body .btn.btn--ghost:hover {
  background-color: rgba(255, 255, 255, .06); color: var(--color-brand) !important;
}
/* sizes (opt-in, so existing layouts keep their padding) */
html body .btn--sm { min-height: 36px; padding: 8px 16px;  font-size: var(--fs-14); }
html body .btn--md { min-height: 48px; padding: 12px 28px; font-size: var(--fs-16); }
html body .btn--lg { min-height: 56px; padding: 16px 36px; font-size: var(--fs-18); }
/* disabled */
html body .theme-btn:disabled, html body .btn:disabled, html body .cta-button:disabled,
html body [aria-disabled="true"].theme-btn, html body [aria-disabled="true"].btn,
html body .theme-btn.is-disabled, html body .btn.is-disabled {
  opacity: .45; cursor: not-allowed; pointer-events: none;
}
/* loading */
html body .is-loading.theme-btn, html body .is-loading.btn,
html body form[aria-busy="true"] button[type="submit"] { position: relative; cursor: progress; }
html body .is-loading.theme-btn::after, html body .is-loading.btn::after,
html body form[aria-busy="true"] button[type="submit"]::after {
  content: ""; width: 14px; height: 14px; flex: none;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: ui-spin .7s linear infinite;
}
/* Sending: the submit button is disabled but should read as busy, not unavailable */
html body form[aria-busy="true"] button[type="submit"]:disabled { opacity: 1; cursor: progress; pointer-events: none; }
@keyframes ui-spin { to { transform: rotate(360deg); } }

/* 2. Inputs ----------------------------------------------------------------
   .form-control (template forms, used by form-validator.js) and .ds-input/.ds-select
   share one look.                                                              */
html body .form-control, html body .ds-input, html body .ds-select {
  background-color: transparent; color: var(--color-text);
  border: 1px solid var(--color-border); border-radius: var(--radius-input);
  font-family: var(--font-body);
  transition: border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
html body .ds-input, html body .ds-select { background-color: var(--color-surface); }
html body .form-control::placeholder, html body .ds-input::placeholder { color: rgba(255, 255, 255, .3); }
html body .form-control:focus, html body .ds-input:focus, html body .ds-select:focus {
  outline: 0; border-color: var(--color-brand); box-shadow: 0 0 0 3px rgba(var(--color-brand-rgb), .15);
}
html body .form-control[aria-invalid="true"], html body .ds-input[aria-invalid="true"] { border-color: var(--color-error); }
html body .form-control:disabled, html body .ds-input:disabled { opacity: .5; cursor: not-allowed; }

/* 3. Keyboard focus ---------------------------------------------------------
   Visible ring for keyboard users only (mouse clicks don't show it).            */
:where(a, button, [role="button"], input, select, textarea, summary, [tabindex]):focus-visible {
  outline: var(--focus-ring) !important; outline-offset: var(--focus-offset);
  border-radius: 4px;
}
html body .theme-btn:focus-visible, html body .btn:focus-visible, html body .cta-button:focus-visible {
  outline: var(--focus-ring) !important; outline-offset: var(--focus-offset); border-radius: var(--radius-btn);
}
/* inputs already show a green border + glow on focus */
:where(input, select, textarea).form-control:focus-visible,
:where(input, select, textarea).ds-input:focus-visible { outline-offset: 1px; }

/* 4. Checkbox / radio / toggle ----------------------------------------------
   Keep the real input reachable by keyboard and screen readers (was display:none). */
.ds-checkbox, .ds-radio, .ds-toggle {
  display: block !important; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.ds-checkbox:focus-visible + .ds-checkbox-box,
.ds-radio:focus-visible + .ds-radio-circle,
.ds-toggle:focus-visible + .ds-toggle-slider { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.visually-hidden, .sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* 5. Reduced motion ---------------------------------------------------------
   Honour the visitor's OS setting site-wide. script.js also swaps the hero
   video for its final-frame still and skips the preloader video.              */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .preloader { display: none !important; }
  .hf-hero-video { display: none !important; }
  .hf-hero-still { display: block !important; width: 100%; height: auto; }
  .bg-lines span { height: 100% !important; }
}

/* Small phones (EN + AR): keep logo, language switch and icons from touching — 2026-10-13 */
.site-header .header-actions { display: flex; align-items: center; gap: 4px; margin-inline-start: 12px; }
@media (max-width: 479.98px) {
  .site-header .header-container { padding-left: 16px; padding-right: 16px; }
  .site-header .header-logo img { height: 20px; }
  .site-header .lang-switch { min-height: 36px; padding: 0 6px; gap: 4px; font-size: 13px; margin-inline-end: 0; }
  .site-header .search-link { width: 40px; height: 40px; margin-inline-end: 0; }
}

/* Language switch (EN ⇄ AR) in the header — added Oct 2026 */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; margin-inline-end: 2px; border-radius: 999px; font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1; color: var(--color-white); text-decoration: none; opacity: .85; transition: opacity .2s, color .2s; }
.lang-switch svg { flex: none; width: 18px; height: 18px; }
.lang-switch:hover, .lang-switch:focus-visible { opacity: 1; color: var(--color-brand); }
.lang-switch[lang="ar"] { font-family: var(--font-arabic); }

/* Header search icon + /search page — added Oct 2026 */
.search-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-inline-end: 6px; color: inherit; opacity: .85; border-radius: 50%; }
.search-link:hover, .search-link:focus-visible { opacity: 1; }
.site-search { display: flex; gap: 12px; margin-top: 32px; max-width: 760px; }
.site-search input { flex: 1; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); color: inherit; font: inherit; font-size: 17px; }
.site-search input:focus { outline: 2px solid var(--lime, #82ff00); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-count { opacity: .7; margin: 0 0 16px; }
.search-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.search-results a { display: block; padding: 18px 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; color: inherit; text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { border-color: var(--lime, #82ff00); }
.search-results h3 { margin: 0 0 6px; font-size: 19px; }
.search-results p { margin: 0 0 6px; opacity: .8; font-size: 15px; }
.search-results .url { font-size: 13px; color: var(--lime, #82ff00); }
@media (max-width: 600px) { .site-search { flex-direction: column; } }

/* Outlined display text (EN + AR): overlapping glyph contours draw seams through letters (A crossbars, e, g, joined Arabic).
   Fill with the band colour and paint the stroke underneath; the visible outer 1px matches the old 1px stroke. — 2026-10-18 */
body.home-figma .hf-big-ticker .marquee-item span { color: rgb(15, 14, 14); -webkit-text-stroke-width: 2px; paint-order: stroke fill; }
body.home-figma .hf-awards .award-box .tag { color: rgb(16, 19, 22); -webkit-text-stroke-width: 2px; paint-order: stroke fill; }
.awards-list-area .award-box .tag { color: rgb(22, 27, 34); -webkit-text-stroke-width: 2px; paint-order: stroke fill; }
body.home-figma .hf-awards .award-box:hover .tag, .awards-list-area .award-box:hover .tag { color: var(--color-white); }

/* Footer "Connect:" row — the icon row's 15px bottom margin pushed it off-centre from the label */
.main-footer .social-flow .social-style-one { margin-bottom: 0; }

/* ---- /assets/css/rtl.css?v=20261019 ---- */

/* rtl.css — Arabic pages (/ar/). Loaded after the site CSS on <html lang="ar" dir="rtl"> only. */
html[dir="rtl"] body,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6,
html[dir="rtl"] p, html[dir="rtl"] a, html[dir="rtl"] li, html[dir="rtl"] span, html[dir="rtl"] small,
html[dir="rtl"] button, html[dir="rtl"] input, html[dir="rtl"] select, html[dir="rtl"] textarea, html[dir="rtl"] label,
html[dir="rtl"] th, html[dir="rtl"] td, html[dir="rtl"] summary, html[dir="rtl"] dt, html[dir="rtl"] dd, html[dir="rtl"] strong, html[dir="rtl"] em {
    font-family: var(--font-arabic);
}
/* Arabic letters must join: no tracking, no forced case, slightly taller lines */
html[dir="rtl"] * { letter-spacing: 0 !important; text-transform: none !important; }
html[dir="rtl"] body { line-height: 1.75; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { line-height: 1.35; }
html[dir="rtl"] .fa, html[dir="rtl"] .fas, html[dir="rtl"] .far, html[dir="rtl"] .fal, html[dir="rtl"] .fab { font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "Font Awesome 5 Brands" !important; }
html[dir="rtl"] .fab { font-family: "Font Awesome 5 Brands" !important; }

/* Text alignment follows the reading direction */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .text-left, html[dir="rtl"] .text-start { text-align: right !important; }
html[dir="rtl"] .text-right, html[dir="rtl"] .text-end { text-align: left !important; }

/* Directional arrows point the other way */
html[dir="rtl"] .fa-arrow-right, html[dir="rtl"] .fa-long-arrow-right, html[dir="rtl"] .fa-angle-right,
html[dir="rtl"] .fa-angle-double-right, html[dir="rtl"] .fa-chevron-right, html[dir="rtl"] .fa-arrow-left { transform: scaleX(-1); display: inline-block; }

/* Header: logo left, actions right, as in English. Only the menu itself runs right-to-left. */
html[dir="rtl"] .site-header .header-container { direction: ltr; }
html[dir="rtl"] .site-header .header-nav { direction: rtl; }
html[dir="rtl"] .nav-sub { left: auto; right: -20px; text-align: right; }
html[dir="rtl"] .nav-link.active::after, html[dir="rtl"] .nav-drop-btn.active::after { left: auto; right: 0; }
@media (max-width: 1024px) {
  html[dir="rtl"] .header-nav > .nav-link, html[dir="rtl"] .nav-drop-btn { text-align: right; }
  html[dir="rtl"] .nav-sub { padding: 4px 12px 12px 0; }
}

/* Numbers, emails, phones and Latin brand names stay left-to-right inside Arabic text */
html[dir="rtl"] a[href^="mailto:"], html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="tel"] { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] table td.num, html[dir="rtl"] table th.num { text-align: left; }


/* Home hero: the absolute-positioned composition keeps its English layout; let the Arabic subtitle wrap */
html[dir="rtl"] body.home-figma .hf-hero-sub { white-space: normal; max-width: 62%; }
html[dir="rtl"] body.home-figma .hf-hello, html[dir="rtl"] body.home-figma .hf-im, html[dir="rtl"] body.home-figma .hf-name { font-family: var(--font-arabic); }
html[dir="rtl"] body.home-figma .hf-hello { transform: translateY(12px); }
/* --- generated by mirror_hero.py: Arabic hero mirrored at every breakpoint --- */
html[dir="rtl"] body.home-figma .hf-hero-sub { left: auto; right: 40px; }
html[dir="rtl"] body.home-figma .hf-hello { left: auto; right: 27px; }
html[dir="rtl"] body.home-figma .hf-im { left: auto; right: 858px; }
html[dir="rtl"] body.home-figma .hf-name { left: 42px; right: auto; }
html[dir="rtl"] body.home-figma .hf-designation { left: auto; right: 109px; }
@media (max-width: 1199.98px) { html[dir="rtl"] body.home-figma .hf-hero-sub { left: auto; right: 0; } }
@media (max-width: 1199.98px) { html[dir="rtl"] body.home-figma .hf-hello { left: auto; right: -13px; } }
@media (max-width: 1199.98px) { html[dir="rtl"] body.home-figma .hf-im { left: auto; right: 593px; } }
@media (max-width: 1199.98px) { html[dir="rtl"] body.home-figma .hf-name { left: 0; right: auto; } }
@media (max-width: 1199.98px) { html[dir="rtl"] body.home-figma .hf-designation { left: auto; right: 74px; } }
@media (max-width: 991.98px) { html[dir="rtl"] body.home-figma .hf-im { left: 220px; right: auto; } }
@media (max-width: 767.98px) { html[dir="rtl"] body.home-figma .hf-hero-sub { left: auto; right: 0; } }
@media (max-width: 767.98px) { html[dir="rtl"] body.home-figma .hf-hello { left: auto; right: 0; } }
@media (max-width: 767.98px) { html[dir="rtl"] body.home-figma .hf-im { left: auto; right: 239px; } }
@media (max-width: 767.98px) { html[dir="rtl"] body.home-figma .hf-name { left: 17px; right: auto; } }
@media (max-width: 767.98px) { html[dir="rtl"] body.home-figma .hf-designation { left: auto; right: 10px; } }
@media (max-width: 767.98px) { html[dir="rtl"] body.home-figma .hf-hero-sub { left: auto; right: 0; } }
@media (max-width: 767.98px) { html[dir="rtl"] body.home-figma .hf-hello { left: auto; right: 0; } }
@media (max-width: 767.98px) { html[dir="rtl"] body.home-figma .hf-im { left: auto; right: calc(239 * var(--u)); } }
@media (max-width: 767.98px) { html[dir="rtl"] body.home-figma .hf-name { left: calc(17 * var(--u)); right: auto; } }
@media (max-width: 767.98px) { html[dir="rtl"] body.home-figma .hf-designation { left: auto; right: calc(10 * var(--u)); } }

/* --- RTL layout fixes (2026-10-13) --- */
/* Hero: Arabic glyphs sit taller than Latin; clear the badge above "مرحباً" */
html[dir="rtl"] body.home-figma .hf-hello { transform: translateY(34px); line-height: 1.1; }
@media (max-width: 767.98px) { html[dir="rtl"] body.home-figma .hf-hello { transform: translateY(14px); } }
html[dir="rtl"] body.home-figma .hf-hero-sub { max-width: none; white-space: nowrap; }
html[dir="rtl"] body.home-figma .hf-designation { flex-direction: row; }

/* Icons beside text: spacing goes on the reading side */
html[dir="rtl"] .icon-sm { margin-right: 0; margin-left: 10px; }
html[dir="rtl"] .sub-title i, html[dir="rtl"] .home-two .sub-title i { margin-right: 0; margin-left: 10px; }
html[dir="rtl"] .social-flow h4 { margin-right: 0; margin-left: 15px; }

/* Tickers: run the strip left-to-right so it stays full; each item still reads RTL */
html[dir="rtl"] .marquee-wrap, html[dir="rtl"] .marquee-inner { direction: ltr; }
html[dir="rtl"] .marquee-item { direction: rtl; unicode-bidi: isolate; }


/* Bootstrap is the LTR build: mirror the spacing utilities used on these pages */
html[dir="rtl"] .ml-auto { margin-left: 0 !important; margin-right: auto !important; }
html[dir="rtl"] .mr-auto { margin-right: 0 !important; margin-left: auto !important; }
html[dir="rtl"] .float-left { float: right !important; }
html[dir="rtl"] .float-right { float: left !important; }

/* Mid-width desktops: Arabic labels are wider, keep the menu clear of the logo */
@media (min-width: 1025px) and (max-width: 1299.98px) {
  html[dir="rtl"] .header-nav { gap: 22px; margin-inline: 24px; }
  html[dir="rtl"] .header-nav .nav-link, html[dir="rtl"] .nav-drop-btn { font-size: 15px; }
}

/* Mirror directional art and diagonal arrows so they point along the reading direction */
html[dir="rtl"] body.home-figma .hf-skill-art .hf-skill-man,
html[dir="rtl"] body.home-figma .hf-skill-arrow-art img { transform: scaleX(-1); }
html[dir="rtl"] body.home-figma .hf-skill-arrow-art { margin-right: 0; margin-left: 38px; }
@media (max-width: 991.98px) { html[dir="rtl"] body.home-figma .hf-skill-arrow-art { margin-left: 0; } }
html[dir="rtl"] .more-btn i { transform: rotate(-45deg); }
html[dir="rtl"] .details-btn { transform: rotate(45deg); }

/* Footer: logo row keeps the English layout (logo left, menu right); menu items still read RTL.
   Description text aligns right (Bootstrap is the LTR build, so text-lg-start meant left). */
@media (min-width: 768px) {
  html[dir="rtl"] .main-footer .row > * { order: 3; }
  html[dir="rtl"] .main-footer .row > :nth-child(1) { order: 2; }
  html[dir="rtl"] .main-footer .row > :nth-child(2) { order: 1; }
}
@media (min-width: 992px) {
  html[dir="rtl"] .main-footer .widget_text .text { text-align: right; }
  html[dir="rtl"] .main-footer .widget_social { display: flex; justify-content: flex-end; } /* flex-end = left in RTL; text-lg-end can't be overridden (layered !important) */ /* set on the child: Bootstrap's layered !important on the parent outranks unlayered !important */
}

/* Services: mirror the gaps the LTR template sets with margin-right */
html[dir="rtl"] .list-style-two li::before { flex: none; margin-right: 0; margin-left: 20px; }
html[dir="rtl"] .service-item .number { margin-right: 0; margin-left: 50px; }
html[dir="rtl"] .proof-scale .metric-items .service-item .number, html[dir="rtl"] .template-inner .t-main .proof-scale .metric-items .service-item .number { margin: 0 0 0 30px; direction: ltr; text-align: right; }
@media (max-width: 479.98px) { html[dir="rtl"] .proof-scale .metric-items .service-item .number, html[dir="rtl"] .template-inner .t-main .proof-scale .metric-items .service-item .number { margin: 0 0 16px; } }

/* ===== Arabic home page RTL fixes (2026-10-18) ===== */
/* Hero: "معاذ" ends under the right edge of "أنا" */
html[dir="rtl"] body.home-figma .hf-name { left: auto; right: 858px; }
html[dir="rtl"] body.home-figma .hf-name { text-decoration-thickness: 0.04em; }
@media (max-width: 1199.98px) { html[dir="rtl"] body.home-figma .hf-name { left: auto; right: 593px; } }
@media (max-width: 767.98px) { html[dir="rtl"] body.home-figma .hf-name { left: auto; right: calc(239 * var(--u, 1px)); } }

/* Experience: "الدراسة" / "والخبرة" pills — Sora (Arabic falls back to IBM Plex), fully opaque */
html[dir="rtl"] body.home-figma .timeline-heading .title { font-family: var(--font-arabic); color: #fff; opacity: 1; letter-spacing: 0; }

/* Recent highlights: labels sit on the right edge */
html[dir="rtl"] body.home-figma .hf-projects .project-item.style-four .content { left: auto; right: 20px; align-items: flex-start; } /* start = right edge in RTL */

/* Skills ticker: space between the star and its text */
html[dir="rtl"] .marquee-item i { margin-left: 0; margin-right: 30px; }

/* Innovation lab: mirror the text rule, column gaps and list stars */
html[dir="rtl"] .service-item-two .text { margin-right: 0; margin-left: 5%; padding-left: 0; padding-right: 20px; border-left: 0; border-right: 1px solid var(--primary-color); }
html[dir="rtl"] .service-item-two .list { margin-right: 0; margin-left: 7%; }
html[dir="rtl"] .service-item-two .list li:before { margin-right: 0; margin-left: 10px; }

/* Blog "اقرأ المزيد": arrow points left with a gap from the text */
html[dir="rtl"] .read-more img { margin-left: 0; margin-right: 12px; transform: scaleX(-1); }

/* Contact: inputs pad evenly so placeholders line up on the right */
html[dir="rtl"] body.home-figma .hf-contact .contact-form-two .form-control,
html[dir="rtl"] body.home-figma .hf-contact .contact-form-two input,
html[dir="rtl"] body.home-figma .hf-contact .contact-form-two textarea { padding-right: 30px; padding-left: 30px; text-align: right; }
/* Phone number reads +966 50 175 7969 */
html[dir="rtl"] body.home-figma .hf-contact-content h5 { unicode-bidi: plaintext; }
html[dir="rtl"] body.home-figma .hf-contact-content h5:has(img[src*="phone"]) { direction: ltr; justify-content: flex-end; }
html[dir="rtl"] body.home-figma .hf-contact-content h5:has(img[src*="phone"]) img { order: 2; margin-left: 15px; margin-right: 0; }
/* "المزيد" arrow points up-left */
html[dir="rtl"] body.home-figma .hf-contact-more .arrow { transform: rotate(45deg); }

/* Big tickers (Arabic) — lab ticker runs the other way */
html[dir="rtl"] body.home-figma .hf-big-ticker--lab .marquee-inner.left { animation-direction: reverse; }
/* Outlined Arabic words: joined letters overlap, so a plain stroke draws seams through them.
   Fill with the band colour and paint the stroke underneath; only the outer 1px of a 2px stroke shows. */
html[dir="rtl"] body.home-figma .hf-big-ticker .marquee-item span { color: rgb(15, 14, 14); -webkit-text-stroke-width: 2px; paint-order: stroke fill; }
html[dir="rtl"] body.home-figma .hf-big-ticker--footer .marquee-inner.left { animation-direction: reverse; }

/* Innovation lab: LTR margins mirrored — icon→title 24px, title→text 60px */
html[dir="rtl"] body.home-figma .hf-lab .service-item-two .icon { width: auto; min-width: 0; margin-right: 0; margin-left: 30px; }
html[dir="rtl"] body.home-figma .hf-lab .service-item-two .title { margin-right: 0; margin-left: 60px; }

/* Awards: outlined Arabic titles without seams through joined letters (same technique as the big tickers) */
html[dir="rtl"] body.home-figma .hf-awards .award-box .tag { color: rgb(16, 19, 22); -webkit-text-stroke-width: 2px; paint-order: stroke fill; }
html[dir="rtl"] body.home-figma .hf-awards .award-box:hover .tag { color: var(--color-white); }

/* Footer type (Arabic): Sora first — it has no Arabic glyphs, so Arabic letters fall back to IBM Plex Sans Arabic */
html[dir="rtl"] .main-footer .widget_nav_menu ul li,
html[dir="rtl"] .main-footer .widget_nav_menu ul li a { font-family: var(--font-arabic); font-weight: 400; font-size: 16px; }
html[dir="rtl"] .main-footer .widget_text .text { font-family: var(--font-arabic); font-weight: 600; font-size: 16px; }
html[dir="rtl"] .main-footer .footer-sitemap li,
html[dir="rtl"] .main-footer .footer-sitemap a { font-family: var(--font-arabic); font-weight: 400; font-size: 14px; }

/* ===== Arabic pages: Sora on all text (2026-10-18) =====
   Sora has no Arabic glyphs, so Arabic letters render in IBM Plex Sans Arabic; digits and Latin words use Sora.
   Icon fonts (Font Awesome <i>, flaticon) are excluded so icons keep rendering. */
html[dir="rtl"] body,
html[dir="rtl"] body :not(i):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not([class*="flaticon"]):not(code):not(pre):not(kbd) {
  font-family: var(--font-arabic) !important;
}
/* About awards: same seam-free outline as the home awards (section colour #161B22) */
html[dir="rtl"] .awards-list-area .award-box .tag { color: rgb(22, 27, 34); -webkit-text-stroke-width: 2px; paint-order: stroke fill; }
html[dir="rtl"] .awards-list-area .award-box:hover .tag { color: var(--color-white); }

/* Blog essay pages (Arabic): the template's LTR margins mirrored — 2026-10-18 */
html[dir="rtl"] .blog-details-wrap .author-date-share .author { margin: 0 0 0 20px; }
html[dir="rtl"] body.template-inner .t-main .blog-details-wrap .author-date-share .text { margin-right: 0; margin-left: 40px; }
html[dir="rtl"] body.template-inner .t-main .blog-details-wrap .author-date-share .details-btn { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .blog-details-wrap .author-date-share .details-btn { margin-left: 0; margin-right: auto; flex: none; }
html[dir="rtl"] .blog-details-wrap .big-letter::first-letter { float: right; margin-right: 0; margin-left: 20px; }
html[dir="rtl"] .blog-details-wrap .list-style-one li::before { margin-right: 0; margin-left: 12px; }
html[dir="rtl"] .blog-details-wrap .tag-share .item b { margin-right: 0; margin-left: 20px; }
html[dir="rtl"] .blog-details-wrap .admin-comment .author-thumb { margin-right: 0; margin-left: 40px; }
html[dir="rtl"] .blog-details-wrap .next-prev-post .post-item .image { margin-right: 0; margin-left: 20px; flex: none; }
/* Essay blockquote (Arabic): bar, quote mark and padding on the right */
html[dir="rtl"] .blog-details-wrap blockquote { border-left: 0; border-right: 3px solid var(--color-brand); padding: 30px 125px 30px 40px; }
html[dir="rtl"] .blog-details-wrap blockquote::before { left: auto; right: 48px; transform: scaleX(-1); }
html[dir="rtl"] .blog-details-wrap blockquote .blockquote-footer::before { margin-right: 0; margin-left: 10px; }
@media (max-width: 767.98px) { html[dir="rtl"] .blog-details-wrap blockquote { padding-left: 40px; padding-right: 100px; } }
@media (max-width: 479.98px) { html[dir="rtl"] .blog-details-wrap blockquote { padding-left: 25px; padding-right: 60px; } }
@media (max-width: 375px) { html[dir="rtl"] .blog-details-wrap blockquote { padding-right: 25px; } }
/* Essay share icon points the reading direction in Arabic */
html[dir="rtl"] body.template-inner .t-main .blog-details-wrap .author-date-share .details-btn i { display: inline-block; transform: scaleX(-1); }

/* ---- /assets/css/new-inner-templates.css?v=20261120p8 ---- */
/* ==========================================================================
   templates.css — shared stylesheet for every inner page of mouazalsabbagh.com
   Loads after bootstrap.min.css + header.css + footer.css. No Noxfolio style.css.

   Brand tokens are unchanged (dark + #82FF00, DM Sans + Inter).
   What's new: a bilingual masthead (English title + Arabic counterpart) that every
   page opens with, a stricter type scale, and radius used by hierarchy, not by habit.
   ========================================================================== */

/* Bootstrap is only needed for the agreed footer grid. Importing it into a layer
   means every rule below wins over it without specificity fights. */
@layer vendor{
/*!
 * Bootstrap v5.0.2 (https://getbootstrap.com/)
 * Copyright 2011-2021 The Bootstrap Authors
 * Copyright 2011-2021 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0))}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-font-sans-serif);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]::-webkit-calendar-picker-indicator{display:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.list-unstyled{padding-left:0;list-style:none}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.figure{display:inline-block}.container{width:100%;padding-right:var(--bs-gutter-x,.75rem);padding-left:var(--bs-gutter-x,.75rem);margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}@media (min-width:1400px){.container{max-width:1320px}}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(var(--bs-gutter-y) * -1);margin-right:calc(var(--bs-gutter-x) * -.5);margin-left:calc(var(--bs-gutter-x) * -.5)}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.col-6{flex:0 0 auto;width:50%}@media (min-width:768px){.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}}@media (min-width:992px){.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-12{flex:0 0 auto;width:100%}}@media (min-width:1200px){.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-12{flex:0 0 auto;width:100%}}.table{--bs-table-bg:transparent;--bs-table-accent-bg:transparent;--bs-table-striped-color:#212529;--bs-table-striped-bg:rgba(0, 0, 0, 0.05);--bs-table-active-color:#212529;--bs-table-active-bg:rgba(0, 0, 0, 0.1);--bs-table-hover-color:#212529;--bs-table-hover-bg:rgba(0, 0, 0, 0.075);width:100%;margin-bottom:1rem;color:#212529;vertical-align:top;border-color:#dee2e6}.table>:not(caption)>*>*{padding:.5rem .5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table>:not(:last-child)>:last-child>*{border-bottom-color:currentColor}.btn{display:inline-block;font-weight:400;line-height:1.5;color:#212529;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529}.btn:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{pointer-events:none;opacity:.65}.btn-primary{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-primary:hover{color:#fff;background-color:#0b5ed7;border-color:#0a58ca}.btn-primary:focus{color:#fff;background-color:#0b5ed7;border-color:#0a58ca;box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-primary.active,.btn-primary:active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0a58ca;border-color:#0a53be}.btn-primary.active:focus,.btn-primary:active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-dark{color:#fff;background-color:#212529;border-color:#212529}.btn-dark:hover{color:#fff;background-color:#1c1f23;border-color:#1a1e21}.btn-dark:focus{color:#fff;background-color:#1c1f23;border-color:#1a1e21;box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-dark.active,.btn-dark:active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1a1e21;border-color:#191c1f}.btn-dark.active:focus,.btn-dark:active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#212529;border-color:#212529}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropend,.dropstart,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;z-index:1000;display:none;min-width:10rem;padding:.5rem 0;margin:0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty::after{margin-left:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#1e2125;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#0d6efd}.dropdown-item.disabled,.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem;color:#0d6efd;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:#0a58ca}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.navbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-top:.5rem;padding-bottom:.5rem}.navbar>.container{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.alert{position:relative;padding:1rem 1rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}@-webkit-keyframes progress-bar-stripes{0%{background-position-x:1rem}}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.list-group{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.25rem}.list-group-item{position:relative;display:block;padding:.5rem 1rem;color:#212529;text-decoration:none;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.toast{width:350px;max-width:100%;font-size:.875rem;pointer-events:auto;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .5rem 1rem rgba(0,0,0,.15);border-radius:.25rem}.toast:not(.showing):not(.show){opacity:0}.toast.hide{display:none}.modal{position:fixed;top:0;left:0;z-index:1060;display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-body{position:relative;flex:1 1 auto;padding:1rem}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}}.tooltip{position:absolute;z-index:1080;display:block;margin:0;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .tooltip-arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1070;display:block;max-width:276px;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .popover-arrow{position:absolute;display:block;width:1rem;height:.5rem}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.popover-header{padding:.5rem 1rem;margin-bottom:0;font-size:1rem;background-color:#f0f0f0;border-bottom:1px solid rgba(0,0,0,.2);border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:1rem 1rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}@-webkit-keyframes spinner-border{to{transform:rotate(360deg)}}@keyframes spinner-border{to{transform:rotate(360deg)}}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.offcanvas{position:fixed;bottom:0;z-index:1050;display:flex;flex-direction:column;max-width:100%;visibility:hidden;background-color:#fff;background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.show{transform:none}.clearfix::after{display:block;clear:both;content:""}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.d-flex{display:flex!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.flex-wrap{flex-wrap:wrap!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.align-items-center{align-items:center!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.mt-0{margin-top:0!important}.me-0{margin-right:0!important}.me-4{margin-right:1.5rem!important}.pb-5{padding-bottom:3rem!important}.text-center{text-align:center!important}.text-success{color:#198754!important}.text-danger{color:#dc3545!important}.visible{visibility:visible!important}@media (min-width:768px){.text-md-start{text-align:left!important}}@media (min-width:992px){.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}}
}

:root {
  --ink: #0D1117;          /* page background */
  --surface: #161B22;      /* alternate band */
  --raised: #1E242C;       /* inputs, image wells */
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #F2F3F5;
  --muted: rgba(242, 243, 245, 0.62);
  --faint: rgba(242, 243, 245, 0.50); /* was 0.40 (3.5:1); 0.50 = 4.8:1 for small text, P8 20 Nov 2026 */
  --lime: #82FF00;
  --lime-ink: #0A0F02;     /* text on lime */

  --f-display: var(--font-display);
  --f-body: var(--font-body);
  --f-arabic: var(--font-arabic);

  /* type scale — 1.25 steps from 16px, display sizes fluid */
  --t-xs: 0.8125rem;  /* 13 */
  --t-sm: 0.875rem;   /* 14 */
  --t-base: 1rem;     /* 16 */
  --t-md: 1.125rem;   /* 18 */
  --t-lg: 1.375rem;   /* 22 */
  --t-xl: 1.75rem;    /* 28 */
  --t-2xl: clamp(2rem, 1.4rem + 2.2vw, 2.75rem);      /* 32–44 */
  --t-3xl: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);       /* 40–64 */
  --t-mast: clamp(3.5rem, 1.2rem + 9vw, 9rem);        /* 56–144 */

  --wrap: 1280px;
  --gutter: 40px;
  --header-h: 100px;
  --r-img: 6px;
  --r-btn: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  :root { --gutter: 20px; --header-h: 72px; }
}

/* ---------- base ---------- */
body.tpl {
  margin: 0;
  background: var(--ink);
  color: var(--muted);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:where(body.tpl) :where(h1, h2, h3, h4) {
  color: var(--text);
  font-family: var(--f-display);
  font-weight: 600;
  margin: 0;
}
:where(body.tpl) :where(p, ul, ol, figure, dl, dd) { margin: 0; }
:where(body.tpl) :where(a) { color: inherit; text-decoration: none; }
:where(body.tpl) :where(img) { max-width: 100%; display: block; }
body.tpl :focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
body.tpl ::selection { background: var(--lime); color: var(--lime-ink); }
body.tpl .site-header .cta-button,
body.tpl .site-header .cta-button:hover { color: #070707; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--lime); color: var(--lime-ink) !important; padding: 10px 16px; border-radius: var(--r-btn);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.t-main { padding-top: var(--header-h); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

.band { padding: 120px 0; }
.band-tight { padding: 72px 0; }
.band-alt { background: var(--surface); }
@media (max-width: 768px) { .band { padding: 80px 0; } .band-tight { padding: 56px 0; } }

/* ---------- bilingual masthead (the signature) ---------- */
.mast { padding: 88px 0 56px; }
.mast-titles {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 48px;
}
.mast-en {
  font-size: var(--t-mast);
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.mast-en .ln { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.1em; }
.mast-en .ln > span { display: inline-block; }
.mast-ar {
  font-family: var(--f-arabic);
  font-weight: 500;
  color: var(--lime);
  font-size: calc(var(--t-mast) * 0.42);
  line-height: 1.2;
  text-align: right;
  padding-bottom: 0.2em;
}
.mast-foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.mast-lede {
  max-width: 58ch;
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--muted);
}
.mast-aside { font-size: var(--t-sm); color: var(--faint); text-align: right; white-space: nowrap; }
.mast-aside strong { display: block; color: var(--text); font-family: var(--f-display); font-size: var(--t-lg); font-weight: 600; }

@media (max-width: 900px) {
  .mast { padding: 56px 0 40px; }
  .mast-titles { grid-template-columns: 1fr; }
  .mast-ar { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .mast-foot { flex-direction: column; gap: 16px; }
  .mast-aside { text-align: left; }
}

/* The one orchestrated moment: masthead lines rise into place on load */
@media (prefers-reduced-motion: no-preference) {
  .mast-en .ln > span { animation: rise 0.9s var(--ease) both; }
  .mast-en .ln:nth-child(2) > span { animation-delay: 0.08s; }
  .mast-en .ln:nth-child(3) > span { animation-delay: 0.16s; }
  .mast-ar { animation: fade 0.9s 0.35s var(--ease) both; }
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- section heads ---------- */
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: 48px;
}
.sec-title { font-size: var(--t-3xl); line-height: 1.02; letter-spacing: -0.03em; }
.sec-note { max-width: 44ch; font-size: var(--t-base); color: var(--muted); }
@media (max-width: 768px) { .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; } }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  border-radius: var(--r-btn); border: 1px solid transparent;
  font-family: var(--f-body); font-size: var(--t-base); font-weight: 600;
  cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.btn-lime { background: var(--lime); color: var(--lime-ink) !important; }
.btn-lime:hover { background: #B9FF3D; }
.btn-line { background: transparent; color: var(--text) !important; border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--lime); color: var(--lime) !important; }
.btn svg { width: 18px; height: 18px; }

.link-u { color: var(--text); background-image: linear-gradient(var(--lime), var(--lime)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 2px; transition: color .2s; }
.link-u:hover { color: var(--lime); }

/* ---------- chips (filters, tags) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip {
  font-family: var(--f-body); font-size: var(--t-sm); font-weight: 500;
  color: var(--muted); background: transparent;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 16px; cursor: pointer; transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.chip .n { opacity: .6; margin-left: 6px; font-variant-numeric: tabular-nums; }
.tag { font-size: var(--t-sm); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; display: inline-block; }

/* ---------- works: toolbar, grid, index ---------- */
.works-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--line);
}
.view-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.view-toggle button {
  background: none; border: 0; color: var(--muted); font: 500 var(--t-sm)/1 var(--f-body);
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
}
.view-toggle button[aria-pressed="true"] { background: var(--text); color: var(--ink); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.work-grid[hidden], .work-index[hidden] { display: none; }
@media (max-width: 1024px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .work-grid { grid-template-columns: 1fr; gap: 40px; } }

.work-card a { display: block; }
.work-card .img { aspect-ratio: 576 / 620; overflow: hidden; border-radius: var(--r-img); background: var(--raised); }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card h3 { margin-top: 18px; font-size: var(--t-lg); letter-spacing: -0.01em; transition: color .2s; }
.work-card p { margin-top: 4px; font-size: var(--t-sm); color: var(--muted); }
.work-card a:hover img { transform: scale(1.035); }
.work-card a:hover h3 { color: var(--lime); }
.work-card[hidden] { display: none; }

.work-index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.work-index li { border-bottom: 1px solid var(--line); }
.work-index li[hidden] { display: none; }
.work-index a {
  display: grid; grid-template-columns: minmax(0,2.2fr) minmax(0,1.6fr) minmax(0,1.1fr) minmax(0,1fr); gap: 24px; align-items: baseline;
  padding: 22px 4px; transition: color .2s, padding .3s var(--ease);
}
.work-index .nm { font-family: var(--f-display); font-size: var(--t-xl); font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.work-index .cl, .work-index .cat { font-size: var(--t-sm); color: var(--muted); }
.work-index .ar { font-family: var(--f-arabic); font-size: var(--t-md); color: var(--faint); text-align: right; }
.work-index a:hover .nm { color: var(--lime); }
.work-index a:hover { padding-left: 14px; }
@media (max-width: 768px) {
  .work-index a { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .work-index .nm { font-size: var(--t-lg); }
  .work-index .cat { display: none; }
  .work-index .cl { grid-column: 1; grid-row: 2; }
  .work-index .ar { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
}
.peek {
  position: fixed; top: 0; left: 0; width: 280px; aspect-ratio: 576/620; z-index: 50;
  pointer-events: none; border-radius: var(--r-img); overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.92); transition: opacity .2s, transform .3s var(--ease);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.peek img { width: 100%; height: 100%; object-fit: cover; }
.peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none), (max-width: 768px) { .peek { display: none; } }

.empty-note { padding: 48px 0; color: var(--muted); }

/* ---------- project detail ---------- */
.kv { border-radius: var(--r-img); overflow: hidden; background: var(--raised); aspect-ratio: 1200 / 628; }
.kv img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 32px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--t-sm); font-weight: 400; color: var(--faint); margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--text); font-size: var(--t-md); font-weight: 500; line-height: 1.4; }
@media (max-width: 768px) { .facts { grid-template-columns: 1fr 1fr; } }

.result {
  display: grid; grid-template-columns: auto 1fr; gap: 16px 56px; align-items: end;
  padding: 72px 0; border-bottom: 1px solid var(--line);
}
.result .num { font-family: var(--f-display); font-weight: 600; color: var(--lime); font-size: clamp(5rem, 2rem + 12vw, 12rem); line-height: .82; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.result p { max-width: 40ch; font-size: var(--t-md); color: var(--muted); padding-bottom: 12px; }
.result p strong { color: var(--text); font-weight: 600; display: block; font-size: var(--t-lg); font-family: var(--f-display); margin-bottom: 6px; }
@media (max-width: 768px) { .result { grid-template-columns: 1fr; padding: 48px 0; } }

.story { display: grid; grid-template-columns: 1fr 2fr; gap: 32px 72px; padding: 72px 0; border-bottom: 1px solid var(--line); }
.story h2 { font-size: var(--t-xl); letter-spacing: -0.02em; }
.story .body { max-width: 64ch; }
.story .body p + p { margin-top: 1em; }
.story .body p { font-size: var(--t-md); line-height: 1.7; }
@media (max-width: 768px) { .story { grid-template-columns: 1fr; padding: 48px 0; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--r-img); overflow: hidden; background: var(--raised); aspect-ratio: 410 / 310; }
.gallery figure.tall { aspect-ratio: auto; }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure.tall { grid-row: auto; } }

.next-project a { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.next-project small { display: block; font-size: var(--t-sm); color: var(--faint); margin-bottom: 8px; }
.next-project .nm { font-family: var(--f-display); font-weight: 600; color: var(--text); font-size: var(--t-3xl); letter-spacing: -0.03em; line-height: 1; transition: color .2s; }
.next-project a:hover .nm { color: var(--lime); }
.next-project .img { aspect-ratio: 1200/628; border-radius: var(--r-img); overflow: hidden; }
.next-project img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .next-project a { grid-template-columns: 1fr; } }

/* ---------- lists: capabilities, pipeline, timeline ---------- */
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 64px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.rows h3 { font-size: var(--t-xl); letter-spacing: -0.02em; }
.rows h3 .ar { display: block; text-align: left; margin-top: 8px; font-family: var(--f-arabic); font-weight: 500; font-size: var(--t-md); color: var(--lime); letter-spacing: 0; }
.rows p { font-size: var(--t-md); line-height: 1.65; max-width: 60ch; }
.rows .chips { margin-top: 20px; }
.rows .more { margin-top: 20px; display: inline-block; }
@media (max-width: 768px) { .rows > li { grid-template-columns: 1fr; padding: 32px 0; } }

.pipeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: step; border-top: 1px solid var(--line-strong); }
.pipeline li { counter-increment: step; padding: 24px 20px 0 0; position: relative; }
.pipeline li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--f-display); font-weight: 600; font-size: var(--t-sm); color: var(--lime);
  font-variant-numeric: tabular-nums; margin-bottom: 20px;
}
.pipeline li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.pipeline h3 { font-size: var(--t-lg); margin-bottom: 8px; }
.pipeline p { font-size: var(--t-sm); line-height: 1.6; }
@media (max-width: 1024px) { .pipeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } }
@media (max-width: 560px) { .pipeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-strong); padding-left: 24px; row-gap: 32px; } .pipeline li { padding: 0; } .pipeline li::after { left: -28px; top: 4px; } .pipeline li::before { margin-bottom: 8px; } }

.timeline { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 180px 1fr auto; gap: 8px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline .yr { font-family: var(--f-display); font-weight: 500; color: var(--faint); font-variant-numeric: tabular-nums; font-size: var(--t-base); }
.timeline .role { color: var(--text); font-family: var(--f-display); font-weight: 600; font-size: var(--t-lg); }
.timeline .org { display: block; font-family: var(--f-body); font-weight: 400; font-size: var(--t-base); color: var(--muted); margin-top: 2px; }
.timeline .loc { font-size: var(--t-sm); color: var(--faint); }
.timeline li.now .yr { color: var(--lime); }
@media (max-width: 768px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- about ---------- */
.about-intro { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.about-intro .portrait { border-radius: var(--r-img); overflow: hidden; background: var(--surface); }
.about-intro .portrait img { width: 100%; height: auto; }
.about-intro .lead { font-family: var(--f-display); color: var(--text); font-size: var(--t-2xl); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.about-intro .body { margin-top: 32px; max-width: 60ch; }
.about-intro .body p { font-size: var(--t-md); line-height: 1.7; }
.about-intro .body p + p { margin-top: 1em; }
@media (max-width: 900px) { .about-intro { grid-template-columns: 1fr; gap: 40px; } .about-intro .portrait { max-width: 420px; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats div { padding: 28px 24px 0 0; }
.stats strong { display: block; font-family: var(--f-display); font-weight: 600; color: var(--text); font-size: var(--t-3xl); letter-spacing: -0.03em; line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 768px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; } }

.awards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 40px; }
.awards li { padding: 22px 0; border-top: 1px solid var(--line); }
.awards .medal { font-family: var(--f-display); font-weight: 600; color: var(--text); font-size: var(--t-lg); }
.awards .medal .gold { color: var(--lime); }
.awards p { font-size: var(--t-sm); margin-top: 4px; }

.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { list-style: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 28px 20px; min-height: 110px; }
.logos img { max-height: 48px; width: auto; object-fit: contain; opacity: .85; }
.logos { padding: 0; margin: 0; }

/* ---------- AI engine ---------- */
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; border-top: 1px solid var(--line); }
.cap-grid article { padding: 36px 0; border-bottom: 1px solid var(--line); }
.cap-grid h3 { font-size: var(--t-xl); letter-spacing: -0.02em; margin-bottom: 12px; }
.cap-grid p { font-size: var(--t-base); line-height: 1.7; max-width: 52ch; }
.cap-grid .chips { margin-top: 18px; }
@media (max-width: 768px) { .cap-grid { grid-template-columns: 1fr; } }

.toolbelt { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.toolbelt li { list-style: none; font-family: var(--f-display); font-weight: 500; color: var(--text); font-size: var(--t-lg); padding: 10px 20px; border: 1px solid var(--line-strong); border-radius: 999px; }
.toolbelt { padding: 0; margin: 0; }

/* ---------- blog ---------- */
.feature-post a { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.feature-post .img { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 406/373; background: var(--raised); }
.feature-post img, .post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature-post a:hover img, .post-card a:hover img { transform: scale(1.03); }
.post-meta { font-size: var(--t-sm); color: var(--faint); display: flex; gap: 16px; flex-wrap: wrap; }
.post-meta .cat { color: var(--lime); }
.feature-post h2 { font-size: var(--t-3xl); letter-spacing: -0.03em; line-height: 1.05; margin: 16px 0 20px; transition: color .2s; }
.feature-post p { font-size: var(--t-md); max-width: 46ch; }
.feature-post a:hover h2, .post-card a:hover h3 { color: var(--lime); }
@media (max-width: 900px) { .feature-post a { grid-template-columns: 1fr; gap: 28px; } }

.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 40px; margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--line); }
.post-card .img { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 406/373; background: var(--raised); margin-bottom: 20px; }
.post-card h3 { font-size: var(--t-xl); line-height: 1.2; letter-spacing: -0.02em; margin: 10px 0; transition: color .2s; }
.post-card p { font-size: var(--t-base); max-width: 52ch; }
@media (max-width: 768px) { .post-list { grid-template-columns: 1fr; margin-top: 64px; } }

/* article */
.art-head { padding: 72px 0 88px; }
.art-head .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: end; }
.art-head figure { margin: 0; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 406/373; }
.art-head figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .art-head { padding: 48px 0 56px; } .art-head .wrap { grid-template-columns: 1fr; gap: 40px; } }
.art-head h1 { font-size: var(--t-3xl); line-height: 1.04; letter-spacing: -0.035em; margin: 20px 0 24px; max-width: 18ch; }
.art-head .dek { font-size: var(--t-lg); color: var(--muted); max-width: 56ch; line-height: 1.5; }
.art-hero { border-radius: var(--r-img); overflow: hidden; margin: 0 0 72px; }
.art-hero img { width: 100%; max-height: 640px; object-fit: cover; }
.prose { font-size: 1.1875rem; line-height: 1.75; color: rgba(242,243,245,.78); }
.prose > * + * { margin-top: 1.1em; }
.prose > h2 { font-size: var(--t-xl); letter-spacing: -0.02em; line-height: 1.25; margin-top: 2.2em; }
.prose > h2 + * { margin-top: .5em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--lime); }
.prose blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 3px solid var(--lime); font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.35; color: var(--text); font-weight: 500; letter-spacing: -0.01em; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: var(--t-sm); color: var(--faint); margin-top: 10px; }
.art-foot { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.author { display: flex; gap: 16px; align-items: center; }
.author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--surface); }
.author strong { display: block; color: var(--text); font-weight: 600; }
.author span { font-size: var(--t-sm); }
.share { display: flex; gap: 8px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }
body.tpl .mail-hero { font-family: var(--f-display); font-weight: 600; color: var(--text); font-size: clamp(1.75rem, 0.9rem + 2.6vw, 2.875rem); letter-spacing: -0.035em; line-height: 1.1; overflow-wrap: anywhere; }
body.tpl .mail-hero:hover { color: var(--lime); }
.copy-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.reach { margin-top: 56px; border-top: 1px solid var(--line); }
.reach div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.reach dt { font-weight: 400; color: var(--faint); font-size: var(--t-sm); padding-top: 3px; }
.reach dd { margin: 0; color: var(--text); font-size: var(--t-md); }
.reach dd a:hover { color: var(--lime); }

.form { display: grid; gap: 22px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
.field label { display: block; font-size: var(--t-sm); color: var(--text); margin-bottom: 8px; font-weight: 500; }
.field label .opt { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--raised); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 16px; font: 400 var(--t-base)/1.5 var(--f-body);
  transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field textarea { min-height: 168px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23F2F3F5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(162,255,0,.15); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field .err { display: none; color: #FF8A7A; font-size: var(--t-sm); margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #FF8A7A; }
.field.invalid .err { display: block; }
.form-status { font-size: var(--t-sm); min-height: 1.5em; }
.form-status.ok { color: var(--lime); }
.form-status.bad { color: #FF8A7A; }

/* ---------- closing band (before footer) ---------- */
.closer { padding: 120px 0; border-top: 1px solid var(--line); }
.closer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.closer h2 { font-size: var(--t-3xl); letter-spacing: -0.035em; line-height: 1.02; max-width: 14ch; }
.closer h2 .ar { display: block; text-align: left; font-family: var(--f-arabic); font-weight: 500; color: var(--lime); font-size: .5em; letter-spacing: 0; margin-top: 14px; }
.closer .acts { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 768px) { .closer { padding: 80px 0; } }

/* ---------- 404 ---------- */
.lost { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 0 120px; }
.lost img { width: 100%; max-width: 520px; border-radius: var(--r-img); }
.lost h2 { font-size: var(--t-2xl); letter-spacing: -0.02em; margin-bottom: 16px; }
.lost p { font-size: var(--t-md); max-width: 46ch; margin-bottom: 28px; }
.lost ul { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.lost li a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); font-family: var(--f-display); font-weight: 500; font-size: var(--t-lg); }
.lost li a span { color: var(--faint); font-family: var(--f-body); font-size: var(--t-sm); font-weight: 400; }
.lost li a:hover { color: var(--lime); }
@media (max-width: 900px) { .lost { grid-template-columns: 1fr; padding-top: 24px; } .lost img { max-width: 320px; } }

/* ---------- footer tweaks for inner pages (bootstrap reboot sets blue links) ---------- */
body.tpl .main-footer { overflow-x: clip; }
body.tpl .main-footer a { color: inherit; }
body.tpl .social-style-one a { display: flex; align-items: center; justify-content: center; line-height: 1; }
body.tpl .main-footer .copyright-text a { color: var(--lime); }
body.tpl .main-footer .footer-sitemap a { color: rgba(255,255,255,.45); }
body.tpl .main-footer .footer-sitemap a:hover,
body.tpl .main-footer .widget_nav_menu a:hover { color: var(--lime); }
body.tpl .main-footer .widget_nav_menu ul li a { color: rgba(255,255,255,.65); }

/* utilities */
.mt-s { margin-top: 24px; } .mt-m { margin-top: 48px; } .mt-l { margin-top: 96px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* Adapt existing, verified content to the supplied template vocabulary. */
.template-inner .t-main { overflow: clip; }
.template-inner .t-main *, .template-inner .t-main *::before, .template-inner .t-main *::after { box-sizing: border-box; }
.template-inner .t-main section { position: relative; }
.template-inner .t-main .band { padding-block: clamp(56px, 7vw, 112px); }
.template-inner .t-main .mast { padding-block: clamp(48px, 6vw, 88px) 48px; }
.template-inner .t-main .wrap { width: 100%; }
.template-inner .t-main .template-row { --bs-gutter-x: 32px; --bs-gutter-y: 32px; row-gap: 32px; }
.template-inner .t-main .template-row > * { min-width: 0; }
.template-inner .t-main h2 { font-size: var(--t-3xl); line-height: 1.12; letter-spacing: -.025em; margin-block: 0 28px; }
.template-inner .t-main h3, .template-inner .t-main h4, .template-inner .t-main h5 { font-size: var(--t-xl); line-height: 1.25; margin-block: 0 20px; }
.template-inner .t-main p { line-height: 1.75; margin-block: 0 22px; }
.template-inner .t-main p:last-child { margin-bottom: 0; }
.template-inner .t-main a { overflow-wrap: anywhere; }
.template-inner .t-main .theme-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 18px 28px; background: var(--lime); color: var(--lime-ink); border: 1px solid var(--lime); border-radius: var(--r-btn); font-size: 16px; font-weight: 600; }
.template-inner .t-main .theme-btn.style-two { background: transparent; color: var(--text); border-color: var(--line-strong); }
.template-inner .t-main .sub-title { display: block; color: var(--lime); font-size: var(--t-sm); margin-bottom: 20px; }
.template-inner .t-main .service-item, .template-inner .t-main .award-item { height: 100%; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 0; }
.template-inner .t-main .service-item .number { color: var(--lime); margin-bottom: 24px; }
.template-inner .t-main .service-item .content { padding: 0; }
.template-inner .t-main .service-item .content p { margin-bottom: 0; }
.template-inner .t-main .sector-list, .template-inner .t-main .trusted-names { columns: 2; padding: 0; list-style: none; }
.template-inner .t-main .sector-list li, .template-inner .t-main .trusted-names li { break-inside: avoid; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.template-inner .t-main .bg-lines { display: none; }
.template-inner .t-main .about-page-content-part { padding: 0; }
.template-inner .t-main .about-page-image, .template-inner .t-main .about-portrait { position: relative; max-width: 100%; }
.template-inner .t-main .about-page-image img, .template-inner .t-main .about-portrait img { width: 100%; height: auto; border-radius: var(--r-img); }
.template-inner .t-main .experience-years { padding: 24px; background: var(--lime); color: var(--lime-ink); }
.template-inner .t-main .experience-years b { font-size: 48px; }
.template-inner .t-main .blog-item { height: 100%; background: var(--surface); border: 1px solid var(--line); }
.template-inner .t-main .blog-item .content { padding: 30px; }
.template-inner .t-main .blog-item .image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.template-inner .t-main .blog-standard-area > .wrap > .template-row > .col-lg-8 { width: 100%; }
.template-inner .t-main .blog-standard-area .blog-standard-wrap > .template-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 0; }
.template-inner .t-main .blog-standard-area .blog-standard-wrap > .template-row > * { width: auto; padding: 0; }
.template-inner .t-main .blog-sidebar { margin-top: 40px; }
.template-inner .t-main .cs-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 20px; }
.template-inner .t-main .cs-metric { padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.template-inner .t-main .cs-metric b { display: block; color: var(--lime); font-size: clamp(28px,4vw,48px); }
.template-inner .t-main .cs-metric span { display: block; margin-top: 12px; }
.template-inner .t-main .cs-banner .cs-sub { max-width: 65ch; margin-top: 30px; }
.template-inner .t-main .cs-banner .mast-en { font-size: clamp(48px,7vw,100px); line-height: 1.04; }
.template-inner .t-main .cs-cta { padding: 32px; border: 1px solid var(--line); background: var(--surface); }
.template-inner .t-main .cs-hero img, .template-inner .t-main .cs-wide img, .template-inner .t-main .cs-frame img { width: 100%; height: auto; }
.template-inner .t-main .work-card { min-width: 0; list-style: none; }
.template-inner .t-main .work-card .img img { width: 100%; object-fit: cover; }
.template-inner .t-main .work-card h3 { margin-top: 20px; }
.template-inner .t-main .work-card .project-btn { display: none; }
.template-inner .t-main .work-index-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.template-inner .t-main [hidden] { display: none !important; }
.template-inner .t-main .faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.template-inner .t-main .faq-item summary { cursor: pointer; color: var(--text); }
.template-inner .t-main .faq-a { padding-top: 20px; }
.template-inner .t-main .wow { visibility: visible !important; }
.template-inner .t-main .page-ai-mast { background: transparent; }
.template-inner .t-main .page-title { text-align: start; }
.template-inner .t-main .crumbs { margin-bottom: 32px; }
.template-inner .t-main .mast-ar { max-width: 100%; }
.template-inner .t-main .mast-en { overflow-wrap: anywhere; }
.template-inner .t-main .band > .wrap > .section-title { margin-bottom: 48px; }
html[dir="rtl"] .template-inner .mast-en { letter-spacing: 0; line-height: 1.3; }
html[dir="rtl"] .template-inner .t-main { font-family: var(--f-arabic); text-align: start; }
html[dir="rtl"] .template-inner .t-main :is(h1,h2,h3,h4,h5,button,input,textarea) { font-family: var(--f-arabic); }
html[dir="rtl"] .template-inner .mast-titles { grid-template-columns: 1fr; }
.template-inner .t-main .mast-ar[hidden] { display: none !important; }
@media (max-width: 900px) {
 .template-inner .t-main .blog-standard-area .blog-standard-wrap > .template-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .template-inner .t-main .cs-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
 .template-inner .t-main .blog-standard-area .blog-standard-wrap > .template-row { grid-template-columns: 1fr; }
 .template-inner .t-main .sector-list, .template-inner .t-main .trusted-names { columns: 1; }
 .template-inner .t-main .service-item { padding: 24px; }
 .template-inner .t-main .work-index-row { grid-template-columns: 1fr; gap: 8px; }
 .template-inner .t-main .theme-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .template-inner *, .template-inner *::before, .template-inner *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.template-inner { background: #0D1117 !important; background-image: none !important; }
.template-inner .page-wrapper { padding-top: 0 !important; background: transparent !important; }
.template-inner .works-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block: 0 40px; }
.template-inner .works-toolbar .view-toggle { display: flex; gap: 8px; margin-inline-start: auto; }
.template-inner .works-toolbar button { padding: 12px 18px; }
.template-inner .works-toolbar [data-view][aria-pressed="true"] { background: var(--lime); color: var(--lime-ink); }
.template-inner .t-main .work-grid { padding: 0; margin: 0; }
.template-inner .t-main .mast-ar { font-size: calc(var(--t-mast) * .36); }
@media(max-width:600px) { .template-inner .works-toolbar .view-toggle { margin-inline-start:0; } .template-inner .works-toolbar { gap: 8px; } }

/* Project-details reference masthead, independent of old banner styles. */
.template-inner .t-main > .mast:first-child .mast-en { text-align: start; }
.template-inner .t-main > .mast:first-child .crumbs ol { justify-content: flex-start !important; }
.work-card-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 24px; }
.work-card-actions .btn { font-size: 14px; padding: 12px 18px; }

/* Case-study navigation: current page state and adjacent project imagery. */
.template-inner.cs-page { --case-current-page: #82FF0B; }
.template-inner.cs-page .crumbs [aria-current="page"] { color: var(--case-current-page); }
.template-inner.cs-page .cs-nav > a { flex-direction: row; align-items: center; gap: 24px; }
.template-inner.cs-page .cs-nav > a.next { flex-direction: row-reverse; align-items: center; text-align: end; }
.template-inner.cs-page .cs-nav .cs-nav-thumb { flex: 0 0 auto; width: 96px; height: 128px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; border-radius: 8px; }
.template-inner.cs-page .cs-nav-copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
@media (max-width: 767px) {
 .template-inner.cs-page .cs-nav > a { gap: 18px; padding: 20px; }
 .template-inner.cs-page .cs-nav .cs-nav-thumb { width: 72px; height: 96px; }
}

/* Homepage-style FAQ cards shared by existing inner-page FAQ sections. */
.template-inner .t-main .faq-area { background: #0f1416; padding: 110px 0; }
.template-inner .t-main .faq-area > .wrap,
.template-inner .t-main .faq-area > .container { width: calc(100% - 40px); max-width: 980px; margin-inline: auto; padding-inline: 0; }
.template-inner .t-main .faq-area .faq-head { margin-bottom: 36px; }
.template-inner .t-main .faq-area .faq-eyebrow { display:inline-flex; align-items:center; gap:8px; color:var(--color-brand, #82ff0b); }
.template-inner .t-main .faq-area .faq-list { display:grid; gap:12px; max-width:980px; }
.template-inner .t-main .faq-area .faq-item { padding:0; border:1px solid rgba(255,255,255,.12); border-radius:14px; background:rgba(255,255,255,.02); transition:border-color .2s; }
.template-inner .t-main .faq-area .faq-item[open] { border-color:rgba(130,255,11,.45); }
.template-inner .t-main .faq-area .faq-item summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:22px 26px; font-family:inherit; font-size:18px; font-weight:600; color:#fff; }
.template-inner .t-main .faq-area .faq-item summary::-webkit-details-marker { display:none; }
.template-inner .t-main .faq-area .faq-item summary::after { content:'+'; flex:none; width:32px; height:32px; border-radius:50%; border:1px solid rgba(255,255,255,.2); display:grid; place-items:center; color:#82ff0b; font-size:20px; line-height:1; transition:transform .2s; }
.template-inner .t-main .faq-area .faq-item[open] summary::after { transform:rotate(45deg); }
.template-inner .t-main .faq-area .faq-item summary:focus-visible { outline:2px solid #82ff0b; outline-offset:4px; border-radius:14px; }
.template-inner .t-main .faq-area .faq-a { padding:0 26px 24px; color:rgba(255,255,255,.72); font-size:16px; line-height:1.7; max-width:75ch; }
.template-inner .t-main .faq-area .faq-more { margin:60px 0 0; text-align:center; }
@media(max-width:767px) {
 .template-inner .t-main .faq-area { padding:70px 0; }
 .template-inner .t-main .faq-area .faq-item summary { padding:18px 20px; font-size:17px; }
 .template-inner .t-main .faq-area .faq-a { padding:0 20px 20px; }
}

/* Shared closing CTA and pillar-gallery layout. */
.template-inner .t-main > .closer { background:#0f141d; }
.template-inner .closer .manifesto { max-width:50ch; margin-top:28px; color:var(--muted); line-height:1.7; }
.template-inner .closer-inner > div:first-child { flex:1 1 380px; min-width:0; }
.template-inner .closer .acts { max-width:100%; }
.template-inner[dir="rtl"] .closer h2 .ar, html[dir="rtl"] .template-inner .closer h2 .ar { text-align:start; }
.template-inner .t-main section[aria-labelledby="gal-title"] .work-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.template-inner .t-main section[aria-labelledby="gal-title"] .work-card .img { aspect-ratio:16 / 9; }
.template-inner .t-main section[aria-labelledby="gal-title"] .work-card .img img { width:100%; height:100%; object-fit:cover; }
@media(max-width:560px) {
 .template-inner .t-main section[aria-labelledby="gal-title"] .work-grid { grid-template-columns:minmax(0,1fr); }
 .template-inner .closer .acts { width:100%; }
 .template-inner .closer .acts .btn { max-width:100%; white-space:normal; text-align:center; }
}

/* Value Creation client archive presented as accessible logo cards. */
.template-inner .client-logo-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; padding:0; margin:0; list-style:none; }
.template-inner .client-logo-card { min-width:0; padding:24px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.02); }
.template-inner .client-logo-art { height:100px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.template-inner .client-logo-art img { max-width:100%; max-height:100%; object-fit:contain; }
.template-inner .client-logo-art span { font-size:22px; font-weight:600; text-align:center; }
.template-inner .client-logo-card h3 { font-size:18px; margin-bottom:12px; }
.template-inner .client-logo-card p { font-size:13px; color:var(--muted); margin:6px 0 0; overflow-wrap:anywhere; }
.template-inner .client-logo-card a:focus-visible { outline:2px solid var(--lime); outline-offset:5px; }
@media(max-width:1024px) { .template-inner .client-logo-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:767px) { .template-inner .client-logo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .template-inner .client-logo-card { padding:16px; } }
@media(max-width:360px) { .template-inner .client-logo-grid { grid-template-columns:1fr; } }

/* Works gallery: two landscape cards per row; a single card on small screens. */
.template-inner .t-main #gallery .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.template-inner .t-main #gallery .gallery-img { aspect-ratio:16 / 9; }
.template-inner .t-main #gallery .gallery-img img { width:100%; height:100%; object-fit:cover; }
@media(max-width:560px) { .template-inner .t-main #gallery .gallery-grid { grid-template-columns:minmax(0,1fr); } }

/* Works career section background applies at every viewport width. */
.template-inner .t-main .works-career-cta { background-color:#121518; }

/* ===== 2026-10-18 audit fixes ===== */
/* Works: no dead band between the title and the intro line; intro aligned with the title */
html body .template-inner .t-main .projects-masonry-area.band, html body .projects-masonry-area.band { padding-top: clamp(8px, 2vw, 24px) !important; }
/* Pillar label may wrap on small screens; aligned to the reading side in both languages */
@media (max-width: 900px) {
  .mast-aside { white-space: normal; text-align: start; }
}
/* Long single-word titles (e.g. #UltimateGamer) must not break mid-word on phones */
@media (max-width: 479.98px) {
  .template-inner .mast-en, .mast-en { font-size: clamp(2rem, 10.5vw, 3.5rem); overflow-wrap: normal; word-break: keep-all; hyphens: none; }
}

/* ---- /assets/css/fonts.css?v=20261027 ---- */
/* ==========================================================================
   mouazalsabbagh.com — Fonts
   Self-hosted from /assets/fonts/site/ (no third-party font requests).
   Loaded on every page (EN + AR). Licences: /assets/fonts/site/*-OFL.txt

   English  — headings: Outfit      body/UI: DM Sans
   Arabic   — Sora for Latin text, numbers and brand names,
              IBM Plex Sans Arabic for Arabic script (Sora has no Arabic
              glyphs, so the browser falls through to Plex per character).
   ========================================================================== */

/* ---------- Outfit (variable, 100–900) ---------- */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/site/outfit.woff2') format('woff2');
}

/* ---------- DM Sans (variable, 100–1000, optical size 9–40) ---------- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/assets/fonts/site/dm-sans.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/assets/fonts/site/dm-sans-italic.woff2') format('woff2');
}

/* ---------- Sora (variable, 100–800) ---------- */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/assets/fonts/site/sora.woff2') format('woff2');
}

/* ---------- IBM Plex Sans Arabic (static, 100–700) ---------- */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 100; font-display: swap; src: url('/assets/fonts/site/ibm-plex-sans-arabic-thin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 200; font-display: swap; src: url('/assets/fonts/site/ibm-plex-sans-arabic-extralight.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/site/ibm-plex-sans-arabic-light.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/site/ibm-plex-sans-arabic-regular.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/site/ibm-plex-sans-arabic-medium.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/site/ibm-plex-sans-arabic-semibold.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/site/ibm-plex-sans-arabic-bold.woff2') format('woff2'); }

/* ---------- Font tokens ----------
   Every stylesheet on the site reads these variables, so changing a font
   here changes it everywhere. Aliases keep older variable names working. */
:root {
  --font-en-heading: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-en-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ar:         'Sora', 'IBM Plex Sans Arabic', system-ui, sans-serif;

  --font-display: var(--font-en-heading);   /* headings, titles, big numbers */
  --font-body:    var(--font-en-body);      /* text, nav, buttons, forms */
  --font-arabic:  var(--font-ar);           /* Arabic snippets on EN pages */

  /* aliases used by older stylesheets */
  --font-heading: var(--font-display);
  --f-display:    var(--font-display);
  --f-body:       var(--font-body);
  --f-arabic:     var(--font-arabic);
}

/* Arabic pages: one family stack for everything */
html[lang="ar"],
html[dir="rtl"] {
  --font-display: var(--font-ar);
  --font-body:    var(--font-ar);
}

/* ---------- Base usage ---------- */
body {
  font-family: var(--font-body);
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.heading {
  font-family: var(--font-display);
}
button, input, select, textarea, .form-control, .nice-select, .theme-btn {
  font-family: var(--font-body);
}
/* Arabic text inside English pages (language switch, bilingual titles) */
[lang="ar"]:not(i):not([class*="fa-"]):not([class*="flaticon"]) {
  font-family: var(--font-ar);
}

/* ---- /assets/css/site-polish.css?v=20261123 ---- */
/* Keep the existing typography tokens and sizes; resolve their fonts locally. */
.wow { visibility: visible !important; animation-name: none !important; transition: opacity 240ms ease-out, transform 240ms ease-out; }
.site-reveal-pending { opacity: 0; transform: translate3d(0, 12px, 0); }
.marquee-inner.site-motion-paused { animation-play-state: paused !important; }
/* The old control depended on .main-header, absent from the current header. */
.scroll-top { display: none !important; }
.site-back-to-top {
    position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
    width: 48px; height: 48px; display: grid; place-items: center; padding: 0;
    border: 1px solid #82ff00; border-radius: 50%; background: #82ff00; color: #0a0f02;
    z-index: 1100; cursor: pointer; box-shadow: 0 4px 16px rgb(0 0 0 / 20%);
    transition: background-color 160ms ease, transform 160ms ease;
}
.site-back-to-top[hidden] { display: none; }
.site-back-to-top:hover { background: #baff42; transform: translateY(-2px); }
.site-back-to-top:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
/* Avoid a viewport-sized fractal filter layer during scroll. */
body::after { display: none !important; }
.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background-color: rgb(10 12 14 / 97%); }
.preloader { animation-duration: 200ms; }
@media (max-width: 767.98px) {
    .wow { transition: none; }
    .bg-lines span { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .wow, .site-reveal-pending { opacity: 1; transform: none; transition: none; }
    .marquee-inner { animation-play-state: paused !important; }
    .site-back-to-top { transition: none; }
    .bg-lines span { animation: none !important; }
}

/* Strategic pillar numbers (01–05) — menus, pillar strip, filters, sitemap. Added Oct 2026. */
.pillar-no {
  display: inline-block;
  min-width: 1.6em;
  margin-inline-end: .55em;
  color: var(--color-brand, #82ff00);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .82em;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  opacity: .9;
}
.pillar-nav a > .pillar-no,
.nav-sub a > .pillar-no,
.footer-sitemap .pillar-no { color: var(--color-brand, #82ff00); }
.pillar-nav a > .pillar-no { display: block; margin: 0 0 .35em; font-size: .9rem; font-weight: 500; }
.nav-sub a > .pillar-no { vertical-align: baseline; }
html[dir="rtl"] .pillar-no { font-family: var(--font-display); unicode-bidi: isolate; }
/* Filter chips: on hover, focus or when selected the number takes the chip text colour (green on green was invisible). 20 Nov 2026. */
.project-filter li:hover > .pillar-no,
.project-filter li:focus-visible > .pillar-no,
.project-filter li.current > .pillar-no { color: inherit; opacity: 1; }
.chip:hover > .pillar-no,
.chip:focus-visible > .pillar-no,
.chip[aria-pressed="true"] > .pillar-no,
.project-filter li[aria-pressed="true"] > .pillar-no { color: inherit; opacity: 1; }

/* Images with width/height attributes keep their proportions when CSS sets only the width (no layout shift while loading). Zero specificity, so any explicit height still wins. */
:where(img[width][height]) { height: auto; }

/* P8 focus (20 Nov 2026): every keyboard-focusable element shows a visible ring (WCAG 2.4.7). Overrides the template's a{outline:0}. */
html body :is(a, button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible { outline: 2px solid var(--color-brand, #82ff00) !important; outline-offset: 3px; }
/* Skip link (WCAG 2.4.1): hidden until focused. */
.skip-link { position: absolute; inset-inline-start: 12px; top: -100px; z-index: 2000; padding: 10px 16px; border-radius: 8px; background: var(--color-brand, #82ff00); color: #0a0f02; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* P8 transition (20 Nov 2026): the template animates every property of links and buttons over .5s ("a{transition:.5s}"),
   so the focus ring and skip link faded in slowly. Animate colours and transforms only; focus styles appear at once. */
html body :is(a, button) { transition-property: color, background-color, border-color, opacity, transform, box-shadow; }
html body :is(a, button):focus-visible, .skip-link { transition: none; }

/* Lighthouse, 23 Nov 2026: readable sidebar links and quote names, icons keep their shape, text for screen readers */
.main-sidebar .widget-category ul li,.main-sidebar .widget-category ul li a:not(:hover){color:rgba(255,255,255,.62)}
blockquote .blockquote-footer{color:rgba(255,255,255,.62)}
.icon-sm,.icon-lg{object-fit:contain}
.vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

