/* Machine showcase edition: glass hero over a morphing radial background. Loads after founders.css. */
:root {
  --accent: #ff8a1f;
  --accent-2: #ffb454;
  --amber: #ffc46b;
  --sunset: linear-gradient(180deg, #ffc46b, #ff8a1f);
  --sunset-x: linear-gradient(100deg, #ffc46b, #ff8a1f 55%, #e8590c);
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --surface: rgba(255, 255, 255, 0.05);
  --font-display: Archivo, sans-serif;
  --font-sans: Archivo, system-ui, sans-serif;
}
html[lang="ar"] { --font-display: Alexandria, Cairo, sans-serif; --font-sans: Cairo, Tahoma, sans-serif; }
html { background: #07090d; }
body {
  --bg-inner: #2b3a4a;
  --bg-mid: #141c26;
  --bg-outer: #07090d;
  background: radial-gradient(circle at center, var(--bg-inner) 0%, var(--bg-mid) 50%, var(--bg-outer) 100%) fixed;
}
.display { text-transform: none; font-weight: 700; font-stretch: 125%; letter-spacing: -0.025em; line-height: 1.06; }
.h2 { font-size: 2.6rem; }
@media (min-width: 640px) { .h2 { font-size: 3.9rem; } }
.contact h2 { font-size: 3.9rem; }
.track span.word, .form h3, .foot .sig { font-size: 2.4rem; }
html[lang="ar"] .display { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.ln { padding-block: 0.1em 0.14em; }
main > section:not(.hero) { background: rgba(7, 9, 13, 0.8); }
.contact { background: rgba(7, 9, 13, 0.8); }
.btn { color: #160b02; background: var(--accent); box-shadow: none; }
.btn:hover { background: #fff; box-shadow: none; }
.art { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 1.5rem; }
.reel, .panel-photo { border-radius: 1.5rem; }
.go i, .num, .who [aria-pressed="true"] .idx { color: var(--accent); }
.stops li, .inds h3, .start-steps h3 { font-size: 2.5rem; }
.marquee { background: rgba(7, 9, 13, 0.8); }

/* Glass navigation */
.top { background: none; }
.top nav { padding-block: 1.5rem; }
.links { padding: 0.4rem; gap: 0.4rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 100px; background: rgba(255, 255, 255, 0.08); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.1); backdrop-filter: blur(20px); }
.links a { display: block; padding: 0.5rem 1.15rem; border-radius: 100px; font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, 0.78); transition: background 0.3s, color 0.3s; }
.links a::after { content: none; }
.links a:hover { background: #ff8a1f; color: #160b02; }
.lang a[aria-current] { color: #ff8a1f; }

/* Hero */
.hero { position: relative; isolation: isolate; display: block; min-height: 100vh; min-height: 100svh; padding: 5rem 4% 0; overflow: hidden; }
#bubbles-container { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
/* Rising machine signals: a small square node with a fading data trail. */
.spark { position: absolute; bottom: -140px; background: #ffb454; box-shadow: 0 0 10px 1px rgba(255, 138, 31, 0.85); animation: signalUp linear forwards; }
.spark::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: var(--trail); margin-left: -0.5px; background: linear-gradient(to bottom, rgba(255, 180, 84, 0.75), transparent); }
@keyframes signalUp { 0% { transform: translateY(0); opacity: 0; } 12%, 80% { opacity: var(--glow); } 100% { transform: translateY(-120vh); opacity: 0; } }
.hero-content { position: relative; display: flex; justify-content: space-between; align-items: stretch; height: calc(100svh - 5rem); min-height: 36rem; }
.stage { position: absolute; inset: -5rem -4.2% 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease-out 0.2s; background: radial-gradient(circle at center, rgba(255, 138, 31, 0.08) 0%, transparent 70%); }
.hero.is-ready .stage { opacity: 1; }
.machine-canvas { display: block; width: 100%; height: 100%; }
.berries-container, .berries-container-bg { position: absolute; inset: 0; pointer-events: none; transition: transform 0.1s ease-out; }
.berries-container { z-index: 90; }
.berries-container-bg { z-index: 0; }
.berry { position: absolute; width: 120px; height: 120px; max-width: none; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3)); }
.berry:not([src]) { visibility: hidden; }
.berry.dim { opacity: 0.65; }
.b1 { top: 16%; left: 27%; width: 118px; height: 118px; }
.b2 { top: 68%; left: 33%; width: 84px; height: 84px; }
.b3 { top: 24%; left: 70%; width: 126px; height: 126px; }
.b4 { top: 9%; left: 50%; width: 76px; height: 76px; }
.b5 { top: 80%; left: 17%; width: 92px; height: 92px; }
.b6 { top: 56%; left: 76%; width: 108px; height: 108px; }
.b7 { top: 13%; left: 40%; width: 66px; height: 66px; }
.b8 { top: 48%; left: 22%; width: 60px; height: 60px; }
.b9 { top: 82%; left: 62%; width: 70px; height: 70px; }

.main-title, .side-title { font-family: var(--font-display); font-size: clamp(3.4rem, 5.6vw, 7.5rem); line-height: 1; font-weight: 800; font-stretch: 125%; letter-spacing: -0.035em; white-space: nowrap; color: #fff; text-transform: none; text-shadow: 0 4px 34px rgba(0, 20, 30, 0.45); }
html[lang="ar"] .main-title, html[lang="ar"] .side-title { font-weight: 800; letter-spacing: 0; font-size: clamp(3.2rem, 5.2vw, 7rem); line-height: 1.3; }
.hero-left { position: relative; z-index: 100; display: flex; flex-direction: column; height: 100%; padding-block: 3.5rem 2.5rem; gap: 1.75rem; }
.description { max-width: 25rem; min-height: 5.2em; color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; line-height: 1.6; }
.primary-btn { display: flex; align-items: center; gap: 1.5rem; width: fit-content; padding: 0.4rem 0.4rem 0.4rem 1.5rem; border-radius: 100px; background: rgba(0, 0, 0, 0.5); color: #fff; font-weight: 700; transition: background 0.3s, transform 0.3s; }
html[dir="rtl"] .primary-btn { padding: 0.4rem 1.5rem 0.4rem 0.4rem; }
.primary-btn:hover { background: rgba(0, 0, 0, 0.72); transform: translateY(-3px); }
.plus-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding-bottom: 2px; border-radius: 50%; background: #ff8a1f; color: #160b02; font-size: 1.4rem; font-weight: 900; line-height: 1; }
.award-badge { display: flex; align-items: center; gap: 1rem; margin-top: auto; }
.award-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.award-text { display: flex; flex-direction: column; }
.award-title { font-size: 0.7rem; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.72); }
.award-subtitle { font-size: 0.85rem; font-weight: 600; }

.hero-right { position: relative; z-index: 100; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; width: 28rem; height: 100%; padding-block: 3.5rem 2.5rem; text-align: end; pointer-events: none; }
.product-carousel { display: flex; flex-direction: column; align-items: flex-end; gap: 1.1rem; pointer-events: auto; }
.carousel-cards { display: flex; gap: 1rem; padding-top: 2.5rem; }
.card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; width: 10.5rem; padding: 4.8rem 0.8rem 0.9rem; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 28px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); color: #fff; text-align: center; cursor: pointer; transition: background 0.4s, border-color 0.4s; }
.card:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }
.card.active { border-color: #ff8a1f; }
.card img { position: absolute; top: -2.6rem; left: 50%; width: 8.2rem; height: 8.2rem; max-width: none; margin-left: -4.1rem; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.5)); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); pointer-events: none; }
.card img:not([src]) { visibility: hidden; }
.card:hover img { transform: translateY(-12px) rotate(-8deg) scale(1.12); }
.card-info { display: flex; flex-direction: column; gap: 0.15rem; width: 100%; font-size: 0.78rem; line-height: 1.35; }
.card-info span:first-child { font-weight: 600; font-size: 0.86rem; }
.card-info span:last-child { color: rgba(255, 255, 255, 0.72); }
.carousel-nav { display: flex; gap: 1rem; direction: ltr; }
.nav-arrow { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 50%; background: rgba(255, 255, 255, 0.05); color: #fff; transition: background 0.3s; }
.nav-arrow:hover { background: rgba(255, 255, 255, 0.14); }
.side-title { align-self: flex-end; text-align: end; }

@media (max-width: 1100px), (max-aspect-ratio: 1/1) {
  .hero { padding-top: 5.5rem; }
  .hero-content { flex-direction: column; align-items: center; height: auto; min-height: 0; padding-bottom: 2.5rem; text-align: center; }
  .hero-left, .hero-right { display: contents; }
  .main-title, .side-title { position: relative; z-index: 100; font-size: clamp(2.6rem, 11.5vw, 5.5rem); text-align: center; align-self: center; }
  html[lang="ar"] .main-title, html[lang="ar"] .side-title { font-size: clamp(2.6rem, 11vw, 5rem); }
  .main-title { order: 1; }
  .stage { order: 2; position: relative; inset: auto; width: 108%; height: 46vh; min-height: 18rem; }
  .side-title { order: 3; font-size: clamp(2rem, 8.5vw, 4rem) !important; margin-top: -0.5rem; }
  .description { order: 4; position: relative; z-index: 100; margin-top: 1.25rem; min-height: 0; text-align: center; }
  .cta-group { order: 5; position: relative; z-index: 100; margin-top: 1.25rem; }
  .product-carousel { order: 6; position: relative; z-index: 100; align-items: center; margin-top: 1.5rem; }
  .award-badge { order: 7; position: relative; z-index: 100; margin-top: 2rem; text-align: start; }
  .berry { transform-origin: center; scale: 0.62; }
  .b2, .b5, .b7, .b8 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stage { transition: none; }
}

/* Product pictures */
.art { background: radial-gradient(90% 90% at 70% 15%, rgba(255, 138, 31, 0.13), transparent 62%), #10161d; }
.product-canvas { display: block; width: 100%; height: 100%; }
.art--diagram { padding: 0; }
.jet-diagram { position: absolute; inset: 0; width: 100%; height: 100%; }
.jd-t { fill: #dfe6ea; font: 600 17px var(--font-sans); }
.jd-fine { stroke: #8d99a5; stroke-width: 1.6; }
.jd-valve { fill: #10161d; stroke: #ffb454; stroke-width: 2; }
.jd-pipe { stroke: #66737f; stroke-width: 8; }
.jd-flow { stroke: #ffb454; stroke-width: 2.5; stroke-dasharray: 8 16; animation: jd-dash 1.3s linear infinite; }
.jd-rope { stroke: #e8590c; stroke-width: 9; stroke-linecap: round; }
.jd-rope-flow { stroke: #ffd29c; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 14 34; animation: jd-dash 2.2s linear infinite; }
.jd-spin { animation: jd-turn 3.2s linear infinite; }
.jd-wave { animation: jd-swell 4s ease-in-out infinite alternate; }
.jd-wave2 { animation: jd-swell 3s ease-in-out infinite alternate; }
.jd-ping { fill: none; stroke: #ffb454; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: jd-ping 2s ease-out infinite; }
@keyframes jd-dash { to { stroke-dashoffset: -48; } }
@keyframes jd-turn { to { transform: rotate(360deg); } }
@keyframes jd-swell { from { transform: translateX(-20px); } to { transform: translate(20px, -3px); } }
@keyframes jd-ping { from { transform: scale(1); opacity: 1; } to { transform: scale(3); opacity: 0; } }

/* The rendered machine animation, recoloured from cyan to the site's orange. */
.reel-video { filter: url(#reel-grade) brightness(1.3) contrast(1.05); }

html[dir="rtl"] #phone { text-align: right; }

@media (prefers-reduced-motion: reduce) {
  .jd-flow, .jd-rope-flow, .jd-spin, .jd-wave, .jd-wave2, .jd-ping { animation: none; }
}

/* Fewer empty stretches: tighter rhythm, blueprint texture and warm depth behind sections. */
:root { --section: 6.5rem; }
main > section:not(.hero):not(.marquee) {
  background-color: rgba(7, 9, 13, 0.8);
  background-image:
    radial-gradient(42% 46% at 90% 50%, rgba(255, 138, 31, 0.09), transparent 100%),
    radial-gradient(40% 50% at 6% 60%, rgba(70, 110, 160, 0.11), transparent 100%),
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: auto, auto, 4rem 4rem, 4rem 4rem;
}
main > section:nth-of-type(even):not(.hero):not(.marquee) {
  background-image:
    radial-gradient(42% 46% at 8% 50%, rgba(255, 138, 31, 0.09), transparent 100%),
    radial-gradient(40% 50% at 94% 60%, rgba(70, 110, 160, 0.11), transparent 100%),
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
}
.top { transition: background 0.3s; }
.top.is-scrolled { background: linear-gradient(to bottom, rgba(7, 9, 13, 0.96) 62%, transparent); }
#start-small { padding-bottom: 3.5rem; }
.start-grid { align-items: center; }
.start-steps { padding: 0.5rem 2rem; border: 1px solid var(--line); border-radius: 1.5rem; background: rgba(255, 255, 255, 0.035); backdrop-filter: blur(8px); }
.start-steps li:first-child { border-top: 0; }
.start-steps li:last-child { border-bottom: 0; }
.contact { padding-top: 3.5rem; }
.contact-grid { align-items: stretch; }
.contact-info { display: flex; flex-direction: column; }
.details { margin-top: 1.75rem; }
.pick { margin-top: 1.75rem; }
.pick .label { display: block; margin-bottom: 0.75rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips button { padding: 0.55rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.92rem; line-height: 1.3; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chips button:hover { border-color: var(--accent); }
.chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #160b02; font-weight: 600; }
.signal-panel { flex: 1; display: flex; align-items: center; min-height: 15rem; margin-top: 2rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 1.5rem; background: radial-gradient(70% 90% at 50% 40%, rgba(255, 138, 31, 0.08), transparent 75%), rgba(255, 255, 255, 0.035); }
.signal-panel svg { width: 100%; max-height: 24rem; }
.sf-node { fill: #141b24; stroke: #ff8a1f; stroke-width: 2; }
.sf-i { stroke: #ffb454; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sf-t { fill: #dfe6ea; font: 600 15px var(--font-sans); }
.sf-note { fill: rgba(255, 255, 255, 0.62); font: 500 13px var(--font-sans); }
.sf-pipe { stroke-width: 5; }
.form { align-content: start; padding: 2.5rem; border: 1px solid var(--line); border-radius: 1.5rem; background: rgba(255, 255, 255, 0.035); backdrop-filter: blur(8px); }
.foot { margin-top: 4.5rem; padding-block: 2.25rem; }
@media (max-width: 640px) {
  .form { padding: 1.5rem 1.1rem; }
  .start-steps { padding: 0.25rem 1.1rem; }
  main > section:not(.hero):not(.marquee) { background-size: auto, auto, 3rem 3rem, 3rem 3rem; }
}
#industries { padding-bottom: 1.5rem; }
.signal-panel .jd-ping { animation-name: sf-ping; }
@keyframes sf-ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.32); opacity: 0; } }
.contact h2 { font-size: 2.6rem; }
@media (min-width: 640px) { .contact h2 { font-size: 3.9rem; } }

/* Square machine animation rendered in the site's colours; same framing in both languages. */
.reel { background: #07090d; }
.reel-video, html[lang="ar"] .reel-video { inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; filter: none; transform: none; }

.back-top { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--accent); color: #160b02; transition: transform 0.3s var(--expo), background 0.3s; }
.back-top svg { width: 1.35rem; height: 1.35rem; }
.back-top:hover { background: #fff; transform: translateY(-4px); }
@media (min-width: 1024px) { .foot { grid-template-columns: 1fr auto auto; align-items: end; gap: 2rem; } }

/* Live demo */
#live-demo [hidden] { display: none; }
.demo-tabs, .demo-views { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.demo-tabs { margin-top: 3rem; }
.demo-tabs button, .demo-views button { padding: 0.65rem 1.2rem; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.demo-tabs button:hover, .demo-views button:hover { border-color: var(--accent); }
.demo-tabs button[aria-selected="true"], .demo-views button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #160b02; }
.demo-tabs em { margin-inline-start: 0.5rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-size: 0.75rem; font-style: normal; }
.demo-tabs button[aria-selected="true"] em { background: rgba(22, 11, 2, 0.16); }
.demo-panel { margin-top: 1.25rem; }
.demo-views .go { margin-inline-start: auto; }
.demo-frame { height: min(46rem, 82vh); margin-top: 1rem; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 1.5rem; background: #07090d; box-shadow: 0 30px 70px -40px rgba(255, 138, 31, 0.45); }
.demo-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.demo-note { display: none; margin-top: 0.75rem; color: var(--muted); font-size: 0.95rem; }
.demo-soon { display: grid; place-items: center; align-content: center; gap: 1rem; min-height: 26rem; padding: 3rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: 1.5rem; background: radial-gradient(60% 70% at 50% 40%, rgba(255, 138, 31, 0.12), transparent 75%), rgba(255, 255, 255, 0.03); text-align: center; }
.demo-soon h3 { font-size: 2.4rem; line-height: 1.2; }
.demo-soon p { max-width: 36ch; color: var(--muted); }
@media (max-width: 800px) { .demo-note { display: block; } .demo-frame { height: 72svh; border-radius: 1rem; } .demo-views .go { margin-inline-start: 0; } .demo-soon h3 { font-size: 1.8rem; } }

.demo-teaser { position: relative; display: grid; place-items: center; min-height: 34rem; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 1.5rem; background: #07090d; }
.demo-teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0.62; }
.demo-teaser::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(7, 9, 13, 0.82), rgba(7, 9, 13, 0.35) 100%); }
.demo-lock { position: relative; z-index: 1; display: grid; justify-items: center; gap: 0.9rem; max-width: 34rem; padding: 2rem; text-align: center; }
.demo-lock svg { width: 2.6rem; height: 2.6rem; color: var(--accent); }
.demo-lock h3 { font-size: 2.4rem; line-height: 1.2; }
.demo-lock p { color: #dfe3ea; }

/* Drawn arrow: phones can turn the text arrow into a coloured emoji. */
.arw { display: inline-block; width: 0.85em; height: 0.85em; vertical-align: -0.06em; }

/* Connected loop without the video: heading block beside the four steps, centred on each other. */
.loop--text { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 5rem; }
.loop--text .steps { margin-top: 0; }
.loop-head .loop-note { margin-top: 2rem; }
@media (min-width: 1024px) { .loop--text { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: center; } }

/* Stop reasons orbit a turning circular machine. Hovering a reason pauses the orbit and stops the machine. */
.orbit { --spin: 60s; position: relative; width: min(100%, 40rem); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.orbit-track { position: absolute; inset: 13%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.12); }
.orbit-core { position: absolute; inset: 29%; }
.orbit-machine { display: block; width: 100%; height: 100%; overflow: visible; }
.om-base { fill: #0b0f14; stroke: rgba(255, 255, 255, 0.08); }
.om-frame { fill: url(#om-plate); stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.2; }
.om-feeder { fill: #2b333c; stroke: rgba(255, 255, 255, 0.28); stroke-width: 0.6; }
.om-yarn { stroke: rgba(255, 255, 255, 0.45); stroke-width: 0.5; }
.om-cyl-out { fill: #1a2027; stroke: rgba(255, 255, 255, 0.3); stroke-width: 0.8; }
.om-needles { stroke: #b9c2ca; stroke-width: 0.7; stroke-linecap: round; }
.om-cyl-in { stroke: rgba(255, 255, 255, 0.2); stroke-width: 0.6; }
.om-stitch { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.4; stroke-linecap: round; }
.om-mark { fill: var(--accent); }
.om-hub { fill: #2a323b; stroke: rgba(255, 255, 255, 0.35); stroke-width: 0.8; }
.om-led { fill: var(--accent); transition: fill 0.3s; }
.om-cylinder { transform-box: fill-box; transform-origin: center; animation: orbit-spin 9s linear infinite; }
.orbit-status { position: absolute; left: 50%; top: 74%; transform: translateX(-50%); display: flex; align-items: center; gap: 0.45rem; white-space: nowrap; padding: 0.3rem 0.75rem; border-radius: 999px; border: 1px solid var(--line-strong, rgba(255,255,255,.2)); background: rgba(8, 10, 14, 0.8); font-size: clamp(0.65rem, 1.9cqw, 0.8rem); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted, #aab); transition: color 0.3s, border-color 0.3s; }
.orbit-status i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0.6rem #3ddc84; transition: background 0.3s, box-shadow 0.3s; }
.orbit-ring { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; animation: orbit-spin var(--spin) linear infinite; }
.orbit-ring li { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(37cqw) rotate(calc(-1 * var(--a))); }
.orbit-tile { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35em; width: 25cqw; padding: 0.85em 1em; translate: -50% -50%; border-radius: 1.1rem; border: 1px solid rgba(255, 255, 255, 0.14); background: linear-gradient(160deg, rgba(40, 46, 54, 0.92), rgba(14, 17, 22, 0.92)); box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.45); font-size: clamp(0.72rem, 2.6cqw, 1.1rem); cursor: default; outline: none; animation: orbit-spin var(--spin) linear infinite reverse; transition: scale 0.45s cubic-bezier(.2,.8,.2,1), border-color 0.3s, background 0.3s, box-shadow 0.3s; }
.orbit-num { font-size: 0.75em; font-weight: 600; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; color: var(--accent); }
.orbit-name { font-family: var(--font-display, inherit); font-weight: 700; font-size: 1.15em; line-height: 1.1; color: var(--text, #fff); transition: color 0.3s; }
.orbit-tile.is-active { scale: 1.1; border-color: var(--accent); background: linear-gradient(160deg, rgba(255, 138, 31, 0.22), rgba(14, 17, 22, 0.95)); box-shadow: 0 1rem 3rem rgba(255, 138, 31, 0.25); }
.orbit-tile.is-active .orbit-name { color: var(--accent); }
.orbit.is-stopped :is(.orbit-ring, .orbit-tile, .om-cylinder) { animation-play-state: paused; }
.orbit.is-stopped .om-led { fill: #ff3b30; }
.orbit.is-stopped .orbit-status { color: var(--accent); border-color: var(--accent); }
.orbit.is-stopped .orbit-status i { background: #ff3b30; box-shadow: 0 0 0.6rem #ff3b30; }
html[lang="ar"] .orbit-tile { align-items: flex-start; }
html[lang="ar"] .orbit-name { line-height: 1.35; }
.orbit + .btn { margin-top: 2rem; }
@keyframes orbit-spin { to { rotate: 360deg; } }
@media (max-width: 600px) { .orbit { margin-bottom: 3rem; } .orbit-status { top: calc(100% + 0.75rem); font-size: 0.72rem; } .orbit-tile { width: max-content; min-width: 23cqw; padding: 0.6em 0.75em; border-radius: 0.8rem; } .orbit-name { white-space: nowrap; } .orbit-ring li { transform: rotate(var(--a)) translateX(36cqw) rotate(calc(-1 * var(--a))); } }
@media (prefers-reduced-motion: reduce) { .orbit-ring, .orbit-tile, .om-cylinder { animation: none; } }

/* Circular machines: heading, intro, points and button share one column beside the stop ring. */
.cases--orbit { margin-top: 0; }
.cases-head h2 { margin-top: 1.5rem; }
.cases-intro { margin-top: 1.5rem; max-width: 30rem; color: var(--muted); }
.cases-side .points { margin-top: 2.5rem; }
.cases-side .btn { margin-top: 2.5rem; }
.cases-stage .stops-title { margin-bottom: 0.5rem; }
.cases-stage .orbit + .btn { margin-top: 0; }
@media (min-width: 1024px) {
  .cases--orbit { grid-template-columns: 5fr 7fr; align-items: center; }
  .cases-stage { display: flex; flex-direction: column; align-items: center; }
  .cases-stage .stops-title { align-self: flex-start; }
}
@media (max-width: 1023px) { .cases-side { display: contents; } .cases-head { order: 1; } .cases-side .points { order: 2; margin-top: 0; } .cases-stage { order: 3; } .cases-side .btn { order: 4; justify-self: start; margin-top: 0; } }

/* Products: each card is numbered and set apart, so they do not run together on phones. */
.products { counter-reset: product; }
.product > article::before { counter-increment: product; content: counter(product, decimal-leading-zero) " / 04"; display: block; margin-bottom: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; color: var(--accent); }
@media (max-width: 767px) {
  .products { gap: 0; }
  .product + .product { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--line-strong, rgba(255,255,255,.18)); }
  .product-row { flex-direction: column-reverse; gap: 0.6rem; }
}
html[lang="ar"] .product > article::before { direction: ltr; text-align: right; }

/* Section intros sit under their heading instead of far to the right. */
.head:has(> p) { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.25rem; }
.head > p { max-width: 36rem; }
/* Less empty space between sections, and the About heading centred against its text. */
:root { --section: 5rem; }
@media (max-width: 600px) { :root { --section: 4rem; } }
@media (min-width: 1024px) { .vision .grid-2 { align-items: center; } }
.loop-head h2 { margin-top: 1.5rem; }
