/* /assets/fonts/site-fonts.css */
/* Self-hosted copies of the Google Fonts the site uses (Arabic + Latin subsets only). */
/* arabic */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/alexandria-arabic-1.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/alexandria-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/alexandria-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/alexandria-arabic-1.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/alexandria-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/alexandria-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/alexandria-arabic-1.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/alexandria-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/alexandria-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/alexandria-arabic-1.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/alexandria-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/alexandria-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/alexandria-arabic-1.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/alexandria-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/alexandria-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-4.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-ext-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-7.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-ext-8.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-10.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-ext-11.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-12.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-13.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-ext-14.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-15.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-16.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-ext-17.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-18.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-19.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-19.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-19.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-19.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-19.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-19.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-arabic-21.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-latin-ext-22.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-latin-23.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-arabic-21.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-latin-ext-22.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-latin-23.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-arabic-21.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-latin-ext-22.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-latin-23.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-arabic-21.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-latin-ext-22.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-latin-23.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-arabic-21.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-latin-ext-22.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-latin-23.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* /assets/css/app.css */
/* =========================================================
   Theme tokens (v1) — every color in this file reads from these.
   Values are R,G,B channels so alpha stays per-use: rgba(var(--gold-rgb), .2)
   A theme only has to override these variables in its own :root.
   Each use also carries the original value as a fallback, so the file
   renders identically even where this block is not loaded.
   ========================================================= */
:root {
    /* Accents */
    --gold-rgb: 248, 184, 78;
    --gold-deep-rgb: 216, 148, 40;
    --cyan-rgb: 56, 217, 255;
    --cyan-soft-rgb: 76, 213, 255;
    --purple-rgb: 169, 112, 255;
    --green-rgb: 83, 233, 164;
    --pink-rgb: 255, 94, 188;
    --red-rgb: 255, 97, 94;
    --blue-rgb: 95, 145, 255;
    /* Overlays (white/black washes) */
    --ink-rgb: 255, 255, 255;
    --shade-rgb: 0, 0, 0;
    /* Text family (light neutrals) */
    --text-rgb: 247, 245, 240;
    --text-soft-rgb: 238, 234, 242;
    --text-2-rgb: 217, 214, 222;
    --text-3-rgb: 199, 195, 204;
    --muted-2-rgb: 185, 182, 193;
    --muted-rgb: 170, 166, 177;
    --muted-3-rgb: 157, 154, 168;
    --dim-rgb: 143, 139, 151;
    --dim-2-rgb: 119, 115, 128;
    --dim-3-rgb: 103, 100, 113;
    --faint-rgb: 89, 86, 98;
    /* Surfaces (dark neutrals) */
    --s0-rgb: 5, 5, 9;
    --s1-rgb: 7, 7, 11;
    --s2-rgb: 9, 9, 14;
    --s3-rgb: 10, 10, 16;
    --s4-rgb: 13, 13, 20;
    --s5-rgb: 17, 17, 25;
    --s6-rgb: 24, 24, 37;
    /* Text on gold buttons */
    --on-accent-rgb: 23, 17, 9;
}

:root {
    --bg: rgb(var(--s1-rgb, 7,7,11));
    --bg-soft: rgb(var(--s3-rgb, 10,10,16));
    --panel: rgba(var(--s5-rgb, 17,17,25), .72);
    --panel-strong: rgba(var(--s5-rgb, 17,17,25), .94);
    --line: rgba(var(--ink-rgb, 255,255,255), .09);
    --line-bright: rgba(var(--ink-rgb, 255,255,255), .18);
    --text: rgb(var(--text-rgb, 247,245,240));
    --muted: rgb(var(--muted-3-rgb, 157,154,168));
    --dim: rgb(var(--dim-3-rgb, 103,100,113));
    --gold: rgb(var(--gold-rgb, 248,184,78));
    --gold-soft: rgb(var(--gold-deep-rgb, 216,148,40));
    --cyan: rgb(var(--cyan-rgb, 56,217,255));
    --purple: rgb(var(--purple-rgb, 169,112,255));
    --green: rgb(var(--green-rgb, 83,233,164));
    --pink: rgb(var(--pink-rgb, 255,94,188));
    --red: rgb(var(--red-rgb, 255,97,94));
    --header-h: 84px;
    --shell: min(1380px, calc(100vw - 72px));
    --radius: 24px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --font-latin: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-arabic: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
    --font-arabic-display: "Alexandria", "IBM Plex Sans Arabic", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 0%, rgba(var(--purple-rgb, 169,112,255), .09), transparent 28%),
        radial-gradient(circle at 80% 15%, rgba(var(--gold-rgb, 248,184,78), .06), transparent 25%),
        var(--bg);
    font-family: var(--font-latin);
    overflow-x: hidden;
    line-height: 1.6;
}
body.is-arabic { font-family: var(--font-arabic); font-weight: 400; }
body.is-arabic h1, body.is-arabic h2, body.is-arabic h3, body.is-arabic .button, body.is-arabic .section-kicker { font-family: var(--font-arabic-display); }
body.booting { overflow: hidden; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: rgb(var(--s4-rgb, 13,13,20)); }

#space-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -3;
    opacity: .9;
}
.noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: .025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
.cursor-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -2;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(var(--cyan-rgb, 56,217,255), .065), rgba(var(--purple-rgb, 169,112,255), .025) 38%, transparent 70%);
    transition: opacity .25s ease;
}

.section-shell { width: var(--shell); margin-inline: auto; }
main > section { position: relative; padding-block: 130px; }
.glass-panel {
    background: linear-gradient(145deg, rgba(var(--s6-rgb, 24,24,37), .76), rgba(var(--s3-rgb, 10,10,16), .66));
    border: 1px solid var(--line);
    box-shadow: 0 24px 80px rgba(var(--shade-rgb, 0,0,0), .24), inset 0 1px rgba(var(--ink-rgb, 255,255,255), .025);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* Boot screen */
.boot-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgb(var(--s0-rgb, 5,5,9));
    transition: opacity .8s var(--ease), visibility .8s;
}
.boot-screen.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(var(--ink-rgb, 255,255,255), .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--ink-rgb, 255,255,255), .018) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black, transparent 78%);
}
.boot-shell {
    width: min(760px, 100%);
    min-height: 470px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background: rgba(var(--s3-rgb, 10,10,16), .94);
    border: 1px solid rgba(var(--ink-rgb, 255,255,255), .12);
    box-shadow: 0 50px 140px rgba(var(--shade-rgb, 0,0,0), .62), 0 0 70px rgba(var(--gold-rgb, 248,184,78), .05);
}
.boot-topbar, .terminal-bar {
    min-height: 48px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font: 600 11px/1 var(--font-latin);
    letter-spacing: .13em;
    text-transform: uppercase;
}
.boot-topbar > :last-child, .terminal-bar > :last-child { justify-self: end; }
.window-dots { display: flex; align-items: center; gap: 7px; }
.window-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--red-rgb, 255,97,94)); }
.window-dots span:nth-child(2) { background: rgb(var(--gold-rgb, 248,184,78)); }
.window-dots span:nth-child(3) { background: rgb(var(--green-rgb, 83,233,164)); }
.boot-security { color: var(--green); }
.boot-terminal { padding: 55px 60px 50px; position: relative; }
.boot-mark {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin-bottom: 34px;
    border: 1px solid rgba(var(--gold-rgb, 248,184,78), .38);
    border-radius: 50%;
    color: var(--gold);
    font-weight: 900;
    letter-spacing: -.08em;
    box-shadow: 0 0 35px rgba(var(--gold-rgb, 248,184,78), .12), inset 0 0 22px rgba(var(--gold-rgb, 248,184,78), .06);
    position: relative;
}
.boot-mark::before, .boot-mark::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(var(--gold-rgb, 248,184,78), .18);
    border-radius: inherit;
    inset: -9px;
    animation: bootOrbit 5s linear infinite;
}
.boot-mark::after { inset: -18px; opacity: .45; animation-direction: reverse; animation-duration: 8s; }
.boot-lines { min-height: 152px; font: 500 14px/1.85 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: rgb(var(--muted-2-rgb, 185,182,193)); }
.boot-line::before { content: ">"; color: var(--gold); margin-inline-end: 12px; }
.boot-line.done::after { content: " [OK]"; color: var(--green); font-size: 11px; }
.boot-cursor { display: inline-block; width: 8px; height: 16px; background: var(--gold); margin-inline-start: 4px; vertical-align: middle; animation: blink .65s steps(1) infinite; }
.boot-progress { height: 3px; background: rgba(var(--ink-rgb, 255,255,255), .07); margin: 24px 0 30px; overflow: hidden; border-radius: 99px; }
.boot-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--cyan), var(--purple)); box-shadow: 0 0 16px var(--gold); transition: width .35s ease; }
.boot-enter {
    width: 100%;
    border: 0;
    min-height: 54px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: var(--gold);
    color: rgb(var(--on-accent-rgb, 23,17,9));
    font-weight: 850;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: .45s var(--ease);
}
.boot-enter.ready { opacity: 1; transform: none; }
.boot-enter:disabled { cursor: wait; }

/* Header */
.site-header {
    position: fixed;
    z-index: 100;
    top: 18px;
    left: 50%;
    width: min(1460px, calc(100vw - 36px));
    min-height: 66px;
    transform: translateX(-50%);
    padding: 0 16px 0 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 18px;
    transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, transform .45s var(--ease);
}
.site-header.scrolled {
    background: rgba(var(--s2-rgb, 9,9,14), .74);
    border-color: var(--line);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 55px rgba(var(--shade-rgb, 0,0,0), .28);
}
.site-header.header-hidden { transform: translate(-50%, -125%); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; position: relative; }
.brand > strong {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    border: 1px solid rgba(var(--gold-rgb, 248,184,78), .34);
    font-size: 13px;
    letter-spacing: -.06em;
}
.brand-orbit { position: absolute; width: 45px; height: 45px; border: 1px solid rgba(var(--gold-rgb, 248,184,78), .13); border-radius: 50%; left: -4px; animation: bootOrbit 8s linear infinite; }
[dir="rtl"] .brand-orbit { left: auto; right: -4px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy b { font-size: 13px; letter-spacing: .04em; }
.brand-copy small { color: var(--dim); font-size: 8px; letter-spacing: .19em; margin-top: 5px; }
.desktop-nav { display: flex; align-items: center; gap: 29px; }
.desktop-nav a { font-size: 12px; color: rgb(var(--muted-2-rgb, 185,182,193)); position: relative; transition: color .2s; }
.desktop-nav a::after { content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -7px; background: var(--gold); transition: right .3s var(--ease); }
[dir="rtl"] .desktop-nav a::after { left: 100%; right: 0; transition-property: left; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
[dir="rtl"] .desktop-nav a:hover::after, [dir="rtl"] .desktop-nav a.active::after { left: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.language-switch { min-width: 78px; text-align: center; padding: 10px 12px; font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; transition: .25s; }
.language-switch:hover { color: var(--text); border-color: var(--line-bright); }
.header-contact { display: inline-flex; align-items: center; gap: 18px; padding: 10px 14px; border-radius: 10px; background: var(--gold); color: rgb(var(--on-accent-rgb, 23,17,9)); font-size: 12px; font-weight: 800; }
.mobile-menu-button { display: none; background: none; border: 0; width: 42px; height: 42px; position: relative; cursor: pointer; }
.mobile-menu-button span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--text); top: 17px; transition: .3s; }
.mobile-menu-button span:last-child { top: 24px; }
.mobile-menu-button.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
.mobile-menu-button.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; }

/* Hero */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 150px; padding-bottom: 80px; }
.hero::before {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    right: -18%;
    top: 0;
    background: radial-gradient(circle, rgba(var(--gold-rgb, 248,184,78), .07), transparent 67%);
    pointer-events: none;
}
[dir="rtl"] .hero::before { right: auto; left: -18%; }
.hero-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(520px, .98fr); gap: clamp(34px, 5vw, 84px); align-items: center; }
.hero-copy { position: relative; z-index: 2; max-width: 820px; }
.system-status { display: inline-flex; align-items: center; gap: 9px; color: rgb(var(--dim-rgb, 143,139,151)); font-size: 9px; letter-spacing: .19em; font-weight: 750; margin-bottom: 30px; }
.system-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 15px rgba(var(--green-rgb, 83,233,164), .85); animation: pulseDot 2s infinite; }
.eyebrow, .section-kicker { margin: 0 0 17px; color: var(--gold); font: 750 10px/1 var(--font-latin); letter-spacing: .22em; text-transform: uppercase; }
.hero-title { margin: 0; font-size: clamp(58px, 7.2vw, 118px); line-height: .83; letter-spacing: -.075em; font-weight: 900; max-width: 830px; display: flex; flex-wrap: wrap; }
[dir="rtl"] .hero-title { letter-spacing: -.035em; line-height: .97; }
.wave-letter { display: inline-block; opacity: 0; transform: translateY(48px) rotate(5deg); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
body.intro-complete .wave-letter { opacity: 1; transform: none; filter: none; }
body.intro-complete .wave-letter:nth-child(2) { transition-delay: .035s; }
body.intro-complete .wave-letter:nth-child(3) { transition-delay: .07s; }
body.intro-complete .wave-letter:nth-child(4) { transition-delay: .105s; }
body.intro-complete .wave-letter:nth-child(5) { transition-delay: .14s; }
body.intro-complete .wave-letter:nth-child(6) { transition-delay: .175s; }
body.intro-complete .wave-letter:nth-child(7) { transition-delay: .21s; }
body.intro-complete .wave-letter:nth-child(8) { transition-delay: .245s; }
body.intro-complete .wave-letter:nth-child(9) { transition-delay: .28s; }
body.intro-complete .wave-letter:nth-child(10) { transition-delay: .315s; }
body.intro-complete .wave-letter:nth-child(11) { transition-delay: .35s; }
body.intro-complete .wave-letter:nth-child(12) { transition-delay: .385s; }
body.intro-complete .wave-letter:nth-child(13) { transition-delay: .42s; }
body.intro-complete .wave-letter:nth-child(14) { transition-delay: .455s; }
.hero-copy h2 { margin: 24px 0 12px; font-size: clamp(24px, 3vw, 46px); max-width: 720px; line-height: 1.12; letter-spacing: -.04em; color: rgb(var(--text-2-rgb, 217,214,222)); font-weight: 500; text-wrap: balance; }
.hero-subheadline { margin: 0; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.hero-statement { max-width: 690px; margin: 23px 0 0; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; gap: 12px; align-items: center; margin-top: 34px; }
.button { min-height: 52px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 28px; font-size: 12px; font-weight: 800; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.button-primary { background: var(--gold); color: rgb(var(--on-accent-rgb, 23,17,9)); box-shadow: 0 15px 40px rgba(var(--gold-rgb, 248,184,78), .12); }
.button-primary:hover { box-shadow: 0 18px 55px rgba(var(--gold-rgb, 248,184,78), .22); transform: translateY(-2px); }
.button-ghost { border-color: var(--line); color: var(--text); background: rgba(var(--ink-rgb, 255,255,255), .025); }
.button-ghost:hover { border-color: var(--line-bright); background: rgba(var(--ink-rgb, 255,255,255), .05); }
.availability { margin-top: 28px; display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--dim); }
.availability-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
 .hero-visual { min-height: 650px; position: relative; display: grid; place-items: center; }
.orbit-scene { width: min(690px, 100%); aspect-ratio: 1; position: relative; transform-style: preserve-3d; perspective: 1200px; isolation: isolate; animation: orbitFieldDrift 9s ease-in-out infinite; transition: transform .22s ease-out; will-change: transform; }
.orbit-scene-v5::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--gold-rgb, 248,184,78), .06), rgba(var(--cyan-rgb, 56,217,255), .035) 44%, transparent 68%); filter: blur(14px); opacity: .95; }
.orbit-scene-v5::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--ink-rgb, 255,255,255), .06), transparent 58%); filter: blur(20px); opacity: .22; animation: coreGlow 6s ease-in-out infinite reverse; }
.orbit-grid { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at center, rgba(var(--ink-rgb, 255,255,255), .05), transparent 58%), repeating-radial-gradient(circle at center, rgba(var(--ink-rgb, 255,255,255), .035) 0 1px, transparent 1px 38px); opacity: .2; mix-blend-mode: screen; filter: blur(.5px); animation: gridPulse 7.5s ease-in-out infinite; }
.orbit-glow { position: absolute; inset: 19%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--gold-rgb, 248,184,78), .24), rgba(var(--gold-rgb, 248,184,78), .07) 34%, transparent 69%); filter: blur(10px); animation: coreGlow 4s ease-in-out infinite; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(var(--gold-rgb, 248,184,78), .26); box-shadow: 0 0 36px rgba(var(--gold-rgb, 248,184,78), .05), inset 0 0 18px rgba(var(--gold-rgb, 248,184,78), .02); }
.orbit-ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(var(--ink-rgb, 255,255,255), .04); filter: blur(3px); opacity: .45; }
.ring-one { inset: 21%; transform: rotateX(68deg) rotateZ(10deg); animation: ringSpin 13s linear infinite; }
.ring-two { inset: 12.5%; border-color: rgba(var(--cyan-rgb, 56,217,255), .2); transform: rotateX(64deg) rotateZ(68deg); animation: ringSpinTwo 19s linear infinite reverse; }
.ring-three { inset: 6%; border-color: rgba(var(--purple-rgb, 169,112,255), .18); transform: rotateX(72deg) rotateZ(128deg); animation: ringSpin 27s linear infinite; }
.ring-four { inset: 29%; border-color: rgba(95,245,181,.14); transform: rotateX(74deg) rotateZ(168deg); animation: ringSpinTwo 16s linear infinite; }
.orbit-star-track { position: absolute; border-radius: 50%; pointer-events: none; transform-style: preserve-3d; }
.track-one { inset: 21%; transform: rotateX(68deg) rotateZ(10deg); animation: orbitStarSpinOne 8.2s linear infinite; }
.track-two { inset: 12.5%; transform: rotateX(64deg) rotateZ(68deg); animation: orbitStarSpinTwo 11.8s linear infinite reverse; }
.track-three { inset: 6%; transform: rotateX(72deg) rotateZ(128deg); animation: orbitStarSpinThree 9.8s linear infinite; }
.orbit-star { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgb(var(--ink-rgb, 255,255,255)) 0 24%, #ffeab6 30%, rgba(255,199,102,.9) 58%, rgba(255,199,102,.15) 100%); box-shadow: 0 0 14px rgba(255,240,194,.95), 0 0 34px rgba(255,190,87,.55), 0 0 80px rgba(var(--cyan-rgb, 56,217,255), .25); animation: starPulse 2.4s ease-in-out infinite; }
.orbit-star::before { content: ""; position: absolute; inset: 50% auto auto 50%; width: 20px; height: 20px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(var(--ink-rgb, 255,255,255), .85), rgba(var(--ink-rgb, 255,255,255), 0) 68%); opacity: .55; }
.orbit-star::after { content: ""; position: absolute; top: 50%; right: 50%; width: 96px; height: 4px; transform: translateY(-50%); background: linear-gradient(90deg, rgba(var(--ink-rgb, 255,255,255), 0), rgba(var(--gold-rgb, 248,184,78), .78), rgba(var(--cyan-rgb, 56,217,255), .18)); border-radius: 999px; filter: blur(1px); opacity: .86; }
.comet-two { width: 11px; height: 11px; background: radial-gradient(circle, rgb(var(--ink-rgb, 255,255,255)) 0 24%, #dbf5ff 32%, rgba(var(--cyan-rgb, 56,217,255), .95) 58%, rgba(var(--cyan-rgb, 56,217,255), .15) 100%); box-shadow: 0 0 14px rgba(218,247,255,.95), 0 0 34px rgba(var(--cyan-rgb, 56,217,255), .5), 0 0 80px rgba(var(--purple-rgb, 169,112,255), .2); }
.comet-two::after { width: 78px; background: linear-gradient(90deg, rgba(var(--ink-rgb, 255,255,255), 0), rgba(var(--cyan-rgb, 56,217,255), .72), rgba(var(--purple-rgb, 169,112,255), .16)); }
.comet-three { width: 10px; height: 10px; background: radial-gradient(circle, rgb(var(--ink-rgb, 255,255,255)) 0 24%, #efe0ff 32%, rgba(var(--purple-rgb, 169,112,255), .95) 58%, rgba(var(--purple-rgb, 169,112,255), .14) 100%); box-shadow: 0 0 14px rgba(239,224,255,.95), 0 0 34px rgba(var(--purple-rgb, 169,112,255), .52), 0 0 80px rgba(var(--gold-rgb, 248,184,78), .18); }
.comet-three::after { width: 86px; background: linear-gradient(90deg, rgba(var(--ink-rgb, 255,255,255), 0), rgba(var(--purple-rgb, 169,112,255), .72), rgba(var(--gold-rgb, 248,184,78), .16)); }
.orbit-core { position: absolute; inset: 35.5%; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #4b3820, #141210 50%, rgb(var(--s0-rgb, 5,5,9)) 74%); border: 1px solid rgba(var(--gold-rgb, 248,184,78), .42); box-shadow: 0 0 110px rgba(var(--gold-rgb, 248,184,78), .2), inset 0 0 68px rgba(var(--gold-rgb, 248,184,78), .1); z-index: 5; transform: translateZ(20px); }
.orbit-core::before { content: ""; position: absolute; inset: -16%; border: 1px dashed rgba(var(--gold-rgb, 248,184,78), .24); border-radius: 50%; animation: bootOrbit 14s linear infinite; }
.orbit-core::after { content: ""; position: absolute; inset: -32%; border-radius: 50%; border: 1px solid rgba(var(--ink-rgb, 255,255,255), .04); }
.orbit-core strong { font-size: clamp(30px, 4vw, 54px); letter-spacing: -.08em; color: var(--gold); line-height: 1; }
.orbit-core small { font: 700 8px/1 var(--font-latin); letter-spacing: .15em; margin-top: 8px; color: #92836d; text-transform: uppercase; }
.core-pulse { position: absolute; inset: -18%; border-radius: 50%; border: 1px solid rgba(var(--gold-rgb, 248,184,78), .16); animation: corePulse 2.6s ease-out infinite; }
.core-pulse.pulse-two { inset: -28%; animation-delay: 1.15s; border-color: rgba(var(--cyan-rgb, 56,217,255), .14); }
.orbit-chip { position: absolute; z-index: 6; min-width: 118px; height: 44px; padding: 0 17px; border-radius: 13px; display: flex; align-items: center; gap: 11px; background: rgba(var(--s4-rgb, 13,13,20), .86); backdrop-filter: blur(8px); border: 1px solid var(--line); box-shadow: 0 18px 42px rgba(var(--shade-rgb, 0,0,0), .32); color: rgb(var(--text-3-rgb, 199,195,204)); font: 700 11px/1 var(--font-latin); letter-spacing: .04em; animation: float 5s ease-in-out infinite; transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease; }
.orbit-chip span { white-space: nowrap; }
.orbit-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.orbit-chip.is-active, .orbit-chip:hover { transform: translateY(-4px) scale(1.04); border-color: rgba(var(--gold-rgb, 248,184,78), .36); box-shadow: 0 0 0 1px rgba(var(--gold-rgb, 248,184,78), .18), 0 24px 50px rgba(var(--gold-rgb, 248,184,78), .12); color: #fff8ea; background: rgba(17,15,13,.92); }
.orbit-chip.is-active i, .orbit-chip:hover i { box-shadow: 0 0 18px currentColor; }
.orbit-item-1 { top: 12%; left: 7%; color: #c4a5ff; animation-delay: -.8s; }
.orbit-item-1 i { background: var(--purple); box-shadow: 0 0 12px var(--purple); }
.orbit-item-2 { top: 6%; right: 10%; animation-delay: -1.8s; }
.orbit-item-3 { top: 47%; right: 2%; color: #8de8ff; animation-delay: -2.7s; }
.orbit-item-4 { bottom: 10%; right: 10%; color: #ff9b99; animation-delay: -3.2s; }
.orbit-item-4 i { background: var(--red); box-shadow: 0 0 12px var(--red); }
.orbit-item-5 { bottom: 10%; left: 10%; color: #ffe1a8; animation-delay: -4.1s; }
.orbit-item-5 i { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.orbit-item-6 { top: 47%; left: 2%; color: #8af1bb; animation-delay: -1.2s; }
.orbit-item-6 i { background: var(--green); box-shadow: 0 0 12px var(--green); }
.telemetry { position: absolute; z-index: 3; font-family: var(--font-latin); display: flex; flex-direction: column; min-width: 82px; padding: 11px; background: rgba(var(--s2-rgb, 9,9,14), .74); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 10px; transition: transform .22s ease-out, box-shadow .25s ease, border-color .25s ease; }
.telemetry small { color: var(--dim); font-size: 7px; letter-spacing: .13em; }
.telemetry strong { font-size: 13px; color: var(--green); margin-top: 2px; }
.telemetry-a { top: 25%; right: 4%; }
.telemetry-b { bottom: 22%; left: 4%; }
.telemetry-b strong { color: var(--gold); }
.telemetry-c { bottom: 17%; right: 3%; }
.telemetry-c strong { color: var(--cyan); }
.scroll-indicator { position: absolute; bottom: 30px; left: 0; display: flex; align-items: center; gap: 13px; color: var(--dim); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
[dir="rtl"] .scroll-indicator { left: auto; right: 0; }
.scroll-indicator i { width: 48px; height: 1px; background: var(--line-bright); position: relative; overflow: hidden; }
.scroll-indicator i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: scanLine 2.4s infinite; }

/* Headings and reveal */
.section-heading { max-width: 1040px; margin-bottom: 58px; }
.section-heading h2 { margin: 0; font-size: clamp(40px, 5.2vw, 78px); line-height: .98; letter-spacing: -.055em; font-weight: 760; }
[dir="rtl"] .section-heading h2 { letter-spacing: -.025em; line-height: 1.12; }
.section-heading > p:not(.section-kicker) { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 15px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered > p:not(.section-kicker) { margin-inline: auto; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.2fr .55fr; gap: 70px; align-items: end; }
.split-heading > p { margin: 0 !important; }
.reveal-up, .reveal-left, .reveal-right, .reveal-scale { opacity: 0; transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal-up { transform: translateY(45px); }
.reveal-left { transform: translateX(-45px); }
.reveal-right { transform: translateX(45px); }
[dir="rtl"] .reveal-left { transform: translateX(45px); }
[dir="rtl"] .reveal-right { transform: translateX(-45px); }
.reveal-scale { transform: scale(.94); filter: blur(5px); }
.reveal-visible { opacity: 1; transform: none; filter: none; }

/* About */
.about-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: stretch; }
.about-card { border-radius: var(--radius); padding: clamp(30px, 4vw, 58px); display: flex; flex-direction: column; }
.profile-signal { display: flex; align-items: center; gap: 15px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); position: relative; }
.profile-avatar { width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(145deg, #24202b, rgb(var(--s4-rgb, 13,13,20))); border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); font-size: 14px; font-weight: 900; }
.profile-signal > div:nth-child(2) { display: flex; flex-direction: column; }
.profile-signal strong { font-size: 14px; }
.profile-signal small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.profile-signal > i { margin-inline-start: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); }
.about-card > p { margin: 0; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.68; color: rgb(var(--text-3-rgb, 199,195,204)); }
.about-links { margin-top: auto; padding-top: 45px; display: grid; gap: 10px; }
.about-links a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; transition: .25s; }
.about-links a:hover { color: var(--gold); padding-inline: 5px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.stat-card { min-height: 220px; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.stat-card::before { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; right: -80px; bottom: -80px; border: 1px solid rgba(var(--gold-rgb, 248,184,78), .11); box-shadow: 0 0 80px rgba(var(--gold-rgb, 248,184,78), .035); }
[dir="rtl"] .stat-card::before { right: auto; left: -80px; }
.stat-index { color: var(--dim); font: 700 9px/1 var(--font-latin); letter-spacing: .12em; }
.stat-card strong { margin-top: auto; font-size: clamp(44px, 5vw, 74px); letter-spacing: -.07em; line-height: .85; color: var(--gold); }
.stat-card p { margin: 16px 0 0; color: var(--muted); font-size: 11px; max-width: 160px; }

/* Skills network */
.skills-network-wrap { height: min(760px, 75vw); min-height: 620px; max-height: 760px; border-radius: 30px; position: relative; overflow: hidden; }
.skills-network-wrap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(var(--purple-rgb, 169,112,255), .09), transparent 42%), linear-gradient(rgba(var(--ink-rgb, 255,255,255), .018) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb, 255,255,255), .018) 1px, transparent 1px); background-size: auto, 52px 52px, 52px 52px; }
#skills-network { width: 100%; height: 100%; display: block; position: relative; z-index: 2; }
.network-center { position: absolute; z-index: 3; top: 50%; left: 50%; width: 126px; height: 126px; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(var(--gold-rgb, 248,184,78), .4); background: radial-gradient(circle, rgba(var(--gold-rgb, 248,184,78), .15), rgba(var(--s3-rgb, 10,10,16), .96) 68%); box-shadow: 0 0 60px rgba(var(--gold-rgb, 248,184,78), .13); pointer-events: none; }
.network-center::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(var(--gold-rgb, 248,184,78), .2); animation: bootOrbit 16s linear infinite; }
.network-center span { color: var(--gold); font-weight: 900; font-size: 30px; letter-spacing: -.08em; }
.network-center small { font: 700 7px/1 var(--font-latin); color: #817664; letter-spacing: .13em; margin-top: 8px; }
.skill-detail { position: absolute; z-index: 5; left: 28px; bottom: 28px; width: min(310px, calc(100% - 56px)); padding: 20px; border-radius: 15px; border: 1px solid var(--line); background: rgba(var(--s2-rgb, 9,9,14), .82); backdrop-filter: blur(16px); pointer-events: none; }
[dir="rtl"] .skill-detail { left: auto; right: 28px; }
.skill-detail > span { color: var(--gold); font: 700 8px/1 var(--font-latin); letter-spacing: .14em; text-transform: uppercase; }
.skill-detail strong { display: block; margin-top: 8px; font-size: 18px; }
.skill-detail p { margin: 8px 0 14px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.skill-level { height: 3px; background: rgba(var(--ink-rgb, 255,255,255), .08); border-radius: 10px; overflow: hidden; }
.skill-level i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--cyan)); transition: width .35s var(--ease); }

/* Topology */
.data-flow-panel { border-radius: 30px; overflow: hidden; }
.data-flow-header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid var(--line); color: var(--muted); font: 700 9px/1 var(--font-latin); letter-spacing: .14em; }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); margin-inline-end: 10px; }
.flow-metrics { display: flex; align-items: center; gap: 25px; }
.flow-metrics span { color: var(--dim); }
.flow-metrics b { color: var(--green); margin-inline-start: 5px; }
.topology { min-height: 530px; position: relative; overflow: hidden; background: radial-gradient(circle at 52% 50%, rgba(var(--cyan-rgb, 56,217,255), .045), transparent 36%), linear-gradient(rgba(var(--ink-rgb, 255,255,255), .014) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb, 255,255,255), .014) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; }
.topology svg { position: absolute; inset: 8% 3% 5%; width: 94%; height: 80%; overflow: visible; }
.route-line { fill: none; stroke: url(#lineGradient); stroke-width: 2; stroke-dasharray: 5 9; opacity: .78; }
.route-shadow { stroke-width: 12; opacity: .045; stroke-dasharray: none; }
.data-packet { fill: var(--gold); }
.packet-two { fill: var(--cyan); opacity: .8; }
.topology-node { position: absolute; width: 122px; transform: translate(-50%, -50%); text-align: center; font-family: var(--font-latin); }
.topology-node strong { display: block; margin-top: 12px; font-size: 9px; letter-spacing: .14em; }
.topology-node small { display: block; color: var(--dim); font-size: 7px; letter-spacing: .08em; margin-top: 3px; }
.node-device { left: 11%; top: 53%; }
.node-switch { left: 39%; top: 51%; }
.node-server { left: 65%; top: 51%; }
.node-cloud { left: 90%; top: 51%; }
.node-icon { width: 94px; height: 72px; margin: auto; border-radius: 14px; border: 1px solid rgba(var(--cyan-rgb, 56,217,255), .25); background: rgba(var(--s3-rgb, 10,10,16), .8); box-shadow: 0 0 30px rgba(var(--cyan-rgb, 56,217,255), .06), inset 0 0 20px rgba(var(--cyan-rgb, 56,217,255), .04); position: relative; display: grid; place-items: center; }
.node-icon::after { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(var(--cyan-rgb, 56,217,255), .07); border-radius: 18px; }
.laptop-icon i { width: 56px; height: 36px; border: 1px solid var(--cyan); border-radius: 5px; box-shadow: inset 0 0 15px rgba(var(--cyan-rgb, 56,217,255), .12); }
.laptop-icon i::after { content: ""; position: absolute; width: 68px; height: 4px; left: 13px; bottom: 12px; background: rgba(var(--cyan-rgb, 56,217,255), .65); border-radius: 5px 5px 10px 10px; }
.switch-icon { display: flex; justify-content: center; gap: 7px; }
.switch-icon i { width: 9px; height: 9px; border-radius: 2px; border: 1px solid var(--gold); box-shadow: 0 0 9px rgba(var(--gold-rgb, 248,184,78), .4); }
.server-icon { display: flex; flex-direction: column; gap: 5px; padding: 16px; }
.server-icon i { width: 58px; height: 9px; border: 1px solid var(--purple); border-radius: 3px; position: relative; }
.server-icon i::before { content: ""; position: absolute; right: 5px; top: 2px; width: 3px; height: 3px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); }
[dir="rtl"] .server-icon i::before { right: auto; left: 5px; }
.cloud-icon { color: var(--purple); font-size: 40px; text-shadow: 0 0 20px rgba(var(--purple-rgb, 169,112,255), .45); border-color: rgba(var(--purple-rgb, 169,112,255), .25); }
.packet-label { position: absolute; top: 25%; left: 49%; transform: translate(-50%,-50%); padding: 9px 12px; border-radius: 9px; background: rgba(var(--s2-rgb, 9,9,14), .8); border: 1px solid var(--line); color: var(--muted); font: 650 8px/1 var(--font-latin); letter-spacing: .1em; }
.packet-label span { display: inline-block; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 10px var(--gold); margin-inline-end: 7px; }
.flow-log { min-height: 65px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 28px; padding: 0 24px; overflow: hidden; color: rgb(var(--dim-2-rgb, 119,115,128)); font: 500 8px/1 var(--font-latin); letter-spacing: .05em; }
.flow-log span { white-space: nowrap; }
.flow-log i { color: var(--cyan); font-style: normal; margin-inline-end: 6px; }

/* Timeline */
.timeline { position: relative; max-width: 1120px; margin: auto; }
.timeline-line { position: absolute; top: 0; bottom: 0; left: 45px; width: 1px; background: var(--line); }
[dir="rtl"] .timeline-line { left: auto; right: 45px; }
.timeline-line i { display: block; width: 100%; height: 0; background: linear-gradient(var(--gold), var(--purple)); box-shadow: 0 0 16px rgba(var(--gold-rgb, 248,184,78), .3); }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 28px; margin-bottom: 28px; position: relative; }
[dir="rtl"] .timeline-item { grid-template-columns: 90px 1fr; }
.timeline-marker { width: 90px; display: flex; justify-content: center; padding-top: 36px; z-index: 2; }
.timeline-marker span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(var(--gold-rgb, 248,184,78), .25); background: rgb(var(--s3-rgb, 10,10,16)); color: var(--gold); border-radius: 50%; font: 800 9px/1 var(--font-latin); box-shadow: 0 0 25px rgba(var(--gold-rgb, 248,184,78), .07); }
.timeline-card { border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.timeline-meta { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--gold); font: 700 9px/1 var(--font-latin); letter-spacing: .13em; text-transform: uppercase; }
.timeline-meta small { color: var(--muted); }
.timeline-card h3 { margin: 24px 0 12px; font-size: clamp(26px, 3vw, 42px); letter-spacing: -.04em; }
.timeline-card > p { color: rgb(var(--muted-rgb, 170,166,177)); max-width: 800px; margin: 0; font-size: 14px; }
.timeline-card ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.timeline-card li { color: var(--muted); font-size: 11px; padding-inline-start: 18px; position: relative; }
.timeline-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--gold); }
[dir="rtl"] .timeline-card li::before { left: auto; right: 0; }

/* Projects */

/* Arabic connected typography: animate the entire word so letters remain joined. */
.is-arabic .hero-title {
    font-family: var(--font-arabic-display);
    font-size: clamp(64px, 7vw, 112px);
    line-height: 1.08;
    letter-spacing: 0;
    font-weight: 800;
    padding-block: .05em .12em;
}
.arabic-name-reveal {
    display: block;
    width: max-content;
    max-width: 100%;
    opacity: 0;
    transform: translateY(38px) scale(.985);
    filter: blur(9px);
    clip-path: inset(0 100% 0 0);
    transition: opacity .95s var(--ease), transform .95s var(--ease), filter .95s var(--ease), clip-path 1.15s var(--ease);
}
body.intro-complete .arabic-name-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: inset(0 0 0 0);
}
.is-arabic .hero-copy h2 { line-height: 1.35; letter-spacing: 0; }
.is-arabic .hero-subheadline, .is-arabic .hero-statement, .is-arabic .about-card p, .is-arabic .timeline-card p, .is-arabic .timeline-card li { line-height: 1.95; }
.is-arabic .eyebrow, .is-arabic .section-kicker, .is-arabic .system-status { letter-spacing: 0; }

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}
.project-filter {
    appearance: none;
    border: 1px solid var(--line);
    background: rgba(var(--s4-rgb, 13,13,20), .72);
    color: var(--muted);
    border-radius: 999px;
    padding: 11px 18px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 750;
    transition: color .25s, background .25s, border-color .25s, transform .25s;
}
.project-filter:hover { color: var(--text); transform: translateY(-2px); border-color: rgba(var(--gold-rgb, 248,184,78), .26); }
.project-filter.active { color: rgb(var(--on-accent-rgb, 23,17,9)); background: var(--gold); border-color: var(--gold); box-shadow: 0 10px 34px rgba(var(--gold-rgb, 248,184,78), .14); }
.project-card.is-filtered-out { display: none; }

.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.project-card { grid-column: span 4; border-radius: 24px; overflow: hidden; position: relative; transition: transform .45s var(--ease), border-color .35s, box-shadow .35s; }
.project-card:nth-child(1), .project-card:nth-child(2) { grid-column: span 6; }
.project-card:hover { transform: translateY(-8px); border-color: rgba(var(--gold-rgb, 248,184,78), .22); box-shadow: 0 35px 100px rgba(var(--shade-rgb, 0,0,0), .35), 0 0 45px rgba(var(--gold-rgb, 248,184,78), .035); }
.project-visual { height: 250px; overflow: hidden; position: relative; border-bottom: 1px solid var(--line); }
.project-card:nth-child(1) .project-visual, .project-card:nth-child(2) .project-visual { height: 320px; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover .project-visual img { transform: scale(1.04); }
.project-generated-visual { width: 100%; height: 100%; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(var(--purple-rgb, 169,112,255), .11), transparent 38%), rgb(var(--s3-rgb, 10,10,16)); }
.project-generated-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(var(--ink-rgb, 255,255,255), .025) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb, 255,255,255), .025) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, black, transparent); }
.visual-grid { position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0 20%, rgba(var(--gold-rgb, 248,184,78), .05) 20.5% 21%, transparent 21.5% 34%, rgba(var(--cyan-rgb, 56,217,255), .035) 34.5% 35%, transparent 35.5%); }
.visual-orb { position: absolute; width: 160px; height: 160px; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle at 38% 32%, rgba(var(--ink-rgb, 255,255,255), .24), rgba(var(--purple-rgb, 169,112,255), .2) 15%, rgba(var(--purple-rgb, 169,112,255), .035) 45%, transparent 70%); box-shadow: 0 0 70px rgba(var(--purple-rgb, 169,112,255), .15); animation: float 5s ease-in-out infinite; }
.visual-window { position: absolute; width: 180px; height: 108px; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-4deg); border-radius: 12px; border: 1px solid rgba(var(--ink-rgb, 255,255,255), .13); background: rgba(var(--s2-rgb, 9,9,14), .82); box-shadow: 0 28px 70px rgba(var(--shade-rgb, 0,0,0), .4); padding: 12px; transition: transform .55s var(--ease); }
.project-card:hover .visual-window { transform: translate(-50%,-54%) rotate(1deg) scale(1.03); }
.visual-window i { display: block; width: 58%; height: 3px; border-radius: 5px; background: rgba(var(--cyan-rgb, 56,217,255), .35); margin: 10px 0; }
.visual-window i:nth-child(2) { width: 78%; background: rgba(var(--purple-rgb, 169,112,255), .34); }
.visual-window i:nth-child(3) { width: 42%; background: rgba(var(--gold-rgb, 248,184,78), .4); }
.visual-window b { position: absolute; bottom: 13px; right: 15px; color: rgba(var(--ink-rgb, 255,255,255), .1); font-size: 28px; letter-spacing: -.08em; }
[dir="rtl"] .visual-window b { right: auto; left: 15px; }
.visual-2 .visual-orb { background: radial-gradient(circle at 38% 32%, rgba(var(--ink-rgb, 255,255,255), .22), rgba(var(--cyan-rgb, 56,217,255), .18) 15%, rgba(var(--cyan-rgb, 56,217,255), .025) 50%, transparent 70%); box-shadow: 0 0 70px rgba(var(--cyan-rgb, 56,217,255), .12); }
.visual-3 .visual-orb { background: radial-gradient(circle at 38% 32%, rgba(var(--ink-rgb, 255,255,255), .22), rgba(var(--gold-rgb, 248,184,78), .18) 15%, rgba(var(--gold-rgb, 248,184,78), .025) 50%, transparent 70%); box-shadow: 0 0 70px rgba(var(--gold-rgb, 248,184,78), .12); }
.visual-4 .visual-orb { background: radial-gradient(circle at 38% 32%, rgba(var(--ink-rgb, 255,255,255), .22), rgba(var(--green-rgb, 83,233,164), .18) 15%, rgba(var(--green-rgb, 83,233,164), .025) 50%, transparent 70%); box-shadow: 0 0 70px rgba(var(--green-rgb, 83,233,164), .12); }
.visual-5 .visual-orb { background: radial-gradient(circle at 38% 32%, rgba(var(--ink-rgb, 255,255,255), .22), rgba(var(--pink-rgb, 255,94,188), .17) 15%, rgba(var(--pink-rgb, 255,94,188), .025) 50%, transparent 70%); box-shadow: 0 0 70px rgba(var(--pink-rgb, 255,94,188), .12); }
.featured-badge { position: absolute; top: 16px; left: 16px; padding: 7px 10px; border-radius: 8px; color: #1b1307; background: var(--gold); font: 800 8px/1 var(--font-latin); letter-spacing: .12em; text-transform: uppercase; }
[dir="rtl"] .featured-badge { left: auto; right: 16px; }
.project-body { padding: 26px; position: relative; }
.project-number { position: absolute; top: 25px; right: 25px; color: var(--dim); font: 750 9px/1 var(--font-latin); }
[dir="rtl"] .project-number { right: auto; left: 25px; }
.project-category { margin: 0 0 15px; color: var(--gold) !important; font: 700 8px/1 var(--font-latin); letter-spacing: .12em; text-transform: uppercase; }
.project-body h3 { margin: 0 0 12px; padding-inline-end: 36px; font-size: clamp(21px, 2.1vw, 30px); line-height: 1.08; letter-spacing: -.035em; }
.project-body > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.project-tags span { border: 1px solid var(--line); border-radius: 20px; padding: 6px 9px; color: #85828e; font: 650 8px/1 var(--font-latin); }
.project-open { width: 100%; border: 0; border-top: 1px solid var(--line); background: transparent; margin-top: 24px; padding: 18px 0 0; display: flex; justify-content: space-between; align-items: center; color: rgb(var(--text-3-rgb, 199,195,204)); cursor: pointer; font-size: 11px; transition: color .2s; }
.project-open:hover { color: var(--gold); }

/* Education */
.education-deck { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.certificate-card { min-height: 410px; padding: 30px; border-radius: 24px; position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(var(--s6-rgb, 24,24,37), .82), rgba(var(--s2-rgb, 9,9,14), .92)); border: 1px solid var(--line); box-shadow: 0 26px 80px rgba(var(--shade-rgb, 0,0,0), .25); transition: transform .55s var(--ease), border-color .35s; transform-style: preserve-3d; }
.certificate-card:hover { transform: translateY(-10px) rotateX(2deg) rotateY(-2deg); border-color: rgba(var(--gold-rgb, 248,184,78), .25); }
[dir="rtl"] .certificate-card:hover { transform: translateY(-10px) rotateX(2deg) rotateY(2deg); }
.certificate-card::before { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(var(--ink-rgb, 255,255,255), .045); border-radius: 18px; pointer-events: none; }
.certificate-top { display: flex; justify-content: space-between; color: var(--dim); font: 700 8px/1 var(--font-latin); letter-spacing: .12em; }
.certificate-top i { color: var(--gold); font-style: normal; }
.certificate-symbol { margin: 70px 0 38px; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(var(--gold-rgb, 248,184,78), .25); color: var(--gold); font: 800 11px/1 var(--font-latin); box-shadow: 0 0 35px rgba(var(--gold-rgb, 248,184,78), .06); }
.certificate-card h3 { margin: 0; font-size: 22px; line-height: 1.15; letter-spacing: -.035em; max-width: 300px; }
.certificate-issuer { margin: 12px 0 20px !important; color: var(--gold) !important; font-size: 10px !important; text-transform: uppercase; letter-spacing: .08em; }
.certificate-card > p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.certificate-seal { position: absolute; right: 26px; bottom: 26px; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(var(--purple-rgb, 169,112,255), .25); display: grid; place-items: center; transform: rotate(-12deg); }
[dir="rtl"] .certificate-seal { right: auto; left: 26px; }
.certificate-seal::before { content: ""; position: absolute; inset: 5px; border: 1px dashed rgba(var(--purple-rgb, 169,112,255), .25); border-radius: 50%; }
.certificate-seal span { color: var(--purple); font: 850 9px/1 var(--font-latin); }

/* Lab */
.lab-panel { border-radius: 30px; display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; }
.lab-intro { padding: clamp(35px, 5vw, 70px); border-inline-end: 1px solid var(--line); position: relative; overflow: hidden; }
.lab-intro::before { content: ""; position: absolute; width: 420px; height: 420px; left: -210px; bottom: -230px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--purple-rgb, 169,112,255), .12), transparent 68%); }
[dir="rtl"] .lab-intro::before { left: auto; right: -210px; }
.lab-intro h2 { margin: 0; font-size: clamp(35px, 4vw, 60px); line-height: 1; letter-spacing: -.055em; }
.lab-intro > p:not(.section-kicker) { color: var(--muted); max-width: 420px; margin: 22px 0 0; font-size: 13px; }
.lab-radar { width: 210px; height: 210px; margin: 50px auto 0; border-radius: 50%; border: 1px solid rgba(var(--green-rgb, 83,233,164), .18); position: relative; display: grid; place-items: center; background: repeating-radial-gradient(circle, transparent 0 24px, rgba(var(--green-rgb, 83,233,164), .08) 25px 26px); }
.lab-radar::before, .lab-radar::after { content: ""; position: absolute; background: rgba(var(--green-rgb, 83,233,164), .08); }
.lab-radar::before { width: 1px; top: 0; bottom: 0; }
.lab-radar::after { height: 1px; left: 0; right: 0; }
.lab-radar span { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(var(--green-rgb, 83,233,164), .22), transparent 22%); animation: radar 4s linear infinite; }
.lab-radar i { position: absolute; top: 28%; left: 65%; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 13px var(--green); animation: pulseDot 1.8s infinite; }
.lab-radar b { z-index: 2; color: var(--green); font-size: 18px; letter-spacing: -.08em; }
.lab-list { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.lab-list article { display: grid; grid-template-columns: 44px 1fr 160px 44px; gap: 20px; align-items: center; min-height: 105px; border-bottom: 1px solid var(--line); }
.lab-list article > span { color: var(--dim); font: 700 9px/1 var(--font-latin); }
.lab-list h3 { margin: 0; font-size: 16px; }
.lab-list p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.lab-progress { height: 3px; background: rgba(var(--ink-rgb, 255,255,255), .07); border-radius: 10px; overflow: hidden; }
.lab-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--cyan)); }
.lab-list article > strong { color: var(--cyan); font: 750 10px/1 var(--font-latin); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; max-width: 1160px; margin: auto; }
.terminal-form { border-radius: 24px; overflow: hidden; }
.terminal-bar { grid-template-columns: 1fr auto 1fr; }
.terminal-bar strong { color: rgb(var(--muted-2-rgb, 185,182,193)); font-size: 9px; }
.terminal-bar small { color: var(--green); }
.terminal-body { padding: clamp(28px, 4vw, 48px); }
.terminal-body label { display: grid; grid-template-columns: 150px 1fr; gap: 15px; align-items: start; border-bottom: 1px solid var(--line); padding: 18px 0; }
[dir="rtl"] .terminal-body label { grid-template-columns: 170px 1fr; }
.terminal-body label span { color: var(--purple); font: 600 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; padding-top: 5px; }
.terminal-body label i { color: var(--gold); font-style: normal; }
.terminal-body input, .terminal-body textarea { width: 100%; border: 0; outline: none; color: var(--text); background: transparent; resize: vertical; font-size: 13px; line-height: 1.5; }
.terminal-body input::placeholder, .terminal-body textarea::placeholder { color: rgb(var(--faint-rgb, 89,86,98)); }
.terminal-submit { width: 100%; margin-top: 28px; justify-content: space-between; border: 0; }
.form-status { min-height: 18px; margin-top: 13px; color: var(--green); font-size: 11px; }
.contact-direct { border: 1px solid var(--line); border-radius: 24px; padding: clamp(30px, 4vw, 48px); background: radial-gradient(circle at 50% 0%, rgba(var(--gold-rgb, 248,184,78), .07), transparent 35%), rgba(var(--s3-rgb, 10,10,16), .55); }
.contact-orb { width: 138px; height: 138px; border: 1px solid rgba(var(--gold-rgb, 248,184,78), .27); border-radius: 50%; display: grid; place-items: center; position: relative; margin-bottom: 38px; box-shadow: 0 0 50px rgba(var(--gold-rgb, 248,184,78), .07), inset 0 0 30px rgba(var(--gold-rgb, 248,184,78), .04); }
.contact-orb::before { content: ""; position: absolute; inset: -13px; border: 1px dashed rgba(var(--gold-rgb, 248,184,78), .15); border-radius: 50%; animation: bootOrbit 13s linear infinite; }
.contact-orb span { color: var(--gold); font-weight: 900; font-size: 30px; letter-spacing: -.08em; }
.contact-orb i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); top: 10px; right: 17px; }
.contact-direct > p { color: rgb(var(--text-3-rgb, 199,195,204)); font-size: 16px; line-height: 1.7; margin: 0 0 38px; }
.direct-links { display: grid; }
.direct-links a { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; min-height: 70px; border-top: 1px solid var(--line); transition: padding .25s, color .25s; }
.direct-links a:hover { padding-inline: 7px; color: var(--gold); }
.direct-links span { color: var(--dim); font: 700 8px/1 var(--font-latin); letter-spacing: .12em; }
.direct-links strong { font-size: 11px; font-weight: 600; overflow-wrap: anywhere; }

/* Footer & modal */
.site-footer { min-height: 130px; padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; color: var(--dim); }
.site-footer > div:first-child { display: flex; flex-direction: column; }
.site-footer strong { color: var(--text); font-size: 11px; }
.site-footer span, .site-footer p, .site-footer a { font-size: 9px; letter-spacing: .08em; }
.site-footer p { text-align: center; }
.site-footer > div:last-child { justify-self: end; display: flex; gap: 18px; }
.project-modal { width: min(920px, calc(100vw - 32px)); max-height: min(760px, calc(100vh - 32px)); padding: 0; border-radius: 26px; border: 1px solid var(--line-bright); background: rgb(var(--s3-rgb, 10,10,16)); color: var(--text); overflow: auto; box-shadow: 0 55px 180px rgba(var(--shade-rgb, 0,0,0), .75); }
.project-modal::backdrop { background: rgba(var(--shade-rgb, 0,0,0), .82); backdrop-filter: blur(10px); }
.project-modal[open] { animation: modalIn .45s var(--ease); }
.modal-close { position: fixed; z-index: 4; top: max(28px, calc(50% - min(380px, 50vh) + 18px)); right: max(28px, calc(50% - min(460px, 50vw) + 18px)); width: 42px; height: 42px; border: 1px solid var(--line-bright); border-radius: 50%; background: rgba(var(--s2-rgb, 9,9,14), .85); font-size: 25px; cursor: pointer; }
[dir="rtl"] .modal-close { right: auto; left: max(28px, calc(50% - min(460px, 50vw) + 18px)); }
.modal-visual { min-height: 310px; background: radial-gradient(circle, rgba(var(--purple-rgb, 169,112,255), .15), transparent 45%), linear-gradient(rgba(var(--ink-rgb, 255,255,255), .02) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb, 255,255,255), .02) 1px, transparent 1px), rgb(var(--s2-rgb, 9,9,14)); background-size: auto, 34px 34px, 34px 34px; display: grid; place-items: center; overflow: hidden; }
.modal-visual img { width: 100%; height: 350px; object-fit: cover; }
.modal-visual::after { content: "MA / SYSTEM ARCHITECTURE"; color: rgba(var(--ink-rgb, 255,255,255), .12); font: 800 35px/1 var(--font-latin); letter-spacing: -.04em; }
.modal-copy { padding: clamp(30px, 5vw, 60px); }
.modal-copy > span { color: var(--gold); font: 700 9px/1 var(--font-latin); letter-spacing: .12em; text-transform: uppercase; }
.modal-copy h2 { margin: 16px 0; font-size: clamp(34px, 5vw, 60px); line-height: 1; letter-spacing: -.05em; }
.modal-copy > p { color: var(--muted); font-size: 15px; max-width: 720px; }
.modal-impact { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(var(--ink-rgb, 255,255,255), .02); }
.modal-impact small { color: var(--cyan); font: 700 8px/1 var(--font-latin); letter-spacing: .14em; }
.modal-impact p { margin: 10px 0 0; color: rgb(var(--text-3-rgb, 199,195,204)); font-size: 13px; }

/* Animations */
@keyframes bootOrbit { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulseDot { 50% { opacity: .45; transform: scale(.7); } }
@keyframes coreGlow { 50% { transform: scale(1.08); opacity: .7; } }
@keyframes corePulse { from { transform: scale(.75); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }
@keyframes ringSpin { to { transform: rotateX(66deg) rotateZ(368deg); } }
@keyframes ringSpinTwo { to { transform: rotateX(64deg) rotateZ(428deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes orbitStarSpinOne { from { transform: rotateX(68deg) rotateZ(10deg) rotate(0deg); } to { transform: rotateX(68deg) rotateZ(10deg) rotate(360deg); } }
@keyframes orbitStarSpinTwo { from { transform: rotateX(64deg) rotateZ(68deg) rotate(360deg); } to { transform: rotateX(64deg) rotateZ(68deg) rotate(0deg); } }
@keyframes orbitStarSpinThree { from { transform: rotateX(72deg) rotateZ(128deg) rotate(0deg); } to { transform: rotateX(72deg) rotateZ(128deg) rotate(360deg); } }
@keyframes orbitFieldDrift { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(0,-6px,0) scale(1.01); } }
@keyframes scanLine { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
@keyframes radar { to { transform: rotate(360deg); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }

/* Responsive */
@media (max-width: 1120px) {
    :root { --shell: min(100% - 44px, 1100px); }
    .desktop-nav { display: none; }
    .site-header { grid-template-columns: 1fr auto; }
    .mobile-menu-button { display: block; }
    .mobile-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        z-index: 90;
        inset: 0;
        background: rgba(var(--s0-rgb, 5,5,9), .97);
        padding: 130px 9vw 60px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .35s var(--ease);
    }
    .mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
    .mobile-nav a { font-size: clamp(28px, 5vw, 52px); letter-spacing: -.04em; border-bottom: 1px solid var(--line); padding: 16px 0; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { padding-top: 50px; }
    .hero-visual { min-height: 580px; }
    .hero-title { max-width: 950px; }
    .orbit-scene { width: min(620px, 88vw); }
    .about-layout { grid-template-columns: 1fr; }
    .about-card { min-height: 480px; }
    .projects-grid .project-card { grid-column: span 6; }
    .education-deck { grid-template-columns: 1fr 1fr; }
    .certificate-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
    :root { --shell: calc(100vw - 28px); --header-h: 72px; }
    main > section { padding-block: 92px; }
    .site-header { top: 10px; width: calc(100vw - 20px); min-height: 58px; padding: 0 9px 0 13px; }
    .brand-copy { display: none; }
    .language-switch { min-width: auto; padding: 9px; }
    .header-contact { display: none; }
    .hero { padding-top: 120px; min-height: auto; }
    .hero-grid { gap: 45px; }
    .hero-title { font-size: clamp(48px, 16vw, 78px); line-height: .9; }
    [dir="rtl"] .hero-title { font-size: clamp(50px, 15vw, 78px); }
    .hero-copy h2 { margin-top: 20px; }
    .hero-subheadline { font-size: 10px; line-height: 1.7; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; justify-content: space-between; }
    .hero-visual { min-height: 430px; }
    .orbit-scene { width: 100%; }
    .orbit-chip { min-width: 70px; height: 29px; padding: 0 8px; font-size: 7px; }
    .telemetry { transform: scale(.8); }
    .orbit-core { inset: 34%; }
    .scroll-indicator { display: none; }
    .section-heading { margin-bottom: 38px; }
    .section-heading h2 { font-size: clamp(36px, 11vw, 52px); }
    .split-heading { grid-template-columns: 1fr; gap: 20px; }
    .about-card { padding: 28px; min-height: 0; }
    .about-card > p { font-size: 16px; }
    .stats-grid { gap: 12px; }
    .stat-card { min-height: 165px; padding: 20px; }
    .stat-card strong { font-size: 40px; }
    .skills-network-wrap { height: 620px; min-height: 620px; }
    .network-center { width: 92px; height: 92px; }
    .network-center span { font-size: 23px; }
    .skill-detail { left: 14px; right: 14px; width: auto; bottom: 14px; }
    [dir="rtl"] .skill-detail { left: 14px; right: 14px; }
    .data-flow-header { align-items: flex-start; flex-direction: column; padding: 16px; gap: 12px; }
    .flow-metrics { gap: 12px; flex-wrap: wrap; }
    .topology { min-height: 600px; }
    .topology svg { transform: rotate(90deg) scale(.8); inset: 7% -28%; width: 155%; height: 82%; }
    .topology-node { transform: translate(-50%,-50%) scale(.78); }
    .node-device { left: 50%; top: 13%; }
    .node-switch { left: 50%; top: 37%; }
    .node-server { left: 50%; top: 63%; }
    .node-cloud { left: 50%; top: 87%; }
    .packet-label { display: none; }
    .flow-log { display: grid; gap: 8px; padding: 15px; }
    .timeline-line { left: 25px; }
    [dir="rtl"] .timeline-line { left: auto; right: 25px; }
    .timeline-item, [dir="rtl"] .timeline-item { grid-template-columns: 50px 1fr; gap: 10px; }
    .timeline-marker { width: 50px; }
    .timeline-marker span { width: 38px; height: 38px; }
    .timeline-card { padding: 25px; }
    .timeline-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
    .timeline-card ul { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .projects-grid .project-card, .project-card:nth-child(1), .project-card:nth-child(2) { grid-column: auto; }
    .project-card:nth-child(1) .project-visual, .project-card:nth-child(2) .project-visual, .project-visual { height: 240px; }
    .education-deck { grid-template-columns: 1fr; }
    .certificate-card:last-child { grid-column: auto; }
    .certificate-card { min-height: 420px; }
    .lab-panel { grid-template-columns: 1fr; }
    .lab-intro { border-inline-end: 0; border-bottom: 1px solid var(--line); }
    .lab-list { padding: 20px; }
    .lab-list article { grid-template-columns: 34px 1fr 42px; gap: 12px; }
    .lab-progress { grid-column: 2 / -1; width: 100%; margin-top: -20px; }
    .contact-layout { grid-template-columns: 1fr; }
    .terminal-body label, [dir="rtl"] .terminal-body label { grid-template-columns: 1fr; gap: 8px; }
    .site-footer { grid-template-columns: 1fr; text-align: center; padding: 40px 0; }
    .site-footer > div:first-child { align-items: center; }
    .site-footer > div:last-child { justify-self: center; }
    .modal-close { position: absolute; top: 15px; right: 15px; }
    [dir="rtl"] .modal-close { right: auto; left: 15px; }
    .boot-terminal { padding: 38px 24px; }
    .boot-lines { font-size: 11px; min-height: 165px; }
}

@media (hover: none) {
    .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .boot-screen { display: none; }
    body.booting { overflow: auto; }
    .wave-letter, .reveal-up, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; filter: none !important; }
}
.hero-title .wave-word { display: inline-flex; white-space: nowrap; margin-inline-end: .2em; }
.hero-title .wave-word:last-child { margin-inline-end: 0; }
body.intro-complete .wave-letter { transition-delay: var(--letter-delay, 0ms); }

/* =========================================================
   V3 — ERP DIGITAL UNIVERSE
   Arabic typography, cinematic motion and ERP architecture
   ========================================================= */
:root {
    --font-arabic-display: "Noto Kufi Arabic", "Alexandria", "IBM Plex Sans Arabic", Tahoma, sans-serif;
}

/* Ambient cinematic layers */
.aurora-field { position: fixed; inset: 0; z-index: -4; pointer-events: none; overflow: hidden; opacity: .72; }
.aurora-field i { position: absolute; width: 50vw; height: 50vw; min-width: 520px; min-height: 520px; border-radius: 50%; filter: blur(90px); opacity: .085; animation: auroraDrift 24s ease-in-out infinite alternate; }
.aurora-field i:nth-child(1) { left: -22vw; top: 4vh; background: rgb(var(--purple-rgb, 169,112,255)); }
.aurora-field i:nth-child(2) { right: -24vw; top: 38vh; background: rgb(var(--gold-rgb, 248,184,78)); animation-duration: 31s; animation-direction: alternate-reverse; }
.aurora-field i:nth-child(3) { left: 28vw; bottom: -36vw; background: rgb(var(--cyan-rgb, 56,217,255)); animation-duration: 28s; }
.scroll-progress { position: fixed; z-index: 180; top: 0; left: 0; right: 0; height: 2px; background: rgba(var(--ink-rgb, 255,255,255), .035); pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--purple), var(--gold), var(--cyan)); box-shadow: 0 0 18px rgba(var(--gold-rgb, 248,184,78), .55); }
.scene-rail { position: fixed; z-index: 80; right: 20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--dim); font: 700 8px/1 var(--font-latin); pointer-events: none; }
[dir="rtl"] .scene-rail { right: auto; left: 20px; }
.scene-rail b { color: var(--gold); font-size: 10px; }
.scene-rail i { width: 1px; height: 112px; background: var(--line); position: relative; overflow: hidden; }
.scene-rail i::after { content: ""; position: absolute; inset: auto 0 100%; height: var(--scene-progress, 0%); background: linear-gradient(var(--gold), var(--cyan)); box-shadow: 0 0 10px var(--gold); transform: translateY(100%); transition: height .25s ease; }

/* Boot identity reveal */
.boot-identity { opacity: 0; transform: translateY(12px); display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: -10px 0 22px; padding: 0 2px; transition: .65s var(--ease); }
.boot-identity.visible { opacity: 1; transform: none; }
.boot-identity strong { font: 900 clamp(18px, 3vw, 30px)/1 var(--font-latin); letter-spacing: -.055em; color: var(--text); }
.boot-identity span { font: 700 8px/1.4 var(--font-latin); letter-spacing: .13em; color: var(--gold); text-align: end; }

/* Hero data streams */
.code-stream { position: absolute; z-index: 1; display: grid; gap: 22px; color: rgba(var(--ink-rgb, 255,255,255), .07); font: 700 8px/1 var(--font-latin); letter-spacing: .15em; pointer-events: none; user-select: none; }
.code-stream span { animation: codeBlink 5.4s ease-in-out infinite; }
.code-stream span:nth-child(2) { animation-delay: -1.1s; }
.code-stream span:nth-child(3) { animation-delay: -2.2s; }
.code-stream span:nth-child(4) { animation-delay: -3.3s; }
.stream-a { left: 4%; top: 27%; }
.stream-b { right: 2%; bottom: 24%; text-align: end; }

/* Arabic visual system — connected, balanced and readable */
body.is-arabic { font-family: var(--font-arabic); font-weight: 400; }
body.is-arabic h1, body.is-arabic h2, body.is-arabic h3 { font-family: var(--font-arabic-display); font-weight: 700; letter-spacing: 0 !important; text-wrap: balance; overflow: visible; }
body.is-arabic .button, body.is-arabic .section-kicker { font-family: var(--font-arabic); }
.is-arabic .hero-title { font-size: clamp(60px, 6.25vw, 100px); line-height: 1.18; font-weight: 700; padding-block: .09em .16em; max-width: 710px; }
.is-arabic .hero-copy h2 { font-size: clamp(27px, 2.95vw, 42px); line-height: 1.44; max-width: 690px; margin-top: 18px; }
.is-arabic .hero-subheadline { font-size: 13px; line-height: 1.95; max-width: 700px; }
.is-arabic .hero-statement { font-size: 17px; line-height: 1.95; max-width: 700px; }
.is-arabic .section-heading { max-width: 1120px; }
.is-arabic .section-heading h2 { font-size: clamp(38px, 4.5vw, 68px); line-height: 1.42; font-weight: 700; padding-block: .05em .18em; word-break: normal; overflow-wrap: normal; }
.is-arabic .section-heading > p:not(.section-kicker) { font-size: 16px; line-height: 2; }
.is-arabic .split-heading { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr); gap: 64px; }
.is-arabic .about-card > p { font-size: clamp(17px, 1.55vw, 21px); line-height: 2.15; }
.is-arabic .timeline-card h3 { line-height: 1.55; font-size: clamp(24px, 2.5vw, 36px); }
.is-arabic .timeline-card > p, .is-arabic .timeline-card li { line-height: 2; }
.is-arabic .project-body h3, .is-arabic .certificate-card h3, .is-arabic .lab-list h3 { line-height: 1.55; }
.is-arabic .project-body > p, .is-arabic .certificate-card > p, .is-arabic .module-chip p { line-height: 1.9; }
.is-arabic .section-kicker { font-weight: 700; }
.is-arabic .terminal-body input, .is-arabic .terminal-body textarea { text-align: right; }

/* ERP architecture command center */
.erp-command { border-radius: 30px; overflow: hidden; position: relative; }
.erp-command::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, rgba(var(--gold-rgb, 248,184,78), .08), transparent 31%), linear-gradient(rgba(var(--ink-rgb, 255,255,255), .014) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb, 255,255,255), .014) 1px, transparent 1px); background-size: auto, 46px 46px, 46px 46px; }
.erp-command-bar { min-height: 58px; position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 24px; border-bottom: 1px solid var(--line); color: var(--muted); font: 700 9px/1 var(--font-latin); letter-spacing: .12em; }
.erp-command-bar > div { display: flex; align-items: center; gap: 12px; }
.erp-command-bar b { color: var(--gold); }
.erp-command-bar span:not(.live-dot) { color: var(--cyan); }
.erp-canvas { min-height: 720px; position: relative; overflow: hidden; }
.erp-links { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; }
.erp-link { fill: none; stroke: url(#erpGradient); stroke-width: 1.1; stroke-dasharray: 5 10; opacity: .34; }
.erp-packet { fill: var(--gold); opacity: .9; }
.erp-core { position: absolute; z-index: 5; left: 50%; top: 50%; width: 176px; height: 176px; transform: translate(-50%, -50%); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 36% 30%, #49351d, #11100f 48%, rgb(var(--s1-rgb, 7,7,11)) 74%); border: 1px solid rgba(var(--gold-rgb, 248,184,78), .42); box-shadow: 0 0 90px rgba(var(--gold-rgb, 248,184,78), .16), inset 0 0 50px rgba(var(--gold-rgb, 248,184,78), .08); }
.erp-core::before, .erp-core::after { content: ""; position: absolute; border-radius: inherit; border: 1px dashed rgba(var(--gold-rgb, 248,184,78), .2); inset: -18px; animation: bootOrbit 18s linear infinite; }
.erp-core::after { inset: -38px; border-color: rgba(var(--cyan-rgb, 56,217,255), .11); animation-duration: 26s; animation-direction: reverse; }
.erp-core span { color: var(--gold); font: 900 42px/1 var(--font-latin); letter-spacing: -.08em; }
.erp-core strong { margin-top: 9px; font: 800 10px/1 var(--font-latin); letter-spacing: .13em; }
.erp-core small { margin-top: 8px; color: #8e806b; font: 650 7px/1 var(--font-latin); letter-spacing: .12em; }
.erp-core i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 13px var(--green); top: 19px; right: 35px; animation: pulseDot 1.8s infinite; }
.erp-node { position: absolute; z-index: 4; width: 175px; min-height: 64px; display: grid; grid-template-columns: 32px 1fr 8px; align-items: center; gap: 10px; padding: 12px 14px; color: var(--text); text-align: start; border: 1px solid var(--line); border-radius: 14px; background: rgba(var(--s3-rgb, 10,10,16), .88); backdrop-filter: blur(12px); cursor: pointer; box-shadow: 0 14px 34px rgba(var(--shade-rgb, 0,0,0), .24); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s, background .3s; }
.erp-node:hover, .erp-node.active { transform: translateY(-5px) scale(1.025); border-color: rgba(var(--gold-rgb, 248,184,78), .34); background: rgba(var(--s5-rgb, 17,17,25), .96); box-shadow: 0 20px 55px rgba(var(--shade-rgb, 0,0,0), .35), 0 0 30px rgba(var(--gold-rgb, 248,184,78), .06); }
.erp-node > span { color: var(--dim); font: 700 8px/1 var(--font-latin); }
.erp-node strong { font-size: 10px; line-height: 1.35; font-weight: 700; }
.erp-node > i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.erp-node-1 { left: 43%; top: 6%; } .erp-node-2 { right: 10%; top: 13%; } .erp-node-3 { right: 3%; top: 34%; }
.erp-node-4 { right: 7%; bottom: 23%; } .erp-node-5 { right: 24%; bottom: 6%; } .erp-node-6 { left: 43%; bottom: 3%; }
.erp-node-7 { left: 20%; bottom: 7%; } .erp-node-8 { left: 5%; bottom: 23%; } .erp-node-9 { left: 2%; top: 37%; }
.erp-node-10 { left: 8%; top: 14%; } .erp-node-11 { left: 25%; top: 5%; } .erp-node-12 { right: 25%; top: 4%; }
.erp-live-card { position: absolute; z-index: 6; left: 50%; top: calc(50% + 120px); width: min(380px, calc(100% - 40px)); transform: translateX(-50%); padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(var(--s1-rgb, 7,7,11), .88); backdrop-filter: blur(16px); text-align: center; transition: opacity .25s, transform .25s; }
.erp-live-card > span { color: var(--purple); font: 700 8px/1 var(--font-latin); letter-spacing: .12em; }
.erp-live-card strong { display: block; margin-top: 7px; font-size: 15px; }
.erp-live-card p { margin: 7px 0 10px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.erp-live-card div { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font: 700 7px/1 var(--font-latin); letter-spacing: .12em; }
.erp-live-card div i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.erp-console { min-height: 62px; position: relative; z-index: 4; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 24px; padding: 0 24px; overflow: hidden; color: var(--dim); font: 600 8px/1 var(--font-latin); }
.erp-console span { white-space: nowrap; }
.erp-console i { color: var(--green); font-style: normal; margin-inline-end: 6px; }

/* Project library controls and spotlight */
.project-extra { display: none; }
.projects-grid.show-all .project-extra { display: block; animation: moduleReveal .55s var(--ease) both; }
.projects-reveal { display: flex; justify-content: center; margin-top: 34px; }
.projects-reveal .button { min-width: 230px; justify-content: space-between; }
.project-card, .module-chip, .stat-card, .certificate-card { --mx: 50%; --my: 50%; }
.project-card::after, .module-chip::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(var(--gold-rgb, 248,184,78), .09), transparent 62%); transition: opacity .3s; }
.project-card:hover::after, .module-chip:hover::after { opacity: 1; }

/* Module vault */
.module-console { border-radius: 28px; overflow: hidden; }
.module-console-top { min-height: 64px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font: 700 8px/1 var(--font-latin); letter-spacing: .12em; }
.module-console-top > div:first-child { display: flex; align-items: center; }
.module-search { width: min(360px, 48%); min-height: 38px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(var(--ink-rgb, 255,255,255), .018); }
.module-search span { color: var(--cyan); font-size: 16px; }
.module-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 10px; }
.module-search input::placeholder { color: var(--dim); }
.module-filter-bar { display: flex; gap: 8px; padding: 16px 20px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.module-filter { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); padding: 9px 13px; font-size: 9px; cursor: pointer; transition: .25s; }
.module-filter b { color: var(--gold); margin-inline-start: 4px; }
.module-filter:hover, .module-filter.active { color: rgb(var(--on-accent-rgb, 23,17,9)); background: var(--gold); border-color: var(--gold); }
.module-filter.active b { color: rgb(var(--on-accent-rgb, 23,17,9)); }
.module-vault-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.module-chip { min-height: 170px; position: relative; overflow: hidden; padding: 22px; display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; background: rgba(var(--s3-rgb, 10,10,16), .96); transition: background .3s, transform .3s var(--ease); }
.module-chip:hover { background: rgba(var(--s5-rgb, 17,17,25), .98); z-index: 2; }
.module-chip.is-hidden { display: none; }
.module-chip > span { color: var(--dim); font: 700 8px/1 var(--font-latin); padding-top: 4px; }
.module-chip small { color: var(--gold); font: 700 7px/1 var(--font-latin); letter-spacing: .12em; text-transform: uppercase; }
.module-chip h3 { margin: 10px 0 8px; font-size: 16px; line-height: 1.35; }
.module-chip p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.module-chip > i { align-self: start; color: var(--green); font: 700 7px/1 var(--font-latin); letter-spacing: .1em; font-style: normal; border: 1px solid rgba(var(--green-rgb, 83,233,164), .14); border-radius: 8px; padding: 7px 8px; }
.module-empty { display: none; padding: 45px; text-align: center; color: var(--muted); }
.module-empty.visible { display: block; }

/* Tilted elements keep depth without making text unreadable */
.tilt-card { transform-style: preserve-3d; will-change: transform; }

@keyframes auroraDrift { 0% { transform: translate3d(-4%, -2%, 0) scale(.9); } 100% { transform: translate3d(12%, 8%, 0) scale(1.15); } }
@keyframes codeBlink { 0%,100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
@keyframes moduleReveal { from { opacity: 0; transform: translateY(28px) scale(.97); } }

@media (max-width: 1260px) {
    .scene-rail { display: none; }
    .erp-node { width: 155px; }
    .module-vault-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .erp-canvas { min-height: auto; padding: 230px 18px 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .erp-links { display: none; }
    .erp-core { top: 105px; width: 140px; height: 140px; }
    .erp-core::after { inset: -27px; }
    .erp-core span { font-size: 34px; }
    .erp-node { position: relative; inset: auto !important; width: auto; min-height: 70px; transform: none !important; }
    .erp-live-card { position: relative; inset: auto; transform: none; width: auto; grid-column: 1 / -1; margin-top: 8px; }
    .erp-console { flex-wrap: wrap; gap: 10px 20px; padding-block: 18px; }
    .module-console-top { align-items: stretch; flex-direction: column; padding-block: 16px; }
    .module-search { width: 100%; }
}

@media (max-width: 780px) {
    .boot-identity { align-items: flex-start; flex-direction: column; gap: 9px; }
    .boot-identity span { text-align: start; }
    .code-stream { display: none; }
    .is-arabic .hero-title { font-size: clamp(48px, 13.5vw, 72px); line-height: 1.24; }
    .is-arabic .hero-copy h2 { font-size: clamp(24px, 6.9vw, 36px); line-height: 1.52; }
    .is-arabic .section-heading h2 { font-size: clamp(34px, 9.7vw, 49px); line-height: 1.5; }
    .is-arabic .split-heading { grid-template-columns: 1fr; gap: 18px; }
    .erp-command-bar { align-items: flex-start; flex-direction: column; padding-block: 16px; }
    .erp-canvas { grid-template-columns: 1fr; padding-top: 220px; }
    .erp-live-card { grid-column: auto; }
    .module-vault-grid { grid-template-columns: 1fr; }
    .module-chip { min-height: 145px; }
    .module-filter-bar { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .aurora-field, .code-stream { display: none; }
    .erp-packet { display: none; }
    .tilt-card { transform: none !important; }
}
.projects-grid .project-card.is-filtered-out { display: none !important; }
body::after { content: ""; position: fixed; z-index: 9998; inset: 0; pointer-events: none; background: rgb(var(--s1-rgb, 7,7,11)); transform: scaleY(0); transform-origin: bottom; transition: transform .42s var(--ease); }
body.language-leaving::after { transform: scaleY(1); }
.aurora-field { contain: strict; overflow: clip; }
.aurora-field i { inset: 0 !important; width: 100% !important; height: 100% !important; min-width: 0 !important; min-height: 0 !important; border-radius: 0; }
.aurora-field i:nth-child(1) { background: radial-gradient(circle at 8% 18%, rgba(var(--purple-rgb, 169,112,255), .9), transparent 32%); }
.aurora-field i:nth-child(2) { background: radial-gradient(circle at 92% 48%, rgba(var(--gold-rgb, 248,184,78), .75), transparent 30%); }
.aurora-field i:nth-child(3) { background: radial-gradient(circle at 52% 92%, rgba(var(--cyan-rgb, 56,217,255), .72), transparent 34%); }
.aurora-field i { animation: auroraPulse 12s ease-in-out infinite alternate !important; transform: none !important; }
.aurora-field i:nth-child(2) { animation-delay: -4s !important; }
.aurora-field i:nth-child(3) { animation-delay: -8s !important; }
@keyframes auroraPulse { from { opacity: .045; filter: blur(110px); } to { opacity: .11; filter: blur(78px); } }
html, body { overflow-x: clip; }
.is-arabic .section-heading h2 { font-size: clamp(36px, 4vw, 60px); }
.career-goal { margin-top: 32px; padding: 22px 24px; border: 1px solid rgba(var(--gold-rgb, 248,184,78), .16); border-radius: 16px; background: linear-gradient(135deg, rgba(var(--gold-rgb, 248,184,78), .055), rgba(var(--purple-rgb, 169,112,255), .025)); }
.career-goal > span { color: var(--gold); font: 750 8px/1 var(--font-latin); letter-spacing: .14em; }
.career-goal p { margin: 11px 0 0 !important; color: rgb(var(--muted-2-rgb, 185,182,193)) !important; font-size: 13px !important; line-height: 1.8 !important; }
.is-arabic .career-goal p { font-size: 15px !important; line-height: 2 !important; }

/* ========================================================================== 
   V4 — cinematic project case studies, technology marquee and persistent CTA
   ========================================================================== */
.header-dynamic-cta {
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 11px;
    color: rgb(var(--on-accent-rgb, 23,17,9));
    background: linear-gradient(135deg, #ffd373, var(--gold));
    box-shadow: 0 14px 36px rgba(var(--gold-rgb, 248,184,78), .18), inset 0 1px rgba(var(--ink-rgb, 255,255,255), .45);
    font-size: 10px;
    font-weight: 800;
    transition: transform .3s var(--ease), box-shadow .3s, filter .3s;
}
.header-dynamic-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(var(--gold-rgb, 248,184,78), .28); filter: saturate(1.08); }
.header-dynamic-cta i { font-style: normal; font-size: 13px; transition: transform .3s var(--ease); }
.header-dynamic-cta:hover i { transform: translate(2px,-2px); }
.is-arabic .header-dynamic-cta { font-family: var(--font-arabic-display); font-size: 11px; }
.is-arabic .header-dynamic-cta i { transform: scaleX(-1); }
.is-arabic .header-dynamic-cta:hover i { transform: scaleX(-1) translate(2px,-2px); }

.technology-marquee {
    position: relative;
    padding: 18px 0 30px;
    overflow: hidden;
    border-block: 1px solid rgba(var(--ink-rgb, 255,255,255), .055);
    background:
        linear-gradient(90deg, rgba(var(--s1-rgb, 7,7,11), 1), rgba(var(--s4-rgb, 13,13,20), .82) 20%, rgba(var(--s2-rgb, 9,9,14), .86) 80%, rgba(var(--s1-rgb, 7,7,11), 1));
}
.technology-marquee::before,
.technology-marquee::after {
    content: "";
    position: absolute;
    z-index: 4;
    inset-block: 0;
    width: min(13vw, 180px);
    pointer-events: none;
}
.technology-marquee::before { inset-inline-start: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.technology-marquee::after { inset-inline-end: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.is-arabic .technology-marquee::before { background: linear-gradient(-90deg, var(--bg), transparent); }
.is-arabic .technology-marquee::after { background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.marquee-heading span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb, 248,184,78), .18), transparent); }
.marquee-heading p { margin: 0; color: var(--dim); font: 700 8px/1 var(--font-latin); letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.is-arabic .marquee-heading p { font-family: var(--font-arabic-display); letter-spacing: 0; font-size: 10px; }
.marquee-track-wrap { overflow: hidden; position: relative; }
.marquee-track-wrap + .marquee-track-wrap { margin-top: 10px; }
.marquee-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-inline: 10px;
    animation: techMarquee 42s linear infinite;
    will-change: transform;
}
.marquee-track-wrap.reverse .marquee-track { animation-name: techMarqueeReverse; animation-duration: 50s; }
.marquee-track-wrap.paused .marquee-track { animation-play-state: paused; }
.tech-token {
    position: relative;
    flex: 0 0 auto;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 7px 15px 7px 9px;
    border: 1px solid rgba(var(--ink-rgb, 255,255,255), .075);
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(var(--ink-rgb, 255,255,255), .04), rgba(var(--ink-rgb, 255,255,255), .012));
    box-shadow: inset 0 1px rgba(var(--ink-rgb, 255,255,255), .025), 0 12px 28px rgba(var(--shade-rgb, 0,0,0), .16);
    color: rgb(var(--text-2-rgb, 217,214,222));
    overflow: hidden;
    transition: border-color .25s, transform .25s, background .25s;
}
.tech-token:hover { transform: translateY(-2px); border-color: rgba(var(--gold-rgb, 248,184,78), .26); background: rgba(var(--gold-rgb, 248,184,78), .045); }
.tech-token img,
.tech-token > i {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    object-fit: contain;
    border-radius: 50%;
    padding: 5px;
    background: rgba(var(--ink-rgb, 255,255,255), .055);
    font: 800 8px/1 var(--font-latin);
    font-style: normal;
    color: var(--gold);
}
.tech-token b { font-size: 10px; line-height: 1; font-weight: 750; white-space: nowrap; }
.tech-token em { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.tech-token-role { border-color: rgba(var(--green-rgb, 83,233,164), .1); }
.tech-token-role > i { color: var(--green); }
.tech-token-role em { background: var(--green); box-shadow: 0 0 10px var(--green); }
.tech-token-certification { border-color: rgba(var(--purple-rgb, 169,112,255), .14); }
.tech-token-certification > i { color: var(--purple); }
.tech-token-certification em { background: var(--purple); box-shadow: 0 0 10px var(--purple); }

.floating-whatsapp {
    position: fixed;
    z-index: 120;
    inset-inline-end: max(22px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #2be27d, #16b85c);
    color: #06140b;
    box-shadow: 0 16px 48px rgba(29,205,105,.32), inset 0 1px rgba(var(--ink-rgb, 255,255,255), .45);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.floating-whatsapp:hover { transform: translateY(-5px) scale(1.04); box-shadow: 0 22px 58px rgba(29,205,105,.45); }
.floating-whatsapp svg { width: 29px; height: 29px; fill: rgb(var(--ink-rgb, 255,255,255)); position: relative; z-index: 2; }
.floating-whatsapp b {
    position: absolute;
    inset-inline-end: calc(100% + 13px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    padding: 9px 12px;
    border: 1px solid rgba(var(--ink-rgb, 255,255,255), .11);
    border-radius: 9px;
    color: var(--text);
    background: rgba(var(--s2-rgb, 9,9,14), .94);
    box-shadow: 0 14px 38px rgba(var(--shade-rgb, 0,0,0), .38);
    font-size: 10px;
    transition: .25s var(--ease);
}
.is-arabic .floating-whatsapp b { font-family: var(--font-arabic-display); }
.floating-whatsapp:hover b { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.wa-pulse,
.wa-pulse::before { position: absolute; inset: -6px; border: 1px solid rgba(43,226,125,.38); border-radius: 50%; content: ""; animation: whatsappPulse 2.4s ease-out infinite; }
.wa-pulse::before { inset: -1px; animation-delay: 1.2s; }

.project-card { cursor: pointer; }
.project-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.project-open { display: inline-flex; align-items: center; gap: 10px; }

/* Project case-study page */
body.project-page { background: rgb(var(--s1-rgb, 7,7,11)); }
.project-page .site-header { background: rgba(var(--s1-rgb, 7,7,11), .76); }
.case-hero { min-height: 88vh; display: flex; align-items: flex-end; padding-top: calc(var(--header-h) + 80px); padding-bottom: 90px; overflow: hidden; }
.case-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 76% 28%, rgba(var(--purple-rgb, 169,112,255), .16), transparent 31%), radial-gradient(circle at 18% 72%, rgba(var(--gold-rgb, 248,184,78), .12), transparent 34%); pointer-events: none; }
.case-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px,.92fr); gap: 70px; align-items: center; }
.case-breadcrumb { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--muted); font-size: 10px; }
.case-breadcrumb a:hover { color: var(--gold); }
.case-breadcrumb i { color: var(--dim); font-style: normal; }
.case-kicker { color: var(--gold); font: 800 9px/1 var(--font-latin); letter-spacing: .16em; text-transform: uppercase; }
.is-arabic .case-kicker { font-family: var(--font-arabic-display); letter-spacing: 0; font-size: 11px; }
.case-title { margin: 22px 0 20px; max-width: 940px; font-size: clamp(54px,7.2vw,118px); line-height: .95; letter-spacing: -.055em; }
.is-arabic .case-title { font-family: var(--font-arabic-display); font-size: clamp(48px,6.3vw,94px); line-height: 1.28; letter-spacing: 0; }
.case-summary { max-width: 760px; margin: 0; color: rgb(var(--muted-2-rgb, 185,182,193)); font-size: clamp(16px,1.35vw,21px); line-height: 1.85; }
.is-arabic .case-summary { line-height: 2.05; }
.case-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.case-meta span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(var(--ink-rgb, 255,255,255), .018); font-size: 9px; }
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.case-visual-shell { position: relative; min-height: 520px; border-radius: 30px; overflow: hidden; }
.case-visual-shell::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(var(--ink-rgb, 255,255,255), .035), transparent 60%); pointer-events: none; z-index: 3; }
.case-visual-shell img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.case-generated { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at center, rgba(var(--gold-rgb, 248,184,78), .08), transparent 34%), linear-gradient(135deg, rgba(var(--purple-rgb, 169,112,255), .07), transparent 55%); }
.case-generated-grid { position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(var(--ink-rgb, 255,255,255), .04) 1px,transparent 1px),linear-gradient(90deg,rgba(var(--ink-rgb, 255,255,255), .04) 1px,transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(circle,black,transparent 78%); }
.case-system-core { width: 190px; height: 190px; display: grid; place-items: center; border: 1px solid rgba(var(--gold-rgb, 248,184,78), .35); border-radius: 50%; background: rgba(var(--s2-rgb, 9,9,14), .86); box-shadow: 0 0 80px rgba(var(--gold-rgb, 248,184,78), .11), inset 0 0 60px rgba(var(--gold-rgb, 248,184,78), .04); position: relative; }
.case-system-core::before,.case-system-core::after { content: ""; position: absolute; border: 1px solid rgba(var(--cyan-rgb, 56,217,255), .16); border-radius: 50%; animation: caseOrbit 12s linear infinite; }
.case-system-core::before { inset: -70px; border-inline-color: rgba(var(--gold-rgb, 248,184,78), .2); }
.case-system-core::after { inset: -125px; animation-duration: 19s; animation-direction: reverse; }
.case-system-core strong { color: var(--gold); font-size: 40px; }
.case-system-core small { position: absolute; bottom: 48px; color: var(--dim); font: 700 7px/1 var(--font-latin); letter-spacing: .15em; }
.case-data-chip { position: absolute; min-width: 116px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(var(--s2-rgb, 9,9,14), .86); backdrop-filter: blur(13px); color: var(--muted); font-size: 9px; animation: dataFloat 5s ease-in-out infinite; }
.case-data-chip b { display: block; margin-top: 5px; color: var(--text); font-size: 12px; }
.case-data-chip:nth-of-type(1) { top: 16%; left: 8%; }
.case-data-chip:nth-of-type(2) { top: 22%; right: 7%; animation-delay: -1.2s; }
.case-data-chip:nth-of-type(3) { bottom: 18%; left: 10%; animation-delay: -2.1s; }
.case-data-chip:nth-of-type(4) { bottom: 14%; right: 10%; animation-delay: -3.3s; }
.case-section { padding-block: 110px; }
.case-section-head { display: grid; grid-template-columns: .5fr 1fr; gap: 70px; margin-bottom: 45px; align-items: start; }
.case-section-head span { color: var(--gold); font: 800 9px/1 var(--font-latin); letter-spacing: .15em; }
.case-section-head h2 { margin: 0; max-width: 900px; font-size: clamp(38px,4.7vw,72px); line-height: 1.05; letter-spacing: -.04em; }
.is-arabic .case-section-head h2 { font-family: var(--font-arabic-display); line-height: 1.45; letter-spacing: 0; }
.case-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.case-story-card { min-height: 360px; padding: 42px; border-radius: 26px; position: relative; overflow: hidden; }
.case-story-card::before { content: attr(data-index); position: absolute; inset-inline-end: 24px; top: 18px; color: rgba(var(--ink-rgb, 255,255,255), .04); font-size: 88px; font-weight: 900; }
.case-story-card small { color: var(--gold); font: 800 8px/1 var(--font-latin); letter-spacing: .13em; }
.case-story-card h3 { margin: 30px 0 18px; font-size: 27px; }
.case-story-card p { margin: 0; color: rgb(var(--muted-2-rgb, 185,182,193)); font-size: 15px; line-height: 1.9; }
.is-arabic .case-story-card p { line-height: 2.1; }
.case-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case-feature { min-height: 180px; padding: 28px; border-radius: 20px; position: relative; overflow: hidden; }
.case-feature > span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(var(--gold-rgb, 248,184,78), .2); border-radius: 50%; color: var(--gold); font: 800 9px/1 var(--font-latin); }
.case-feature h3 { margin: 32px 0 0; font-size: 17px; line-height: 1.5; }
.case-outcome { display: grid; grid-template-columns: 1fr .65fr; gap: 24px; align-items: stretch; }
.case-outcome-copy { padding: 54px; border-radius: 28px; }
.case-outcome-copy small { color: var(--green); font: 800 8px/1 var(--font-latin); letter-spacing: .14em; }
.case-outcome-copy h2 { margin: 22px 0; font-size: clamp(36px,4vw,64px); line-height: 1.1; }
.is-arabic .case-outcome-copy h2 { line-height: 1.45; }
.case-outcome-copy p { color: rgb(var(--text-3-rgb, 199,195,204)); font-size: 17px; line-height: 1.9; }
.case-outcome-signal { min-height: 440px; border-radius: 28px; display: grid; place-items: center; position: relative; overflow: hidden; }
.case-outcome-signal::before { content: ""; width: 230px; height: 230px; border-radius: 50%; border: 1px solid rgba(var(--green-rgb, 83,233,164), .22); box-shadow: 0 0 90px rgba(var(--green-rgb, 83,233,164), .09), inset 0 0 60px rgba(var(--green-rgb, 83,233,164), .04); animation: outcomeBreathe 4s ease-in-out infinite; }
.case-outcome-signal strong { position: absolute; font-size: 58px; color: var(--green); }
.case-related { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.related-card { min-height: 260px; padding: 28px; border-radius: 22px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .3s var(--ease), border-color .3s; }
.related-card:hover { transform: translateY(-6px); border-color: rgba(var(--gold-rgb, 248,184,78), .24); }
.related-card span { color: var(--gold); font: 800 8px/1 var(--font-latin); }
.related-card h3 { margin: 0; font-size: 23px; line-height: 1.25; }
.related-card p { color: var(--muted); font-size: 11px; }
.case-next-cta { margin-top: 90px; padding: 70px 50px; border-radius: 30px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.case-next-cta h2 { margin: 0 0 12px; font-size: clamp(34px,4vw,64px); }
.case-next-cta p { margin: 0; color: var(--muted); }

@keyframes techMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes techMarqueeReverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes whatsappPulse { 0% { transform: scale(.82); opacity: .9; } 100% { transform: scale(1.42); opacity: 0; } }
@keyframes caseOrbit { to { transform: rotate(360deg); } }
@keyframes dataFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes outcomeBreathe { 0%,100% { transform: scale(.94); opacity: .65; } 50% { transform: scale(1.06); opacity: 1; } }

@media (max-width: 1100px) {
    .header-dynamic-cta { display: none; }
    .case-hero-grid { grid-template-columns: 1fr; }
    .case-visual-shell { min-height: 440px; }
    .case-story-grid, .case-outcome { grid-template-columns: 1fr; }
    .case-feature-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 780px) {
    .technology-marquee { padding-block: 16px 22px; }
    .marquee-heading { gap: 10px; }
    .tech-token { min-height: 42px; padding: 6px 12px 6px 7px; }
    .tech-token img,.tech-token>i { width: 27px; height: 27px; }
    .floating-whatsapp { width: 52px; height: 52px; inset-inline-end: 15px; bottom: 15px; }
    .floating-whatsapp b { display: none; }
    .case-hero { min-height: auto; padding-top: 130px; padding-bottom: 70px; }
    .case-hero-grid { gap: 46px; }
    .case-title { font-size: clamp(45px,14vw,70px); line-height: 1; }
    .is-arabic .case-title { font-size: clamp(42px,12vw,62px); line-height: 1.35; }
    .case-summary { font-size: 15px; }
    .case-visual-shell { min-height: 360px; }
    .case-visual-shell img { min-height: 360px; }
    .case-system-core { width: 135px; height: 135px; }
    .case-system-core strong { font-size: 30px; }
    .case-system-core small { bottom: 32px; }
    .case-data-chip { min-width: 92px; padding: 9px; font-size: 7px; }
    .case-section { padding-block: 78px; }
    .case-section-head { grid-template-columns: 1fr; gap: 18px; }
    .case-section-head h2 { font-size: clamp(34px,10vw,50px); }
    .case-story-card { min-height: auto; padding: 30px 24px; }
    .case-story-card::before { font-size: 62px; }
    .case-feature-grid, .case-related { grid-template-columns: 1fr; }
    .case-feature { min-height: 145px; }
    .case-outcome-copy { padding: 32px 24px; }
    .case-outcome-signal { min-height: 300px; }
    .case-next-cta { grid-template-columns: 1fr; padding: 38px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation-play-state: paused !important; }
    .wa-pulse,.wa-pulse::before,.case-system-core::before,.case-system-core::after,.case-data-chip,.case-outcome-signal::before { animation: none !important; }
}

/* =========================================================
   V4.1 — LANGUAGE CONTROLS + MOBILE / TABLET EXPERIENCE
   ========================================================= */
.language-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    white-space: nowrap;
}
.language-icon {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 25px;
    background: linear-gradient(145deg, rgba(var(--gold-rgb, 248,184,78), .16), rgba(var(--purple-rgb, 169,112,255), .08));
    border: 1px solid rgba(var(--gold-rgb, 248,184,78), .22);
    color: var(--gold);
    font: 800 9px/1 var(--font-latin);
    box-shadow: inset 0 0 14px rgba(var(--gold-rgb, 248,184,78), .04);
}
.is-english .language-icon { font-family: var(--font-arabic-display); font-size: 13px; }
.language-text { line-height: 1; }

.mobile-nav-actions {
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
    gap: 12px;
}
.mobile-nav .mobile-nav-actions > a {
    min-height: 54px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 13px;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-nav .mobile-language-switch { color: var(--text); }
.mobile-dynamic-cta {
    gap: 16px;
    background: var(--gold);
    color: rgb(var(--on-accent-rgb, 23,17,9));
    font-weight: 850;
    box-shadow: 0 20px 60px rgba(var(--gold-rgb, 248,184,78), .16);
}
.mobile-dynamic-cta i { font-style: normal; }
.is-arabic .mobile-dynamic-cta i { transform: scaleX(-1); }

/* Tablet: generous spacing without desktop overflow */
@media (min-width: 781px) and (max-width: 1120px) {
    :root { --shell: min(100% - 56px, 980px); }
    .site-header { width: calc(100vw - 30px); }
    .hero { padding-top: 132px; padding-bottom: 72px; }
    .hero-grid { gap: 24px; }
    .hero-copy { padding-top: 18px; }
    .hero-title { font-size: clamp(72px, 10vw, 104px); max-width: 900px; }
    .is-arabic .hero-title { font-size: clamp(64px, 8.7vw, 94px); line-height: 1.25; }
    .hero-visual { min-height: 500px; }
    .orbit-scene { width: min(600px, 82vw); }
    .section-heading h2 { font-size: clamp(48px, 6vw, 68px); }
    .is-arabic .section-heading h2 { font-size: clamp(44px, 5.7vw, 62px); line-height: 1.5; }
    .projects-grid { gap: 16px; }
    .projects-grid .project-card { grid-column: span 6; }
    .technology-marquee { margin-top: -12px; }
    .tech-token { min-height: 48px; }
    .contact-layout { grid-template-columns: 1fr; }
    .case-hero { padding-top: 150px; }
    .case-visual-shell { max-width: 760px; width: 100%; margin-inline: auto; }
}

@media (max-width: 780px) {
    body { -webkit-text-size-adjust: 100%; }
    .site-header .language-text { display: none; }
    .site-header .language-switch { width: 43px; min-width: 43px; padding: 7px; }
    .site-header .language-icon { width: 27px; height: 27px; flex-basis: 27px; }
    .mobile-nav { padding-top: max(105px, calc(env(safe-area-inset-top) + 92px)); padding-bottom: max(34px, env(safe-area-inset-bottom)); overflow-y: auto; }
    .mobile-nav > a { font-size: clamp(25px, 8.2vw, 39px); padding: 13px 0; }
    .mobile-nav-actions { position: sticky; bottom: 0; padding-top: 15px; padding-bottom: max(8px, env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, rgba(var(--s0-rgb, 5,5,9), .96) 24%); }
    .mobile-nav .mobile-language-switch .language-text { display: inline; }
    .hero { padding-bottom: 60px; }
    .hero-copy { padding-top: 16px; }
    .hero-description { font-size: 14px; line-height: 1.85; }
    .technology-marquee::before, .technology-marquee::after { width: 42px; }
    .marquee-track { animation-duration: 29s; }
    .marquee-track-wrap.reverse .marquee-track { animation-duration: 34s; }
    .tech-token { min-height: 43px; }
    .floating-whatsapp { bottom: max(15px, calc(env(safe-area-inset-bottom) + 8px)); }
    .case-actions { display: grid; grid-template-columns: 1fr; }
    .case-actions .button { width: 100%; }
    .case-meta { gap: 7px; }
}

@media (max-width: 520px) {
    :root { --shell: calc(100vw - 22px); }
    main > section { padding-block: 76px; }
    .site-header { width: calc(100vw - 14px); top: 7px; border-radius: 15px; }
    .brand > strong { width: 34px; height: 34px; }
    .brand-orbit { width: 41px; height: 41px; }
    .header-actions { gap: 4px; }
    .mobile-menu-button { width: 39px; }
    .hero { padding-top: 102px; }
    .hero-title { font-size: clamp(44px, 17vw, 66px); max-width: 94vw; }
    .is-arabic .hero-title { font-size: clamp(42px, 14.5vw, 62px); line-height: 1.35; }
    .hero-copy h2 { font-size: clamp(23px, 7.6vw, 34px); }
    .orbit-scene { transform: scale(.94); transform-origin: center; }
    .hero-visual { min-height: 390px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-card { min-height: 150px; }
    .erp-canvas { padding-inline: 10px; }
    .project-body { padding: 22px; }
    .project-body h3 { font-size: 23px; }
    .module-console { border-radius: 18px; }
    .module-chip { padding: 18px; }
    .terminal-body { padding: 20px 16px; }
    .contact-direct { padding: 30px 22px; }
    .case-title { overflow-wrap: anywhere; }
    .case-story-card, .case-feature, .case-outcome-copy { border-radius: 20px; }
    .case-system-core::after { inset: -78px; }
    .case-data-chip { max-width: 115px; overflow: hidden; text-overflow: ellipsis; }
    .mobile-nav-actions { grid-template-columns: 1fr; }
}

@media (max-height: 520px) and (orientation: landscape) {
    .mobile-nav { padding-top: 80px; }
    .mobile-nav > a { font-size: 24px; padding: 8px 0; }
    .mobile-nav-actions { grid-template-columns: 1fr 1.4fr; margin-top: 12px; }
    .hero { min-height: auto; }
    .boot-shell { max-height: calc(100dvh - 24px); overflow: auto; }
}

/* V4.2 — Mohammad Ali identity, portrait, social links and responsive polish */
.brand-logo{width:clamp(188px,18vw,282px);height:62px;display:flex;align-items:center;overflow:visible}.brand-logo img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center}.is-arabic .brand-logo img{object-position:right center}.boot-logo{padding:8px!important}.boot-logo img{width:74px;height:74px;object-fit:contain;filter:drop-shadow(0 0 18px rgba(var(--gold-rgb, 248,184,78), .22))}.button-icon{width:18px;height:18px;flex:0 0 auto}.header-dynamic-cta .button-icon{width:15px;height:15px}.custom-cta.ghost{background:transparent;border:1px solid var(--line);color:var(--text)}.custom-cta.dark{background:rgb(var(--s5-rgb, 17,17,25));border:1px solid var(--line);color:var(--text)}
.orbit-core .core-logo-image{width:60%;height:60%;object-fit:contain;filter:drop-shadow(0 0 30px rgba(var(--gold-rgb, 248,184,78), .22))}.orbit-core small{margin-top:-4px}.network-center img{width:67%;height:67%;object-fit:contain}.erp-core img{width:82px;height:82px;object-fit:contain;filter:drop-shadow(0 0 22px rgba(var(--gold-rgb, 248,184,78), .18))}.erp-core strong{margin-top:3px}.contact-orb img{width:84px;height:84px;object-fit:contain}.profile-avatar img{width:100%;height:100%;object-fit:contain}.case-system-core img{width:76px;height:76px;object-fit:contain;margin-bottom:8px}
.about-layout-v42{grid-template-columns:minmax(280px,.72fr) minmax(420px,1.28fr) minmax(340px,.85fr)}.portrait-stage{position:relative;min-height:660px;border-radius:var(--radius);overflow:hidden;margin:0;display:flex;align-items:flex-end;justify-content:center;background:radial-gradient(circle at 55% 28%,rgba(var(--cyan-rgb, 56,217,255), .11),transparent 28%),radial-gradient(circle at 45% 55%,rgba(var(--gold-rgb, 248,184,78), .12),transparent 42%),rgb(var(--s3-rgb, 10,10,16))}.portrait-stage:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(var(--s1-rgb, 7,7,11), .12) 65%,rgba(var(--s1-rgb, 7,7,11), .92) 100%);z-index:2}.portrait-stage img{position:relative;z-index:1;width:108%;max-width:none;height:auto;max-height:95%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 32px 48px rgba(var(--shade-rgb, 0,0,0), .55));transform:translateY(2%);transition:transform .55s ease}.portrait-stage:hover img{transform:translateY(1%) scale(1.025)}.portrait-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(var(--ink-rgb, 255,255,255), .035) 1px,transparent 1px),linear-gradient(90deg,rgba(var(--ink-rgb, 255,255,255), .035) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,black,transparent 92%)}.portrait-halo{position:absolute;width:360px;height:360px;top:14%;border:1px solid rgba(var(--gold-rgb, 248,184,78), .22);border-radius:50%;box-shadow:0 0 110px rgba(var(--gold-rgb, 248,184,78), .12),inset 0 0 70px rgba(var(--cyan-rgb, 56,217,255), .06);animation:portraitFloat 7s ease-in-out infinite}.portrait-halo:before,.portrait-halo:after{content:"";position:absolute;border-radius:50%;border:1px dashed rgba(var(--cyan-rgb, 56,217,255), .16);inset:-28px;animation:bootOrbit 25s linear infinite}.portrait-halo:after{inset:35px;border-color:rgba(var(--purple-rgb, 169,112,255), .14);animation-direction:reverse;animation-duration:19s}.portrait-stage figcaption{position:absolute;z-index:3;left:30px;right:30px;bottom:27px;display:flex;flex-direction:column;gap:6px}.portrait-stage figcaption span{color:var(--gold);font:700 8px/1.4 var(--font-latin);letter-spacing:.15em}.portrait-stage figcaption b{font-size:20px}.is-arabic .portrait-stage figcaption{align-items:flex-start}.is-arabic .portrait-stage figcaption span{font-family:var(--font-arabic);letter-spacing:0;font-size:11px}@keyframes portraitFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-12px) scale(1.025)}}
.about-layout-v42 .about-card{min-width:0}.about-layout-v42 .stats-grid{grid-template-columns:1fr 1fr;min-width:0}.about-layout-v42 .stat-card{min-height:0}.about-layout-v42 .about-card>p{font-size:clamp(15px,1.25vw,20px)}
.direct-links-v42 a{grid-template-columns:42px 76px minmax(0,1fr) auto;gap:12px;min-height:78px}.direct-links-v42 .contact-link-icon{width:25px;height:25px;color:var(--gold);padding:5px;border:1px solid rgba(var(--gold-rgb, 248,184,78), .22);border-radius:9px}.direct-links-v42 strong{font-size:clamp(12px,1vw,15px);letter-spacing:0}.social-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px;padding-top:25px;border-top:1px solid var(--line)}.social-links a{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;color:rgb(var(--muted-2-rgb, 185,182,193));background:rgba(var(--ink-rgb, 255,255,255), .025);transition:.25s ease}.social-links a:hover{border-color:rgba(var(--gold-rgb, 248,184,78), .38);color:var(--gold);transform:translateY(-2px)}.social-icon{width:19px;height:19px}.social-links span{font:650 10px/1 var(--font-latin);letter-spacing:.04em}.contact-custom-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.contact-custom-buttons .button{min-height:45px;padding:0 16px}
.site-footer-v42{grid-template-columns:minmax(230px,1fr) minmax(260px,1.3fr) minmax(230px,1fr)}.footer-brand{display:flex!important;align-items:flex-start!important;gap:10px}.footer-brand img{width:210px;height:60px;object-fit:contain;object-position:left center}.is-arabic .footer-brand img{object-position:right center}.footer-brand span{margin-top:-9px}.site-footer-v42>p{display:flex;flex-direction:column;gap:8px}.privacy-note{display:block;color:rgb(var(--dim-3-rgb, 103,100,113));font-size:8px!important;line-height:1.7;letter-spacing:0!important;max-width:460px}.footer-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:14px}.site-footer-v42 a:hover{color:var(--gold)}
@media(max-width:1280px){.about-layout-v42{grid-template-columns:minmax(260px,.75fr) minmax(390px,1.25fr)}.about-layout-v42 .stats-grid{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}.portrait-stage{min-height:610px}}
@media(max-width:980px){.brand-logo{width:210px;height:54px}.about-layout-v42{grid-template-columns:minmax(250px,.8fr) minmax(350px,1.2fr)}.about-layout-v42 .stats-grid{grid-template-columns:repeat(2,1fr)}.portrait-stage{min-height:560px}.site-footer-v42{grid-template-columns:1fr;text-align:center}.footer-brand{align-items:center!important}.footer-brand img{object-position:center}.footer-actions{justify-content:center}}
@media(max-width:720px){.brand-logo{width:170px;height:48px}.site-header{padding-inline:16px}.about-layout-v42{grid-template-columns:1fr}.portrait-stage{min-height:520px;order:1}.about-layout-v42 .about-card{order:2}.about-layout-v42 .stats-grid{order:3}.portrait-stage img{width:94%;max-height:96%}.portrait-halo{width:290px;height:290px}.direct-links-v42 a{grid-template-columns:38px minmax(0,1fr) auto;grid-template-areas:"icon value arrow" "icon label arrow";padding:12px 0;gap:3px 10px}.direct-links-v42 .contact-link-icon{grid-area:icon}.direct-links-v42 span{grid-area:label}.direct-links-v42 strong{grid-area:value}.direct-links-v42 i{grid-area:arrow}.social-links a{flex:1 1 calc(50% - 6px);justify-content:center}.footer-brand img{width:190px}.site-footer-v42{padding:38px 0}.orbit-core .core-logo-image{width:70%;height:70%}}
@media(max-width:430px){.brand-logo{width:145px;height:43px}.portrait-stage{min-height:455px}.portrait-stage figcaption{left:20px;right:20px}.portrait-halo{width:250px;height:250px}.about-layout-v42 .stats-grid{grid-template-columns:1fr 1fr}.social-links a{flex-basis:100%}.direct-links-v42 strong{font-size:12px}.privacy-note{font-size:7px!important}}
.button-dark{background:rgb(var(--s5-rgb, 17,17,25));color:var(--text);border:1px solid var(--line)}.button-dark:hover{border-color:rgba(var(--gold-rgb, 248,184,78), .35);color:var(--gold)}

/* =========================================================
   V4.3 — Cinematic case studies + official social branding
   ========================================================= */
.social-links .social-brand{position:relative;overflow:hidden;isolation:isolate;padding-inline:12px 15px}
.social-links .social-brand::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 50%,rgba(var(--ink-rgb, 255,255,255), .1),transparent 38%);opacity:.65;z-index:-1}
.social-links .social-brand img{width:22px;height:22px;object-fit:contain;display:block;filter:drop-shadow(0 0 8px rgba(var(--ink-rgb, 255,255,255), .12))}
.social-links .social-brand:hover img{transform:scale(1.08) rotate(-3deg)}
.social-links .social-brand img{transition:transform .25s ease}
.social-links .social-brand-linkedin:hover{border-color:rgba(10,102,194,.72);box-shadow:0 10px 34px rgba(10,102,194,.16)}
.social-links .social-brand-instagram:hover{border-color:rgba(228,64,95,.72);box-shadow:0 10px 34px rgba(228,64,95,.16)}
.social-links .social-brand-facebook:hover{border-color:rgba(24,119,242,.72);box-shadow:0 10px 34px rgba(24,119,242,.16)}
.social-links .social-brand-tiktok:hover,.social-links .social-brand-github:hover,.social-links .social-brand-x:hover{border-color:rgba(var(--ink-rgb, 255,255,255), .5);box-shadow:0 10px 34px rgba(var(--ink-rgb, 255,255,255), .08)}
.social-links .social-brand-whatsapp:hover{border-color:rgba(37,211,102,.72);box-shadow:0 10px 34px rgba(37,211,102,.16)}
.social-links .social-brand-youtube:hover{border-color:rgba(255,0,0,.7);box-shadow:0 10px 34px rgba(255,0,0,.15)}
.floating-whatsapp img{position:relative;z-index:2;width:29px;height:29px;object-fit:contain}

body.project-page{--project-accent:rgb(var(--gold-rgb, 248,184,78));--project-accent-rgb:248,184,78;overflow-x:hidden}
body.project-accent-cyan{--project-accent:#42dff5;--project-accent-rgb:66,223,245}
body.project-accent-violet{--project-accent:rgb(var(--purple-rgb, 169,112,255));--project-accent-rgb:169,112,255}
body.project-accent-green{--project-accent:#43e39b;--project-accent-rgb:67,227,155}
body.project-accent-red{--project-accent:#ff6674;--project-accent-rgb:255,102,116}
#project-canvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:-2;opacity:.58}
.project-page .aurora-field i:nth-child(1){background:rgba(var(--project-accent-rgb),.12)}
.project-page .aurora-field i:nth-child(2){background:rgba(75,117,255,.08)}
.project-page .button-primary{background:var(--project-accent);box-shadow:0 15px 42px rgba(var(--project-accent-rgb),.22)}
.project-page .case-kicker,.project-page .case-section-head>span,.project-page .case-live-label span{color:var(--project-accent)}
.project-page .case-hero::before{background:radial-gradient(circle at 75% 25%,rgba(var(--project-accent-rgb),.15),transparent 33%),radial-gradient(circle at 15% 72%,rgba(90,75,255,.10),transparent 37%)}
.case-hero-v43{min-height:100svh;align-items:center;padding-bottom:80px}
.case-hero-v43 .case-hero-grid{grid-template-columns:minmax(0,1.04fr) minmax(420px,.96fr);gap:78px}
.case-live-label{display:flex;align-items:center;gap:10px;margin:24px 0 18px;font:700 9px/1 var(--font-latin);letter-spacing:.14em;text-transform:uppercase}
.case-live-label i{width:8px;height:8px;border-radius:50%;background:var(--project-accent);box-shadow:0 0 18px rgba(var(--project-accent-rgb),.8);animation:livePulse 1.8s infinite}
.case-live-label b{margin-inline-start:auto;color:#716c7c;font-size:8px}
.case-meta-v43{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:30px 0;background:var(--line);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.case-meta-v43 span{display:flex;flex-direction:column;gap:7px;padding:17px 18px;background:rgba(var(--s2-rgb, 9,9,14), .86);min-width:0}
.case-meta-v43 small{font:700 8px/1 var(--font-latin);letter-spacing:.12em;text-transform:uppercase;color:rgb(var(--dim-2-rgb, 119,115,128))}
.case-meta-v43 b{font-size:13px;color:rgb(var(--text-rgb, 247,245,240));font-weight:600;white-space:normal}
.case-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.case-tags span{padding:8px 11px;border:1px solid rgba(var(--project-accent-rgb),.18);border-radius:999px;background:rgba(var(--project-accent-rgb),.045);font:650 8px/1 var(--font-latin);letter-spacing:.06em;color:rgb(var(--muted-rgb, 170,166,177))}
.case-visual-v43{position:relative;min-height:610px;border-color:rgba(var(--project-accent-rgb),.18);box-shadow:0 40px 100px rgba(var(--shade-rgb, 0,0,0), .38),inset 0 0 70px rgba(var(--project-accent-rgb),.035)}
.case-cover-image{width:100%;height:100%;min-height:610px;object-fit:cover;display:block;filter:saturate(.9) contrast(1.03)}
.case-generated-v43{height:100%;min-height:610px;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at center,rgba(var(--project-accent-rgb),.11),transparent 38%),linear-gradient(145deg,rgba(var(--ink-rgb, 255,255,255), .015),rgba(var(--ink-rgb, 255,255,255), .003))}
.case-generated-v43::before,.case-generated-v43::after{content:"";position:absolute;left:50%;top:50%;border:1px solid rgba(var(--project-accent-rgb),.18);border-radius:50%;transform:translate(-50%,-50%);animation:projectOrbit 16s linear infinite}
.case-generated-v43::before{width:68%;height:42%}
.case-generated-v43::after{width:88%;height:61%;animation-direction:reverse;animation-duration:23s;border-color:rgba(84,181,255,.13)}
.case-generated-v43 .case-system-core{z-index:4;width:160px;height:160px;border-color:rgba(var(--project-accent-rgb),.46);box-shadow:0 0 80px rgba(var(--project-accent-rgb),.17)}
.case-generated-v43 .case-system-core img{width:76px;height:76px}
.case-scan-line{position:absolute;z-index:2;left:8%;right:8%;height:1px;top:15%;background:linear-gradient(90deg,transparent,var(--project-accent),transparent);box-shadow:0 0 16px rgba(var(--project-accent-rgb),.8);animation:caseScan 5.5s ease-in-out infinite}
.case-theme-node{position:absolute;z-index:5;min-width:88px;padding:10px 12px;border:1px solid rgba(var(--ink-rgb, 255,255,255), .10);border-radius:10px;background:rgba(var(--s2-rgb, 9,9,14), .88);backdrop-filter:blur(12px);font:700 8px/1 var(--font-latin);letter-spacing:.08em;color:rgb(var(--muted-2-rgb, 185,182,193));box-shadow:0 10px 30px rgba(var(--shade-rgb, 0,0,0), .28)}
.case-theme-node i{display:inline-block;width:6px;height:6px;border-radius:50%;margin-inline-end:7px;background:var(--project-accent);box-shadow:0 0 12px rgba(var(--project-accent-rgb),.8)}
.case-theme-node.node-1{left:7%;top:20%}.case-theme-node.node-2{right:7%;top:18%}.case-theme-node.node-3{left:3%;top:50%}.case-theme-node.node-4{right:3%;top:48%}.case-theme-node.node-5{left:14%;bottom:14%}.case-theme-node.node-6{right:13%;bottom:12%}
.case-packet{position:absolute;z-index:3;width:7px;height:7px;border-radius:50%;background:var(--project-accent);box-shadow:0 0 18px rgba(var(--project-accent-rgb),.9)}
.packet-a{animation:packetA 5.3s linear infinite}.packet-b{animation:packetB 6.6s linear infinite 1s}.packet-c{animation:packetC 7.4s linear infinite 2s}
.case-visual-footer{position:absolute;z-index:8;left:18px;right:18px;bottom:16px;display:flex;justify-content:space-between;align-items:center;padding:11px 13px;border:1px solid rgba(var(--ink-rgb, 255,255,255), .08);border-radius:10px;background:rgba(var(--s0-rgb, 5,5,9), .7);backdrop-filter:blur(14px);font:700 8px/1 var(--font-latin);letter-spacing:.12em;color:#827d89}
.case-visual-footer b{color:var(--project-accent)}
.case-metrics-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:20px;overflow:hidden;margin-top:-28px;position:relative;z-index:5}
.case-metrics-strip article{padding:23px 24px;background:rgb(var(--s4-rgb, 13,13,20));display:flex;align-items:flex-end;justify-content:space-between;gap:18px;min-height:105px}
.case-metrics-strip strong{font:800 clamp(26px,3vw,48px)/.9 var(--font-latin);color:var(--project-accent);letter-spacing:-.05em}
.case-metrics-strip span{font-size:11px;line-height:1.5;color:rgb(var(--dim-rgb, 143,139,151));max-width:110px}
.architecture-flow{display:flex;align-items:center;justify-content:center;gap:0;padding:34px;overflow-x:auto;scrollbar-width:thin}
.architecture-flow article{position:relative;flex:0 0 min(180px,23vw);min-height:130px;padding:20px 18px;border:1px solid rgba(var(--project-accent-rgb),.16);background:rgba(var(--project-accent-rgb),.025);display:flex;flex-direction:column;justify-content:space-between}
.architecture-flow article:first-child{border-radius:16px 0 0 16px}.architecture-flow article:last-child{border-radius:0 16px 16px 0}
.is-arabic .architecture-flow article:first-child{border-radius:0 16px 16px 0}.is-arabic .architecture-flow article:last-child{border-radius:16px 0 0 16px}
.architecture-flow article:not(:last-child)::after{content:"";position:absolute;z-index:3;top:50%;inset-inline-end:-12px;width:24px;height:2px;background:linear-gradient(90deg,var(--project-accent),rgba(var(--project-accent-rgb),.15));box-shadow:0 0 12px rgba(var(--project-accent-rgb),.5)}
.architecture-flow span{font:700 9px/1 var(--font-latin);color:var(--project-accent)}
.architecture-flow b{font-size:15px;line-height:1.45;color:rgb(var(--text-soft-rgb, 238,234,242))}
.architecture-flow i{width:8px;height:8px;border-radius:50%;background:var(--project-accent);box-shadow:0 0 18px rgba(var(--project-accent-rgb),.7);animation:livePulse 1.8s infinite}
.case-feature{position:relative;overflow:hidden}
.case-feature>i{position:absolute;right:-20px;bottom:-20px;width:90px;height:90px;border:1px solid rgba(var(--project-accent-rgb),.13);border-radius:50%}
.is-arabic .case-feature>i{right:auto;left:-20px}
.case-media-section{position:relative}
.case-video{padding:0;overflow:hidden;margin-bottom:34px;border-color:rgba(var(--project-accent-rgb),.17)}
.case-video-top{height:55px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font:700 9px/1 var(--font-latin);letter-spacing:.1em;text-transform:uppercase;color:rgb(var(--dim-2-rgb, 119,115,128))}
.case-video-top span{color:var(--project-accent)}
.case-video-frame{position:relative;aspect-ratio:16/9;background:rgb(var(--s0-rgb, 5,5,9)) var(--poster) center/cover no-repeat}
.case-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.case-gallery{display:grid;grid-template-columns:repeat(var(--gallery-columns,3),minmax(0,1fr));gap:18px}
.case-gallery-item{position:relative;padding:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:rgb(var(--s2-rgb, 9,9,14));cursor:zoom-in;aspect-ratio:16/10;box-shadow:0 20px 54px rgba(var(--shade-rgb, 0,0,0), .22)}
.case-gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .4s ease;filter:saturate(.86)}
.case-gallery-item:hover img{transform:scale(1.045);filter:saturate(1.05)}
.case-gallery-item span{position:absolute;right:12px;bottom:12px;padding:7px 9px;border-radius:8px;background:rgba(var(--s0-rgb, 5,5,9), .75);backdrop-filter:blur(10px);font:700 8px/1 var(--font-latin);color:var(--project-accent)}
.is-arabic .case-gallery-item span{right:auto;left:12px}
.gallery-lightbox{width:min(94vw,1380px);height:min(92vh,900px);padding:0;border:1px solid rgba(var(--ink-rgb, 255,255,255), .12);border-radius:24px;background:rgba(var(--s0-rgb, 5,5,9), .96);color:rgb(var(--ink-rgb, 255,255,255));box-shadow:0 50px 150px rgba(var(--shade-rgb, 0,0,0), .8);overflow:hidden}
.gallery-lightbox::backdrop{background:rgba(var(--shade-rgb, 0,0,0), .86);backdrop-filter:blur(15px)}
.gallery-lightbox figure{width:100%;height:100%;margin:0;display:grid;grid-template-rows:minmax(0,1fr) 64px}
.gallery-lightbox figure img{width:100%;height:100%;object-fit:contain;padding:34px;background:radial-gradient(circle at center,rgba(var(--project-accent-rgb),.07),transparent 55%)}
.gallery-lightbox figcaption{display:flex;justify-content:space-between;align-items:center;padding:0 26px;border-top:1px solid var(--line);font-size:12px;color:rgb(var(--muted-rgb, 170,166,177))}
.gallery-lightbox figcaption span{color:var(--project-accent);font:700 10px/1 var(--font-latin)}
.gallery-close,.gallery-prev,.gallery-next{position:absolute;z-index:5;border:1px solid rgba(var(--ink-rgb, 255,255,255), .12);background:rgba(var(--s1-rgb, 7,7,11), .75);color:rgb(var(--ink-rgb, 255,255,255));backdrop-filter:blur(10px);cursor:pointer}
.gallery-close{right:18px;top:18px;width:44px;height:44px;border-radius:50%;font-size:24px}.gallery-prev,.gallery-next{top:50%;width:50px;height:64px;border-radius:14px;font-size:30px;transform:translateY(-50%)}.gallery-prev{left:18px}.gallery-next{right:18px}
.case-share{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.case-share>span{font:700 9px/1 var(--font-latin);letter-spacing:.12em;text-transform:uppercase;color:rgb(var(--dim-2-rgb, 119,115,128))}
.case-share>div{display:flex;flex-wrap:wrap;gap:10px}
.case-share a,.case-share button{display:inline-flex;align-items:center;gap:9px;min-height:43px;padding:9px 13px;border:1px solid var(--line);border-radius:12px;background:rgba(var(--ink-rgb, 255,255,255), .025);color:rgb(var(--text-3-rgb, 199,195,204));font:650 10px/1 var(--font-latin);cursor:pointer}
.case-share img,.case-share svg{width:20px;height:20px}.case-share button b{font-weight:650}.case-share a:hover,.case-share button:hover{border-color:rgba(var(--project-accent-rgb),.38);transform:translateY(-2px)}
.related-card{position:relative;overflow:hidden}.related-card::after{content:"";position:absolute;width:120px;height:120px;border:1px solid rgba(var(--project-accent-rgb),.11);border-radius:50%;right:-45px;bottom:-45px}.related-card>i{position:absolute;right:18px;top:18px;color:var(--project-accent)}.is-arabic .related-card>i{right:auto;left:18px}
.case-outcome-signal{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.case-outcome-signal span{font:700 8px/1 var(--font-latin);letter-spacing:.1em;color:#817b88;text-transform:uppercase}
.project-footer-social{display:flex;align-items:center;gap:10px}.project-footer-social img{width:20px;height:20px;display:block}.project-footer-social>a:not(:last-child){width:38px;height:38px;border:1px solid var(--line);border-radius:11px;display:grid;place-items:center;background:rgba(var(--ink-rgb, 255,255,255), .02)}
.project-footer-social>a:not(:last-child):hover{border-color:rgba(var(--project-accent-rgb),.38);transform:translateY(-2px)}
@keyframes projectOrbit{to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes caseScan{0%,100%{top:15%;opacity:.25}50%{top:82%;opacity:1}}
@keyframes packetA{0%{left:12%;top:24%;opacity:0}12%{opacity:1}50%{left:50%;top:50%}88%{opacity:1}100%{left:87%;top:21%;opacity:0}}
@keyframes packetB{0%{left:5%;top:51%;opacity:0}15%{opacity:1}50%{left:50%;top:50%}85%{opacity:1}100%{left:92%;top:49%;opacity:0}}
@keyframes packetC{0%{left:15%;top:82%;opacity:0}15%{opacity:1}50%{left:50%;top:50%}85%{opacity:1}100%{left:83%;top:85%;opacity:0}}

@media(max-width:1100px){.case-hero-v43 .case-hero-grid{grid-template-columns:1fr;gap:50px}.case-visual-v43,.case-cover-image,.case-generated-v43{min-height:560px}.case-gallery{--gallery-columns:2!important}.architecture-flow{justify-content:flex-start}.architecture-flow article{flex-basis:180px}}
@media(max-width:720px){.case-hero-v43{padding-top:125px}.case-live-label b{display:none}.case-meta-v43{grid-template-columns:1fr}.case-visual-v43,.case-cover-image,.case-generated-v43{min-height:440px}.case-theme-node{min-width:70px;padding:8px;font-size:6px}.case-generated-v43 .case-system-core{width:122px;height:122px}.case-generated-v43 .case-system-core img{width:57px;height:57px}.case-metrics-strip{grid-template-columns:1fr 1fr;margin-top:0}.case-metrics-strip article{min-height:90px;padding:18px}.architecture-flow{padding:20px}.architecture-flow article{flex-basis:155px}.case-gallery{grid-template-columns:1fr}.case-share{align-items:flex-start;flex-direction:column}.gallery-lightbox{width:100vw;height:100dvh;border-radius:0}.gallery-lightbox figure img{padding:18px}.gallery-prev,.gallery-next{width:42px;height:54px}.project-footer-social{flex-wrap:wrap}.site-footer-v43{gap:22px}}
@media(max-width:430px){.case-metrics-strip{grid-template-columns:1fr}.case-visual-v43,.case-cover-image,.case-generated-v43{min-height:390px}.case-theme-node.node-1,.case-theme-node.node-5{left:3%}.case-theme-node.node-2,.case-theme-node.node-6{right:3%}.case-theme-node.node-3,.case-theme-node.node-4{display:none}.case-generated-v43::after{width:100%;height:60%}.case-actions .button{width:100%;justify-content:center}.case-share>div{width:100%}.case-share a,.case-share button{flex:1 1 calc(50% - 6px);justify-content:center}.case-share button b{display:inline}.gallery-close{right:10px;top:10px}}
@media(prefers-reduced-motion:reduce){.case-generated-v43::before,.case-generated-v43::after,.case-scan-line,.case-packet,.architecture-flow i{animation:none!important}}

/* V5.2 — Career timeline + knowledge showcase */
.career-stage{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:28px;align-items:start;max-width:1180px;margin:0 auto}
.career-spotlight{position:sticky;top:110px;padding:28px;border-radius:26px;overflow:hidden}
.career-spotlight::before,.knowledge-foundation::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right, rgba(var(--gold-rgb, 248,184,78), .1), transparent 38%),radial-gradient(circle at bottom left, rgba(var(--cyan-rgb, 56,217,255), .08), transparent 34%);pointer-events:none}
.career-spotlight-top,.certificate-console-top{display:flex;align-items:center;gap:10px;color:var(--gold);font:700 11px/1 var(--font-latin);letter-spacing:.14em;text-transform:uppercase}
.career-spotlight h3,.knowledge-foundation h3{margin:22px 0 12px;font-size:clamp(24px,2.3vw,38px);line-height:1.12;letter-spacing:-.04em}
.career-spotlight>p{margin:0;color:#b4b1bb;font-size:14px;line-height:1.85}
.career-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}
.career-metrics article,.knowledge-stats article{padding:16px 14px;border-radius:18px;background:rgba(var(--s4-rgb, 13,13,20), .78);border:1px solid rgba(var(--ink-rgb, 255,255,255), .06)}
.career-metrics strong,.knowledge-stats strong{display:block;color:var(--gold);font:800 clamp(26px,3vw,38px)/1 var(--font-latin);margin-bottom:8px}
.career-metrics span,.knowledge-stats span{display:block;color:rgb(var(--muted-rgb, 170,166,177));font-size:11px;line-height:1.6}
.career-focus-list{margin-top:24px;padding-top:22px;border-top:1px solid rgba(var(--ink-rgb, 255,255,255), .07)}
.career-focus-list>span{display:block;margin-bottom:14px;color:var(--gold);font:700 10px/1 var(--font-latin);letter-spacing:.16em;text-transform:uppercase}
.career-focus-list ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.career-focus-list li{position:relative;padding-inline-start:18px;color:rgb(var(--text-2-rgb, 217,214,222));font-size:12px;line-height:1.85}
.career-focus-list li::before{content:"";position:absolute;inset-inline-start:0;top:.75em;width:8px;height:8px;border-radius:50%;background:radial-gradient(circle,var(--gold),rgba(var(--gold-rgb, 248,184,78), .15));box-shadow:0 0 15px rgba(var(--gold-rgb, 248,184,78), .35)}
.timeline-v52{max-width:none;margin:0}
.timeline-v52 .timeline-item{grid-template-columns:90px 1fr;gap:24px;margin-bottom:22px}
.timeline-v52 .timeline-card{padding:30px 32px;border-radius:26px;background:linear-gradient(145deg, rgba(var(--s5-rgb, 17,17,25), .82), rgba(var(--s3-rgb, 10,10,16), .95));position:relative;overflow:hidden}
.timeline-v52 .timeline-card::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right, rgba(var(--gold-rgb, 248,184,78), .09), transparent 28%),radial-gradient(circle at bottom left, rgba(var(--cyan-rgb, 56,217,255), .07), transparent 24%);pointer-events:none}
.timeline-card-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
.timeline-period,.timeline-company{padding:14px 16px;border-radius:18px;background:rgba(var(--ink-rgb, 255,255,255), .03);border:1px solid rgba(var(--ink-rgb, 255,255,255), .06)}
.timeline-period small,.timeline-company small{display:block;margin-bottom:8px;color:rgb(var(--dim-rgb, 143,139,151));font-size:9px;letter-spacing:.14em;text-transform:uppercase}
.timeline-period strong,.timeline-company strong{display:block;color:rgb(var(--text-soft-rgb, 238,234,242));font-size:12px;line-height:1.6;font-weight:600}
.timeline-v52 .timeline-card h3{margin:0 0 10px;font-size:clamp(28px,2.7vw,40px)}
.timeline-v52 .timeline-card>p{font-size:14px;line-height:1.9;max-width:none}
.timeline-v52 .timeline-card ul{grid-template-columns:1fr;gap:12px;margin-top:22px}
.timeline-v52 .timeline-card li{font-size:12px;line-height:1.8;background:rgba(var(--ink-rgb, 255,255,255), .025);border:1px solid rgba(var(--ink-rgb, 255,255,255), .045);padding:12px 14px 12px 28px;border-radius:14px}
.timeline-v52 .timeline-card li::before{width:8px;height:8px;border-radius:50%;top:1.15em;background:radial-gradient(circle,var(--gold),rgba(var(--gold-rgb, 248,184,78), .1))}
.knowledge-layout{display:grid;grid-template-columns:minmax(280px,350px) minmax(0,1fr);gap:28px;align-items:start}
.knowledge-foundation{padding:30px;border-radius:28px;position:sticky;top:110px;overflow:hidden}
.knowledge-eyebrow{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(var(--gold-rgb, 248,184,78), .1);border:1px solid rgba(var(--gold-rgb, 248,184,78), .2);color:var(--gold);font:700 10px/1 var(--font-latin);letter-spacing:.14em;text-transform:uppercase}
.knowledge-foundation-list{display:grid;gap:14px;margin-top:22px}
.foundation-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:14px;align-items:start;padding:18px;border-radius:20px;background:rgba(var(--ink-rgb, 255,255,255), .03);border:1px solid rgba(var(--ink-rgb, 255,255,255), .06)}
.foundation-card>span{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:rgb(var(--s4-rgb, 13,13,20));border:1px solid rgba(var(--gold-rgb, 248,184,78), .22);color:var(--gold);font:800 10px/1 var(--font-latin)}
.foundation-card h4{margin:0 0 6px;font-size:18px;line-height:1.28}
.foundation-card strong{display:block;color:rgb(var(--text-2-rgb, 217,214,222));font-size:12px;line-height:1.6}
.foundation-card p{margin:8px 0 0;color:rgb(var(--muted-rgb, 170,166,177));font-size:12px;line-height:1.8}
.foundation-card b{color:var(--gold);font:700 10px/1.4 var(--font-latin);letter-spacing:.14em;text-transform:uppercase}
.knowledge-track-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.knowledge-track-list span{padding:8px 12px;border-radius:999px;background:rgba(var(--ink-rgb, 255,255,255), .04);border:1px solid rgba(var(--ink-rgb, 255,255,255), .06);color:rgb(var(--text-2-rgb, 217,214,222));font-size:11px}
.knowledge-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}
.certificate-console{padding:18px 22px;border:1px solid rgba(var(--ink-rgb, 255,255,255), .06);border-radius:22px;background:rgba(var(--s4-rgb, 13,13,20), .55);margin-bottom:18px}
.certificate-console p{margin:10px 0 0;color:rgb(var(--muted-rgb, 170,166,177));font-size:13px;line-height:1.75}
.education-deck-v52{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.certificate-card-v52{min-height:360px;cursor:pointer;padding-bottom:24px}
.certificate-card-v52 .certificate-top span{max-width:70%;line-height:1.5}
.certificate-card-v52 .certificate-issuer{margin-top:12px;margin-bottom:10px;color:var(--gold)}
.certificate-card-v52 .certificate-footer{margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.certificate-card-v52 .certificate-footer span{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(var(--ink-rgb, 255,255,255), .045);border:1px solid rgba(var(--ink-rgb, 255,255,255), .06);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:rgb(var(--text-2-rgb, 217,214,222))}
.certificate-card-v52 .certificate-footer button{appearance:none;border:none;background:none;color:var(--gold);font:700 11px/1 var(--font-latin);letter-spacing:.08em;cursor:pointer}
.education-dialog{width:min(720px,calc(100vw - 24px));padding:0;border:none;background:transparent;color:inherit}
.education-dialog::backdrop{background:rgba(var(--s0-rgb, 5,5,9), .76);backdrop-filter:blur(12px)}
.education-dialog-card{position:relative;padding:34px;border-radius:28px;background:linear-gradient(145deg, rgba(var(--s5-rgb, 17,17,25), .96), rgba(var(--s2-rgb, 9,9,14), .98));border:1px solid rgba(var(--ink-rgb, 255,255,255), .08);box-shadow:0 36px 90px rgba(var(--shade-rgb, 0,0,0), .46)}
.education-dialog-close{position:absolute;top:14px;inset-inline-end:14px;width:40px;height:40px;border-radius:50%;border:1px solid rgba(var(--ink-rgb, 255,255,255), .08);background:rgba(var(--ink-rgb, 255,255,255), .04);color:rgb(var(--ink-rgb, 255,255,255));font-size:28px;line-height:1;cursor:pointer}
.education-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-inline-end:44px}
.education-dialog-head span{display:inline-flex;padding:9px 14px;border-radius:999px;background:rgba(var(--gold-rgb, 248,184,78), .12);border:1px solid rgba(var(--gold-rgb, 248,184,78), .18);color:var(--gold);font:700 11px/1 var(--font-latin);letter-spacing:.12em;text-transform:uppercase}
.education-dialog-head i{color:rgb(var(--muted-2-rgb, 185,182,193));font:600 12px/1.4 var(--font-latin)}
.education-dialog h3{margin:18px 0 10px;font-size:clamp(28px,3vw,44px);line-height:1.1;letter-spacing:-.04em}
.education-dialog-issuer{margin:0 0 14px;color:var(--gold);font-size:15px}
.education-dialog-description{margin:0;color:rgb(var(--text-3-rgb, 199,195,204));font-size:15px;line-height:1.95}
.is-arabic .career-spotlight h3,.is-arabic .knowledge-foundation h3{line-height:1.42}
.is-arabic .career-spotlight>p,.is-arabic .career-focus-list li,.is-arabic .timeline-v52 .timeline-card>p,.is-arabic .timeline-v52 .timeline-card li,.is-arabic .foundation-card p,.is-arabic .certificate-console p,.is-arabic .education-dialog-description{line-height:2}
.is-arabic .timeline-v52 .timeline-card h3,.is-arabic .foundation-card h4,.is-arabic .education-dialog h3{line-height:1.45}
.is-arabic .certificate-card-v52 .certificate-footer{flex-direction:row-reverse}
@media (max-width: 1080px){.career-stage,.knowledge-layout{grid-template-columns:1fr}.career-spotlight,.knowledge-foundation{position:relative;top:auto}.education-deck-v52{grid-template-columns:1fr 1fr}}
@media (max-width: 820px){.career-stage{gap:20px}.timeline-v52 .timeline-item{grid-template-columns:60px 1fr;gap:12px}.timeline-v52 .timeline-card{padding:24px}.timeline-card-top{grid-template-columns:1fr}.education-deck-v52{grid-template-columns:1fr}.knowledge-stats,.career-metrics{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 620px){.career-spotlight,.knowledge-foundation,.education-dialog-card{padding:22px}.career-metrics,.knowledge-stats{grid-template-columns:1fr 1fr}.foundation-card{grid-template-columns:42px 1fr}.foundation-card b{grid-column:2}.education-dialog-head{flex-direction:column;align-items:flex-start;padding-inline-end:40px}.education-dialog h3{font-size:30px}.certificate-card-v52{min-height:330px}}

/* V5.3 — Wafi AI tour guide */
.ai-guide-shell{position:fixed;inset-inline-start:24px;bottom:max(24px,calc(env(safe-area-inset-bottom) + 14px));z-index:1200;font-family:var(--font-latin)}
.is-arabic .ai-guide-shell{font-family:var(--font-arabic)}
.ai-guide-launcher{position:relative;width:68px;height:68px;border-radius:50%;border:1px solid rgba(var(--gold-rgb, 248,184,78), .34);background:radial-gradient(circle at 38% 32%,#3e2e1b,rgb(var(--s5-rgb, 17,17,25)) 58%,rgb(var(--s1-rgb, 7,7,11)) 100%);box-shadow:0 0 0 8px rgba(var(--gold-rgb, 248,184,78), .035),0 18px 60px rgba(var(--shade-rgb, 0,0,0), .42),0 0 42px rgba(var(--gold-rgb, 248,184,78), .16);display:grid;place-items:center;cursor:pointer;transition:transform .28s var(--ease),box-shadow .28s ease;border-color:.28s ease;color:rgb(var(--ink-rgb, 255,255,255));padding:0}
.ai-guide-launcher:hover,.ai-guide-launcher[aria-expanded="true"]{transform:translateY(-5px) scale(1.04);border-color:rgba(var(--gold-rgb, 248,184,78), .58);box-shadow:0 0 0 10px rgba(var(--gold-rgb, 248,184,78), .045),0 24px 70px rgba(var(--shade-rgb, 0,0,0), .48),0 0 58px rgba(var(--gold-rgb, 248,184,78), .28)}
.ai-guide-launcher img{width:45px;height:45px;object-fit:contain;position:relative;z-index:3;filter:drop-shadow(0 0 16px rgba(var(--gold-rgb, 248,184,78), .28))}
.ai-guide-launcher b{position:absolute;inset-inline-start:calc(100% + 12px);top:50%;transform:translateY(-50%) translateX(-8px);opacity:0;visibility:hidden;white-space:nowrap;padding:10px 13px;border-radius:12px;background:rgba(var(--s3-rgb, 10,10,16), .94);border:1px solid rgba(var(--ink-rgb, 255,255,255), .08);box-shadow:0 14px 38px rgba(var(--shade-rgb, 0,0,0), .35);font-size:11px;transition:.25s ease}
.ai-guide-launcher:hover b{opacity:1;visibility:visible;transform:translateY(-50%) translateX(0)}
.ai-guide-launcher-orbit,.ai-guide-launcher-orbit i{position:absolute;inset:-8px;border-radius:50%;pointer-events:none}
.ai-guide-launcher-orbit{border:1px dashed rgba(var(--gold-rgb, 248,184,78), .22);animation:bootOrbit 14s linear infinite}
.ai-guide-launcher-orbit i{inset:50% auto auto 50%;width:5px;height:5px;background:rgb(var(--ink-rgb, 255,255,255));border-radius:50%;box-shadow:0 0 12px rgb(var(--ink-rgb, 255,255,255)),0 0 24px var(--gold);transform-origin:-38px 0}
.ai-guide-launcher-orbit i:nth-child(1){animation:aiOrbitDot 4.8s linear infinite}
.ai-guide-launcher-orbit i:nth-child(2){animation:aiOrbitDot 6.2s linear infinite reverse;box-shadow:0 0 12px rgb(var(--ink-rgb, 255,255,255)),0 0 24px var(--cyan)}
.ai-guide-launcher-orbit i:nth-child(3){animation:aiOrbitDot 7.4s linear infinite;box-shadow:0 0 12px rgb(var(--ink-rgb, 255,255,255)),0 0 24px var(--purple)}
.ai-guide-hint{position:absolute;inset-inline-start:0;bottom:82px;width:260px;padding:14px 16px;border-radius:18px;background:rgba(var(--s3-rgb, 10,10,16), .95);border:1px solid rgba(var(--gold-rgb, 248,184,78), .16);box-shadow:0 20px 58px rgba(var(--shade-rgb, 0,0,0), .44);opacity:0;visibility:hidden;transform:translateY(10px) scale(.98);transition:.3s var(--ease);pointer-events:none}
.ai-guide-hint::after{content:"";position:absolute;bottom:-7px;inset-inline-start:28px;width:14px;height:14px;background:rgba(var(--s3-rgb, 10,10,16), .95);border-inline-end:1px solid rgba(var(--gold-rgb, 248,184,78), .16);border-bottom:1px solid rgba(var(--gold-rgb, 248,184,78), .16);transform:rotate(45deg)}
.ai-guide-hint.is-visible{opacity:1;visibility:visible;transform:none}
.ai-guide-hint strong{display:block;color:var(--gold);font-size:12px;margin-bottom:5px}.ai-guide-hint span{display:block;color:rgb(var(--text-3-rgb, 199,195,204));font-size:11px;line-height:1.7}
.ai-guide-panel{position:absolute;inset-inline-start:0;bottom:86px;width:min(420px,calc(100vw - 32px));height:min(640px,calc(100vh - 120px));display:flex;flex-direction:column;border-radius:26px;background:linear-gradient(155deg,rgba(var(--s5-rgb, 17,17,25), .97),rgba(var(--s1-rgb, 7,7,11), .985));border:1px solid rgba(var(--ink-rgb, 255,255,255), .09);box-shadow:0 38px 110px rgba(var(--shade-rgb, 0,0,0), .58),0 0 70px rgba(var(--gold-rgb, 248,184,78), .07);backdrop-filter:blur(22px);overflow:hidden;opacity:0;visibility:hidden;transform:translateY(18px) scale(.96);transform-origin:bottom left;transition:opacity .3s ease,transform .38s var(--ease),visibility .3s ease}
[dir="rtl"] .ai-guide-panel{transform-origin:bottom right}
.ai-guide-panel.is-open{opacity:1;visibility:visible;transform:none}
.ai-guide-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 18px;border-bottom:1px solid rgba(var(--ink-rgb, 255,255,255), .07);background:linear-gradient(90deg,rgba(var(--gold-rgb, 248,184,78), .055),transparent)}
.ai-guide-identity{display:flex;align-items:center;gap:12px;min-width:0}.ai-guide-avatar{position:relative;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#332617,rgb(var(--s4-rgb, 13,13,20)) 68%);border:1px solid rgba(var(--gold-rgb, 248,184,78), .28);box-shadow:0 0 24px rgba(var(--gold-rgb, 248,184,78), .1)}.ai-guide-avatar img{width:34px;height:34px;object-fit:contain}.ai-guide-avatar i{position:absolute;right:-1px;bottom:2px;width:10px;height:10px;border-radius:50%;background:var(--green);border:2px solid rgb(var(--s3-rgb, 10,10,16));box-shadow:0 0 10px var(--green)}
.ai-guide-identity strong{display:block;font-size:15px;color:rgb(var(--ink-rgb, 255,255,255));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-guide-identity small{display:flex;align-items:center;gap:7px;margin-top:5px;color:rgb(var(--muted-3-rgb, 157,154,168));font-size:9px;line-height:1.4}.ai-guide-identity small span{width:5px;height:5px;border-radius:50%;background:var(--green);box-shadow:0 0 9px var(--green)}
.ai-guide-close{width:38px;height:38px;border-radius:50%;border:1px solid rgba(var(--ink-rgb, 255,255,255), .08);background:rgba(var(--ink-rgb, 255,255,255), .035);color:rgb(var(--ink-rgb, 255,255,255));font-size:26px;cursor:pointer;line-height:1}
.ai-guide-tourbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 18px;border-bottom:1px solid rgba(var(--ink-rgb, 255,255,255), .055);background:rgba(var(--ink-rgb, 255,255,255), .018)}.ai-guide-tourbar>span{color:var(--gold);font:700 9px/1 var(--font-latin);letter-spacing:.16em}.ai-guide-tourbar div{display:flex;align-items:center;gap:7px;min-width:0}.ai-guide-tourbar i{width:6px;height:6px;border-radius:50%;background:var(--cyan);box-shadow:0 0 9px var(--cyan)}.ai-guide-tourbar b{font-size:10px;color:rgb(var(--text-3-rgb, 199,195,204));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ai-guide-messages{flex:1;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:14px;scrollbar-width:thin;scrollbar-color:rgba(var(--gold-rgb, 248,184,78), .24) transparent}
.ai-message{display:flex;gap:9px;align-items:flex-start;max-width:94%;animation:aiMessageIn .32s var(--ease)}.ai-message-user{align-self:flex-end;flex-direction:row-reverse}.ai-message-mark{flex:0 0 28px;width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:rgba(var(--gold-rgb, 248,184,78), .12);border:1px solid rgba(var(--gold-rgb, 248,184,78), .2);color:var(--gold);font:800 10px/1 var(--font-latin)}.ai-message-user .ai-message-mark{background:rgba(var(--cyan-rgb, 56,217,255), .1);border-color:rgba(var(--cyan-rgb, 56,217,255), .18);color:var(--cyan)}
.ai-message>div{padding:12px 14px;border-radius:16px 16px 16px 5px;background:rgba(var(--ink-rgb, 255,255,255), .045);border:1px solid rgba(var(--ink-rgb, 255,255,255), .055);box-shadow:0 10px 26px rgba(var(--shade-rgb, 0,0,0), .15)}[dir="rtl"] .ai-message>div{border-radius:16px 16px 5px 16px}.ai-message-user>div{background:linear-gradient(135deg,rgba(var(--cyan-rgb, 56,217,255), .09),rgba(var(--purple-rgb, 169,112,255), .07));border-color:rgba(var(--cyan-rgb, 56,217,255), .12);border-radius:16px 16px 5px 16px}[dir="rtl"] .ai-message-user>div{border-radius:16px 16px 16px 5px}.ai-message p{margin:0;color:rgb(var(--text-2-rgb, 217,214,222));font-size:12px;line-height:1.9;white-space:pre-wrap}.ai-message small{display:block;margin-top:8px;color:rgb(var(--dim-2-rgb, 119,115,128));font-size:8px;letter-spacing:.1em;text-transform:uppercase}
.ai-message-action{margin-top:10px;display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border-radius:11px;border:1px solid rgba(var(--gold-rgb, 248,184,78), .18);background:rgba(var(--gold-rgb, 248,184,78), .08);color:var(--gold);font-weight:700;font-size:10px;cursor:pointer}
.ai-message-thinking>div{display:flex;align-items:center;gap:5px;min-height:42px}.ai-message-thinking i{width:6px;height:6px;border-radius:50%;background:var(--gold);animation:aiTyping 1s ease-in-out infinite}.ai-message-thinking i:nth-child(2){animation-delay:.15s}.ai-message-thinking i:nth-child(3){animation-delay:.3s}
.ai-guide-quick{display:flex;gap:8px;overflow:auto;padding:0 16px 12px;scrollbar-width:none}.ai-guide-quick::-webkit-scrollbar{display:none}.ai-guide-quick button{flex:0 0 auto;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid rgba(var(--ink-rgb, 255,255,255), .07);background:rgba(var(--ink-rgb, 255,255,255), .035);color:rgb(var(--text-3-rgb, 199,195,204));font-size:10px;cursor:pointer;transition:.2s ease}.ai-guide-quick button:hover{border-color:rgba(var(--gold-rgb, 248,184,78), .25);color:var(--gold);background:rgba(var(--gold-rgb, 248,184,78), .07)}
.ai-guide-form{display:grid;grid-template-columns:1fr 46px;gap:9px;padding:13px 15px;border-top:1px solid rgba(var(--ink-rgb, 255,255,255), .07);background:rgba(var(--s1-rgb, 7,7,11), .82)}.ai-guide-form input{width:100%;min-width:0;height:46px;border-radius:14px;border:1px solid rgba(var(--ink-rgb, 255,255,255), .08);background:rgba(var(--ink-rgb, 255,255,255), .035);color:rgb(var(--ink-rgb, 255,255,255));padding:0 14px;font:inherit;font-size:11px;outline:none}.ai-guide-form input:focus{border-color:rgba(var(--gold-rgb, 248,184,78), .34);box-shadow:0 0 0 3px rgba(var(--gold-rgb, 248,184,78), .05)}.ai-guide-form button{width:46px;height:46px;border-radius:14px;border:none;background:linear-gradient(135deg,rgb(var(--gold-rgb, 248,184,78)),#e69a2d);color:rgb(var(--on-accent-rgb, 23,17,9));font-size:20px;cursor:pointer;box-shadow:0 12px 30px rgba(var(--gold-rgb, 248,184,78), .14)}
.ai-guide-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 16px 12px;color:#706c78;font-size:8px;letter-spacing:.08em}.ai-guide-footer i{font-style:normal;color:#8a806f}
.ai-tour-highlight{position:relative;z-index:3}.ai-tour-highlight::after{content:"";position:absolute;inset:12px;border-radius:28px;border:1px solid rgba(var(--gold-rgb, 248,184,78), .42);box-shadow:0 0 0 8px rgba(var(--gold-rgb, 248,184,78), .035),0 0 50px rgba(var(--gold-rgb, 248,184,78), .14);pointer-events:none;animation:aiSectionPulse 1.8s ease-in-out 2}
@keyframes aiOrbitDot{from{transform:rotate(0deg) translateX(38px) rotate(0deg)}to{transform:rotate(360deg) translateX(38px) rotate(-360deg)}}
@keyframes aiMessageIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@keyframes aiTyping{0%,100%{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}
@keyframes aiSectionPulse{0%,100%{opacity:.45;transform:scale(.995)}50%{opacity:1;transform:scale(1)}}
@media(max-width:720px){.ai-guide-shell{inset-inline-start:14px;bottom:max(14px,calc(env(safe-area-inset-bottom) + 8px))}.ai-guide-launcher{width:56px;height:56px}.ai-guide-launcher img{width:37px;height:37px}.ai-guide-launcher b,.ai-guide-hint{display:none}.ai-guide-panel{position:fixed;inset:auto 8px max(78px,calc(env(safe-area-inset-bottom) + 68px)) 8px;width:auto;height:min(620px,calc(100dvh - 100px));transform-origin:bottom center}.ai-guide-header{padding:14px}.ai-guide-messages{padding:14px}.ai-guide-quick{padding-inline:12px}.ai-guide-form{padding:11px 12px}.floating-whatsapp{bottom:max(14px,calc(env(safe-area-inset-bottom) + 8px))}}
@media(max-width:420px){.ai-guide-panel{inset-inline:6px}.ai-guide-footer{font-size:7px}.ai-guide-tourbar{padding-inline:14px}.ai-message{max-width:98%}}

/* V5.3.2 — cinematic starfield background */
body {
    background:
        radial-gradient(circle at 18% 6%, rgba(46,90,255,.09), transparent 20%),
        radial-gradient(circle at 88% 12%, rgba(var(--gold-rgb, 248,184,78), .08), transparent 18%),
        radial-gradient(circle at 72% 78%, rgba(var(--purple-rgb, 169,112,255), .06), transparent 20%),
        rgb(var(--s0-rgb, 5,5,9));
}
.cosmos-backdrop {
    position: fixed;
    inset: -8%;
    z-index: -5;
    pointer-events: none;
    overflow: hidden;
}
.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .48;
    mix-blend-mode: screen;
    animation: nebulaFloat 20s ease-in-out infinite alternate;
}
.nebula-a { width: 38vw; height: 38vw; min-width: 340px; min-height: 340px; left: -8vw; bottom: -10vw; background: radial-gradient(circle, rgba(33,84,255,.26), rgba(33,84,255,.06) 42%, transparent 70%); animation-duration: 24s; }
.nebula-b { width: 34vw; height: 34vw; min-width: 300px; min-height: 300px; right: -8vw; top: -8vw; background: radial-gradient(circle, rgba(var(--gold-rgb, 248,184,78), .22), rgba(var(--gold-rgb, 248,184,78), .04) 44%, transparent 72%); animation-duration: 28s; animation-delay: -8s; }
.nebula-c { width: 28vw; height: 28vw; min-width: 240px; min-height: 240px; left: 42%; top: 46%; background: radial-gradient(circle, rgba(var(--purple-rgb, 169,112,255), .16), rgba(var(--purple-rgb, 169,112,255), .03) 46%, transparent 72%); filter: blur(110px); animation-duration: 22s; animation-delay: -12s; }
.nebula-d { width: 22vw; height: 22vw; min-width: 180px; min-height: 180px; right: 18%; bottom: 8%; background: radial-gradient(circle, rgba(var(--cyan-rgb, 56,217,255), .14), rgba(var(--cyan-rgb, 56,217,255), .02) 40%, transparent 70%); filter: blur(90px); animation-duration: 18s; animation-delay: -5s; }
#space-canvas {
    z-index: -4;
    opacity: .58;
    filter: saturate(.82) brightness(.88);
}
@keyframes nebulaFloat {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(1.5vw, -1.8vw, 0) scale(1.04); }
    100% { transform: translate3d(-1.2vw, 1vw, 0) scale(.98); }
}
@media (max-width: 900px) {
    .nebula { filter: blur(72px); opacity: .34; }
}
@media (prefers-reduced-motion: reduce) {
    .nebula { animation: none; }
}

/* V5.3.3 hotfix — expose the cinematic starfield above the document background */
html { background: rgb(var(--s0-rgb, 5,5,9)); }
body {
    position: relative;
    background: transparent !important;
    isolation: isolate;
}
.cosmos-backdrop { z-index: 0; }
#space-canvas { z-index: 1; opacity: 1; }
.aurora-field { z-index: 1; }
.noise { z-index: 2; }
.cursor-glow { z-index: 2; }
main, .site-footer { position: relative; z-index: 3; }
.site-header, .mobile-nav, .scroll-progress, .scene-rail, .floating-whatsapp, .ai-guide-shell { z-index: 40; }
.boot-screen { z-index: 9999; }

/* Brighter yet elegant stars */
#space-canvas { filter: saturate(1.18) brightness(1.18); }
@media (max-width: 768px) {
    #space-canvas { filter: saturate(1.08) brightness(1.08); }
}

/* V5.3.4 — calmer cosmic background */
.cosmos-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 38%, transparent 0 20%, rgba(var(--s0-rgb, 5,5,9), .14) 58%, rgba(var(--s0-rgb, 5,5,9), .3) 100%);
    pointer-events: none;
}
@media (max-width: 768px) {
    #space-canvas { opacity: .42; }
}

/* V5.3.5 — calm clean space background */
html,
body {
    background: rgb(var(--s0-rgb, 5,5,9)) !important;
}
body {
    isolation: isolate;
}
/* Remove haze, fog and texture: only stars and occasional meteors remain. */
.cosmos-backdrop,
.aurora-field,
.noise {
    display: none !important;
}
#space-canvas {
    z-index: 1;
    opacity: .68;
    filter: none;
}
.cursor-glow {
    z-index: 2;
    opacity: .55;
    background: radial-gradient(circle, rgba(var(--cyan-rgb, 56,217,255), .035), rgba(var(--purple-rgb, 169,112,255), .012) 38%, transparent 70%);
}
main,
.site-footer {
    position: relative;
    z-index: 3;
}
.site-header,
.mobile-nav,
.scroll-progress,
.scene-rail,
.floating-whatsapp,
.ai-guide-shell {
    z-index: 40;
}
@media (max-width: 768px) {
    #space-canvas { opacity: .52; }
    .cursor-glow { display: none; }
}

/* V6 — production accessibility, responsive polish and error states */
.skip-link {
    position: fixed;
    z-index: 12000;
    top: 12px;
    inset-inline-start: 12px;
    padding: 11px 16px;
    border-radius: 10px;
    background: var(--gold);
    color: rgb(var(--s4-rgb, 13,13,20));
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform .22s ease;
}
.skip-link:focus { transform: translateY(0); }
.anchor-target { position: absolute; top: 0; }
:where(a,button,input,textarea,select,[tabindex]):focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
    box-shadow: 0 0 0 5px rgba(var(--cyan-rgb, 56,217,255), .12);
}
.form-honeypot {
    position: absolute !important;
    inline-size: 1px !important;
    block-size: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}
img { height: auto; }
button, .button, .language-switch, .header-dynamic-cta, .social-brand { touch-action: manipulation; }
.error-page { min-height: 100svh; display: grid; place-items: center; }
.error-shell { width: min(760px, calc(100vw - 32px)); text-align: center; padding: 80px 24px; }
.error-code { font: 900 clamp(110px, 24vw, 240px)/.8 var(--font-latin); color: transparent; -webkit-text-stroke: 1px rgba(var(--gold-rgb, 248,184,78), .55); text-shadow: 0 0 60px rgba(var(--gold-rgb, 248,184,78), .16); }
.error-shell h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.12; margin: 22px 0 14px; }
.error-shell > p:not(.section-kicker) { color: var(--muted); font-size: 16px; max-width: 620px; margin: 0 auto 30px; }
@media (max-width: 900px) {
    :root { --shell: min(100% - 32px, 1380px); }
    main > section { padding-block: 95px; }
    .site-header { min-height: 72px; }
    .hero { padding-top: 120px; }
    .button { min-height: 50px; }
}
@media (max-width: 560px) {
    :root { --shell: min(100% - 24px, 1380px); }
    main > section { padding-block: 78px; }
    .hero-actions { align-items: stretch; }
    .hero-actions .button { width: 100%; }
    .terminal-form, .contact-direct, .glass-panel { border-radius: 20px; }
    .ai-guide-panel { max-height: min(78svh, 720px); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
@media print {
    #space-canvas,.cosmos-backdrop,.noise,.aurora-field,.cursor-glow,.scroll-progress,.scene-rail,.boot-screen,.ai-guide-shell,.floating-whatsapp,.site-header,.mobile-nav,.scroll-indicator { display:none !important; }
    body { background:rgb(var(--ink-rgb, 255,255,255)) !important; color:rgb(var(--s4-rgb, 13,13,20)) !important; }
    main > section { padding:30px 0 !important; break-inside:avoid; }
    .glass-panel,.project-card,.timeline-card,.certificate-card { background:rgb(var(--ink-rgb, 255,255,255)) !important; color:rgb(var(--s4-rgb, 13,13,20)) !important; box-shadow:none !important; border:1px solid #ccc !important; }
}

/* V6 legal page */
.legal-page { min-height:100svh; }
.legal-shell { width:min(900px,calc(100vw - 32px)); margin:0 auto; padding:120px 0 80px; }
.legal-back { display:inline-flex; margin-bottom:28px; color:var(--gold); font-weight:700; }
.legal-shell h1 { margin:0 0 18px; font-size:clamp(44px,7vw,82px); line-height:1.05; }
.legal-lead { color:rgb(var(--text-3-rgb, 199,195,204)); font-size:18px; line-height:1.9; max-width:780px; }
.legal-shell section { margin-top:26px; padding:26px; border:1px solid var(--line); border-radius:22px; background:rgba(var(--s4-rgb, 13,13,20), .72); backdrop-filter:blur(12px); }
.legal-shell h2 { margin:0 0 12px; font-size:24px; }
.legal-shell p,.legal-shell li { color:var(--muted); line-height:1.9; }
.legal-shell ul { margin:0; padding-inline-start:22px; }
.legal-shell a { color:var(--cyan); }

/* V6.2 — Services, project requests and performance */
.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.service-card{position:relative;overflow:hidden;border-radius:26px;padding:28px;min-height:440px;display:flex;flex-direction:column;transition:transform .4s var(--ease),border-color .3s ease,box-shadow .3s ease}
.service-card::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 8%,rgba(var(--cyan-rgb, 56,217,255), .09),transparent 30%),radial-gradient(circle at 12% 92%,rgba(var(--gold-rgb, 248,184,78), .08),transparent 32%);pointer-events:none}
.service-card:hover{transform:translateY(-7px);border-color:rgba(var(--gold-rgb, 248,184,78), .22);box-shadow:0 34px 90px rgba(var(--shade-rgb, 0,0,0), .32)}
.service-card.service-featured{border-color:rgba(var(--gold-rgb, 248,184,78), .22);background:linear-gradient(145deg,rgba(34,27,18,.84),rgba(var(--s3-rgb, 10,10,16), .72))}
.service-card-top{display:flex;align-items:center;gap:12px;margin-bottom:28px;position:relative;z-index:1}
.service-number{color:var(--gold);font:800 10px/1 var(--font-latin);letter-spacing:.14em}
.service-card-top>b{margin-inline-start:auto;padding:7px 9px;border-radius:999px;background:rgba(var(--gold-rgb, 248,184,78), .11);border:1px solid rgba(var(--gold-rgb, 248,184,78), .2);color:var(--gold);font:700 8px/1 var(--font-latin);letter-spacing:.12em}
.service-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(var(--ink-rgb, 255,255,255), .035);border:1px solid rgba(var(--ink-rgb, 255,255,255), .07);position:relative}
.service-icon::before,.service-icon::after{content:"";position:absolute}
.service-icon-erp::before,.service-icon-database::before{width:20px;height:9px;border:1px solid var(--gold);border-radius:50%}
.service-icon-erp::after,.service-icon-database::after{width:20px;height:18px;border-inline:1px solid var(--gold);border-bottom:1px solid var(--gold);border-radius:0 0 50% 50%;top:15px}
.service-icon-code::before{width:18px;height:18px;border-left:2px solid var(--cyan);border-bottom:2px solid var(--cyan);transform:rotate(45deg)}
.service-icon-leadership::before{width:18px;height:18px;border:1px solid var(--gold);border-radius:50%;box-shadow:0 0 18px rgba(var(--gold-rgb, 248,184,78), .25)}
.service-icon-leadership::after{width:24px;height:8px;border:1px solid var(--gold);border-radius:50%;bottom:8px}
.service-icon-network::before{width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:-12px 10px 0 rgba(var(--cyan-rgb, 56,217,255), .7),12px 10px 0 rgba(var(--cyan-rgb, 56,217,255), .7),0 20px 0 rgba(var(--cyan-rgb, 56,217,255), .5)}
.service-icon-network::after{width:24px;height:20px;border-left:1px solid rgba(var(--cyan-rgb, 56,217,255), .6);border-right:1px solid rgba(var(--cyan-rgb, 56,217,255), .6);border-bottom:1px solid rgba(var(--cyan-rgb, 56,217,255), .6);top:11px}
.service-icon-security::before{width:20px;height:24px;border:1px solid var(--green);clip-path:polygon(50% 0,100% 18%,88% 78%,50% 100%,12% 78%,0 18%)}
.service-icon-ai::before{width:22px;height:22px;border:1px solid var(--purple);border-radius:8px;box-shadow:0 0 20px rgba(var(--purple-rgb, 169,112,255), .2)}
.service-icon-ai::after{width:4px;height:4px;border-radius:50%;background:var(--purple);box-shadow:8px 0 0 var(--purple),4px 8px 0 var(--purple)}
.service-card h3{position:relative;z-index:1;margin:0 0 12px;font-size:clamp(24px,2.1vw,34px);line-height:1.18;letter-spacing:-.04em}
.service-card>p{position:relative;z-index:1;margin:0;color:rgb(var(--muted-rgb, 170,166,177));font-size:13px;line-height:1.85}
.service-card ul{position:relative;z-index:1;list-style:none;padding:0;margin:24px 0;display:grid;gap:10px}
.service-card li{position:relative;padding-inline-start:18px;color:#d3cfd8;font-size:11px;line-height:1.7}
.service-card li::before{content:"";position:absolute;inset-inline-start:0;top:.65em;width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 13px rgba(var(--gold-rgb, 248,184,78), .4)}
.service-cta{position:relative;z-index:1;margin-top:auto;min-height:46px;padding:0 14px;border-radius:13px;border:1px solid rgba(var(--ink-rgb, 255,255,255), .08);display:flex;align-items:center;justify-content:space-between;gap:16px;background:rgba(var(--ink-rgb, 255,255,255), .025);color:#f4f0f8;font-size:11px;font-weight:750}
.service-cta:hover{border-color:rgba(var(--gold-rgb, 248,184,78), .28);background:rgba(var(--gold-rgb, 248,184,78), .06);color:var(--gold)}
.project-request-shell{border-radius:30px;padding:clamp(28px,4vw,58px);display:grid;grid-template-columns:minmax(280px,.85fr) minmax(420px,1.15fr);gap:clamp(30px,5vw,80px);position:relative;overflow:hidden}
.project-request-shell::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 0 0,rgba(var(--purple-rgb, 169,112,255), .11),transparent 35%),radial-gradient(circle at 100% 100%,rgba(var(--gold-rgb, 248,184,78), .11),transparent 35%);pointer-events:none}
.project-request-copy,.project-request-form{position:relative;z-index:1}
.project-request-copy h2{margin:0;font-size:clamp(38px,4.5vw,68px);line-height:1.04;letter-spacing:-.055em}
.project-request-copy>p:not(.section-kicker){margin:22px 0 0;color:rgb(var(--muted-rgb, 170,166,177));font-size:15px;line-height:1.9}
.request-flow{display:grid;gap:12px;margin-top:32px}
.request-flow article{display:grid;grid-template-columns:42px 1fr;gap:4px 14px;padding:15px;border-radius:18px;background:rgba(var(--ink-rgb, 255,255,255), .025);border:1px solid rgba(var(--ink-rgb, 255,255,255), .06)}
.request-flow article>span{grid-row:1/3;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgb(var(--s4-rgb, 13,13,20));border:1px solid rgba(var(--gold-rgb, 248,184,78), .18);color:var(--gold);font:800 9px/1 var(--font-latin)}
.request-flow strong{font-size:13px}
.request-flow p{margin:0;color:rgb(var(--dim-rgb, 143,139,151));font-size:11px;line-height:1.65}
.project-request-form{padding:26px;border-radius:24px;background:rgba(var(--s2-rgb, 9,9,14), .7);border:1px solid rgba(var(--ink-rgb, 255,255,255), .08)}
.request-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.request-form-grid label{display:grid;gap:8px}
.request-form-grid label>span{color:rgb(var(--muted-rgb, 170,166,177));font-size:10px;font-weight:700}
.request-form-grid input,.request-form-grid select,.request-form-grid textarea{width:100%;border:1px solid rgba(var(--ink-rgb, 255,255,255), .09);border-radius:13px;background:rgb(var(--s4-rgb, 13,13,20));color:rgb(var(--text-rgb, 247,245,240));padding:13px 14px;outline:none;transition:border-color .25s,box-shadow .25s}
.request-form-grid input:focus,.request-form-grid select:focus,.request-form-grid textarea:focus{border-color:rgba(var(--gold-rgb, 248,184,78), .42);box-shadow:0 0 0 3px rgba(var(--gold-rgb, 248,184,78), .07)}
.request-form-grid select{appearance:auto}
.request-form-grid textarea{resize:vertical;min-height:132px}
.request-wide{grid-column:1/-1}
.request-submit{margin-top:20px;width:100%}
.project-request-status{min-height:22px;margin-top:12px;color:var(--green);font-size:12px;line-height:1.7}
.is-arabic .service-card h3,.is-arabic .project-request-copy h2{line-height:1.45;letter-spacing:0}
.is-arabic .service-card>p,.is-arabic .service-card li,.is-arabic .project-request-copy>p:not(.section-kicker),.is-arabic .request-flow p{line-height:2}
main>section:not(.hero){content-visibility:auto;contain-intrinsic-size:900px}
.project-card img,.case-cover-image,.case-gallery-item img{content-visibility:auto}
@media(max-width:1100px){.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-request-shell{grid-template-columns:1fr}.project-request-form{max-width:none}}
@media(max-width:720px){.services-grid{grid-template-columns:1fr}.service-card{min-height:auto}.project-request-shell{padding:24px}.project-request-form{padding:18px}.request-form-grid{grid-template-columns:1fr}.request-wide{grid-column:auto}.project-request-copy h2{font-size:clamp(36px,10vw,52px)}}

/* V6.3 Media Center */
.local-video-frame video{width:100%;height:100%;display:block;object-fit:cover;background:rgb(var(--s0-rgb, 5,5,9))}
.certificate-card-v52:has(.certificate-media){padding-top:0;overflow:hidden}
.certificate-media{height:170px;margin:0 -30px 22px;position:relative;overflow:hidden;border-bottom:1px solid rgba(var(--ink-rgb, 255,255,255), .07)}
.certificate-media img{width:100%;height:100%;object-fit:cover;transition:transform .55s var(--ease),filter .55s var(--ease)}
.certificate-card-v52:hover .certificate-media img{transform:scale(1.045);filter:saturate(1.08)}
.certificate-media span{position:absolute;left:14px;bottom:12px;padding:7px 10px;border-radius:999px;background:rgba(var(--s2-rgb, 9,9,14), .78);border:1px solid rgba(var(--ink-rgb, 255,255,255), .1);backdrop-filter:blur(10px);color:rgb(var(--text-soft-rgb, 238,234,242));font:700 9px/1 var(--font-latin);letter-spacing:.08em;text-transform:uppercase}
.education-dialog-media{height:min(38vh,330px);margin:18px 0 24px;border-radius:20px;overflow:hidden;border:1px solid rgba(var(--ink-rgb, 255,255,255), .08);background:rgb(var(--s2-rgb, 9,9,14))}
.education-dialog-media[hidden]{display:none}
.education-dialog-media img{width:100%;height:100%;object-fit:cover}
.education-dialog-document{margin-top:24px;width:max-content}
.education-dialog-document[hidden]{display:none}
@media(max-width:720px){.certificate-media{height:150px}.education-dialog-media{height:230px}}

/* V6.4.3 — personal identity constellation */
.identity-section { overflow: clip; }
.identity-layout { display: grid; grid-template-columns: minmax(290px, .78fr) minmax(680px, 1.55fr); gap: 26px; align-items: stretch; }
.identity-facts { padding: 28px; border-radius: 28px; position: relative; overflow: hidden; }
.identity-facts::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 100% 0, rgba(var(--gold-rgb, 248,184,78), .1), transparent 34%),radial-gradient(circle at 0 100%, rgba(var(--cyan-rgb, 56,217,255), .08), transparent 36%); pointer-events:none; }
.identity-profile-head { position:relative; z-index:1; display:flex; gap:16px; align-items:center; padding-bottom:22px; border-bottom:1px solid rgba(var(--ink-rgb, 255,255,255), .07); }
.identity-avatar-small { width:78px; height:78px; border-radius:22px; overflow:hidden; border:1px solid rgba(var(--gold-rgb, 248,184,78), .28); background:rgb(var(--s3-rgb, 10,10,16)); box-shadow:0 0 34px rgba(var(--gold-rgb, 248,184,78), .12); flex:0 0 auto; }
.identity-avatar-small img { width:100%; height:100%; object-fit:cover; object-position:center top; }
.identity-profile-head span { color:var(--gold); font:700 9px/1.3 var(--font-latin); letter-spacing:.13em; text-transform:uppercase; }
.identity-profile-head h3 { margin:7px 0 4px; font-size:25px; line-height:1.2; }
.identity-profile-head p { margin:0; color:rgb(var(--muted-rgb, 170,166,177)); font-size:11px; line-height:1.65; }
.identity-fact-grid { position:relative; z-index:1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:22px; }
.identity-fact-grid article { min-height:100px; padding:15px 16px; border:1px solid rgba(var(--ink-rgb, 255,255,255), .065); border-radius:18px; background:rgba(var(--s2-rgb, 9,9,14), .55); display:flex; flex-direction:column; justify-content:center; }
.identity-fact-grid span { color:rgb(var(--dim-2-rgb, 119,115,128)); font:700 8px/1.2 var(--font-latin); letter-spacing:.13em; text-transform:uppercase; margin-bottom:8px; }
.identity-fact-grid strong { font-size:13px; line-height:1.65; font-weight:600; }
.identity-fact-grid small { color:var(--green); font-size:9px; margin-top:6px; line-height:1.5; }
.identity-note { position:relative; z-index:1; margin:22px 0 0; padding:18px; border-radius:18px; background:rgba(var(--ink-rgb, 255,255,255), .025); border:1px solid rgba(var(--ink-rgb, 255,255,255), .055); color:rgb(var(--text-3-rgb, 199,195,204)); font-size:13px; line-height:1.9; }
.identity-constellation { min-height:720px; border-radius:30px; position:relative; overflow:hidden; background:linear-gradient(145deg, rgba(var(--s4-rgb, 13,13,20), .82), rgba(var(--s1-rgb, 7,7,11), .9)); }
.identity-constellation::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at center, rgba(var(--gold-rgb, 248,184,78), .09), transparent 26%),radial-gradient(circle at 70% 18%, rgba(var(--cyan-rgb, 56,217,255), .05), transparent 30%); pointer-events:none; }
.identity-constellation-grid { position:absolute; inset:0; background-image:linear-gradient(rgba(var(--ink-rgb, 255,255,255), .025) 1px, transparent 1px),linear-gradient(90deg, rgba(var(--ink-rgb, 255,255,255), .025) 1px, transparent 1px); background-size:64px 64px; mask-image:radial-gradient(circle at center, black 22%, transparent 76%); opacity:.58; }
.identity-links { position:absolute; inset:8% 5%; width:90%; height:84%; overflow:visible; z-index:1; }
.identity-link { fill:none; stroke:url(#identityLinkGradient); stroke-width:1.25; stroke-dasharray:7 13; opacity:.36; animation:identityDash 13s linear infinite; }
.identity-packet { fill:var(--gold); opacity:.95; }
.identity-center { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:5; width:170px; height:170px; border-radius:50%; display:grid; place-items:center; background:radial-gradient(circle at 42% 32%, rgba(var(--gold-rgb, 248,184,78), .22), rgba(var(--s2-rgb, 9,9,14), .98) 65%); border:1px solid rgba(var(--gold-rgb, 248,184,78), .42); box-shadow:0 0 70px rgba(var(--gold-rgb, 248,184,78), .17), inset 0 0 40px rgba(var(--gold-rgb, 248,184,78), .06); }
.identity-center::before { content:""; position:absolute; inset:-18%; border-radius:50%; border:1px dashed rgba(var(--gold-rgb, 248,184,78), .18); animation:bootOrbit 16s linear infinite; }
.identity-center-ring { position:absolute; inset:-31%; border-radius:50%; border:1px solid rgba(var(--cyan-rgb, 56,217,255), .1); animation:corePulse 3.4s ease-out infinite; }
.identity-center img { width:82px; height:82px; object-fit:cover; object-position:center top; border-radius:24px; border:1px solid rgba(var(--ink-rgb, 255,255,255), .09); box-shadow:0 0 25px rgba(var(--cyan-rgb, 56,217,255), .12); }
.identity-center div { position:absolute; top:calc(100% + 12px); width:230px; text-align:center; }
.identity-center strong { display:block; font-size:18px; line-height:1.2; }
.identity-center small { display:block; color:var(--gold); margin-top:5px; font:700 8px/1.4 var(--font-latin); letter-spacing:.13em; }
.identity-node { --node-color:var(--gold); position:absolute; z-index:4; left:var(--identity-left); top:var(--identity-top); transform:translate(-50%,-50%); width:150px; min-height:62px; padding:11px 12px; border-radius:14px; border:1px solid rgba(var(--ink-rgb, 255,255,255), .085); background:rgba(var(--s2-rgb, 9,9,14), .88); backdrop-filter:blur(10px); color:rgb(var(--text-soft-rgb, 238,234,242)); cursor:pointer; display:grid; grid-template-columns:9px 24px 1fr; gap:7px; align-items:center; text-align:start; opacity:0; animation:identityNodeIn .75s var(--ease) forwards, float 5.5s ease-in-out infinite; animation-delay:var(--identity-delay), calc(var(--identity-delay) + .8s); transition:border-color .25s, box-shadow .25s, background .25s, scale .25s; }
.identity-node i { width:7px; height:7px; border-radius:50%; background:var(--node-color); box-shadow:0 0 14px var(--node-color); }
.identity-node span { color:#716d79; font:700 8px/1 var(--font-latin); }
.identity-node strong { font-size:10px; line-height:1.45; font-weight:650; }
.identity-node:hover,.identity-node.active { scale:1.06; border-color:color-mix(in srgb, var(--node-color) 46%, transparent); box-shadow:0 0 30px color-mix(in srgb, var(--node-color) 16%, transparent),0 18px 42px rgba(var(--shade-rgb, 0,0,0), .28); background:rgba(var(--s4-rgb, 13,13,20), .95); }
.identity-color-gold{--node-color:rgb(var(--gold-rgb, 248,184,78))}.identity-color-cyan{--node-color:rgb(var(--cyan-rgb, 56,217,255))}.identity-color-blue{--node-color:rgb(var(--blue-rgb, 95,145,255))}.identity-color-purple{--node-color:rgb(var(--purple-rgb, 169,112,255))}.identity-color-green{--node-color:rgb(var(--green-rgb, 83,233,164))}.identity-color-red{--node-color:rgb(var(--red-rgb, 255,97,94))}.identity-color-pink{--node-color:rgb(var(--pink-rgb, 255,94,188))}
.identity-detail { position:absolute; z-index:7; left:50%; bottom:24px; transform:translateX(-50%); width:min(440px,calc(100% - 48px)); padding:18px 22px; border-radius:18px; border:1px solid rgba(var(--ink-rgb, 255,255,255), .08); background:rgba(var(--s0-rgb, 5,5,9), .88); backdrop-filter:blur(15px); text-align:center; box-shadow:0 22px 70px rgba(var(--shade-rgb, 0,0,0), .35); }
.identity-detail span { color:var(--purple); font:700 8px/1 var(--font-latin); letter-spacing:.13em; text-transform:uppercase; }
.identity-detail strong { display:block; margin:9px 0 6px; font-size:20px; line-height:1.25; }
.identity-detail p { margin:0; color:rgb(var(--muted-rgb, 170,166,177)); font-size:11px; line-height:1.75; }
.is-arabic .identity-profile-head h3,.is-arabic .identity-detail strong,.is-arabic .identity-center strong { line-height:1.5; }
.is-arabic .identity-note,.is-arabic .identity-fact-grid strong,.is-arabic .identity-node strong,.is-arabic .identity-detail p { line-height:1.9; }
@keyframes identityDash { to { stroke-dashoffset:-200; } }
@keyframes identityNodeIn { from { opacity:0; filter:blur(5px); translate:0 18px; } to { opacity:1; filter:none; translate:0 0; } }
@media(max-width:1180px){.identity-layout{grid-template-columns:1fr}.identity-constellation{min-height:700px}.identity-facts{order:2}}
@media(max-width:820px){.identity-constellation{min-height:auto;padding:28px 18px 22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.identity-links,.identity-constellation-grid{display:none}.identity-center{position:relative;left:auto;top:auto;transform:none;grid-column:1/-1;margin:10px auto 48px}.identity-node{position:relative;left:auto!important;top:auto!important;transform:none;width:100%;min-height:72px;animation:identityNodeIn .65s var(--ease) forwards}.identity-node:hover,.identity-node.active{scale:1.02}.identity-detail{position:relative;left:auto;bottom:auto;transform:none;grid-column:1/-1;width:100%;margin-top:8px}.identity-fact-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.identity-facts{padding:20px}.identity-profile-head{align-items:flex-start}.identity-avatar-small{width:66px;height:66px}.identity-fact-grid,.identity-constellation{grid-template-columns:1fr}.identity-center{grid-column:auto}.identity-detail{grid-column:auto}.identity-node strong{font-size:11px}}

/* V6.4.4 — Arabic RTL layout and right-edge clipping hotfix */
.is-arabic .about,
.is-arabic .identity-section {
    overflow: visible;
}

.is-arabic .about > .section-heading,
.is-arabic .identity-section > .section-heading,
.is-arabic .about-layout-v42,
.is-arabic .identity-layout {
    min-width: 0;
    max-width: 100%;
}

.is-arabic .about-layout-v42 > *,
.is-arabic .identity-layout > * {
    min-width: 0;
    max-width: 100%;
}

/* Keep the desktop grid geometry predictable while each card remains RTL. */
@media (min-width: 1281px) {
    .is-arabic .about-layout-v42 {
        direction: ltr;
        grid-template-columns: minmax(340px, .85fr) minmax(420px, 1.28fr) minmax(280px, .72fr);
        grid-template-areas: "stats about portrait";
    }
    .is-arabic .about-layout-v42 .stats-grid { grid-area: stats; direction: rtl; }
    .is-arabic .about-layout-v42 .about-card { grid-area: about; direction: rtl; }
    .is-arabic .about-layout-v42 .portrait-stage { grid-area: portrait; direction: rtl; }

    .is-arabic .identity-layout {
        direction: ltr;
        grid-template-columns: minmax(680px, 1.55fr) minmax(330px, .78fr);
        grid-template-areas: "constellation facts";
    }
    .is-arabic .identity-constellation { grid-area: constellation; direction: rtl; }
    .is-arabic .identity-facts { grid-area: facts; direction: rtl; }
}

@media (min-width: 981px) and (max-width: 1280px) {
    .is-arabic .about-layout-v42 {
        direction: ltr;
        grid-template-columns: minmax(390px, 1.25fr) minmax(260px, .75fr);
        grid-template-areas: "about portrait" "stats stats";
    }
    .is-arabic .about-layout-v42 .stats-grid { grid-area: stats; direction: rtl; }
    .is-arabic .about-layout-v42 .about-card { grid-area: about; direction: rtl; }
    .is-arabic .about-layout-v42 .portrait-stage { grid-area: portrait; direction: rtl; }
}

@media (min-width: 721px) and (max-width: 980px) {
    .is-arabic .about-layout-v42 {
        direction: ltr;
        grid-template-columns: minmax(350px, 1.2fr) minmax(250px, .8fr);
        grid-template-areas: "about portrait" "stats stats";
    }
    .is-arabic .about-layout-v42 .stats-grid { grid-area: stats; direction: rtl; }
    .is-arabic .about-layout-v42 .about-card { grid-area: about; direction: rtl; }
    .is-arabic .about-layout-v42 .portrait-stage { grid-area: portrait; direction: rtl; }
}

@media (max-width: 1180px) {
    .is-arabic .identity-layout {
        direction: ltr;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "constellation" "facts";
    }
    .is-arabic .identity-constellation { grid-area: constellation; direction: rtl; }
    .is-arabic .identity-facts { grid-area: facts; direction: rtl; order: initial; }
}

@media (max-width: 720px) {
    .is-arabic .about-layout-v42 {
        direction: ltr;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "portrait" "about" "stats";
    }
    .is-arabic .about-layout-v42 .portrait-stage { grid-area: portrait; direction: rtl; }
    .is-arabic .about-layout-v42 .about-card { grid-area: about; direction: rtl; }
    .is-arabic .about-layout-v42 .stats-grid { grid-area: stats; direction: rtl; }
}

.is-arabic .about-card,
.is-arabic .identity-facts,
.is-arabic .identity-constellation {
    width: 100%;
    margin-inline: 0;
}

.is-arabic .about-card > p,
.is-arabic .career-goal,
.is-arabic .identity-note,
.is-arabic .identity-profile-head,
.is-arabic .identity-fact-grid {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
}

.is-arabic .portrait-stage img {
    width: 100%;
    max-width: 100%;
    object-position: center bottom;
}

.is-arabic .identity-profile-head {
    padding-inline: 0;
}

.is-arabic .identity-fact-grid article {
    min-width: 0;
}

.is-arabic .identity-fact-grid strong,
.is-arabic .identity-profile-head p {
    overflow-wrap: anywhere;
}

.is-arabic .identity-node {
    direction: rtl;
    text-align: right;
}

.is-arabic .identity-detail {
    direction: rtl;
}

/* Prevent large Arabic headings from visually spilling outside the section shell. */
.is-arabic .about .section-heading,
.is-arabic .identity-section .section-heading {
    width: 100%;
    padding-inline: 0;
}

.is-arabic .about .section-heading h2,
.is-arabic .identity-section .section-heading h2 {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    text-wrap: balance;
}

/* V6.4.5 — RTL reveal transform reset
   The RTL reveal-left/right selectors have higher specificity than
   .reveal-visible, so cards remained shifted 45px after animation. */
html[dir="rtl"] .reveal-left.reveal-visible,
html[dir="rtl"] .reveal-right.reveal-visible,
html[dir="rtl"] .reveal-up.reveal-visible,
html[dir="rtl"] .reveal-scale.reveal-visible,
body.is-arabic .reveal-left.reveal-visible,
body.is-arabic .reveal-right.reveal-visible,
body.is-arabic .reveal-up.reveal-visible,
body.is-arabic .reveal-scale.reveal-visible {
    transform: none !important;
    translate: none !important;
    filter: none !important;
    opacity: 1 !important;
}

/* Keep animated RTL cards inside the section shell before and after reveal. */
body.is-arabic .about-layout-v42,
body.is-arabic .identity-layout {
    overflow: visible;
    contain: layout;
}

body.is-arabic .portrait-stage,
body.is-arabic .about-card,
body.is-arabic .identity-facts,
body.is-arabic .identity-constellation {
    inset-inline: auto;
    box-sizing: border-box;
}

/* V9.1 — public Tools Center navigation */
.desktop-nav .nav-tools-link,
.mobile-nav .nav-tools-link {
    color: #d8b866;
}
.desktop-nav .nav-tools-link::after {
    background: linear-gradient(90deg, #d8b866, #78d9ff);
}

/* =========================================================
   V9.4.1 — Home Tools Animation Map
   ========================================================= */
.home-tools-showcase{position:relative}.home-tools-map{position:relative;min-height:900px;padding:28px;overflow:hidden;border-radius:34px;background:radial-gradient(circle at 50% 47%,rgba(var(--gold-rgb, 248,184,78), .12),transparent 22%),radial-gradient(circle at 15% 20%,rgba(var(--cyan-rgb, 56,217,255), .08),transparent 25%),linear-gradient(180deg,rgba(var(--s3-rgb, 10,10,16), .94),rgba(var(--s1-rgb, 7,7,11), .98));isolation:isolate}.home-tools-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(var(--ink-rgb, 255,255,255), .028) 1px,transparent 1px),linear-gradient(90deg,rgba(var(--ink-rgb, 255,255,255), .028) 1px,transparent 1px);background-size:34px 34px;mask-image:radial-gradient(circle at center,#000 18%,transparent 86%);opacity:.75}.home-tools-stars{position:absolute;inset:0;pointer-events:none}.home-tools-stars i{position:absolute;left:var(--star-left);top:var(--star-top);width:var(--star-size);height:var(--star-size);border-radius:50%;background:rgb(var(--ink-rgb, 255,255,255));opacity:.2;box-shadow:0 0 8px rgba(var(--ink-rgb, 255,255,255), .65);animation:homeToolsTwinkle 3.8s var(--star-delay) ease-in-out infinite}.home-tools-stars i:nth-child(3n){background:rgb(var(--gold-rgb, 248,184,78));box-shadow:0 0 12px rgba(var(--gold-rgb, 248,184,78), .85)}.home-tools-stars i:nth-child(4n){background:rgb(var(--cyan-rgb, 56,217,255));box-shadow:0 0 12px rgba(var(--cyan-rgb, 56,217,255), .75)}.home-tools-orbit{position:absolute;left:50%;top:50%;border:1px dashed rgba(var(--ink-rgb, 255,255,255), .11);border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.home-tools-orbit i{position:absolute;width:7px;height:7px;border-radius:50%;background:rgb(var(--gold-rgb, 248,184,78));box-shadow:0 0 16px rgba(var(--gold-rgb, 248,184,78), .9)}.home-tools-orbit i:nth-child(1){left:50%;top:-4px}.home-tools-orbit i:nth-child(2){right:10%;bottom:18%}.home-tools-orbit i:nth-child(3){left:8%;bottom:24%;background:rgb(var(--cyan-rgb, 56,217,255));box-shadow:0 0 16px rgba(var(--cyan-rgb, 56,217,255), .8)}.home-tools-orbit.orbit-a{width:258px;height:258px;animation:homeToolsOrbit 18s linear infinite}.home-tools-orbit.orbit-b{width:430px;height:430px;border-color:rgba(var(--gold-rgb, 248,184,78), .14);animation:homeToolsOrbitReverse 28s linear infinite}.home-tools-orbit.orbit-c{width:620px;height:620px;border-color:rgba(var(--cyan-rgb, 56,217,255), .10);animation:homeToolsOrbit 42s linear infinite}.home-tools-links{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}.home-tool-link{fill:none;stroke:url(#homeToolsLineGradient);stroke-width:1.25;stroke-dasharray:6 12;opacity:.48;animation:homeToolsDash 11s linear infinite}.home-tool-packet{fill:rgb(var(--gold-rgb, 248,184,78))}.home-tool-packet-2{fill:rgb(var(--cyan-rgb, 56,217,255))}.home-tool-packet-3{fill:rgb(var(--purple-rgb, 169,112,255))}.home-tools-center{position:absolute;left:50%;top:50%;z-index:4;transform:translate(-50%,-50%);display:grid;place-items:center;text-align:center;width:310px}.home-tools-center-ring{position:absolute;border-radius:50%;border:1px solid rgba(var(--gold-rgb, 248,184,78), .35);animation:homeToolsPulse 3.4s ease-out infinite}.home-tools-center-ring.ring-one{width:210px;height:210px}.home-tools-center-ring.ring-two{width:260px;height:260px;border-style:dashed;border-color:rgba(var(--cyan-rgb, 56,217,255), .22);animation-delay:-1.7s}.home-tools-portrait{width:164px;height:164px;border-radius:50%;padding:7px;background:linear-gradient(135deg,rgb(var(--gold-rgb, 248,184,78)),rgb(var(--cyan-rgb, 56,217,255)) 58%,rgb(var(--purple-rgb, 169,112,255)));box-shadow:0 0 0 10px rgba(var(--gold-rgb, 248,184,78), .06),0 0 64px rgba(var(--gold-rgb, 248,184,78), .23);position:relative;z-index:2}.home-tools-portrait img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;background:rgb(var(--s3-rgb, 10,10,16))}.home-tools-center-copy{margin-top:19px;position:relative;z-index:3}.home-tools-center-copy strong{display:block;font-size:30px;line-height:1.15;color:rgb(var(--ink-rgb, 255,255,255))}.home-tools-center-copy small{display:block;margin-top:7px;color:rgb(var(--gold-rgb, 248,184,78));font-size:11px;font-weight:800;letter-spacing:.16em}.home-tool-node{position:absolute;left:var(--tool-left);top:var(--tool-top);z-index:5;width:174px;text-decoration:none;color:rgb(var(--ink-rgb, 255,255,255));transform:translate(-50%,-50%)}.home-tool-node-inner{position:relative;display:block;min-height:104px;padding:14px 16px 13px;border:1px solid rgba(var(--ink-rgb, 255,255,255), .11);border-radius:18px;background:linear-gradient(150deg,rgba(15,21,34,.95),rgba(var(--s2-rgb, 9,9,14), .96));box-shadow:0 18px 45px rgba(var(--shade-rgb, 0,0,0), .33);overflow:hidden;animation:homeToolsNodeFloat 5.8s var(--tool-delay) ease-in-out infinite;transition:border-color .25s,box-shadow .25s,transform .25s}.home-tool-node-inner:before{content:"";position:absolute;width:76px;height:76px;border-radius:50%;right:-26px;top:-32px;background:var(--tool-glow);filter:blur(24px);opacity:.55}.home-tool-node:hover .home-tool-node-inner{animation-play-state:paused;transform:translateY(-7px) scale(1.035);border-color:var(--tool-color);box-shadow:0 24px 56px rgba(var(--shade-rgb, 0,0,0), .42),0 0 28px var(--tool-shadow)}.home-tool-node i{position:absolute;top:14px;inset-inline-end:14px;width:9px;height:9px;border-radius:50%;background:var(--tool-color);box-shadow:0 0 14px var(--tool-color)}.home-tool-node em{display:block;color:#8995a9;font-style:normal;font-size:10px;font-weight:800;letter-spacing:.1em}.home-tool-node small{display:block;margin-top:6px;color:var(--tool-color);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.home-tool-node strong{display:block;margin-top:5px;padding-inline-end:11px;font-size:14px;line-height:1.45}.home-tool-node b{position:absolute;bottom:11px;inset-inline-end:13px;color:var(--tool-color);font-size:14px}.home-tool-color-gold{--tool-color:rgb(var(--gold-rgb, 248,184,78));--tool-glow:rgba(var(--gold-rgb, 248,184,78), .28);--tool-shadow:rgba(var(--gold-rgb, 248,184,78), .16)}.home-tool-color-cyan{--tool-color:rgb(var(--cyan-rgb, 56,217,255));--tool-glow:rgba(var(--cyan-rgb, 56,217,255), .25);--tool-shadow:rgba(var(--cyan-rgb, 56,217,255), .15)}.home-tool-color-blue{--tool-color:rgb(var(--blue-rgb, 95,145,255));--tool-glow:rgba(var(--blue-rgb, 95,145,255), .25);--tool-shadow:rgba(var(--blue-rgb, 95,145,255), .14)}.home-tool-color-purple{--tool-color:rgb(var(--purple-rgb, 169,112,255));--tool-glow:rgba(var(--purple-rgb, 169,112,255), .25);--tool-shadow:rgba(var(--purple-rgb, 169,112,255), .14)}.home-tool-color-green{--tool-color:#55e1a2;--tool-glow:rgba(85,225,162,.24);--tool-shadow:rgba(85,225,162,.14)}.home-tool-color-red{--tool-color:#ff6678;--tool-glow:rgba(255,102,120,.24);--tool-shadow:rgba(255,102,120,.14)}.home-tools-detail{position:absolute;left:50%;bottom:28px;z-index:6;width:min(520px,calc(100% - 40px));transform:translateX(-50%);padding:18px 22px;border:1px solid rgba(var(--ink-rgb, 255,255,255), .11);border-radius:20px;background:rgba(var(--s1-rgb, 7,7,11), .86);backdrop-filter:blur(16px);text-align:center;box-shadow:0 20px 50px rgba(var(--shade-rgb, 0,0,0), .34)}.home-tools-detail>span{display:block;color:rgb(var(--purple-rgb, 169,112,255));font-size:10px;font-weight:800;letter-spacing:.14em}.home-tools-detail>strong{display:block;margin-top:8px;font-size:18px}.home-tools-detail p{margin:8px auto 14px;max-width:470px;color:#9da8ba;font-size:13px;line-height:1.65}.home-tools-detail .button{padding:10px 15px;font-size:12px}.home-tools-showcase .section-heading{margin-bottom:22px}@keyframes homeToolsDash{to{stroke-dashoffset:-180}}@keyframes homeToolsTwinkle{0%,100%{opacity:.12;transform:scale(.7)}50%{opacity:.9;transform:scale(1.35)}}@keyframes homeToolsOrbit{to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes homeToolsOrbitReverse{to{transform:translate(-50%,-50%) rotate(-360deg)}}@keyframes homeToolsPulse{0%{opacity:.75;transform:scale(.8)}75%,100%{opacity:0;transform:scale(1.18)}}@keyframes homeToolsNodeFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@media(max-width:1180px){.home-tools-map{min-height:930px}.home-tool-node{width:158px}.home-tools-orbit.orbit-c{width:590px;height:590px}.home-tools-center{width:280px}.home-tools-portrait{width:150px;height:150px}}
@media(max-width:960px){.home-tools-map{min-height:auto;padding:22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-tools-grid,.home-tools-links,.home-tools-orbit{display:none}.home-tools-stars{opacity:.55}.home-tools-center{position:relative;left:auto;top:auto;transform:none;grid-column:1/-1;width:100%;padding:24px 10px 18px}.home-tools-center-ring{display:none}.home-tool-node{position:relative;left:auto;top:auto;transform:none;width:auto}.home-tool-node-inner{height:100%;animation:none;min-height:112px}.home-tools-detail{position:relative;left:auto;bottom:auto;transform:none;width:auto;grid-column:1/-1;margin-top:4px}.home-tools-portrait{width:140px;height:140px}}
@media(max-width:620px){.home-tools-map{grid-template-columns:1fr;padding:14px}.home-tools-center,.home-tools-detail{grid-column:auto}.home-tools-center-copy strong{font-size:26px}.home-tool-node-inner{min-height:96px}.home-tools-detail{padding:17px}.home-tools-showcase .split-heading{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.home-tools-stars i,.home-tools-orbit,.home-tool-link,.home-tool-node-inner,.home-tools-center-ring{animation:none!important}.home-tool-packet{display:none}}

/* /assets/css/modules-menu.css */
/* =========================================================
   Modules Menu UI Polish v1
   Shared by the public portfolio header and V8 admin topbar.
   ========================================================= */

.modules-launcher {
    position: relative;
    flex: 0 0 auto;
    min-width: 0;
    font-family: inherit;
}

.modules-launcher > summary,
.modules-launcher-button {
    list-style: none;
    -webkit-tap-highlight-color: transparent;
}

.modules-launcher > summary::-webkit-details-marker,
.modules-launcher > summary::marker {
    display: none;
    content: "";
}

.modules-launcher-button {
    position: relative;
    isolation: isolate;
    min-height: 44px;
    padding: 5px 9px 5px 7px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(var(--gold-rgb, 248,184,78), .24);
    border-radius: 13px;
    background:
        linear-gradient(135deg, rgba(var(--gold-rgb, 248,184,78), .12), rgba(var(--cyan-soft-rgb, 76,213,255), .055) 58%, rgba(var(--purple-rgb, 169,112,255), .065)),
        rgba(var(--s2-rgb, 9,9,14), .72);
    color: var(--text, rgb(var(--text-rgb, 247,245,240)));
    box-shadow: inset 0 1px 0 rgba(var(--ink-rgb, 255,255,255), .035), 0 10px 30px rgba(var(--shade-rgb, 0,0,0), .13);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease;
}

.modules-launcher-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -1px;
    border-radius: inherit;
    opacity: 0;
    background: linear-gradient(110deg, rgba(var(--gold-rgb, 248,184,78), .18), transparent 44%, rgba(var(--cyan-soft-rgb, 76,213,255), .12));
    transition: opacity .22s ease;
}

.modules-launcher-button:hover,
.modules-launcher-button:focus-visible,
.modules-launcher[open] > .modules-launcher-button {
    border-color: rgba(var(--gold-rgb, 248,184,78), .52);
    background:
        linear-gradient(135deg, rgba(var(--gold-rgb, 248,184,78), .17), rgba(var(--cyan-soft-rgb, 76,213,255), .075) 58%, rgba(var(--purple-rgb, 169,112,255), .09)),
        rgba(var(--s2-rgb, 9,9,14), .9);
    box-shadow: inset 0 1px 0 rgba(var(--ink-rgb, 255,255,255), .05), 0 15px 38px rgba(var(--shade-rgb, 0,0,0), .24), 0 0 0 1px rgba(var(--gold-rgb, 248,184,78), .035);
    outline: none;
}

.modules-launcher-button:hover::before,
.modules-launcher-button:focus-visible::before,
.modules-launcher[open] > .modules-launcher-button::before {
    opacity: 1;
}

.modules-launcher-button:active {
    transform: translateY(1px);
}

.modules-launcher-symbol {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(var(--gold-rgb, 248,184,78), .27);
    border-radius: 10px;
    background: radial-gradient(circle at 28% 22%, rgba(255,220,151,.28), transparent 38%), rgba(var(--gold-rgb, 248,184,78), .1);
    color: #ffc35a;
    box-shadow: inset 0 0 16px rgba(var(--gold-rgb, 248,184,78), .065);
}

.modules-launcher-symbol svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.modules-launcher-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
    line-height: 1;
    text-align: start;
}

.modules-launcher-copy small {
    color: #9ca6b8;
    font: 700 7px/1.1 var(--font-latin, inherit);
    letter-spacing: .14em;
}

.modules-launcher-copy strong {
    color: rgb(var(--text-rgb, 247,245,240));
    font-size: 11px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.01em;
}

.modules-launcher-count {
    min-width: 20px;
    height: 20px;
    padding-inline: 5px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(var(--ink-rgb, 255,255,255), .075);
    border-radius: 7px;
    background: rgba(var(--ink-rgb, 255,255,255), .045);
    color: #d7deea;
    font: 750 9px/1 var(--font-latin, inherit);
}

.modules-launcher-chevron {
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    color: #7f8ba0;
    transition: transform .22s ease, color .22s ease;
}

.modules-launcher-chevron svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.modules-launcher[open] .modules-launcher-chevron {
    transform: rotate(180deg);
    color: #ffc35a;
}

.modules-panel {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 12px);
    inset-inline-end: 0;
    width: min(382px, calc(100vw - 24px));
    max-height: min(650px, calc(100vh - 110px));
    padding: 10px;
    overflow: hidden auto;
    border: 1px solid rgba(var(--gold-rgb, 248,184,78), .23);
    border-radius: 19px;
    background:
        radial-gradient(circle at 8% 0%, rgba(var(--gold-rgb, 248,184,78), .12), transparent 32%),
        radial-gradient(circle at 100% 18%, rgba(var(--cyan-soft-rgb, 76,213,255), .075), transparent 31%),
        linear-gradient(155deg, rgba(var(--s4-rgb, 13,13,20), .985), rgba(var(--s1-rgb, 7,7,11), .99));
    color: #edf2f9;
    box-shadow: 0 30px 90px rgba(var(--shade-rgb, 0,0,0), .64), inset 0 1px 0 rgba(var(--ink-rgb, 255,255,255), .035);
    backdrop-filter: blur(24px) saturate(125%);
    -webkit-backdrop-filter: blur(24px) saturate(125%);
    transform-origin: top right;
    animation: modulesPanelIn .2s cubic-bezier(.22,.75,.22,1) both;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--gold-rgb, 248,184,78), .35) transparent;
}

[dir="rtl"] .modules-panel {
    transform-origin: top left;
}

.modules-panel::-webkit-scrollbar { width: 7px; }
.modules-panel::-webkit-scrollbar-track { background: transparent; }
.modules-panel::-webkit-scrollbar-thumb { background: rgba(var(--gold-rgb, 248,184,78), .28); border-radius: 999px; }

.modules-panel::before {
    content: "";
    position: absolute;
    top: -7px;
    inset-inline-end: 28px;
    width: 13px;
    height: 13px;
    border-top: 1px solid rgba(var(--gold-rgb, 248,184,78), .23);
    border-inline-start: 1px solid rgba(var(--gold-rgb, 248,184,78), .23);
    background: rgb(var(--s4-rgb, 13,13,20));
    transform: rotate(45deg);
}

.modules-panel-beam {
    position: absolute;
    top: 0;
    inset-inline: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb, 248,184,78), .82), rgba(var(--cyan-soft-rgb, 76,213,255), .45), transparent);
    opacity: .8;
    pointer-events: none;
}

.modules-panel-header {
    position: relative !important;
    inset: auto !important;
    min-height: 64px !important;
    margin: 0 0 7px !important;
    padding: 11px 12px 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(var(--ink-rgb, 255,255,255), .075) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    backdrop-filter: none !important;
}

.modules-panel-header > div {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.modules-panel-header small {
    display: block;
    color: rgb(var(--gold-rgb, 248,184,78));
    font: 750 8px/1 var(--font-latin, inherit);
    letter-spacing: .18em;
}

.modules-panel-header strong {
    display: block;
    color: rgb(var(--ink-rgb, 255,255,255));
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.modules-panel-header > span {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(var(--gold-rgb, 248,184,78), .2);
    border-radius: 10px;
    background: rgba(var(--gold-rgb, 248,184,78), .08);
    color: #ffc55e;
    font: 800 10px/1 var(--font-latin, inherit);
}

.modules-panel-list {
    display: grid;
    gap: 5px;
}

.modules-panel-item {
    position: relative;
    min-width: 0;
    min-height: 62px;
    padding: 9px 10px;
    display: grid;
    grid-template-columns: 38px minmax(0,1fr) 24px;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #dbe3ef !important;
    text-decoration: none !important;
    overflow: hidden;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.modules-panel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(92deg, rgba(var(--gold-rgb, 248,184,78), .13), rgba(var(--cyan-soft-rgb, 76,213,255), .055) 66%, transparent);
    transition: opacity .2s ease;
}

.modules-panel-item:hover,
.modules-panel-item:focus-visible,
.modules-panel-item.active {
    border-color: rgba(var(--gold-rgb, 248,184,78), .16);
    background: rgba(var(--ink-rgb, 255,255,255), .026);
    color: rgb(var(--ink-rgb, 255,255,255)) !important;
    outline: none;
    transform: translateX(2px);
}

[dir="rtl"] .modules-panel-item:hover,
[dir="rtl"] .modules-panel-item:focus-visible,
[dir="rtl"] .modules-panel-item.active {
    transform: translateX(-2px);
}

.modules-panel-item:hover::before,
.modules-panel-item:focus-visible::before,
.modules-panel-item.active::before {
    opacity: 1;
}

.modules-panel-icon,
.modules-panel-copy,
.modules-panel-arrow {
    position: relative;
    z-index: 1;
}

.modules-panel-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(var(--ink-rgb, 255,255,255), .075);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(var(--ink-rgb, 255,255,255), .055), rgba(var(--ink-rgb, 255,255,255), .018));
    color: #ffc257;
    font-size: 16px;
    font-weight: 800;
    box-shadow: inset 0 0 18px rgba(var(--gold-rgb, 248,184,78), .035);
}

.modules-panel-item:hover .modules-panel-icon,
.modules-panel-item.active .modules-panel-icon {
    border-color: rgba(var(--gold-rgb, 248,184,78), .25);
    background: rgba(var(--gold-rgb, 248,184,78), .09);
}

.modules-panel-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
    text-align: start;
}

.modules-panel-copy b {
    display: block;
    overflow: hidden;
    color: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modules-panel-copy small {
    display: -webkit-box;
    overflow: hidden;
    color: #7f8da4;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.35;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.modules-panel-arrow {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #68758b;
    font-size: 13px;
    font-style: normal;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.modules-panel-item:hover .modules-panel-arrow,
.modules-panel-item.active .modules-panel-arrow {
    background: rgba(var(--ink-rgb, 255,255,255), .045);
    color: #ffc45b;
    transform: translate(1px,-1px);
}

[dir="rtl"] .modules-panel-arrow,
[dir="rtl"] .modules-panel-footer i {
    transform: scaleX(-1);
}

[dir="rtl"] .modules-panel-item:hover .modules-panel-arrow,
[dir="rtl"] .modules-panel-item.active .modules-panel-arrow {
    transform: scaleX(-1) translate(1px,-1px);
}

.modules-panel-footer {
    position: static !important;
    margin: 8px 0 0 !important;
    padding: 8px 0 0 !important;
    display: block !important;
    border: 0 !important;
    border-top: 1px solid rgba(var(--ink-rgb, 255,255,255), .075) !important;
    background: transparent !important;
}

.modules-panel-footer a {
    min-height: 43px;
    padding: 8px 10px;
    display: grid;
    grid-template-columns: 31px minmax(0,1fr) 22px;
    align-items: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #b9c4d5 !important;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.modules-panel-footer a:hover,
.modules-panel-footer a:focus-visible {
    border-color: rgba(var(--gold-rgb, 248,184,78), .15);
    background: rgba(var(--gold-rgb, 248,184,78), .065);
    color: rgb(var(--ink-rgb, 255,255,255)) !important;
    outline: none;
}

.modules-panel-footer a > span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(var(--ink-rgb, 255,255,255), .04);
    color: rgb(var(--gold-rgb, 248,184,78));
    font-size: 13px;
}

.modules-panel-footer b {
    min-width: 0;
    overflow: hidden;
    font-size: 11px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modules-panel-footer i {
    display: grid;
    place-items: center;
    color: #66758c;
    font-size: 12px;
    font-style: normal;
}

/* Public mobile navigation module group */
.mobile-modules-group {
    margin-top: 10px;
    padding: 17px 0 15px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
    border-top: 1px solid rgba(var(--ink-rgb, 255,255,255), .08);
    border-bottom: 1px solid rgba(var(--ink-rgb, 255,255,255), .08);
}

.mobile-modules-group > small {
    grid-column: 1 / -1;
    padding: 0 2px 4px;
    color: #efb74f;
    font: 750 9px/1 var(--font-latin, inherit);
    letter-spacing: .16em;
}

.mobile-nav .mobile-modules-group > a {
    min-width: 0;
    min-height: 52px;
    padding: 10px 12px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(var(--ink-rgb, 255,255,255), .065) !important;
    border-radius: 12px;
    background: rgba(var(--ink-rgb, 255,255,255), .026);
    color: #e2e8f2;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0 !important;
}

.mobile-nav .mobile-modules-group > a:hover,
.mobile-nav .mobile-modules-group > a:focus-visible {
    border-color: rgba(var(--gold-rgb, 248,184,78), .25) !important;
    background: rgba(var(--gold-rgb, 248,184,78), .07);
    color: rgb(var(--ink-rgb, 255,255,255));
}

.mobile-modules-group > a span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-modules-group > a i {
    flex: 0 0 auto;
    color: #7d899d;
    font-size: 12px;
    font-style: normal;
}

.mobile-nav .mobile-modules-group > .mobile-modules-admin {
    grid-column: 1 / -1;
    border-color: rgba(var(--gold-rgb, 248,184,78), .15) !important;
    background: linear-gradient(90deg, rgba(var(--gold-rgb, 248,184,78), .07), rgba(var(--cyan-soft-rgb, 76,213,255), .025));
}

/* Admin-specific compact placement */
.modules-launcher--admin .modules-launcher-button {
    min-height: 42px;
    background:
        linear-gradient(135deg, rgba(var(--gold-rgb, 248,184,78), .12), rgba(var(--cyan-soft-rgb, 76,213,255), .05)),
        rgba(var(--s3-rgb, 10,10,16), .78);
}

.modules-launcher--admin .modules-panel {
    top: calc(100% + 10px);
}

@keyframes modulesPanelIn {
    from { opacity: 0; transform: translateY(-7px) scale(.975); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 1280px) and (min-width: 1121px) {
    .site-header .modules-launcher-copy small { display: none; }
    .site-header .modules-launcher-button { gap: 7px; }
    .site-header .modules-launcher-count { display: none; }
}

@media (max-width: 1120px) {
    .site-header .site-modules-dropdown { display: none; }
}

@media (max-width: 900px) {
    .modules-launcher--admin .modules-launcher-button {
        width: 42px;
        min-width: 42px;
        padding: 5px;
        justify-content: center;
    }
    .modules-launcher--admin .modules-launcher-copy,
    .modules-launcher--admin .modules-launcher-count,
    .modules-launcher--admin .modules-launcher-chevron {
        display: none;
    }
    .modules-launcher--admin .modules-launcher-symbol {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
    .modules-launcher--admin .modules-panel {
        position: fixed;
        top: 68px;
        inset-inline: 12px;
        width: auto;
        max-height: calc(100vh - 82px);
    }
    .modules-launcher--admin .modules-panel::before { display: none; }
}

@media (max-width: 560px) {
    .mobile-modules-group { grid-template-columns: 1fr; }
    .modules-panel { width: calc(100vw - 18px); }
    .modules-panel-copy small { font-size: 8.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .modules-panel { animation: none; }
    .modules-launcher-button,
    .modules-launcher-chevron,
    .modules-panel-item,
    .modules-panel-item::before,
    .modules-panel-arrow { transition: none; }
}

/* =========================================================
   Modules Menu UI Polish v1.1
   English desktop header spacing fix
   Keeps the Arabic/RTL layout unchanged.
   ========================================================= */
@media (min-width: 1281px) {
    html[dir="ltr"] .site-header .site-modules-dropdown .modules-launcher-button {
        padding: 5px 7px 5px 5px;
        gap: 6px;
    }

    html[dir="ltr"] .site-header .site-modules-dropdown .modules-launcher-symbol {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }
}

/* /assets/css/home-polish.css */
/* =========================================================
   Homepage polish — phase 2 (loaded after app.css)
   Readability, collapsed module vault, single contact form.
   Purely additive: delete this file's <link> to roll back.
   ========================================================= */

:root {
    --polish-muted: #b3b0bd;      /* was ~#9d9aa8 on body copy */
    --polish-faint: #8f8b9b;      /* was ~#676471 on labels */
}

/* ---------- Readability: section labels & body copy ---------- */
.section-kicker,
.hero-copy .eyebrow { font-size: 12px; letter-spacing: .14em; }

.hero-copy .availability,
.hero-copy .system-status { font-size: 12px; color: var(--polish-faint); }

.stat-card p,
.identity-profile-head p,
.identity-detail p,
.erp-live-card p,
.career-focus-list li,
.timeline-card ul li,
.project-body p,
.module-chip p,
.service-card ul li,
.foundation-card p,
.certificate-card p,
.lab-list article p,
.request-flow article p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--polish-muted);
}
.project-body p.project-category { font-size: 12px; }
.certificate-card p.certificate-issuer { font-size: 11.5px; }

/* Small labels that carried information at 7–9px */
.project-tags span,
.module-chip small,
.module-filter,
.project-filter,
.certificate-top span,
.certificate-top i,
.timeline-period small,
.timeline-company small,
.identity-fact-grid article small,
.identity-profile-head span,
.service-card-top b,
.knowledge-stats article span,
.career-stats article span,
.marquee-heading p,
.module-console-top,
.portrait-stage figcaption span,
.career-goal span {
    font-size: 11px;
}
.project-tags span { padding-block: 4px; }
.module-chip h3 { font-size: 15px; }

.request-form-grid label > span { font-size: 12px; }

.project-open,
.service-cta,
.certificate-footer button { font-size: 12.5px; }

/* ---------- Module vault: show 12 until expanded ---------- */
.module-vault-grid.is-collapsed .module-chip:nth-child(n+13) { display: none; }
.module-vault-more {
    display: flex;
    justify-content: center;
    padding: 22px 0 6px;
}
.module-vault-more[hidden] { display: none; }
.module-vault-more .button i { font-style: normal; margin-inline-start: 10px; opacity: .8; }

/* ---------- Contact: single column when the terminal form is off ---------- */
.contact-layout.contact-layout-single {
    grid-template-columns: minmax(0, 640px);
    justify-content: center;
}
.contact-layout.contact-layout-single .contact-direct { width: 100%; }
.contact-request-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 22px;
}
.contact-request-cta i { font-style: normal; }

/* Second pass: labels that still rendered below 10px (higher specificity) */
main .certificate-card p.certificate-issuer { font-size: 11.5px; }
main .contact-details-polished a > span { font-size: 10.5px; color: var(--polish-faint); }
main .foundation-card b,
main .knowledge-eyebrow,
main .career-focus-list > span { font-size: 11px; }
main .module-chip i { font-size: 9px; }
main .project-visual .featured-badge { font-size: 10px; }
main .project-body .project-number { font-size: 10.5px; color: var(--polish-faint); }
main .scroll-indicator span { font-size: 10.5px; }

/* ---------- Education: degree card was squeezed into ~85px columns ---------- */
main .foundation-card {
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-areas: "num year" "num body";
    row-gap: 6px;
}
main .foundation-card > span { grid-area: num; }
main .foundation-card > div { grid-area: body; }
main .foundation-card > b { grid-area: year; align-self: center; }
main .foundation-card h4 { font-size: 17px; }

/* "Open details" sat on top of the rotated MA seal */
main .certificate-card .certificate-footer { padding-inline-end: 64px; }
/* RTL: the seal moves to the left, which is still the inline end, so the same rule applies. */

/* Live Projects link in the main menu: a small pulsing "live" dot */
.desktop-nav .nav-live-link, .mobile-nav .nav-live-link { display: inline-flex; align-items: center; gap: 7px; }
.nav-live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--green-rgb, 83, 233, 164)); box-shadow: 0 0 0 0 rgba(var(--green-rgb, 83, 233, 164), .6); animation: navLivePing 1.8s infinite; flex: none; }
@keyframes navLivePing { 70% { box-shadow: 0 0 0 7px rgba(var(--green-rgb, 83, 233, 164), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--green-rgb, 83, 233, 164), 0); } }
@media (prefers-reduced-motion: reduce) { .nav-live-dot { animation: none; } }

/* /assets/css/hero-galaxy.css */
/* =========================================================
   Hero galaxy (v1.0.0) — the owner at the core, skills as orbiting planets.
   The galaxy itself is painted on <canvas> by hero-galaxy.js; planets are
   real buttons positioned every frame so they stay accessible.
   ========================================================= */
.galaxy {
    --gx-gold: var(--gold-rgb, 248, 184, 78);
    --gx-cyan: var(--cyan-rgb, 56, 217, 255);
    --gx-ink: var(--ink-rgb, 255, 255, 255);
    --gx-panel: rgba(var(--s4-rgb, 13, 13, 20), .82);
    --gx-core: clamp(118px, 21%, 156px);
    position: relative;
    width: min(100%, 700px);
    aspect-ratio: 1 / .9;
    margin-inline: auto;
    isolation: isolate;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}
.galaxy-canvas { position: absolute; inset: -8%; width: 116%; height: 116%; z-index: 0; pointer-events: none; }
.galaxy-planets { position: absolute; inset: 0; pointer-events: none; } /* no z-index: planets stack against the core */

/* ---------- the core: you ---------- */
.galaxy-core {
    position: absolute; left: 50%; top: 50%; z-index: 5;
    width: var(--gx-core); height: var(--gx-core);
    transform: translate(-50%, -50%);
    display: grid; place-items: center;
    pointer-events: none;
}
.galaxy-core-halo {
    position: absolute; inset: -42%; border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--gx-gold), .38) 0%, rgba(var(--gx-gold), .12) 32%, rgba(var(--gx-cyan), .05) 52%, transparent 70%);
    animation: gxBreath 5s ease-in-out infinite;
}
.galaxy-core-ring {
    position: absolute; inset: -7px; border-radius: 50%;
    background: conic-gradient(from 0deg, rgb(var(--gx-gold)), rgba(var(--gx-gold), 0) 28%, rgb(var(--gx-cyan)) 50%, rgba(var(--gx-cyan), 0) 78%, rgb(var(--gx-gold)));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    animation: gxSpin 7s linear infinite;
    filter: drop-shadow(0 0 8px rgba(var(--gx-gold), .7));
}
.galaxy-core-photo {
    position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
    background: radial-gradient(circle at 50% 35%, #2a2233, #0b0b12);
    box-shadow: 0 0 0 4px rgba(7, 7, 11, .85), 0 0 60px rgba(var(--gx-gold), .45), 0 0 120px rgba(var(--gx-gold), .18), inset 0 0 30px rgba(0, 0, 0, .55);
}
.galaxy-core-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; transform: scale(1.04); }
.galaxy-core-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .18), transparent 45%), linear-gradient(to top, rgba(7, 7, 11, .35), transparent 45%); }
.galaxy-core-name {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
    display: grid; justify-items: center; gap: 2px; white-space: nowrap; text-align: center;
}
.galaxy-core-name b { font-size: 15px; color: rgb(var(--text-rgb, 247, 245, 240)); text-shadow: 0 2px 14px rgba(0, 0, 0, .8); letter-spacing: .01em; }
.galaxy-core-name small { font-size: 9.5px; letter-spacing: .24em; font-weight: 700; color: rgb(var(--gx-gold)); opacity: .85; }
@keyframes gxSpin { to { transform: rotate(360deg); } }
@keyframes gxBreath { 50% { transform: scale(1.08); opacity: .8; } }

/* ---------- planets ---------- */
.gx-planet {
    --c: var(--gx-gold);
    --size: 34px;
    position: absolute; left: 0; top: 0;
    display: grid; justify-items: center; gap: 7px;
    padding: 0; border: 0; background: none; cursor: pointer;
    pointer-events: auto;
    transform-origin: 50% calc(var(--size) / 2);
    will-change: transform, opacity;
    color: inherit; font: inherit;
    -webkit-tap-highlight-color: transparent;
}
.gx-planet:focus, .gx-planet:focus-visible { outline: none !important; }
.gx-sphere {
    position: relative; width: var(--size); height: var(--size); border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, .35) 9%, transparent 30%),
        radial-gradient(circle at 70% 75%, rgba(0, 0, 0, .55), transparent 55%),
        radial-gradient(circle at 45% 45%, rgb(var(--c)), rgba(var(--c), .55) 60%, rgba(10, 10, 20, .95) 100%);
    box-shadow: 0 0 18px rgba(var(--c), .55), 0 0 42px rgba(var(--c), .22), inset -6px -8px 14px rgba(0, 0, 0, .45);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}
/* surface bands so each world looks alive */
.gx-sphere::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: repeating-linear-gradient(-18deg, transparent 0 5px, rgba(255, 255, 255, .07) 5px 7px, transparent 7px 11px);
    mix-blend-mode: overlay; opacity: .9;
    animation: gxSurface 9s linear infinite;
}
@keyframes gxSurface { to { background-position: 60px 0; } }
.gx-planet.has-ring .gx-sphere::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 190%; height: 46%;
    border-radius: 50%; border: 2px solid rgba(var(--c), .7);
    box-shadow: 0 0 10px rgba(var(--c), .45), inset 0 0 6px rgba(var(--c), .4);
    transform: translate(-50%, -50%) rotate(-16deg);
    -webkit-mask: linear-gradient(#000 48%, transparent 48%); mask: linear-gradient(#000 48%, transparent 48%);
}
.gx-moon {
    position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, rgba(var(--c), .9) 60%);
    box-shadow: 0 0 8px rgba(var(--c), .9);
    animation: gxMoon 4.6s linear infinite;
}
@keyframes gxMoon {
    from { transform: rotate(0deg) translateX(calc(var(--size) * .82)) scale(1); z-index: 1; }
    to { transform: rotate(360deg) translateX(calc(var(--size) * .82)) scale(1); }
}
.gx-label {
    display: inline-flex; align-items: center; gap: 6px;
    max-width: 172px; padding: 4px 10px 4px 8px; unicode-bidi: plaintext; border-radius: 999px;
    background: var(--gx-panel);
    border: 1px solid rgba(var(--c), .38);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: 11px; font-weight: 700; line-height: 1.35; letter-spacing: .01em;
    color: rgb(var(--text-rgb, 247, 245, 240));
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: border-color .3s, background .3s;
}
.gx-label::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 8px rgb(var(--c)); }
.gx-planet:hover .gx-sphere, .gx-planet:focus-visible .gx-sphere, .gx-planet.is-active .gx-sphere {
    transform: scale(1.22);
    box-shadow: 0 0 26px rgba(var(--c), .85), 0 0 70px rgba(var(--c), .35), inset -6px -8px 14px rgba(0, 0, 0, .45);
}
.gx-planet:hover .gx-label, .gx-planet:focus-visible .gx-label, .gx-planet.is-active .gx-label { border-color: rgb(var(--c)); background: rgba(var(--c), .2); }
.gx-planet:focus-visible .gx-label { box-shadow: 0 0 0 2px rgba(var(--c), .6); }

/* accents */
.gx-planet.c-purple { --c: var(--purple-rgb, 169, 112, 255); }
.gx-planet.c-cyan { --c: var(--cyan-rgb, 56, 217, 255); }
.gx-planet.c-green { --c: var(--green-rgb, 83, 233, 164); }
.gx-planet.c-pink { --c: var(--pink-rgb, 255, 94, 188); }
.gx-planet.c-red { --c: var(--red-rgb, 255, 97, 94); }
.gx-planet.c-blue { --c: var(--blue-rgb, 95, 145, 255); }
.gx-planet.c-orange { --c: 255, 150, 70; }
.gx-planet.c-yellow, .gx-planet.c-gold { --c: var(--gold-rgb, 248, 184, 78); }

/* ---------- skill card ---------- */
.galaxy-card {
    position: absolute; z-index: 8; left: 50%; bottom: 2%;
    width: min(330px, 92%);
    padding: 14px 16px 13px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(var(--gx-ink), .07), rgba(var(--gx-ink), .02)), rgba(var(--s3-rgb, 10, 10, 16), .88);
    border: 1px solid rgba(var(--c, var(--gx-gold)), .45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(var(--c, var(--gx-gold)), .15);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    opacity: 0; transform: translate(-50%, 14px) scale(.97);
    transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1), border-color .3s;
    pointer-events: none;
}
.galaxy-card.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.galaxy-card-cat { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--c, var(--gx-gold))); }
.galaxy-card strong { display: block; margin-top: 3px; font-size: 16px; line-height: 1.35; color: rgb(var(--text-rgb, 247, 245, 240)); }
.galaxy-card p { margin: 6px 0 10px; font-size: 12.5px; line-height: 1.7; color: rgb(var(--text-3-rgb, 199, 195, 204)); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.galaxy-card-level { display: block; height: 6px; border-radius: 6px; background: rgba(var(--gx-ink), .08); overflow: hidden; }
.galaxy-card-level i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(var(--c, var(--gx-gold)), .6), rgb(var(--c, var(--gx-gold)))); box-shadow: 0 0 10px rgba(var(--c, var(--gx-gold)), .7); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.galaxy-card small { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: rgb(var(--muted-rgb, 170, 166, 177)); }
.galaxy-card small b { color: rgb(var(--c, var(--gx-gold))); font-size: 12px; }
.galaxy-hint {
    position: absolute; z-index: 6; left: 50%; bottom: 3%; transform: translateX(-50%);
    margin: 0; padding: 6px 13px; border-radius: 999px;
    font-size: 11.5px; color: rgb(var(--muted-rgb, 170, 166, 177));
    background: rgba(var(--s3-rgb, 10, 10, 16), .55); border: 1px solid rgba(var(--gx-ink), .08);
    white-space: nowrap; transition: opacity .4s;
    animation: gxHint 3.2s ease-in-out infinite;
}
.galaxy.has-active .galaxy-hint { opacity: 0; }
@keyframes gxHint { 50% { opacity: .55; } }

/* glass theme: let the landscape show, keep the galaxy luminous */
html[data-site-theme] .galaxy-core-photo { box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 0 60px rgba(var(--gx-gold), .45), 0 0 120px rgba(var(--gx-gold), .2); }

/* phones and small screens */
@media (max-width: 760px) {
    .galaxy { --gx-core: clamp(92px, 25%, 120px); aspect-ratio: 1 / 1.02; }
    .gx-label { transition: opacity .25s; }
    .gx-planet { --size: 26px; gap: 5px; }
    .gx-label { font-size: 10px; max-width: 128px; padding: 3px 8px 3px 6px; }
    .galaxy-core-name b { font-size: 13px; }
    .galaxy-card { bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .galaxy-core-ring, .galaxy-core-halo, .gx-moon, .gx-sphere::before, .galaxy-hint { animation: none !important; }
}
.gx-hint-touch { display: none; }
@media (hover: none) { .gx-hint-hover { display: none; } .gx-hint-touch { display: inline; } }

/* /assets/css/home-motion.css */
/* =========================================================
   Home motion (v1.0.0) — living versions of: Who I Am, Tools, ERP Architecture,
   Infrastructure in Motion and the Digital Lab. Canvas for light, DOM for content.
   Colours follow the site theme tokens.
   ========================================================= */
.hm-ident, .hm-tools, .hm-erp, .hm-net, .hm-lab {
    --hm-gold: var(--gold-rgb, 248, 184, 78);
    --hm-cyan: var(--cyan-rgb, 56, 217, 255);
    --hm-purple: var(--purple-rgb, 169, 112, 255);
    --hm-green: var(--green-rgb, 83, 233, 164);
    --hm-ink: var(--ink-rgb, 255, 255, 255);
    --hm-text: rgb(var(--text-rgb, 247, 245, 240));
    --hm-muted: rgb(var(--muted-rgb, 170, 166, 177));
    --hm-panel: rgba(var(--s4-rgb, 13, 13, 20), .84);
    position: relative;
    isolation: isolate;
}
.hm-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
[class*="c-"] { --c: var(--hm-gold, 248, 184, 78); }
.c-gold, .c-yellow { --c: var(--gold-rgb, 248, 184, 78); }
.c-cyan { --c: var(--cyan-rgb, 56, 217, 255); }
.c-purple { --c: var(--purple-rgb, 169, 112, 255); }
.c-green { --c: var(--green-rgb, 83, 233, 164); }
.c-red { --c: var(--red-rgb, 255, 97, 94); }
.c-pink { --c: var(--pink-rgb, 255, 94, 188); }
.c-blue { --c: var(--blue-rgb, 95, 145, 255); }
.c-orange { --c: 255, 150, 70; }

/* ---------- shared: the core (photo + rings) ---------- */
.hm-ident-core, .hm-tools-core {
    position: absolute; left: 50%; top: 50%; z-index: 4;
    width: var(--core, 132px); height: var(--core, 132px);
    transform: translate(-50%, -50%);
    display: grid; place-items: center; pointer-events: none;
}
.hm-photo { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #111; box-shadow: 0 0 0 4px rgba(7, 7, 11, .9), 0 0 50px rgba(var(--hm-gold), .45), 0 0 110px rgba(var(--hm-cyan), .14); }
.hm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.hm-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.hm-ring--a { inset: -8px; background: conic-gradient(from 0deg, rgb(var(--hm-gold)), transparent 30%, rgb(var(--hm-cyan)) 52%, transparent 80%, rgb(var(--hm-gold))); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: hmSpin 6s linear infinite; filter: drop-shadow(0 0 7px rgba(var(--hm-gold), .7)); }
.hm-ring--b { inset: -26px; border: 1px dashed rgba(var(--hm-gold), .35); animation: hmSpin 26s linear infinite reverse; }
.hm-core-name { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 3px; white-space: nowrap; text-align: center; }
.hm-core-name b { font-size: 15px; color: var(--hm-text); text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
.hm-core-name small { font-size: 9.5px; letter-spacing: .2em; font-weight: 800; color: rgb(var(--hm-gold)); }
@keyframes hmSpin { to { transform: rotate(360deg); } }
@keyframes hmPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes hmBlink { 50% { opacity: .3; } }

/* ---------- shared: info card ---------- */
.hm-card {
    position: absolute; z-index: 7;
    width: min(340px, calc(100% - 32px));
    padding: 15px 17px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(var(--hm-ink, 255, 255, 255), .07), rgba(var(--hm-ink, 255, 255, 255), .015)), rgba(var(--s3-rgb, 10, 10, 16), .9);
    border: 1px solid rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45), 0 0 34px rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .14);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transition: border-color .4s, box-shadow .4s;
}
.hm-card.is-swap { animation: hmCardIn .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes hmCardIn { from { opacity: .2; transform: var(--card-from, translateY(10px)); } }
.hm-card-kicker { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 800; letter-spacing: .14em; color: rgb(var(--c, var(--gold-rgb, 248, 184, 78))); text-transform: uppercase; }
.hm-card-kicker i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: hmBlink 1.4s infinite; }
.hm-card strong { display: block; margin-top: 5px; font-size: 17px; line-height: 1.35; color: rgb(var(--text-rgb, 247, 245, 240)); }
.hm-card p { margin: 6px 0 0; font-size: 13px; line-height: 1.75; color: rgb(var(--text-3-rgb, 199, 195, 204)); }
.hm-card-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 15px; border-radius: 999px; background: rgb(var(--c, var(--gold-rgb, 248, 184, 78))); color: rgb(var(--on-accent-rgb, 23, 17, 9)); font-weight: 800; font-size: 13px; text-decoration: none; transition: transform .25s, filter .25s; }
.hm-card-cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
.hm-card-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: rgb(var(--green-rgb, 83, 233, 164)); }
.hm-card-foot i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: hmBlink 1.2s infinite; }

/* =========================================================
   1. Who I Am — living constellation
   ========================================================= */
.hm-ident { --core: clamp(104px, 13vw, 138px); min-height: 680px; border-radius: 30px; overflow: hidden; }
.hm-ident-node {
    position: absolute; left: 0; top: 0; z-index: 5;
    display: flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 8px; border-radius: 999px;
    background: var(--hm-panel); border: 1px solid rgba(var(--c), .3);
    color: var(--hm-text); font: inherit; cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    will-change: transform;
    transition: border-color .3s, background .3s, box-shadow .3s;
    white-space: nowrap;
}
.hm-ident-node em { font-style: normal; font-size: 10px; font-weight: 800; color: rgb(var(--c)); opacity: .85; }
.hm-ident-node strong { font-size: 12.5px; font-weight: 700; }
.hm-star { position: relative; width: 12px; height: 12px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 10px rgb(var(--c)), 0 0 24px rgba(var(--c), .6); flex: none; }
.hm-star::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgb(var(--c)); opacity: 0; }
.hm-ident-node.is-active, .hm-ident-node:hover, .hm-ident-node:focus-visible { border-color: rgb(var(--c)); background: linear-gradient(90deg, rgba(var(--c), .22), rgba(var(--c), .06)), var(--hm-panel); box-shadow: 0 0 0 1px rgba(var(--c), .4), 0 0 30px rgba(var(--c), .3); outline: none; }
.hm-ident-node.is-active .hm-star::after { animation: hmPulse 1.6s ease-out infinite; }
.hm-ident-card { left: 50%; bottom: 22px; transform: translateX(-50%); --card-from: translate(-50%, 10px); text-align: center; }
.hm-ident-card .hm-card-kicker { justify-content: center; }

/* =========================================================
   2. Tools orbiting the developer
   ========================================================= */
.hm-tool-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.hm-tool-filters button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(var(--ink-rgb, 255, 255, 255), .12); background: rgba(var(--s4-rgb, 13, 13, 20), .6); color: rgb(var(--text-3-rgb, 199, 195, 204)); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .25s; }
.hm-tool-filters button i { font-style: normal; font-size: 11px; padding: 1px 8px; border-radius: 99px; background: rgba(var(--ink-rgb, 255, 255, 255), .08); }
.hm-tool-filters button:hover { color: rgb(var(--text-rgb, 247, 245, 240)); border-color: rgba(var(--gold-rgb, 248, 184, 78), .45); }
.hm-tool-filters button.is-on { background: rgb(var(--gold-rgb, 248, 184, 78)); color: rgb(var(--on-accent-rgb, 23, 17, 9)); border-color: transparent; }
.hm-tools { --core: clamp(96px, 11vw, 128px); height: clamp(640px, 64vw, 820px); border-radius: 30px; overflow: hidden; }
.hm-tool {
    position: absolute; left: 0; top: 0; z-index: 5;
    display: grid; justify-items: center; gap: 6px;
    width: 92px; text-decoration: none; color: var(--hm-text);
    will-change: transform, opacity;
    transition: opacity .4s, filter .4s;
    -webkit-tap-highlight-color: transparent;
}
.hm-tool-glyph {
    width: 46px; height: 46px; border-radius: 15px;
    display: grid; place-items: center;
    font-size: 12px; font-weight: 900; letter-spacing: .02em; color: rgb(var(--c));
    background: radial-gradient(circle at 30% 25%, rgba(var(--c), .35), rgba(var(--c), .08) 60%), rgba(var(--s4-rgb, 13, 13, 20), .92);
    border: 1px solid rgba(var(--c), .5);
    box-shadow: 0 0 18px rgba(var(--c), .28), inset 0 1px 0 rgba(255, 255, 255, .12);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, background .35s;
    direction: ltr;
}
.hm-tool-name { max-width: 100%; padding: 2px 7px; border-radius: 8px; font-size: 10.5px; font-weight: 700; line-height: 1.35; text-align: center; background: rgba(var(--s3-rgb, 10, 10, 16), .72); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-tool:hover .hm-tool-glyph, .hm-tool:focus-visible .hm-tool-glyph, .hm-tool.is-active .hm-tool-glyph { transform: scale(1.18) rotate(-4deg); background: radial-gradient(circle at 30% 25%, rgba(var(--c), .6), rgba(var(--c), .2) 60%), rgba(var(--s4-rgb, 13, 13, 20), .92); box-shadow: 0 0 30px rgba(var(--c), .6), 0 0 0 3px rgba(var(--c), .25); }
.hm-tool:focus-visible { outline: none; }
.hm-tool.is-ping .hm-tool-glyph { animation: hmPing .9s ease-out; }
@keyframes hmPing { 30% { box-shadow: 0 0 34px rgba(var(--c), .9), 0 0 0 6px rgba(var(--c), .25); transform: scale(1.12); } }
.hm-tool.is-dim { opacity: .14; filter: grayscale(.7); pointer-events: none; }
.hm-tools-card { inset-inline-start: 22px; top: 50%; transform: translateY(-50%); --card-from: translateY(calc(-50% + 10px)); width: min(320px, calc(100% - 32px)); }

/* =========================================================
   3. ERP Architecture — living honeycomb
   ========================================================= */
.hm-erp { --hex: 64px; height: 640px; }
.hm-hex {
    position: absolute; left: 0; top: 0; z-index: 3;
    width: calc(var(--hex) * 1.732); height: calc(var(--hex) * 2);
    padding: 0; border: 0; cursor: pointer; color: var(--hm-text, #fff); font: inherit;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(160deg, rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .65), rgba(var(--ink-rgb, 255, 255, 255), .08) 45%, rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .35));
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), filter .4s, opacity .5s;
    will-change: transform;
}
.hm-hex-in {
    position: absolute; inset: 2px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    display: grid; place-content: center; justify-items: center; gap: 3px;
    padding: 0 12%; text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .22), transparent 65%), rgb(var(--s3-rgb, 10, 10, 16));
    transition: background .4s;
}
html[data-site-theme] .hm-hex-in { background: radial-gradient(circle at 50% 20%, rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .25), transparent 65%), rgba(var(--s3-rgb, 10, 10, 16), .82); }
.hm-hex-in em { font-style: normal; font-size: 10px; font-weight: 800; color: rgb(var(--c, var(--gold-rgb, 248, 184, 78))); }
.hm-hex-in strong { font-size: clamp(10px, calc(var(--hex) * .17), 12.5px); line-height: 1.3; overflow-wrap: anywhere; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hm-hex:hover, .hm-hex:focus-visible, .hm-hex.is-active { filter: drop-shadow(0 0 16px rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .7)); outline: none; }
.hm-hex.is-active .hm-hex-in, .hm-hex:hover .hm-hex-in { background: radial-gradient(circle at 50% 30%, rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .45), rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .08) 70%), rgb(var(--s3-rgb, 10, 10, 16)); }
.hm-hex.is-flash { animation: hmHexFlash .9s ease-out; }
@keyframes hmHexFlash { 30% { filter: drop-shadow(0 0 20px rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .95)) brightness(1.25); } }
.hm-hex--core { cursor: default; z-index: 4; --c: var(--gold-rgb, 248, 184, 78); background: conic-gradient(from var(--spin, 0deg), rgb(var(--gold-rgb, 248, 184, 78)), rgb(var(--cyan-rgb, 56, 217, 255)), rgb(var(--purple-rgb, 169, 112, 255)), rgb(var(--gold-rgb, 248, 184, 78))); animation: hmCoreSpin 8s linear infinite; }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes hmCoreSpin { to { --spin: 360deg; } }
.hm-hex--core .hm-hex-in img { width: 42%; max-width: 46px; }
.hm-hex--core .hm-hex-in b { font-size: 11px; letter-spacing: .14em; color: rgb(var(--gold-rgb, 248, 184, 78)); }
.hm-hex--core .hm-hex-in small { font-size: 9px; color: rgb(var(--muted-rgb, 170, 166, 177)); }
.hm-erp-card { inset-inline-start: 20px; top: 50%; transform: translateY(-50%); --card-from: translateY(calc(-50% + 10px)); width: min(300px, calc(100% - 32px)); }
.hm-erp-feed { display: grid; gap: 6px; padding: 12px 18px 16px; border-top: 1px solid rgba(var(--ink-rgb, 255, 255, 255), .07); min-height: 108px; }
.hm-erp-feed span { unicode-bidi: plaintext; display: flex; align-items: center; gap: 9px; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: rgb(var(--text-3-rgb, 199, 195, 204)); animation: hmFeedIn .45s cubic-bezier(.2, .8, .2, 1); }
.hm-erp-feed span i { font-style: normal; color: rgb(var(--green-rgb, 83, 233, 164)); }
.hm-erp-feed span b { color: rgb(var(--c, var(--gold-rgb, 248, 184, 78))); font-weight: 700; }
.hm-erp-feed span:not(:last-child) { opacity: .55; }
@keyframes hmFeedIn { from { opacity: 0; transform: translateY(8px); } }

/* =========================================================
   4. Infrastructure in Motion — a packet's journey
   ========================================================= */
.hm-net { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; gap: 10px; padding: 70px 24px 40px; min-height: 340px; }
.hm-net-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; pointer-events: none; }
.hm-net-cable { fill: none; stroke: rgba(var(--ink-rgb, 255, 255, 255), .1); stroke-width: 3; stroke-linecap: round; }
.hm-net-cable--flow { stroke: url(#hmNetGrad); stroke-width: 2; stroke-dasharray: 3 12; animation: hmDash 1s linear infinite; opacity: .75; }
@keyframes hmDash { to { stroke-dashoffset: -15; } }
.hm-net-node { position: relative; z-index: 2; display: grid; justify-items: center; gap: 4px; text-align: center; }
.hm-net-node:nth-child(odd) { transform: translateY(-26px); }
.hm-net-node:nth-child(even) { transform: translateY(26px); }
.hm-dev { position: relative; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(var(--hm-cyan), .14), transparent 60%), rgba(var(--s4-rgb, 13, 13, 20), .92); border: 1px solid rgba(var(--ink-rgb, 255, 255, 255), .12); box-shadow: 0 14px 34px rgba(0, 0, 0, .4); transition: border-color .35s, box-shadow .35s, transform .35s cubic-bezier(.2, .8, .2, 1); }
.hm-dev-svg { width: 62%; height: auto; overflow: visible; }
.hm-dev-svg .d-body { fill: rgba(var(--ink-rgb, 255, 255, 255), .06); stroke: rgba(var(--ink-rgb, 255, 255, 255), .55); stroke-width: 1.6; stroke-linejoin: round; }
.hm-dev-svg .d-screen { fill: rgba(var(--hm-cyan), .12); stroke: rgba(var(--hm-cyan), .55); stroke-width: 1.2; }
.hm-dev-svg .d-code { fill: none; stroke: rgba(var(--hm-cyan), .7); stroke-width: 1.6; stroke-linecap: round; }
.hm-dev-svg .d-ports rect { fill: rgba(var(--hm-cyan), .25); stroke: rgba(var(--hm-cyan), .7); stroke-width: 1; }
.hm-dev-svg .d-led { fill: rgb(var(--hm-green)); }
.hm-dev-svg .d-check { fill: none; stroke: rgb(var(--hm-green)); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .35; transition: opacity .3s; }
.hm-dev-leds { position: absolute; bottom: 8px; display: flex; gap: 4px; }
.hm-dev-leds i { width: 4px; height: 4px; border-radius: 50%; background: rgba(var(--hm-green), .35); }
.hm-net-node strong { font-size: 12px; letter-spacing: .12em; color: var(--hm-text); margin-top: 6px; }
.hm-net-node small { font-size: 11.5px; color: var(--hm-muted); }
.hm-net-meta { font: 10px/1.4 ui-monospace, Menlo, Consolas, monospace; color: rgba(var(--hm-cyan), .8); }
.hm-net-status { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); padding: 5px 10px; border-radius: 10px; background: rgba(var(--s3-rgb, 10, 10, 16), .95); border: 1px solid rgba(var(--hm-green), .45); color: rgb(var(--hm-green)); font-size: 11px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s, transform .35s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.hm-net-node.is-active .hm-net-status { opacity: 1; transform: translate(-50%, 0); }
.hm-net-node.is-active .hm-dev { border-color: rgba(var(--hm-cyan), .8); box-shadow: 0 0 0 4px rgba(var(--hm-cyan), .12), 0 0 40px rgba(var(--hm-cyan), .35); transform: scale(1.08); }
.hm-net-node.is-active .hm-dev-leds i { animation: hmLed .3s steps(2) infinite; }
.hm-net-node.is-active .hm-dev-leds i:nth-child(2) { animation-delay: .1s; }
.hm-net-node.is-active .hm-dev-leds i:nth-child(3) { animation-delay: .2s; }
@keyframes hmLed { 50% { background: rgb(var(--hm-green)); box-shadow: 0 0 6px rgb(var(--hm-green)); } }
.hm-net-node.is-done .hm-dev-svg .d-check, .hm-net-node.is-active .hm-dev-svg .d-check { opacity: 1; }
.hm-net-node.is-done .hm-dev { border-color: rgba(var(--hm-green), .45); }
.hm-packet { position: absolute; left: 0; top: 0; z-index: 3; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: rgb(var(--hm-cyan)); box-shadow: 0 0 14px rgb(var(--hm-cyan)), 0 0 34px rgba(var(--hm-cyan), .6); pointer-events: none; opacity: 0; transition: background .3s, box-shadow .3s; }
.hm-packet i { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(var(--hm-cyan), .6); animation: hmPulse 1.2s ease-out infinite; }
.hm-packet.is-secure { background: rgb(var(--hm-gold)); box-shadow: 0 0 14px rgb(var(--hm-gold)), 0 0 34px rgba(var(--hm-gold), .6); }
.hm-packet.is-secure i { border-color: rgba(var(--hm-gold), .6); }
.hm-packet.is-response { background: rgb(var(--hm-green)); box-shadow: 0 0 14px rgb(var(--hm-green)), 0 0 34px rgba(var(--hm-green), .6); }
.hm-packet.is-response i { border-color: rgba(var(--hm-green), .6); }
.hm-net-steps { list-style: none; margin: 0; padding: 0 24px 14px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.hm-net-steps li { display: grid; gap: 7px; font-size: 11.5px; color: rgb(var(--muted-rgb, 170, 166, 177)); text-align: center; }
.hm-net-steps li i { height: 4px; border-radius: 4px; background: rgba(var(--ink-rgb, 255, 255, 255), .08); overflow: hidden; position: relative; }
.hm-net-steps li i::after { content: ""; position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, rgb(var(--cyan-rgb, 56, 217, 255)), rgb(var(--green-rgb, 83, 233, 164))); transition: width .5s; }
.hm-net-steps li.is-done i::after, .hm-net-steps li.is-active i::after { width: 100%; }
.hm-net-steps li.is-active { color: rgb(var(--text-rgb, 247, 245, 240)); font-weight: 700; }
.hm-net-log span { unicode-bidi: plaintext; animation: hmFeedIn .45s cubic-bezier(.2, .8, .2, 1); }

/* =========================================================
   5. Digital Lab — an atom of experiments
   ========================================================= */
.hm-lab { width: min(300px, 100%); aspect-ratio: 1; margin: 22px auto 0; }
.hm-lab-nucleus { position: absolute; left: 50%; top: 50%; z-index: 3; width: 74px; height: 74px; margin: -37px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff8e6, rgb(var(--hm-gold)) 40%, rgba(var(--hm-gold), .35) 75%); box-shadow: 0 0 40px rgba(var(--hm-gold), .7), 0 0 90px rgba(var(--hm-gold), .3); animation: hmNucleus 3.2s ease-in-out infinite; }
.hm-lab-nucleus b { font-size: 20px; font-weight: 900; color: rgb(var(--on-accent-rgb, 23, 17, 9)); letter-spacing: .04em; }
@keyframes hmNucleus { 50% { transform: scale(1.07); box-shadow: 0 0 56px rgba(var(--hm-gold), .85), 0 0 120px rgba(var(--hm-gold), .35); } }
.hm-lab-tag { position: absolute; left: 0; top: 0; z-index: 4; padding: 2px 7px; border-radius: 8px; font-size: 10px; font-weight: 800; color: rgb(var(--c, var(--gold-rgb, 248, 184, 78))); background: rgba(var(--s3-rgb, 10, 10, 16), .85); border: 1px solid rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .4); pointer-events: none; will-change: transform; transition: opacity .3s; }
.hm-lab-term { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(var(--ink-rgb, 255, 255, 255), .08); font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: rgb(var(--green-rgb, 83, 233, 164)); min-height: 42px; direction: ltr; text-align: left; overflow: hidden; white-space: nowrap; }
.hm-lab-prompt { color: rgb(var(--gold-rgb, 248, 184, 78)); }
.hm-caret { width: 7px; height: 14px; background: currentColor; animation: hmBlink 1s steps(2) infinite; flex: none; }
.lab-list article[data-hm-lab-item] { position: relative; transition: background .3s, border-color .3s, transform .3s; border-radius: 14px; cursor: default; outline: none; }
.lab-list article[data-hm-lab-item].is-active { background: rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .07); }
.lab-list article[data-hm-lab-item].is-active span:first-child { color: rgb(var(--c, var(--gold-rgb, 248, 184, 78))); }
.hm-lab-bar { position: relative; overflow: hidden; }
.hm-lab-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .55), rgb(var(--c, var(--gold-rgb, 248, 184, 78)))); box-shadow: 0 0 12px rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .55); transition: width 1.6s cubic-bezier(.2, .8, .2, 1); position: relative; overflow: hidden; }
.hm-lab-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%); transform: translateX(-100%); animation: hmShine 2.6s ease-in-out infinite; }
@keyframes hmShine { 60%, 100% { transform: translateX(100%); } }
.lab-list.is-in .hm-lab-bar i { width: var(--p); }

/* ---------- phones ---------- */
@media (max-width: 860px) {
    .hm-ident { min-height: 620px; }
    .hm-tools { height: 760px; }
    .hm-tools-card, .hm-erp-card { top: auto; bottom: 14px; left: 14px; right: 14px; inset-inline-start: 14px; transform: none; --card-from: translateY(10px); width: auto; }
    .hm-erp { height: 620px; }
}
.hm-erp.is-compact .hm-hex-in strong { display: none; }
.hm-erp.is-compact .hm-hex-in em { font-size: 13px; }
@media (max-width: 760px) {
    .hm-ident { --core: 86px; min-height: 600px; }
    .hm-ident-node { padding: 0; width: 34px; height: 34px; border-radius: 50%; justify-content: center; gap: 0; }
    .hm-ident-node strong { display: none; }
    .hm-ident-node .hm-star { display: none; }
    .hm-ident-node em { font-size: 11px; opacity: 1; }
    .hm-ident-card { bottom: 14px; width: calc(100% - 24px); }
    .hm-tools { --core: 72px; height: auto; aspect-ratio: 1 / 1.55; }
    .hm-tools-core .hm-ring--b, .hm-tools-core .hm-core-name { display: none; }
    .hm-tool { width: 36px; }
    .hm-tool-glyph { width: 34px; height: 34px; border-radius: 11px; font-size: 9.5px; }
    .hm-tool-name { display: none; }
    .hm-tool-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
    .hm-tool-filters::-webkit-scrollbar { display: none; }
    .hm-tool-filters button { flex: none; }
    .hm-net { grid-template-columns: 1fr; gap: 26px; padding: 26px 18px; }
    .hm-net-node { grid-template-columns: 72px 1fr; justify-items: start; text-align: start; column-gap: 14px; transform: none !important; }
    .hm-net-node:nth-child(even) { margin-inline-start: 40px; }
    .hm-net-node > .hm-dev { width: 72px; height: 72px; }
    .hm-net-node strong { margin-top: 0; }
    .hm-net-node > .hm-dev { grid-row: span 5; }
    .hm-net-status { position: static; grid-column: 2; justify-self: start; margin-top: 4px; transform: translateY(4px); }
    .hm-net-node.is-active .hm-net-status { transform: none; }
    .hm-net-node.is-done:first-of-type .hm-net-status { opacity: 1; }
    .hm-net-steps { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hm-ring--a, .hm-ring--b, .hm-hex--core, .hm-net-cable--flow, .hm-lab-nucleus, .hm-lab-bar i::after, .hm-packet i, .hm-card-kicker i { animation: none !important; }
}

/* =========================================================
   6. Odoo module factory
   ========================================================= */
.of-stage { --hm-gold: var(--gold-rgb, 248, 184, 78); --hm-cyan: var(--cyan-rgb, 56, 217, 255); --hm-green: var(--green-rgb, 83, 233, 164); --hm-purple: var(--purple-rgb, 169, 112, 255); position: relative; isolation: isolate; height: 700px; border-radius: 30px; overflow: hidden; }
.of-core { position: absolute; left: 50%; top: 50%; z-index: 4; width: var(--core, 120px); height: var(--core, 120px); transform: translate(-50%, -50%); display: grid; place-items: center; pointer-events: none; }
.of-core-disc { position: relative; width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #ffffff, #f1eef6 60%, #dcd6e6); box-shadow: 0 0 0 5px rgba(7, 7, 11, .85), 0 0 50px rgba(var(--hm-purple), .45), 0 0 110px rgba(var(--hm-gold), .18); animation: ofBreath 4s ease-in-out infinite; }
.of-core-disc img { width: 68%; height: auto; display: block; }
.of-wordmark { font: 800 calc(var(--core, 120px) * .26)/1 "Inter", system-ui, sans-serif; letter-spacing: -.02em; color: #4b4453; direction: ltr; }
.of-core-ring { position: absolute; inset: -12px; border-radius: 50%; background: conic-gradient(from 0deg, rgb(var(--hm-purple)), transparent 28%, rgb(var(--hm-gold)) 50%, transparent 78%, rgb(var(--hm-purple))); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: hmSpin 7s linear infinite; filter: drop-shadow(0 0 8px rgba(var(--hm-purple), .8)); }
.of-core-count { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: rgb(var(--hm-gold)); text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.of-core-count b { font-size: 15px; color: rgb(var(--text-rgb, 247, 245, 240)); }
@keyframes ofBreath { 50% { transform: scale(1.04); } }

.of-station { position: absolute; left: 0; top: 0; z-index: 5; display: grid; justify-items: center; gap: 5px; pointer-events: none; will-change: transform; }
.of-station i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 15px; color: rgb(var(--hm-cyan)); background: rgba(var(--s4-rgb, 13, 13, 20), .92); border: 1px solid rgba(var(--hm-cyan), .35); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); transition: all .35s; direction: ltr; }
.of-station b { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: rgb(var(--muted-rgb, 170, 166, 177)); transition: color .35s; }
.of-station[data-of-station="idea"] i { --s: var(--gold-rgb, 248, 184, 78); }
.of-station[data-of-station="code"] i { --s: var(--cyan-rgb, 56, 217, 255); }
.of-station[data-of-station="test"] i { --s: var(--green-rgb, 83, 233, 164); }
.of-station[data-of-station="install"] i { --s: var(--purple-rgb, 169, 112, 255); }
.of-station i { color: rgb(var(--s)); border-color: rgba(var(--s), .35); }
.of-station.is-on i { transform: scale(1.18); background: rgba(var(--s), .2); border-color: rgb(var(--s)); box-shadow: 0 0 0 5px rgba(var(--s), .12), 0 0 30px rgba(var(--s), .55); }
.of-station.is-on b { color: rgb(var(--text-rgb, 247, 245, 240)); }

.of-mod { position: absolute; left: 0; top: 0; z-index: 5; display: grid; justify-items: center; gap: 5px; width: 92px; padding: 0; border: 0; background: none; color: rgb(var(--text-rgb, 247, 245, 240)); font: inherit; cursor: pointer; will-change: transform, opacity; transition: opacity .5s, filter .5s; }
.of-mod-glyph { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: rgb(var(--c)); background: radial-gradient(circle at 30% 25%, rgba(var(--c), .38), rgba(var(--c), .08) 62%), rgba(var(--s4-rgb, 13, 13, 20), .94); border: 1px solid rgba(var(--c), .55); box-shadow: 0 0 18px rgba(var(--c), .3); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; direction: ltr; }
.of-mod-name { overflow-wrap: anywhere; max-width: 100%; padding: 1px 6px; border-radius: 7px; font-size: 10.5px; font-weight: 700; line-height: 1.35; text-align: center; background: rgba(var(--s3-rgb, 10, 10, 16), .72); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.of-new { position: absolute; top: -8px; inset-inline-end: 14px; padding: 1px 6px; border-radius: 99px; font-style: normal; font-size: 9px; font-weight: 900; color: rgb(var(--on-accent-rgb, 23, 17, 9)); background: rgb(var(--hm-green)); box-shadow: 0 0 12px rgba(var(--hm-green), .7); animation: hmBlink 1.6s infinite; }
.of-mod.is-ghost { opacity: .18; filter: grayscale(1); }
.of-mod.is-ghost .of-mod-glyph { border-style: dashed; box-shadow: none; }
.of-mod.is-born .of-mod-glyph { animation: ofBorn .9s cubic-bezier(.2, .8, .2, 1); }
@keyframes ofBorn { 0% { transform: scale(.3); } 55% { transform: scale(1.3); box-shadow: 0 0 40px rgba(var(--c), 1), 0 0 0 8px rgba(var(--c), .25); } }
.of-mod:hover .of-mod-glyph, .of-mod:focus-visible .of-mod-glyph, .of-mod.is-hot .of-mod-glyph { transform: scale(1.18); box-shadow: 0 0 30px rgba(var(--c), .65), 0 0 0 3px rgba(var(--c), .25); }
.of-mod:focus-visible { outline: none; }
.of-stage.is-dense .of-mod { width: 46px; }
.of-stage.is-dense .of-mod-name { display: none; }

.of-capsule { position: absolute; left: 0; top: 0; z-index: 6; width: 46px; height: 46px; margin: -23px; border-radius: 14px; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .6), rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .15) 65%), rgb(var(--s4-rgb, 13, 13, 20)); border: 1.5px solid rgb(var(--c, var(--gold-rgb, 248, 184, 78))); box-shadow: 0 0 26px rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .7); pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.of-capsule b { font-size: 12px; font-weight: 900; color: #fff; direction: ltr; }
.of-capsule i { position: absolute; inset: -7px; border-radius: 18px; border: 1.5px solid rgba(var(--c, var(--gold-rgb, 248, 184, 78)), .55); animation: hmPulse 1.3s ease-out infinite; }

.of-card { inset-inline-start: 22px; top: 50%; transform: translateY(-50%); --card-from: translateY(calc(-50% + 10px)); width: min(330px, calc(100% - 32px)); }
.of-code { margin-top: 10px; padding: 10px 12px; min-height: 92px; border-radius: 12px; background: rgba(0, 0, 0, .38); border: 1px solid rgba(var(--ink-rgb, 255, 255, 255), .07); font: 11.5px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: rgb(var(--hm-green)); white-space: pre-wrap; word-break: break-word; text-align: left; }
.of-code .k { color: rgb(var(--hm-purple)); }
.of-code .s { color: rgb(var(--hm-gold)); }
.of-code .m { color: rgb(var(--muted-rgb, 170, 166, 177)); }
.of-code.is-desc { font-family: inherit; font-size: 13px; line-height: 1.75; color: rgb(var(--text-3-rgb, 199, 195, 204)); white-space: normal; text-align: start; }
.of-code-caret { display: inline-block; width: 7px; height: 13px; vertical-align: -2px; background: currentColor; animation: hmBlink 1s steps(2) infinite; }
.of-progress { display: block; height: 4px; margin-top: 12px; border-radius: 4px; background: rgba(var(--ink-rgb, 255, 255, 255), .08); overflow: hidden; }
.of-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, rgb(var(--hm-gold)), rgb(var(--hm-cyan)), rgb(var(--hm-green)), rgb(var(--hm-purple))); transition: width .3s linear; }

@media (max-width: 860px) {
    .of-stage { height: 820px; }
    .of-card { top: auto; bottom: 14px; left: 14px; right: 14px; inset-inline-start: 14px; transform: none; --card-from: translateY(10px); width: auto; }
}
@media (max-width: 760px) {
    .of-stage { height: 620px; }
    .of-mod { width: 40px; }
    .of-mod-glyph { width: 34px; height: 34px; border-radius: 10px; font-size: 10.5px; }
    .of-mod-name { display: none; }
    .of-new { top: -9px; inset-inline-end: -10px; font-size: 8px; }
    .of-station i { width: 34px; height: 34px; border-radius: 11px; font-size: 12px; }
    .of-station b { font-size: 10px; }
    .of-code { min-height: 76px; font-size: 11px; }
    .of-core-count { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .of-core-disc, .of-core-ring, .of-capsule i, .of-new { animation: none !important; }
}

/* admin → Motion: a section switched off stays as a still picture */
.is-still .hm-ring--a, .is-still .hm-ring--b, .is-still .hm-hex--core, .is-still .hm-net-cable--flow, .is-still .hm-lab-nucleus, .is-still .hm-lab-bar i::after, .is-still .hm-packet i, .is-still .hm-card-kicker i,
.of-stage.is-still .of-core-disc, .of-stage.is-still .of-core-ring, .of-stage.is-still .of-capsule i, .of-stage.is-still .of-new { animation: none !important; }
[dir="rtl"] .of-code.is-desc { direction: rtl; }

/* Code Arena link in the menus */
.desktop-nav .nav-arena-link, .mobile-nav .nav-arena-link, .mobile-nav .nav-arena-link span { display: inline-flex; align-items: center; gap: 7px; }
.nav-arena-bolt { width: 14px; height: 14px; flex: none; fill: rgb(var(--gold-rgb, 243, 182, 75)); filter: drop-shadow(0 0 5px rgba(var(--gold-rgb, 243, 182, 75), .8)); animation: navArenaZap 2.6s ease-in-out infinite; }
@keyframes navArenaZap { 0%, 82%, 100% { opacity: 1; transform: none; } 86% { opacity: .35; transform: scale(.85) rotate(-8deg); } 90% { opacity: 1; transform: scale(1.18) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .nav-arena-bolt { animation: none; } }

/* Odoo Works menu link */
.desktop-nav .nav-odoo-link, .mobile-nav .nav-odoo-link, .mobile-nav .nav-odoo-link span { display: inline-flex; align-items: center; gap: 7px; }
.nav-odoo-cube { width: 14px; height: 14px; flex: none; fill: rgba(192, 140, 255, .18); stroke: #c08cff; stroke-width: 1.8; stroke-linejoin: round; animation: navOdooSpin 6s ease-in-out infinite; }
@keyframes navOdooSpin { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-12deg) scale(1.1); } 90% { transform: rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .nav-odoo-cube { animation: none; } }

/* "My pages" dropdown keeps the desktop menu on one line */
.desktop-nav a { white-space: nowrap; }
.nav-pages { position: relative; display: flex; align-items: center; }
.nav-pages-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 12px; cursor: pointer; white-space: nowrap; }
.nav-pages-btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nav-pages-menu { position: absolute; top: 100%; inset-inline-start: -16px; z-index: 120; display: flex; flex-direction: column; gap: 2px; min-width: 210px; margin-top: 14px; padding: 8px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(11, 12, 19, .97); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-pages-menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav-pages-menu a { display: flex !important; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 10px; font-size: 13px; }
.nav-pages-menu a:hover, .nav-pages-menu a:focus-visible { background: rgba(255, 255, 255, .06); }
.nav-pages:hover .nav-pages-menu, .nav-pages:focus-within .nav-pages-menu, .nav-pages.is-open .nav-pages-menu { opacity: 1; visibility: visible; transform: none; }
.nav-pages:hover .nav-pages-btn svg, .nav-pages.is-open .nav-pages-btn svg { transform: rotate(180deg); }
@media (max-width: 1360px) { .desktop-nav { gap: 18px; } }

/* ===== "Explore my pages" strip: phones and tablets only (where the desktop menu is hidden) ===== */
.pg-strip { display: none; }
@media (max-width: 1120px) {
    .pg-strip { --pg-k: 1; display: block; position: relative; z-index: 3; width: min(100% - 28px, 1100px); margin: 6px auto 30px; }
    .pg-speed-calm { --pg-k: 1.5; } .pg-speed-lively { --pg-k: .7; }
    .pg-head { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 12px; }
    .pg-head b { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; color: #fff; }
    .pg-head b i { width: 9px; height: 9px; border-radius: 50%; background: #ffd36b; box-shadow: 0 0 0 0 rgba(255, 211, 107, .6); animation: pgBeacon calc(2s * var(--pg-k)) ease-out infinite; }
    .pg-head span { font-size: 12px; color: #8b879a; }
    .pg-head em { display: inline-block; font-style: normal; animation: pgNudge calc(1.6s * var(--pg-k)) ease-in-out infinite; }
    .pg-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(172px, 46%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .pg-track::-webkit-scrollbar { display: none; }
    .pg-card { --pg-c: 192, 140, 255; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 12px; border-radius: 20px; overflow: hidden; scroll-snap-align: start; text-decoration: none; color: inherit; background: linear-gradient(160deg, rgba(var(--pg-c), .16), rgba(12, 13, 21, .96) 55%); border: 1px solid rgba(var(--pg-c), .38); box-shadow: 0 14px 34px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .06); transition: transform .18s; animation: pgIn .6s cubic-bezier(.2, .8, .2, 1) both; }
    .pg-card:nth-child(2) { animation-delay: .12s; } .pg-card:nth-child(3) { animation-delay: .24s; }
    .pg-card:active { transform: scale(.97); }
    .pg-card::after { content: ""; position: absolute; inset: -40% auto -40% -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13), transparent); transform: translateX(0) rotate(18deg); animation: pgShine calc(4.5s * var(--pg-k)) ease-in-out infinite; pointer-events: none; }
    .pg-card:nth-child(2)::after { animation-delay: 1.5s; } .pg-card:nth-child(3)::after { animation-delay: 3s; }
    .pg-card--live { --pg-c: 85, 232, 170; } .pg-card--arena { --pg-c: 255, 211, 107; }
    .pg-scene { position: relative; display: block; height: 116px; border-radius: 14px; overflow: hidden; background: radial-gradient(circle at 50% 55%, rgba(var(--pg-c), .18), rgba(6, 7, 12, .9) 70%); }
    .pg-text { display: grid; gap: 3px; padding: 0 4px; }
    .pg-text b { font-size: 14.5px; font-weight: 800; color: #fff; line-height: 1.3; }
    .pg-text small { font-size: 11.5px; color: #a9a4b4; line-height: 1.45; }
    .pg-go { align-self: flex-start; margin-top: auto !important; display: inline-flex; align-items: center; gap: 6px; margin: 0 4px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #0b0c12; background: rgb(var(--pg-c)); box-shadow: 0 0 18px rgba(var(--pg-c), .45); }
    .pg-go em { font-style: normal; display: inline-block; animation: pgNudge calc(1.6s * var(--pg-k)) ease-in-out infinite; }

    /* Odoo: a little galaxy, planets pass behind and in front of the logo */
    .pg-glow { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: radial-gradient(circle, rgba(113, 75, 103, .7), rgba(192, 140, 255, .14) 50%, transparent 70%); animation: pgBreath calc(4s * var(--pg-k)) ease-in-out infinite; }
    .pg-orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
    .pg-orbit::before { content: ""; position: absolute; left: calc(-1 * var(--rx)); top: calc(-1 * var(--ry)); width: calc(2 * var(--rx)); height: calc(2 * var(--ry)); border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .16); }
    .pg-orbit--1 { --rx: 50px; --ry: 20px; --D: calc(1.5s * var(--pg-k)); }
    .pg-orbit--2 { --rx: 74px; --ry: 30px; --D: calc(2.3s * var(--pg-k)); }
    .pg-orbit--2::before { border-color: rgba(255, 211, 107, .2); }
    .pg-orbit i { position: absolute; left: 0; top: 0; width: 0; height: 0; animation: pgY var(--D) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
    .pg-orbit i::before { content: ""; position: absolute; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--pc, #ffd36b); box-shadow: 0 0 10px var(--pc, #ffd36b); animation: pgX var(--D) ease-in-out infinite alternate; animation-delay: calc(var(--dl, 0s) - var(--D) / 2); }
    .pg-orbit--2 i::before { animation-direction: alternate-reverse; width: 7px; height: 7px; margin: -3.5px; }
    .pg-orbit--1 i:nth-child(1) { --pc: #ffd36b; }
    .pg-orbit--1 i:nth-child(2) { --pc: #38d9ff; --dl: calc(-2 * var(--D) / 3); }
    .pg-orbit--1 i:nth-child(3) { --pc: #ff79c6; --dl: calc(-4 * var(--D) / 3); }
    .pg-orbit--2 i:nth-child(1) { --pc: #55e8aa; }
    .pg-orbit--2 i:nth-child(2) { --pc: #c08cff; --dl: calc(-1 * var(--D)); }
    .pg-core { position: absolute; left: 50%; top: 50%; z-index: 2; width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ece4ee 65%, #d4c6d8); box-shadow: 0 0 0 4px rgba(113, 75, 103, .45), 0 0 26px rgba(192, 140, 255, .6); }
    .pg-core img { max-width: 72%; max-height: 50%; }
    .pg-core b { font: 900 12px/1 system-ui, sans-serif; color: #714b67; letter-spacing: -.3px; }

    /* Live projects: buildings rise, the crane swings, the progress bar fills */
    .pg-live-badge { position: absolute; top: 9px; inset-inline-start: 9px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font: 800 9.5px/1 system-ui, sans-serif; letter-spacing: .08em; color: #55e8aa; background: rgba(85, 232, 170, .12); border: 1px solid rgba(85, 232, 170, .4); }
    .pg-live-badge i { width: 6px; height: 6px; border-radius: 50%; background: #55e8aa; animation: pgBlink calc(1.2s * var(--pg-k)) ease-in-out infinite; }
    .pg-city { position: absolute; left: 12px; right: 12px; padding-inline-end: 34px; bottom: 22px; height: 70px; display: flex; align-items: flex-end; justify-content: center; gap: 6px; }
    .pg-city i { width: 15%; border-radius: 4px 4px 0 0; transform-origin: bottom; background: repeating-linear-gradient(180deg, rgba(85, 232, 170, .5) 0 3px, transparent 3px 9px), linear-gradient(180deg, rgba(85, 232, 170, .35), rgba(56, 217, 255, .15)); border: 1px solid rgba(85, 232, 170, .45); animation: pgRise calc(3.2s * var(--pg-k)) ease-in-out infinite; }
    .pg-city i:nth-child(1) { height: 46%; animation-delay: -.4s; } .pg-city i:nth-child(2) { height: 78%; animation-delay: -1.2s; } .pg-city i:nth-child(3) { height: 100%; animation-delay: -2s; } .pg-city i:nth-child(4) { height: 62%; animation-delay: -.8s; } .pg-city i:nth-child(5) { height: 36%; animation-delay: -2.6s; }
    .pg-crane { position: absolute; right: 22px; bottom: 22px; width: 3px; height: 82px; background: #ffd36b; border-radius: 2px; }
    [dir="rtl"] .pg-crane { right: auto; left: 22px; transform: scaleX(-1); }
    .pg-crane i { position: absolute; top: 0; left: -34px; width: 48px; height: 3px; background: #ffd36b; transform-origin: 34px 1.5px; animation: pgSwing calc(3s * var(--pg-k)) ease-in-out infinite alternate; }
    .pg-crane i::after { content: ""; position: absolute; left: 4px; top: 3px; width: 1px; height: 16px; background: rgba(255, 211, 107, .7); }
    .pg-bar { position: absolute; left: 12px; right: 12px; bottom: 9px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
    .pg-bar i { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, #55e8aa, #38d9ff); transform-origin: left; animation: pgFill calc(4s * var(--pg-k)) ease-in-out infinite; }
    [dir="rtl"] .pg-bar i { transform-origin: right; }

    /* Code Arena: code types itself, the bolt strikes, sparks fly */
    .pg-aura { position: absolute; left: 50%; top: 58%; width: 130px; height: 90px; margin: -45px 0 0 -65px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 211, 107, .4), transparent 70%); animation: pgBreath calc(1.8s * var(--pg-k)) ease-in-out infinite; }
    .pg-laptop { position: absolute; left: 50%; bottom: 14px; width: 104px; margin-left: -52px; }
    .pg-screen { display: grid; align-content: start; gap: 6px; height: 62px; padding: 9px; border-radius: 7px 7px 2px 2px; background: #0b0d17; border: 2px solid #3a3f5c; box-shadow: 0 0 16px rgba(255, 211, 107, .25); }
    .pg-screen i { height: 4px; border-radius: 2px; transform-origin: left; animation: pgType calc(2.8s * var(--pg-k)) steps(8) infinite; }
    .pg-screen i:nth-child(1) { width: 70%; background: #c08cff; } .pg-screen i:nth-child(2) { width: 88%; background: #38d9ff; animation-delay: .35s; } .pg-screen i:nth-child(3) { width: 54%; background: #55e8aa; animation-delay: .7s; } .pg-screen i:nth-child(4) { width: 76%; background: #ffd36b; animation-delay: 1.05s; }
    .pg-base { display: block; height: 7px; margin: 0 -10px; border-radius: 0 0 8px 8px; background: linear-gradient(#4a5070, #2a2e44); }
    .pg-bolt { position: absolute; top: 8px; inset-inline-end: 16px; width: 30px; height: 30px; fill: #ffd36b; filter: drop-shadow(0 0 8px #ffd36b); animation: pgStrike calc(2.6s * var(--pg-k)) ease-out infinite; }
    .pg-spark { position: absolute; bottom: 30px; width: 4px; height: 4px; border-radius: 50%; background: #ffd36b; box-shadow: 0 0 8px #ffd36b; opacity: 0; animation: pgSpark calc(2.2s * var(--pg-k)) ease-out infinite; }
    .pg-spark--1 { left: 26%; } .pg-spark--2 { left: 52%; animation-delay: .7s; } .pg-spark--3 { left: 74%; animation-delay: 1.4s; }

    /* paused while off screen; a tidy still picture when motion is off */
    .pg-strip.is-paused *, .pg-strip.is-paused *::before, .pg-strip.is-paused *::after { animation-play-state: paused !important; }
    .pg-strip.is-still *, .pg-strip.is-still *::before, .pg-strip.is-still *::after { animation: none !important; }
    .pg-strip.is-still .pg-orbit i:nth-child(1) { transform: translateY(var(--ry)) scale(1.1); z-index: 3; }
    .pg-strip.is-still .pg-orbit i:nth-child(1)::before { transform: translateX(calc(var(--rx) * -.4)); }
    .pg-strip.is-still .pg-orbit i:nth-child(2) { transform: translateY(calc(var(--ry) * -.6)) scale(.8); }
    .pg-strip.is-still .pg-orbit i:nth-child(2)::before { transform: translateX(var(--rx)); }
    .pg-strip.is-still .pg-orbit i:nth-child(3) { transform: translateY(calc(var(--ry) * -.3)) scale(.85); }
    .pg-strip.is-still .pg-orbit i:nth-child(3)::before { transform: translateX(calc(var(--rx) * -1)); }
    .pg-strip.is-still .pg-bar i { transform: scaleX(.72); }
    .pg-strip.is-still .pg-spark { display: none; }
}
@media (max-width: 1120px) and (prefers-reduced-motion: reduce) {
    .pg-strip *, .pg-strip *::before, .pg-strip *::after { animation: none !important; }
}
@keyframes pgIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes pgBeacon { 70% { box-shadow: 0 0 0 9px rgba(255, 211, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 211, 107, 0); } }
@keyframes pgNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(calc(-4px * var(--pg-dir, 1))); } }
[dir="ltr"] .pg-strip { --pg-dir: -1; }
@keyframes pgShine { 0%, 55% { transform: translateX(0) rotate(18deg); } 100% { transform: translateX(560%) rotate(18deg); } }
@keyframes pgBreath { 0%, 100% { transform: scale(.92); opacity: .75; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes pgY { from { transform: translateY(calc(-1 * var(--ry))) scale(.7); z-index: 1; opacity: .55; } to { transform: translateY(var(--ry)) scale(1.15); z-index: 3; opacity: 1; } }
@keyframes pgX { from { transform: translateX(calc(-1 * var(--rx))); } to { transform: translateX(var(--rx)); } }
@keyframes pgBlink { 50% { opacity: .25; } }
@keyframes pgRise { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@keyframes pgSwing { from { transform: rotate(-8deg); } to { transform: rotate(10deg); } }
@keyframes pgFill { 0% { transform: scaleX(.08); } 80%, 100% { transform: scaleX(1); } }
@keyframes pgType { 0% { transform: scaleX(0); } 45%, 100% { transform: scaleX(1); } }
@keyframes pgStrike { 0%, 70% { opacity: .35; transform: scale(.9); } 74% { opacity: 1; transform: scale(1.25) rotate(-6deg); } 80% { opacity: .6; } 84% { opacity: 1; transform: scale(1.1); } 100% { opacity: .35; transform: scale(.9); } }
@keyframes pgSpark { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(10px, -60px); } }

/* ===== Desktop menu v2: a glass capsule, a glowing light that follows the mouse and the current section ===== */
@media (min-width: 1121px) {
    .desktop-nav { position: relative; gap: 2px; padding: 5px; border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(0, 0, 0, .25); }
    .nav-ring { position: absolute; inset: -1px; border-radius: inherit; padding: 1px; overflow: hidden; pointer-events: none; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
    .nav-ring::before { content: ""; position: absolute; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; margin: -70% 0 0 -70%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(248, 184, 78, .9) 80%, rgba(56, 217, 255, .9) 88%, transparent 96%); animation: navRing 7s linear infinite; }
    .desktop-nav > a, .desktop-nav .nav-pages-btn { position: relative; z-index: 1; padding: 8px 12px; border-radius: 999px; line-height: 1.2; transition: color .25s, text-shadow .25s; }
    .desktop-nav > a::after { display: none; }
    .desktop-nav > a:hover, .desktop-nav > a.active, .desktop-nav .nav-pages-btn:hover { color: #fff; text-shadow: 0 0 14px rgba(248, 184, 78, .45); }
    .nav-glider { position: absolute; left: 0; top: 5px; bottom: 5px; width: 0; z-index: 0; border-radius: 999px; opacity: 0; pointer-events: none; background: linear-gradient(180deg, rgba(248, 184, 78, .22), rgba(248, 184, 78, .08)); border: 1px solid rgba(248, 184, 78, .42); box-shadow: 0 0 18px rgba(248, 184, 78, .25), inset 0 1px 0 rgba(255, 255, 255, .12); transition: transform .5s cubic-bezier(.3, 1.35, .45, 1), width .5s cubic-bezier(.3, 1.35, .45, 1), opacity .3s, background .3s, border-color .3s; }
    [dir="rtl"] .nav-glider { left: 0; right: auto; }
    .nav-glider.is-hover { background: linear-gradient(180deg, rgba(56, 217, 255, .2), rgba(56, 217, 255, .06)); border-color: rgba(56, 217, 255, .45); box-shadow: 0 0 20px rgba(56, 217, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .12); }
    .nav-glider::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: #ffd36b; box-shadow: 0 0 10px #ffd36b; }
    .nav-glider.is-hover::after { background: #38d9ff; box-shadow: 0 0 10px #38d9ff; }

    /* "My pages" button stands out a little */
    .desktop-nav .nav-pages-btn { gap: 7px; color: #ffe2a3; font-weight: 700; }
    .nav-pages-spark { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #ffd36b; box-shadow: 0 0 10px #ffd36b; }
    .nav-pages-spark::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(255, 211, 107, .7); animation: navSpark 2.2s ease-out infinite; }

    /* richer dropdown */
    .nav-pages-menu { min-width: 290px; padding: 10px; gap: 4px; border-radius: 20px; background: radial-gradient(circle at 15% 0%, rgba(248, 184, 78, .12), transparent 45%), rgba(11, 12, 19, .97); border-color: rgba(255, 255, 255, .1); }
    .nav-pages-head { display: block; padding: 4px 10px 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: #8b879a; }
    .nav-pages-menu .np-item { gap: 12px !important; padding: 9px 10px !important; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s; }
    .nav-pages-menu .np-item:hover, .nav-pages-menu .np-item:focus-visible { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .08); transform: translateX(var(--np-shift, 4px)); }
    [dir="rtl"] .nav-pages-menu { --np-shift: -4px; }
    .np-ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; }
    .np-ico svg { width: 18px; height: 18px; }
    .np-ico--odoo { background: rgba(192, 140, 255, .14); border: 1px solid rgba(192, 140, 255, .35); }
    .np-ico--live { background: rgba(85, 232, 170, .12); border: 1px solid rgba(85, 232, 170, .35); }
    .np-ico--arena { background: rgba(255, 211, 107, .12); border: 1px solid rgba(255, 211, 107, .35); }
    .np-ico--tools { background: rgba(56, 217, 255, .12); border: 1px solid rgba(56, 217, 255, .35); }
    .np-ico--tools svg { fill: none; stroke: #38d9ff; stroke-width: 1.8; stroke-linejoin: round; }
    .np-ico .nav-arena-bolt { fill: #ffd36b; }
    .np-txt { display: grid; gap: 2px; min-width: 0; }
    .np-txt b { font-size: 13px; font-weight: 700; color: #fff; }
    .np-txt small { font-size: 11px; color: #8b879a; white-space: nowrap; }
    .nav-pages-menu .np-item { opacity: 0; transform: translateY(6px); }
    .nav-pages:hover .np-item, .nav-pages:focus-within .np-item, .nav-pages.is-open .np-item { opacity: 1; transform: none; transition: opacity .3s, transform .3s, background .2s, border-color .2s; }
    .nav-pages .np-item:nth-of-type(2) { transition-delay: .05s; } .nav-pages .np-item:nth-of-type(3) { transition-delay: .1s; } .nav-pages .np-item:nth-of-type(4) { transition-delay: .15s; }
    .nav-pages:hover .np-item:hover { transition-delay: 0s; }

    /* the call-to-action button gets a passing shine */
    .header-actions .header-dynamic-cta, .header-actions .header-contact { position: relative; overflow: hidden; }
    .header-actions .header-dynamic-cta::before, .header-actions .header-contact::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: navShine 5s ease-in-out infinite; pointer-events: none; }

    .desktop-nav.is-still .nav-ring::before, .desktop-nav.is-still .nav-pages-spark::after { animation: none; }
}
@media (min-width: 1121px) and (max-width: 1360px) {
    .desktop-nav > a, .desktop-nav .nav-pages-btn { padding: 8px 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .nav-ring::before, .nav-pages-spark::after, .header-actions .header-dynamic-cta::before, .header-actions .header-contact::before { animation: none !important; }
    .nav-glider { transition: opacity .2s; }
}
@keyframes navRing { to { transform: rotate(360deg); } }
@keyframes navSpark { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes navShine { 0%, 70% { transform: translateX(0) skewX(-20deg); } 100% { transform: translateX(480%) skewX(-20deg); } }
@media (min-width: 1121px) {
    .header-actions .header-dynamic-cta, .header-actions .header-contact { white-space: nowrap; }
}
@media (min-width: 1121px) and (max-width: 1480px) {
    .site-header .header-actions .language-text { display: none; }
    .site-header .header-actions .language-switch { min-width: 0; padding: 7px; }
}

/* The hero text starts its entrance on first paint instead of waiting for the scroll script,
   so the headline is on screen within about a second (this is what Google times as the page being ready). */
.hero .hero-copy.reveal-up { opacity: 1; transform: none; transition: none; animation: heroCopyIn .8s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes heroCopyIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .hero-copy.reveal-up { animation: none; } }

/* /assets/css/genie-intro.css */
/* Welcome genie (v5.0.2): a golden genie beside the words (right in Arabic, left in English) greets first-time
   visitors in a starry sky, opens with a puff of magic and talks word by word with his hands. At the end his son,
   the site's own little genie, pops out, says hello and flies to his place on the site while the screen fades. */
.gi-screen { display: none; }
html.gi-on, html.gi-on body { overflow: hidden !important; }
/* v5.0.2: the scrollbar's place is kept while the welcome plays, so the page does not reflow when it comes back */
html.gi-on, html.gi-out, html.gi-hold { scrollbar-gutter: stable; }
html.gi-on .gi-screen, html.gi-out .gi-screen {
    position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center;
    /* v5.0.1: the nebula is part of the painted background (no extra moving layer, so nothing to repaint while he talks) */
    background: radial-gradient(38% 30% at 24% 30%, rgba(124, 84, 230, .18), transparent 70%), radial-gradient(34% 28% at 78% 64%, rgba(40, 140, 225, .13), transparent 70%),
        radial-gradient(28% 22% at 56% 88%, rgba(246, 182, 72, .07), transparent 70%), radial-gradient(ellipse at 50% 40%, #151a35 0%, #080a16 55%, #020308 100%);
    color: #f4f2f8; font-family: inherit; overflow: hidden; isolation: isolate;
    transition: opacity .75s cubic-bezier(.4, 0, .2, 1);
}
html.gi-on .gn-layer, html.gi-on .gn-lamp, html.gi-hold .gn-layer, html.gi-hold .gn-lamp { visibility: hidden !important; }
/* nothing behind the welcome needs painting while it plays */
html.gi-on body > :not(.gi-screen):not(.gi-junior) { visibility: hidden; }
/* a moment before leaving, the site paints once under the still-opaque welcome so the reveal does not stutter */
html.gi-on.gi-pre body > :not(.gi-screen):not(.gi-junior) { visibility: visible; }
/* v5.0.2: from then until the little genie lands, the site underneath stands still (it is painted once, nothing
   on it repaints while he talks and flies) and wakes up when he arrives */
html.gi-still body > :not(.gi-screen):not(.gi-junior), html.gi-still body > :not(.gi-screen):not(.gi-junior) * { animation-play-state: paused !important; }
/* choosing the other language opens the other page: Chrome cross-fades between the two instead of cutting */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: ease; }
.gi-screen.is-leaving { opacity: 0; pointer-events: none; }
.gi-sky, .gi-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gi-sky { z-index: 0; }
.gi-fx { z-index: 2; }

/* two columns: the genie on the reading-start side, the words beside him */
.gi-stage { position: relative; z-index: auto; width: min(1180px, 94vw); display: grid; grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
    align-items: center; column-gap: clamp(16px, 4vw, 64px); padding-bottom: 2vh; }
.gi-genie { position: relative; z-index: 1; justify-self: center; width: clamp(250px, 50vh, 460px); aspect-ratio: 160 / 232;
    transition: transform 1.1s cubic-bezier(.6, 0, .2, 1), opacity .9s ease; opacity: 0; }
/* he rises only once the page has settled, so his entrance is not interrupted by the page still loading */
.gi-screen.is-ready .gi-genie { opacity: 1; animation: giEnter 1.3s cubic-bezier(.2, .9, .25, 1.08) backwards; }
.gi-genie::before { content: ""; position: absolute; inset: 8% 4% 18%; border-radius: 50%; z-index: -1;
    background: radial-gradient(circle, rgba(var(--gn-rgb, 246, 182, 72), .26), transparent 68%); }
.gi-genie svg { width: 100%; height: 100%; overflow: visible; display: block; }
.gi-genie .gi-aura { animation: giAura 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

/* hands: one shape at a time, swapped with a tiny pop */
.gi-genie .gi-palm, .gi-genie .gi-point, .gi-genie .gi-fist { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: left center; transition: opacity .16s, transform .24s cubic-bezier(.3, 1.6, .5, 1); }
.gi-genie [data-pose="palm"] .gi-palm, .gi-genie [data-pose="point"] .gi-point, .gi-genie [data-pose="fist"] .gi-fist { opacity: 1; transform: none; }

/* face: blinking, the wink, and the mouth that follows the mood and the words */
.gi-genie .gi-eye { transform-box: fill-box; transform-origin: center; transition: transform .09s; }
.gi-genie.is-blink .gi-eye, .gi-genie[data-mood="wink"] .gi-eye-r { transform: scaleY(.1); }
.gi-genie .gi-brow { transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.gi-genie .gi-m-grin, .gi-genie .gi-m-open { opacity: 0; transition: opacity .1s; }
.gi-genie[data-mood="joy"] .gi-m-grin, .gi-genie[data-mood="wink"] .gi-m-grin, .gi-genie[data-mood="sly"] .gi-m-grin { opacity: 1; }
.gi-genie[data-mood="joy"] .gi-m-smile, .gi-genie[data-mood="wink"] .gi-m-smile, .gi-genie[data-mood="sly"] .gi-m-smile { opacity: 0; }
.gi-genie[data-mood="surprised"] .gi-m-open, .gi-genie.is-talk .gi-m-open { opacity: 1; }
.gi-genie[data-mood="surprised"] .gi-m-smile, .gi-genie[data-mood="surprised"] .gi-m-grin,
.gi-genie.is-talk .gi-m-smile, .gi-genie.is-talk .gi-m-grin { opacity: 0; }
.gi-screen.is-warp .gi-genie { transform: scale(2.4) translateY(4%); opacity: 0; }
.gi-screen.is-bye .gi-genie { transform: scale(.72) translateY(-5%); opacity: 0; transition: transform .9s cubic-bezier(.5, 0, .2, 1), opacity .6s ease; }

/* the little genie: the site's own genie (same drawing), placed and scaled by the script */
.gi-junior { display: none; }
.gi-junior { --jw: clamp(96px, 17vh, 150px); }
html.gi-on .gi-junior, html.gi-out .gi-junior, html.gi-hold .gi-junior { display: block; position: fixed; left: 0; top: 0; z-index: 2147483001; pointer-events: none;
    width: var(--jw); height: calc(var(--jw) * 1.34); margin-left: calc(var(--jw) * -.5); margin-top: calc(var(--jw) * -.5); transform-origin: 50% 37.3%; will-change: transform; transition: opacity .45s ease; }
/* the same look and life as the site genie (genie.css) */
.gi-junior svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; filter: drop-shadow(0 0 10px rgba(var(--gn-rgb, 246, 182, 72), .5)); }
.gi-junior .jr-eye { transform-box: fill-box; transform-origin: center; animation: jrBlink 3.6s infinite; }
.gi-junior .jr-happy, .gi-junior .jr-mouth-o { opacity: 0; transition: opacity .1s; }
.gi-junior.is-happy .jr-happy { opacity: 1; }
.gi-junior.is-happy .jr-eye { opacity: 0; }
.gi-junior.is-talk .jr-mouth-o { opacity: 1; }
.gi-junior.is-talk .jr-mouth { opacity: 0; }
.gi-junior .jr-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: jrFlame .45s ease-in-out infinite alternate; }
.gi-junior .jr-emblem { animation: jrGlow 2.4s ease-in-out infinite; }
.gi-junior .jr-spark { transform-box: fill-box; transform-origin: center; animation: jrTwinkle 1.8s ease-in-out infinite; }
.gi-junior .jr-spark:nth-of-type(2) { animation-delay: -.6s; } .gi-junior .jr-spark:nth-of-type(3) { animation-delay: -1.2s; }
.gi-junior.is-gone { opacity: 0; }
.gi-board.is-junior .gi-word.is-now { color: #8fe9ff; text-shadow: 0 0 22px rgba(56, 217, 255, .55); }
.gi-tag { display: table; margin: 0 0 .35em; font-size: .38em; font-weight: 800; letter-spacing: .02em; padding: .3em .9em; border-radius: 999px;
    color: #bff3ff; background: rgba(56, 217, 255, .12); border: 1px solid rgba(56, 217, 255, .35); animation: giTag .5s cubic-bezier(.2, .9, .3, 1.3) backwards; }
@media (max-width: 860px) { .gi-tag { margin-inline: auto; } }

/* the words */
.gi-board { position: relative; z-index: 3; min-height: 4.2em; text-align: start; font-size: clamp(26px, 2.9vw, 48px); line-height: 1.5; font-weight: 800;
    letter-spacing: -.01em; transition: opacity .35s ease, transform .4s cubic-bezier(.4, 0, .2, 1); text-wrap: balance; }
.gi-board.is-out { opacity: 0; transform: translateY(-10px); }
.gi-word { position: relative; display: inline-block; opacity: 0; transform: translateY(.22em) scale(.96); margin: 0 .12em;
    transition: opacity .3s ease, transform .5s cubic-bezier(.2, .9, .25, 1.15), color .5s, text-shadow .5s; }
.gi-word.is-in { opacity: 1; transform: none; }
.gi-word::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: .02em; height: .07em; min-height: 2px; border-radius: 2px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 220, 140, 1), transparent); transform: scaleX(0); opacity: 0; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .6s ease; }
.gi-word.is-now { color: #ffe0a0; text-shadow: 0 0 24px rgba(255, 211, 107, .6); }
.gi-word.is-now::after { transform: scaleX(1); opacity: 1; transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .15s; }
.gi-board.is-junior .gi-word::after { background: linear-gradient(90deg, transparent, rgba(160, 238, 255, 1), transparent); }
.gi-board.is-talking:not(.is-magic) .gi-word.is-in:not(.is-now):not(.is-name) { color: rgba(244, 242, 248, .8); }
.gi-word.is-name { background: linear-gradient(90deg, #ffe3a0, #f6b648 50%, #ffe3a0); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.gi-board.is-magic .gi-word { background: linear-gradient(100deg, #fff1c9 10%, #ffcf5c 40%, #c9a2ff 70%, #fff1c9 95%); background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; animation: giShimmer 2.4s linear infinite; }
.gi-board.is-magic .gi-word.is-in { filter: drop-shadow(0 0 14px rgba(200, 160, 255, .45)); }

.gi-skip { position: absolute; top: max(16px, env(safe-area-inset-top)); inset-inline-end: 18px; z-index: 4; display: inline-flex; gap: 8px; align-items: center;
    border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: #e8e5ef; font: inherit; font-size: 14px; font-weight: 700;
    padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, border-color .2s; }
.gi-skip:hover, .gi-skip:focus-visible { background: rgba(255, 255, 255, .16); border-color: rgba(255, 211, 107, .6); outline: none; }
.gi-enter { margin-top: 10px; border: 0; border-radius: 999px; padding: 13px 26px; font: inherit; font-size: 16px; font-weight: 900; cursor: pointer;
    background: linear-gradient(135deg, #ffd36b, #f6b648); color: #1a1205; box-shadow: 0 12px 34px rgba(246, 182, 72, .35); animation: giPulse 1.6s ease-in-out infinite; }

@keyframes giEnter { from { transform: translateY(30vh) scale(.4) rotate(-10deg); opacity: 0; } 60% { opacity: 1; } }
@keyframes giAura { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes giPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
/* the language question: two lanterns (عربي / English) and "meet the engineer first" */
.gi-board.is-ask { text-align: center; }
.gi-ask { display: grid; gap: .15em; margin-bottom: .45em; animation: giAskIn .6s cubic-bezier(.2, .9, .3, 1.1) backwards; }
.gi-ask span { display: block; }
.gi-ask span[lang=ar] { background: linear-gradient(180deg, #fff 30%, #e6dcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gi-ask span[lang=en] { font-size: .58em; font-weight: 700; color: #c9c2e2; letter-spacing: .005em; }

/* v5 lanterns: a gold frame, dark glass and a living flame; hover lifts, tilts towards the pointer and lights it up */
@property --hot { syntax: '<number>'; inherits: true; initial-value: 0; }
.gi-langs { display: flex; justify-content: center; align-items: flex-start; gap: clamp(30px, 5vw, 72px); margin: .1em 0 .5em; }
.gi-lang { --g: 255, 196, 84; --g2: 255, 240, 196; --hot: 0; position: relative; display: grid; justify-items: center; gap: 12px; border: 0; background: none; padding: 0 8px 6px; cursor: pointer; color: #fff; font: inherit;
    -webkit-tap-highlight-color: transparent; transform-origin: 50% 0; transition: --hot .45s ease;
    animation: giLampIn .9s cubic-bezier(.2, .9, .25, 1.2) backwards, giSwing 4.4s ease-in-out infinite; animation-delay: var(--d, 0ms), calc(var(--d, 0ms) + .9s); }
.gi-lang[data-l=en] { --g: 110, 186, 255; --g2: 214, 238, 255; animation-delay: var(--d, 0ms), calc(var(--d, 0ms) - 1.3s); }
.gi-lang:hover, .gi-lang.is-hot { --hot: 1; }
.gi-lang.is-guess .gi-lamp-halo::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--g), .34), transparent 62%); animation: giBreath 2.6s ease-in-out infinite 1.4s; transition: opacity .4s; }
.gi-lang.is-guess:hover .gi-lamp-halo::after, .gi-lang.is-guess.is-hot .gi-lamp-halo::after { opacity: 0; animation: none; }
.gi-lamp-string { width: 1.5px; height: 30px; margin-bottom: -12px; background: linear-gradient(rgba(255, 230, 170, 0), rgba(255, 230, 170, .75)); }
.gi-lamp { position: relative; display: grid; justify-items: center; will-change: transform;
    transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(calc(var(--hot) * -10px)) scale(calc(1 + var(--hot) * .07));
    transition: transform .55s cubic-bezier(.2, .9, .3, 1.2); }
.gi-lang:not(:hover):not(.is-hot) .gi-lamp { transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.gi-lamp-ring { width: 13px; height: 13px; border-radius: 50%; border: 2.5px solid #e6b450; margin-bottom: -3px; box-shadow: 0 0 6px rgba(255, 210, 120, .4); }
.gi-lamp-top { width: 50px; height: 20px; position: relative; z-index: 1; background: linear-gradient(90deg, #8a5a14, #f6d488 30%, #fff3cc 45%, #d39b35 65%, #7c5212);
    clip-path: polygon(32% 0, 68% 0, 100% 100%, 0 100%); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4)); }
.gi-lamp-glass { width: clamp(94px, 9.4vw, 124px); aspect-ratio: 1 / 1.16; margin-top: -2px; position: relative; display: grid; place-items: center; overflow: hidden;
    border-radius: 30% 30% 38% 38% / 22% 22% 32% 32%; border: 2.5px solid transparent;
    background: radial-gradient(62% 56% at 50% 58%, rgba(var(--g), calc(.42 + var(--hot) * .45)), rgba(var(--g), calc(.1 + var(--hot) * .14)) 62%, transparent 78%) padding-box,
        linear-gradient(180deg, #17142c, #0b0a1a) padding-box,
        linear-gradient(160deg, #fff1c4, #d9a441 32%, #7c5212 58%, #f3cf7a 82%, #a8741f) border-box;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 calc(26px + var(--hot) * 56px) rgba(var(--g), calc(.25 + var(--hot) * .45)), inset 0 0 calc(10px + var(--hot) * 16px) rgba(var(--g), calc(.25 + var(--hot) * .3)); }
.gi-lamp-glass::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
    background: repeating-linear-gradient(90deg, transparent 0 23%, rgba(214, 160, 60, .35) 23% 24.4%, transparent 24.4% 25%),
        linear-gradient(180deg, rgba(214, 160, 60, .35), transparent 14%, transparent 86%, rgba(214, 160, 60, .35)); }
.gi-lamp-glass::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit;
    background: linear-gradient(118deg, rgba(255, 255, 255, .2) 0 16%, transparent 34%, transparent 70%, rgba(255, 255, 255, .06) 86%); }
.gi-lamp-flame { position: absolute; left: 50%; top: 56%; width: 74%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) scale(calc(.8 + var(--hot) * .35)); z-index: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, .9) 0, rgba(var(--g2), .7) 16%, rgba(var(--g), .45) 38%, transparent 68%); animation: giFlame 2.2s ease-in-out infinite; }
.gi-lamp-glass b { position: relative; z-index: 1; font-size: clamp(38px, 4.1vw, 54px); font-weight: 900; line-height: 1; color: rgb(var(--g2));
    text-shadow: 0 0 10px rgba(var(--g), 1), 0 0 calc(22px + var(--hot) * 26px) rgba(var(--g), .85); transition: text-shadow .45s; }
.gi-lang[data-l=en] .gi-lamp-glass b { font-family: Georgia, 'Times New Roman', serif; }
.gi-lamp-base { width: 64px; height: 12px; margin-top: -3px; border-radius: 3px 3px 12px 12px; position: relative; z-index: 1;
    background: linear-gradient(90deg, #7c5212, #f3cf7a 32%, #fff1c4 46%, #c58e2c 66%, #6e4810); box-shadow: 0 4px 8px rgba(0, 0, 0, .45); }
.gi-lamp-base::after { content: ""; position: absolute; left: 50%; top: 100%; width: 9px; height: 13px; transform: translateX(-50%); border-radius: 0 0 50% 50% / 0 0 100% 100%;
    background: linear-gradient(90deg, #8a5a14, #f3cf7a, #8a5a14); }
.gi-lamp-halo { position: absolute; left: 50%; top: 56%; width: 230%; aspect-ratio: 1; border-radius: 50%; z-index: -1; pointer-events: none;
    transform: translate(-50%, -50%) scale(calc(.55 + var(--hot) * .45)); opacity: calc(.25 + var(--hot) * .75);
    background: radial-gradient(circle, rgba(var(--g), .32), rgba(var(--g), .08) 45%, transparent 68%); }
.gi-lamp-name { margin-top: 6px; padding: 5px 16px; border-radius: 999px; font-size: clamp(14px, 1.25vw, 17px); font-weight: 900; letter-spacing: calc(var(--hot) * .03em);
    color: rgb(var(--g2)); border: 1px solid rgba(var(--g), calc(.28 + var(--hot) * .45)); background: rgba(var(--g), calc(.06 + var(--hot) * .12));
    box-shadow: 0 0 calc(var(--hot) * 22px) rgba(var(--g), .35); text-shadow: 0 0 12px rgba(var(--g), .55); }
.gi-lang:focus, .gi-lang:focus-visible, .gi-about:focus { outline: none !important; box-shadow: none !important; }
.gi-lang:focus-visible .gi-lamp-name { outline: 2px solid rgba(var(--g), .85); outline-offset: 3px; }
.gi-langs.is-nudge .gi-lang { animation: giNudge .8s cubic-bezier(.3, 1.4, .5, 1) 2, giSwing 4.4s ease-in-out infinite .8s; }
.gi-langs.is-done .gi-lang { pointer-events: none; }
.gi-langs.is-done .gi-lang:not(.is-picked) { animation: giLampOut .45s ease forwards; }
.gi-lang.is-picked { --hot: 1; animation: giPicked .8s cubic-bezier(.2, .9, .3, 1.3) forwards; }
.gi-lang.is-picked .gi-lamp-glass b { animation: giFlash .7s ease-out; }
.gi-about { position: relative; overflow: hidden; margin-top: .5em; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .055); color: #e8e3f5; font: inherit; font-size: clamp(13px, 1.1vw, 15px); font-weight: 800;
    padding: 10px 20px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(6px); transition: background .25s, border-color .25s, transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.gi-about::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .16) 50%, transparent 70%); transform: translateX(-120%); animation: giSheen 4.5s ease-in-out infinite 2s; pointer-events: none; }
.gi-about:hover, .gi-about:focus-visible { background: rgba(201, 162, 255, .14); border-color: rgba(201, 162, 255, .5); outline: none; transform: translateY(-2px); }
.gi-board.is-ask:has(.gi-langs.is-done) .gi-about, .gi-board.is-ask:has(.gi-langs.is-done) .gi-nudge { opacity: 0; transition: opacity .3s; }
.gi-nudge { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: .42em; font-weight: 800; color: #ffdc8f; margin: .1em 0 .3em; animation: giAskIn .45s ease backwards; text-shadow: 0 0 14px rgba(255, 211, 107, .4); }
.gi-nudge span { unicode-bidi: isolate; }
@keyframes giAskIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes giLampIn { from { opacity: 0; transform: translateY(-60px) scale(.6); } 60% { opacity: 1; } }
@keyframes giLampOut { to { opacity: 0; transform: translateY(18px) scale(.8); } }
@keyframes giSwing { 0%, 100% { transform: rotate(-2.6deg); } 50% { transform: rotate(2.6deg); } }
@keyframes giBreath { 0%, 100% { opacity: .2; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
@keyframes giFlame { 0%, 100% { opacity: .95; } 30% { opacity: .78; } 55% { opacity: 1; } 75% { opacity: .86; } }
@keyframes giNudge { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-16px) rotate(-4deg); } 70% { transform: translateY(0) rotate(3deg); } }
@keyframes giPicked { 40% { transform: scale(1.2) translateY(-12px); } to { transform: scale(1.14) translateY(-8px); filter: drop-shadow(0 0 34px rgba(var(--g), .85)); } }
@keyframes giFlash { 0% { color: #fff; text-shadow: 0 0 30px #fff, 0 0 60px rgba(var(--g), 1); } }
@keyframes giSheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (max-width: 860px) { .gi-lamp-glass { width: 84px; } .gi-langs { gap: 34px; } .gi-lamp-string { height: 18px; } }
@keyframes jrBlink { 0%, 92%, 100% { transform: none; } 95% { transform: scaleY(.12); } }
@keyframes jrFlame { from { transform: scale(.92, .86) rotate(-4deg); } to { transform: scale(1.04, 1.1) rotate(4deg); } }
@keyframes jrGlow { 50% { opacity: .55; } }
@keyframes jrTwinkle { 0%, 100% { opacity: 0; transform: scale(.3); } 50% { opacity: 1; transform: scale(1); } }
@keyframes giTag { from { opacity: 0; transform: translateY(8px) scale(.9); } }
@keyframes giShimmer { from { background-position: 120% 0; } to { background-position: -100% 0; } }

/* phones and narrow windows: the genie on top, the words under him */
@media (max-width: 860px) {
    .gi-stage { grid-template-columns: 1fr; row-gap: 6px; justify-items: center; }
    .gi-genie { width: clamp(190px, 34vh, 290px); }
    .gi-board { text-align: center; font-size: clamp(22px, 6.2vw, 30px); min-height: 3.4em; padding: 0 6px; }
    .gi-skip { font-size: 13px; padding: 8px 13px; }
}
@media (prefers-reduced-motion: reduce) { .gi-screen { display: none !important; } }

/* /assets/css/echo-intro.css */
/* Echo welcome (v1.0.1): rides on the genie welcome's page rules (genie-intro.css: gi-on / gi-pre / gi-still / gi-out),
   with its own screen, words and language portals. */
html.gi-on .gi-screen.ec-screen, html.gi-out .gi-screen.ec-screen {
    background: radial-gradient(60% 50% at 50% 34%, rgba(var(--ec-main, 246, 182, 72), .07), transparent 70%), radial-gradient(ellipse at 50% 40%, #0a0c18 0%, #04050b 60%, #010103 100%);
    color: #f3efe6; display: block; transition: opacity 1s cubic-bezier(.4, 0, .2, 1);
}
.ec-rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
html.gi-on .gi-junior.ec-face, html.gi-out .gi-junior.ec-face, html.gi-hold .gi-junior.ec-face {
    margin: 0; transform-origin: 50% 50%; z-index: 2147483001; transition: none; }  /* v1.0.1: no filter here: it was redrawn on every frame of the face and made the welcome stutter */
.gi-junior.ec-face { display: none; }

.ec-board { position: absolute; left: 50%; top: var(--ec-board-top, 66vh); transform: translateX(-50%); z-index: 3; width: min(92vw, 940px); text-align: center;
    font-size: clamp(22px, 2.7vw, 40px); font-weight: 800; line-height: 1.45; letter-spacing: -.005em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .9), 0 0 2px rgba(0, 0, 0, .9); transition: opacity .32s ease, transform .4s ease; }
.ec-board.is-out { opacity: 0; transform: translateX(-50%) translateY(-6px); }
.ec-line { display: block; }
.ec-word { display: inline-block; opacity: 0; transform: translateY(.18em); transition: opacity .2s ease, transform .4s cubic-bezier(.2, .9, .25, 1.15), color .5s, text-shadow .5s; unicode-bidi: isolate; }
.ec-word.is-in { opacity: 1; transform: none; }
.ec-word.is-now { color: rgb(var(--ec-hot, 255, 244, 218)); text-shadow: 0 0 22px rgba(var(--ec-main, 246, 182, 72), .75), 0 2px 18px rgba(0, 0, 0, .9); }

.ec-ask { display: grid; gap: .1em; margin-bottom: .55em; }
.ec-ask span { display: block; min-height: 1.3em; }
.ec-ask span[lang=en] { font-size: .55em; font-weight: 700; color: rgba(var(--ec-main, 246, 182, 72), .9); letter-spacing: .02em; }
.ec-nudge { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: .55em; font-size: .42em; font-weight: 800; color: rgb(var(--ec-eye, 56, 217, 255)); text-shadow: 0 0 14px rgba(var(--ec-eye, 56, 217, 255), .5); }

/* the language portals: rings of changing glyphs around one big letter */
.ec-portals { display: flex; justify-content: center; gap: clamp(26px, 5vw, 70px); }
.ec-portal { --s: clamp(104px, 10vw, 136px); position: relative; width: var(--s); height: var(--s); border-radius: 50%; border: 0; padding: 0; cursor: pointer; color: #fff; font: inherit;
    background: radial-gradient(circle, rgba(var(--ec-main, 246, 182, 72), .16), rgba(4, 5, 11, .92) 62%); display: grid; place-items: center; -webkit-tap-highlight-color: transparent;
    box-shadow: 0 0 0 1px rgba(var(--ec-main, 246, 182, 72), .3), 0 0 34px rgba(var(--ec-main, 246, 182, 72), .14), inset 0 0 26px rgba(var(--ec-main, 246, 182, 72), .14);
    animation: ecPortalIn .8s cubic-bezier(.2, .9, .3, 1.2) backwards; animation-delay: var(--d, 0ms);
    transition: transform .45s cubic-bezier(.2, .9, .3, 1.25), box-shadow .4s ease; }
.ec-portal[data-l=en] { --ec-main: var(--ec-eye, 56, 217, 255); }
.ec-portal b { position: relative; z-index: 1; font-size: calc(var(--s) * .36); font-weight: 900; line-height: 1; color: rgb(var(--ec-hot, 255, 244, 218));
    text-shadow: 0 0 14px rgba(var(--ec-main, 246, 182, 72), 1), 0 0 34px rgba(var(--ec-main, 246, 182, 72), .7); transition: text-shadow .4s, transform .45s; }
.ec-portal[data-l=en] b { font-family: Georgia, 'Times New Roman', serif; }
.ec-portal em { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: clamp(14px, 1.2vw, 17px); font-weight: 900;
    color: rgb(var(--ec-main, 246, 182, 72)); text-shadow: 0 0 12px rgba(var(--ec-main, 246, 182, 72), .5); letter-spacing: .02em; transition: letter-spacing .4s; }
.ec-ring { position: absolute; inset: 0; border-radius: 50%; animation: ecSpin 16s linear infinite; pointer-events: none; }
.ec-ring i { position: absolute; left: 50%; top: 50%; width: 1em; margin: -.5em 0 0 -.5em; font-style: normal; font-size: calc(var(--s) * .1); font-weight: 800; line-height: 1; text-align: center;
    color: rgba(var(--ec-main, 246, 182, 72), .75); transform: rotate(calc(var(--i) * 16.36deg)) translateY(calc(var(--s) * -.43)); }
.ec-ring.is-in { inset: 16%; animation-direction: reverse; animation-duration: 11s; opacity: 0; transition: opacity .4s; }
.ec-ring.is-in i { font-size: calc(var(--s) * .075); transform: rotate(calc(var(--i) * 16.36deg)) translateY(calc(var(--s) * -.3)); color: rgba(var(--ec-hot, 255, 244, 218), .7); }
.ec-portal:hover, .ec-portal.is-hot { transform: scale(1.1); box-shadow: 0 0 0 1px rgba(var(--ec-main, 246, 182, 72), .7), 0 0 60px rgba(var(--ec-main, 246, 182, 72), .45), inset 0 0 40px rgba(var(--ec-main, 246, 182, 72), .35); }
.ec-portal:hover .ec-ring.is-in, .ec-portal.is-hot .ec-ring.is-in { opacity: 1; }
.ec-portal:hover b, .ec-portal.is-hot b { text-shadow: 0 0 18px #fff, 0 0 46px rgba(var(--ec-main, 246, 182, 72), 1); }
.ec-portal:hover em, .ec-portal.is-hot em { letter-spacing: .08em; }
.ec-portal.is-guess:not(:hover):not(.is-hot) { animation: ecPortalIn .8s cubic-bezier(.2, .9, .3, 1.2) backwards, ecBreath 2.6s ease-in-out infinite 1.4s; animation-delay: var(--d, 0ms), 1.4s; }
.ec-portal:focus { outline: none; }
.ec-portal:focus-visible em { outline: 2px solid rgba(var(--ec-main, 246, 182, 72), .8); outline-offset: 4px; border-radius: 6px; }
.ec-portals.is-nudge .ec-portal { animation: ecNudge .7s cubic-bezier(.3, 1.4, .5, 1) 2; }
.ec-portals.is-done .ec-portal { pointer-events: none; }
.ec-portals.is-done .ec-portal:not(.is-picked) { opacity: 0; transform: scale(.7); transition: opacity .35s, transform .4s; }
.ec-portal.is-picked { animation: ecPicked .7s cubic-bezier(.2, .9, .3, 1.3) forwards; }
@keyframes ecSpin { to { transform: rotate(360deg); } }
@keyframes ecPortalIn { from { opacity: 0; transform: scale(.4); filter: blur(6px); } }
@keyframes ecBreath { 0%, 100% { box-shadow: 0 0 0 1px rgba(var(--ec-main, 246, 182, 72), .3), 0 0 34px rgba(var(--ec-main, 246, 182, 72), .14), inset 0 0 26px rgba(var(--ec-main, 246, 182, 72), .14); }
    50% { box-shadow: 0 0 0 1px rgba(var(--ec-main, 246, 182, 72), .55), 0 0 54px rgba(var(--ec-main, 246, 182, 72), .32), inset 0 0 34px rgba(var(--ec-main, 246, 182, 72), .26); } }
@keyframes ecNudge { 0%, 100% { transform: none; } 40% { transform: translateY(-14px) scale(1.06); } 70% { transform: translateY(0) scale(.98); } }
@keyframes ecPicked { 40% { transform: scale(1.3); filter: brightness(1.8); } to { transform: scale(1.18); filter: brightness(1.3); } }
@media (max-width: 700px) { .ec-board { font-size: clamp(19px, 5.6vw, 26px); } .ec-portals { gap: 30px; } }

