/* Application tokens: keep the selected light identity; no machine-local font fallback. */
:root {
  --font: 'Estedad', Tahoma, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --radius-small: 5px; --radius-medium: 12px;
  --space: clamp(40px, 4.3vw, 64px);
}
html[lang='en'] { --font: 'Inter', Arial, sans-serif; }
html[lang='ar'] { --font: 'IBM Plex Sans Arabic', Tahoma, sans-serif; }
body { font-size: 16px; }
main:focus { outline: none; }
.brand-image { transform: none; }
.languages a { min-height: 44px; line-height: 44px; min-width: 36px; }
.footer-col h2, .footer-location h2 { font-size: 16px; margin-bottom: 16px; }
.footer-bottom { flex-wrap: wrap; }
.reference-page { min-height: 55vh; }
.reference-page > h1, .reference-page > .lead { max-width: 950px; }
.reference-image { max-width: 640px; margin-inline: 0; }
.reference-image img { border-radius: var(--radius-medium); }
.reference-image figcaption { font-size: 13px; color: var(--muted); }
.reference-links { margin-block: 24px; max-width: 950px; }
.foundation { min-height: 55vh; }
.foundation h1 { max-width: 850px; }
.search-empty { margin-block: 16px; }
.nav-trigger, .nav-link { font-size: 14px; }
.mega-link small { font-size: 12px; }
.mega { gap: 20px; padding: 20px; grid-template-columns: 1fr 220px; }
.mega-links { grid-template-columns: 1fr; gap: 4px; }
.mega-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; min-height: 44px; }
.mega-link b { font-size: 13px; font-weight: 500; }
.mega-link .tiva-icon { width: 28px; height: 28px; flex: 0 0 28px; }
.mega aside { justify-content: space-between; }
/* W02 selected home; art stays on the right independently of document direction. */
.hero { height: clamp(550px, 42vw, 690px); }
.hero-architecture { display: block; background: none !important; }
.hero-architecture img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-architecture::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fafbf9ed, #fafbf9c0 27%, #fafbf900 52%); }
.hero-copy { width: 40%; padding-bottom: 52px; text-align: left; }
.hero-copy h1 { font-size: clamp(38px, 3.45vw, 60px); }
.hero-copy .actions { justify-content: flex-end; }
html[lang='en'] .hero-copy .actions { justify-content: flex-start; }
.hero-copy h1 > span { color: var(--green); }
.hero-copy .eyebrow { font-size: 13px; }
.hero-lead { max-width: 440px; }
.hero-signature { top: 97%; }
.hero-image-note { direction: rtl; font: 11px var(--font); letter-spacing: 0 !important; background: #ffffffeb; padding: 4px 8px; border-radius: 4px; }
html[lang='en'] .hero-image-note { direction: ltr; }
.hero-controls { z-index: 6; }
.hero-controls button { width: 44px; height: 44px; }
.hero-controls button:disabled { opacity: .65; cursor: default; }
.orb-scene { top: 22%; right: 3%; height: 67%; width: 48%; }
.sphere { animation: none; opacity: 1; width: 59%; inset: 3% auto auto 19%; }
.orb-scene .static-sphere { inset: 10% 24% 18%; background: url('orb-ceramic.webp') center / contain no-repeat; border-radius: 0; }
.orb-scene.canvas-ready .static-sphere { display: none; }
.orb-label { animation: none; opacity: 1; transition: opacity .28s, transform .28s; font-size: 11px; background: #fffffff0; max-width: 200px; text-align: center; }
.orb-label-one { right: 0; top: 12%; }
.orb-label-two { left: 0; top: 69%; }
.orb-label-three { right: 0; bottom: 8%; }
.orb-scene[data-step='0'] .orb-label,
.orb-scene[data-step='1'] .orb-label-two,
.orb-scene[data-step='1'] .orb-label-three,
.orb-scene[data-step='2'] .orb-label-three { opacity: 0; transform: translateY(6px); }
.orb-branches { transition: opacity .3s; }
.orb-scene[data-step='0'] .orb-branches { opacity: 0; }
.orb-scene[data-step='1'] .orb-branches path:nth-child(n+2), .orb-scene[data-step='2'] .orb-branches path:last-child { opacity: 0; }
.orb-paused * { animation-play-state: paused !important; }
.orb-paused .orb-label { transition: none; }
.sector-section .section-heading { justify-content: center; text-align: center; }
.sector-section { padding-block: 40px; }
.sector-card { min-width: 0; }
.sector-card h3 { font-size: 15px; }
.sector-card p { font-size: 13px; }
.service-panel { grid-template-columns: 1fr 1.65fr; }
.service-intro h2 { font-size: 30px; }
.service-intro p { font-size: 15px; }
.solution-tile h3 { font-size: 16px; margin-bottom: 0; }
.solution-tile p { font-size: 13px; margin-bottom: 0; line-height: 1.7; }
.solution-tile { min-width: 0; min-height: 140px; padding: 14px; gap: 5px; justify-content: center; }
.solution-tile .tiva-icon { width: 46px; height: 46px; }
.project-grid > .project-card { display: flex; min-width: 0; }
.project-copy h3 { font-size: 18px; }
.project-copy p { font-size: 13px; }
.project-copy .meta, .project-copy small, .image-kind, .project-copy .project-role { font-size: 11px; }
.project-copy .project-role { color: var(--green); }
.round-link { min-width: 36px; min-height: 36px; }
.about-photo img { height: 100%; width: 100%; object-fit: cover; }
.about-copy p { font-size: 15px; }
.about-copy h2 { font-size: 28px; }
.about-photo > span { font-size: 11px; }
.trust-facts { align-items: start; }
.trust-facts strong { font-size: 24px; }
.trust-facts span { font-size: 12px; }
.client-name { font-size: 14px; min-width: 0; }
[lang='fa'] { font-family: 'Estedad', Tahoma, sans-serif; }
html[lang='ar'] h1, html[lang='ar'] h2, html[lang='ar'] h3 { font-weight: 700; }
.product-ribbon h2 { font-size: 27px; }
.product-ribbon p { font-size: 14px; }
.insight-card { min-width: 0; }
.insight-card h3 { font-size: 16px; }
.insight-card .meta { font-size: 11px; }
.insight-card .text-link { font-size: 13px; }
.insight-card > a { flex-shrink: 0; }
.section-heading p { font-size: 14px; }
.footer-col > a { font-size: 13px; }
.footer-brand p { font-size: 14px; }
.footer-bottom { font-size: 12px; }
.sector-card:hover .tiva-icon, .solution-tile:hover .tiva-icon { transform: translateY(-3px); }
.tiva-icon { transition: transform .18s; }
@media (min-width: 1081px) {
  .mega { inset-inline: auto; width: min(600px, calc(100vw - 80px)); inset-inline-start: 27%; }
}
@media (max-width: 1080px) {
  .nav-trigger, .nav-link { font-size: 16px; }
  .mega-link small { font-size: 13px; }
  .mega { padding: 8px; }
  .mega-link b { font-size: 14px; }
  .hero-copy { width: 48%; }
  .hero-copy h1 { font-size: 39px; }
  .orb-scene { right: 0; width: 51%; top: 29%; }
  .service-panel { grid-template-columns: 1fr 1.5fr; }
  .service-intro h2 { font-size: 26px; }
  .trust-facts strong { font-size: 19px; }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .header-inner { gap: 6px; padding-inline: 12px; }
  .brand, .brand-image { width: 135px; }
  .mobile-toggle { flex: 0 0 40px; }
  .languages a { min-width: 30px; min-height: 44px; line-height: 44px; font-size: 11px; }
  .footer-col > a, .footer-bottom { font-size: 12px; }
  .hero, html[lang='en'] .hero { height: 760px; min-height: 0; }
  .hero-architecture { top: auto; height: 365px; }
  .hero-architecture img { object-position: 66% center; }
  .hero-architecture::after { background: linear-gradient(180deg, #f6f8f7, #f6f8f700 28%); }
  .hero-inner { padding-top: 30px; }
  .hero-copy { width: 100%; padding: 0; }
  .hero-copy .actions { justify-content: flex-start; }
  .hero-copy h1 { font-size: clamp(31px, 8.2vw, 42px); }
  .hero-copy .hero-lead { font-size: 15px; max-width: 100%; }
  .hero-copy .eyebrow { font-size: 12px; }
  html[lang='en'] .hero-copy h1 { font-size: 39px; }
  .orb-scene, html[lang='en'] .orb-scene { top: 408px; left: 0; right: 0; width: 100%; height: 280px; }
  .sphere { inset: 0 auto auto 18%; width: 64%; }
  .orb-label { font-size: 9px; max-width: 150px; }
  .hero-controls { bottom: 16px; }
  .hero-controls > .hero-image-note { font-size: 10px; }
  .section-heading { flex-wrap: wrap; }
  .section-heading > .text-link { font-size: 12px; }
  .sector-card { min-height: 224px; }
  .sector-card h3 { font-size: 15px; }
  .sector-card p { font-size: 13px; }
  .service-panel { display: block; }
  .solution-tile h3 { font-size: 15px; }
  .solution-tile p { font-size: 12px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-copy h3 { font-size: 15px; }
  .project-copy p { font-size: 12px; }
  .project-copy .meta, .project-copy small, .project-copy .project-role { font-size: 10px; }
  .project-copy { padding: 13px 12px; }
  .project-grid > .project-card:last-child { grid-column: 1 / -1; }
  .about-copy h2 { font-size: 25px; }
  .about-copy p { font-size: 15px; }
  .about-photo > span { font-size: 10px; }
  .trust-facts span { font-size: 11px; }
  .client-name { font-size: 13px; }
  .client-names { gap: 22px 14px; }
  .product-ribbon h2 { font-size: 24px; }
  .insight-card h3 { font-size: 15px; }
  .insight-card .text-link { font-size: 12px; }
}
@media (max-width: 359px) {
  .brand, .brand-image { width: 112px; }
  .header-inner { padding-inline: 10px; gap: 4px; }
  .languages a { min-width: 29px; }
  .hero, html[lang='en'] .hero { height: 780px; }
  .hero-copy h1 { font-size: 31px; }
  html[lang='en'] .hero-copy h1 { font-size: 35px; }
  .orb-scene, html[lang='en'] .orb-scene { top: 440px; }
  .hero-copy .eyebrow { font-size: 10px; }
  .button { min-width: 120px; padding-inline: 16px; }
  .project-grid { grid-template-columns: 1fr; }
  .sector-card h3 { font-size: 14px; }
  .sector-card p { font-size: 12px; }
  .trust-facts { grid-template-columns: 1fr 1fr; }
  .trust-facts > :last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .tiva-icon, .orb-label, .orb-branches { transition: none; } }
