/* RAD Systems — site stylesheet
   Layout: night-blue "operations" bands (header, hero, footer) frame cool paper-white content bands;
   brand blue + signal red come straight from the logo. One committed look, no light/dark switch. */
:root {
  --night: #061428;
  --deep: #0A2140;
  --deep-2: #0F2C52;
  --blue: #0C5AA8;
  --sky: #5FA8F0;
  --red: #D82424;
  --paper: #F2F5F9;
  --white: #FFFFFF;
  --ink: #0D1A2B;
  --steel: #536479;
  --line: #D5DEE8;
  --line-dark: rgba(143, 180, 224, 0.18);
  --on-dark: #E7EEF7;
  --on-dark-muted: #9FB2C9;

  --font-display: "Saira", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);

  --radius: 6px;
  --wrap: 1180px;
  --header-h: 72px;
  color-scheme: dark light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--white);
}
html[lang="ar"] body, html[lang="ar"] .display, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] .btn, html[lang="ar"] .nav a, html[lang="ar"] .eyebrow { font-family: var(--font-ar); letter-spacing: 0; }
html[lang="ar"] body { line-height: 1.8; }

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 2px; }

.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; font-weight: 700; }
h1 { font-size: var(--step-4); font-stretch: 112%; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); font-stretch: 108%; }
h3 { font-size: var(--step-1); font-weight: 600; font-stretch: 104%; }
p { margin: 0; }
.lead { font-size: var(--step-1); max-width: 60ch; }

.eyebrow {
  font-family: var(--font-mono); font-size: var(--step--1); text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--blue); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--red); }
.band-dark .eyebrow { color: var(--sky); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); color: var(--ink); box-shadow: 0 1px 12px rgba(6, 20, 40, 0.06);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 24px; width: auto; }
@media (min-width: 720px) { .brand img { height: 30px; } }
.nav { display: flex; gap: 4px; margin-inline-start: auto; align-items: center; }
.nav a {
  text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.04em; padding: 8px 12px; border-radius: var(--radius); color: var(--steel);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--blue); background: rgba(12,90,168,0.06); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.lang-toggle {
  margin-inline-start: 8px; border: 1px solid var(--line); background: transparent; color: var(--blue);
  font: 600 0.9rem/1 var(--font-ar); padding: 9px 14px; border-radius: 999px; cursor: pointer;
  display: inline-flex; gap: 8px; align-items: center; transition: border-color .2s, background .2s;
}
.lang-toggle:hover { border-color: var(--blue); background: rgba(12,90,168,0.06); }
.lang-toggle svg { width: 16px; height: 16px; }
html[lang="en"] .lang-toggle .lt-en, html[lang="ar"] .lang-toggle .lt-ar { display: none; }
.lang-toggle .lt-en { font-family: var(--font-display); }
.menu-btn { display: none; background: none; border: 0; color: var(--blue); padding: 8px; cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; margin-inline-start: auto; }
  .nav {
    position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch;
    background: var(--white); border-bottom: 1px solid var(--line); margin: 0;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); }
  html[dir="rtl"] .nav a[aria-current="page"] { box-shadow: inset -3px 0 0 var(--red); }
  .lang-toggle { margin: 8px 0 0; align-self: flex-start; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; font-size: 1rem;
  padding: 14px 22px; border-radius: var(--radius); border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: #BF1A17; }
.btn-ghost { border-color: rgba(231,238,247,0.35); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #094C8E; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }

/* ---------- dark bands ---------- */
.band-dark { background: var(--night); color: var(--on-dark); position: relative; overflow: hidden; }
.band-dark .muted { color: var(--on-dark-muted); }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
}

/* ---------- hero ---------- */
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 40px; padding-block: 56px 64px; position: relative; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; align-items: center; padding-block: 72px 88px; } }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 .accent { color: var(--sky); }
.hero .lead { color: var(--on-dark-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--font-mono); font-size: var(--step--1); color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .1em; }
html[lang="ar"] .hero-tags { font-family: var(--font-ar); letter-spacing: 0; text-transform: none; font-size: .9rem; }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags span::before { content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }

.scope { direction: ltr; position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1; }
.scope canvas { width: 100%; height: 100%; display: block; border-radius: 50%; cursor: crosshair; touch-action: pan-y; }
.scope-readout {
  position: absolute; inset-inline-start: 0; bottom: -6px; font-family: var(--font-mono); font-size: .78rem;
  color: var(--sky); letter-spacing: .06em; display: flex; gap: 14px; flex-wrap: wrap; direction: ltr;
  background: rgba(6,20,40,0.85); padding: 6px 10px; border: 1px solid var(--line-dark); border-radius: 4px;
}
.scope-readout b { color: var(--white); font-weight: 500; }
.scope-hint { position: absolute; top: 0; inset-inline-end: 0; font-size: .75rem; color: var(--on-dark-muted); font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .scope-hint { font-family: var(--font-ar); text-transform: none; letter-spacing: 0; }

/* ---------- sectors strip ---------- */
.sectors { background: var(--deep); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.sectors ul { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(2, 1fr); padding-block: 0; }
@media (min-width: 820px) { .sectors ul { grid-template-columns: repeat(4, 1fr); } }
.sectors li { padding: 22px 18px; display: flex; gap: 14px; align-items: center; border-inline-start: 1px solid var(--line-dark); font-family: var(--font-display); font-weight: 600; letter-spacing: .03em; }
.sectors li:first-child { border-inline-start: 0; padding-inline-start: 0; }
@media (max-width: 819px) { .sectors li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; } .sectors li:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }
.sectors svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--sky); }

/* ---------- sections ---------- */
.section { padding-block: 88px; }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.section-head p { color: var(--steel); font-size: var(--step-1); }
.band-dark .section-head p { color: var(--on-dark-muted); }

/* solutions: sticky visual + scrolling steps */
.solutions { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 960px) { .solutions { grid-template-columns: 1fr 1fr; gap: 64px; } }
.sol-visual { display: none; }
@media (min-width: 960px) {
  .sol-visual { display: block; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .sol-steps .sol-figure { display: none; }
}
.sol-frame {
  position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 10px; overflow: hidden;
  background: var(--night); box-shadow: 0 20px 50px -20px rgba(6,20,40,.45);
}
.sol-frame > .demo { position: absolute; inset: 0; transition: opacity .5s ease, transform .6s ease; }
.sol-frame > .demo:not(.active) { opacity: 0; transform: scale(1.03); }
.sol-meter { display: flex; gap: 6px; margin-top: 14px; }
.sol-meter span { flex: 1; height: 3px; background: var(--line); border-radius: 2px; transition: background .3s; }
.sol-meter span.on { background: var(--red); }
.sol-steps { display: grid; gap: 28px; }
@media (min-width: 960px) { .sol-steps { gap: 0; } .sol-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; } .sol-step:last-child { min-height: 52vh; } }
.sol-step { min-width: 0; }
.sol-card { display: grid; gap: 14px; padding: 4px 0; }
.sol-figure { aspect-ratio: 16 / 10; max-width: 100%; border-radius: 10px; overflow: hidden; margin-bottom: 8px; position: relative; }
.demo {
  direction: ltr; overflow: hidden;
  background:
    radial-gradient(ellipse at 60% 30%, rgba(95,168,240,.18), transparent 60%),
    linear-gradient(180deg, #0F2C52 0%, #061428 100%);
}
.demo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.82) contrast(1.05); }
.demo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(6,20,40,.55) 100%), linear-gradient(0deg, rgba(6,20,40,.45), transparent 35%); }
.demo-hud { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.sol-tag { font-family: var(--font-mono); font-size: var(--step--1); color: var(--red); letter-spacing: .1em; text-transform: uppercase; }
html[lang="ar"] .sol-tag { font-family: var(--font-ar); letter-spacing: 0; text-transform: none; font-weight: 600; }
.sol-card h3 { font-size: var(--step-2); }
.sol-card p { color: var(--steel); max-width: 52ch; }
.sol-points { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.sol-points li { display: flex; gap: 10px; align-items: baseline; }
.sol-points li::before { content: ""; width: 7px; height: 7px; border: 2px solid var(--blue); transform: rotate(45deg); flex-shrink: 0; position: relative; top: -1px; }

/* defense supply grid */
.supply { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 10px; overflow: hidden; }
@media (min-width: 640px) { .supply { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .supply { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 1079px) { .supply article:last-child { grid-column: 1 / -1; } }
.supply article { background: var(--deep); padding: 28px 24px 30px; display: grid; gap: 14px; align-content: start; transition: background .3s; min-width: 0; }
.supply article:hover { background: var(--deep-2); }
.supply .ico { width: 100%; height: 120px; color: var(--sky); }
.supply .ico svg { height: 100%; width: auto; max-width: 100%; }
.supply h3 { color: var(--white); }
.supply p { color: var(--on-dark-muted); font-size: .95rem; }

/* lifecycle sequence */
.lifecycle { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; counter-reset: step; position: relative; }
@media (min-width: 900px) { .lifecycle { grid-template-columns: repeat(5, 1fr); } }
.lifecycle li { counter-increment: step; position: relative; padding: 0 0 28px 44px; min-width: 0; }
html[dir="rtl"] .lifecycle li { padding: 0 44px 28px 0; }
.lifecycle li::before {
  content: counter(step, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 0;
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue); color: var(--blue);
  font: 600 .75rem/1 var(--font-mono);
}
.lifecycle li::after { content: ""; position: absolute; inset-inline-start: 15px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.lifecycle li:last-child::after { display: none; }
.lifecycle li.lit::before { background: var(--blue); color: var(--white); }
@media (min-width: 900px) {
  .lifecycle li, html[dir="rtl"] .lifecycle li { padding: 52px 18px 0 0; }
  html[dir="rtl"] .lifecycle li { padding: 52px 0 0 18px; }
  .lifecycle li::after { top: 15px; inset-inline-start: 36px; inset-inline-end: 0; width: auto; height: 2px; bottom: auto; }
  .lifecycle li:last-child::after { display: block; inset-inline-end: 40%; background: linear-gradient(90deg, var(--line), transparent); }
  html[dir="rtl"] .lifecycle li:last-child::after { background: linear-gradient(-90deg, var(--line), transparent); }
}
.lifecycle h3 { font-size: 1.05rem; margin-bottom: 6px; }
.lifecycle p { color: var(--steel); font-size: .93rem; }
.lifecycle .big { font-family: var(--font-display); font-weight: 700; color: var(--red); }

/* vision band */
.vision .wrap { display: grid; gap: 40px; padding-block: 88px; position: relative; }
@media (min-width: 900px) { .vision .wrap { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.vision-stat { display: grid; gap: 6px; border-inline-start: 3px solid var(--red); padding-inline-start: 24px; }
.vision-stat .num { font-family: var(--font-display); font-size: clamp(3.5rem, 2rem + 6vw, 6.5rem); font-weight: 700; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; direction: ltr; text-align: start; }
html[dir="rtl"] .vision-stat .num { text-align: right; }
.vision-stat .num small { font-size: .45em; color: var(--sky); }
.vision-stat p { color: var(--on-dark-muted); max-width: 36ch; }
.vision-copy { display: grid; gap: 20px; }
.vision-copy p { color: var(--on-dark-muted); max-width: 58ch; }

/* cta */
.cta { background: var(--blue); color: var(--white); }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: 56px; }
.cta h2 { max-width: 22ch; }
.cta p { color: #D6E6F7; margin-top: 8px; }

/* ---------- about ---------- */
.page-hero .wrap { padding-block: 72px 80px; display: grid; gap: 22px; position: relative; }
.page-hero .lead { color: var(--on-dark-muted); }
.story { display: grid; gap: 48px; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1.3fr; gap: 72px; } }
.story-copy { display: grid; gap: 18px; font-size: 1.06rem; min-width: 0; }
.story-copy p { max-width: 62ch; }
.pull { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: 1.3; color: var(--blue); border-inline-start: 3px solid var(--red); padding-inline-start: 20px; text-wrap: balance; }
html[lang="ar"] .pull { font-family: var(--font-ar); }
.mv { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv article { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 32px; display: grid; gap: 14px; align-content: start; }
.mv .label { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
html[lang="ar"] .mv .label { font-family: var(--font-ar); letter-spacing: 0; font-weight: 600; }
.mv h3 { font-size: var(--step-2); }
.mv p { color: var(--steel); }
.goals { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
@media (min-width: 760px) { .goals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .goals { grid-template-columns: repeat(3, 1fr); } }
.goals li { background: var(--white); padding: 28px; display: grid; gap: 10px; align-content: start; }
.goals svg { width: 34px; height: 34px; color: var(--blue); }
.goals p { color: var(--steel); font-size: .96rem; }
.values { display: flex; flex-wrap: wrap; gap: 10px; }
.values span { border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 16px; font-family: var(--font-display); font-weight: 500; letter-spacing: .03em; }
html[lang="ar"] .values span { font-family: var(--font-ar); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 4vw, 40px); display: grid; gap: 22px; min-width: 0; }
.field-row { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .req { color: var(--red); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(11,90,168,.15); }
.field .hint { display: flex; justify-content: space-between; gap: 12px; font-size: .82rem; color: var(--steel); }
.field .count { font-family: var(--font-mono); font-variant-numeric: tabular-nums; direction: ltr; }
.field .count.near { color: #B26A00; }
.field .count.full { color: var(--red); }
.field .err { color: var(--red); font-size: .84rem; min-height: 0; }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-foot small { color: var(--steel); max-width: 40ch; }
.form-status { border-radius: var(--radius); padding: 14px 16px; font-size: .95rem; }
.form-status.ok { background: #E6F4EA; color: #14532D; border: 1px solid #B7DFC3; }
.form-status.bad { background: #FDECEC; color: #8A1512; border: 1px solid #F3C2C0; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.contact-side { display: grid; gap: 18px; }
.contact-side .item { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-side .item:last-child { border-bottom: 0; }
.contact-side .k { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
html[lang="ar"] .contact-side .k { font-family: var(--font-ar); letter-spacing: 0; }
.contact-side .v { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-side a.v:hover { color: var(--blue); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-muted); font-size: .92rem; }
.site-footer .wrap { display: grid; gap: 32px; padding-block: 56px 40px; }
@media (min-width: 820px) { .site-footer .top { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .top { display: grid; gap: 32px; }
.footer-logo { display: inline-flex; background: var(--white); padding: 12px 16px; border-radius: var(--radius); }
.site-footer img { height: 26px; width: auto; }
.site-footer h4 { margin: 0 0 12px; color: var(--white); font-family: var(--font-display); font-weight: 600; letter-spacing: .06em; font-size: .85rem; text-transform: uppercase; }
html[lang="ar"] .site-footer h4 { font-family: var(--font-ar); letter-spacing: 0; text-transform: none; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .bottom { border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .84rem; }
.site-footer .about-line { max-width: 40ch; margin-top: 16px; }

/* ---------- reveal on scroll (content is visible at rest; motion only enhances) ---------- */
.reveal.pending { transform: translateY(18px); opacity: .001; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s ease; }
.reveal.pending.in { transform: none; opacity: 1; }

.progress { position: fixed; top: env(safe-area-inset-top, 0px); inset-inline-start: 0; height: 2px; background: var(--red); width: 100%; transform-origin: left; transform: scaleX(0); z-index: 70; }
html[dir="rtl"] .progress { transform-origin: right; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.pending { transform: none; opacity: 1; transition: none; }
  .sol-frame > .demo { transition: none; }
  * { animation: none !important; }
}

/* ---------- photography ---------- */
.hero.has-photo {
  background:
    linear-gradient(90deg, rgba(6,20,40,.97) 0%, rgba(6,20,40,.88) 42%, rgba(6,20,40,.55) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(6,20,40,0) 30%),
    url("../assets/img/photo-hero.webp") center 40% / cover no-repeat,
    var(--night);
}
.page-hero.has-photo {
  background:
    linear-gradient(90deg, rgba(6,20,40,.96) 0%, rgba(6,20,40,.82) 50%, rgba(6,20,40,.5) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(6,20,40,0) 40%),
    url("../assets/img/photo-about.webp") center 45% / cover no-repeat,
    var(--night);
}
html[dir="rtl"] .hero.has-photo {
  background:
    linear-gradient(270deg, rgba(6,20,40,.97) 0%, rgba(6,20,40,.88) 42%, rgba(6,20,40,.55) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(6,20,40,0) 30%),
    url("../assets/img/photo-hero.webp") center 40% / cover no-repeat,
    var(--night);
}
html[dir="rtl"] .page-hero.has-photo {
  background:
    linear-gradient(270deg, rgba(6,20,40,.96) 0%, rgba(6,20,40,.82) 50%, rgba(6,20,40,.5) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(6,20,40,0) 40%),
    url("../assets/img/photo-about.webp") center 45% / cover no-repeat,
    var(--night);
}
@media (max-width: 959px) {
  .hero.has-photo, html[dir="rtl"] .hero.has-photo {
    background:
      linear-gradient(0deg, var(--night) 0%, rgba(6,20,40,.9) 55%, rgba(6,20,40,.7) 100%),
      url("../assets/img/photo-hero.webp") center top / cover no-repeat,
      var(--night);
  }
}
.sol-photo { margin: 0 0 4px; aspect-ratio: 16 / 7; border-radius: 10px; overflow: hidden; background: var(--deep); position: relative; }
.sol-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.sol-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(13,26,43,.08); border-radius: inherit; pointer-events: none; }
.sol-step:hover .sol-photo img { transform: scale(1.03); }
.supply article { position: relative; }
.sup-photo { margin: -28px -24px 0; aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--night); }
.sup-photo img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; transition: transform .8s ease, opacity .3s; }
.sup-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--deep) 0%, rgba(10,33,64,0) 55%); pointer-events: none; transition: background .3s; }
.supply article:hover .sup-photo img { transform: scale(1.04); opacity: 1; }
.supply article:hover .sup-photo::after { background: linear-gradient(0deg, var(--deep-2) 0%, rgba(15,44,82,0) 55%); }
.supply .sup-photo + .ico { height: 76px; margin-top: -30px; position: relative; }
@media (prefers-reduced-motion: reduce) { .sol-photo img, .sup-photo img { transition: none; } }
