/* bundle of: /assets/css/new-inner-templates.css?v=20261120p8 /assets/css/fonts.css?v=20261027 /assets/css/site-polish.css?v=20261123 */
/* ---- /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}

