/* CHERT Fleet — additions on top of the shared CHERT site styles (site.css, shell.css), the same way
   cherttt.css extends them. Only what chertiot does not have: the shipment card in the hero, the doors
   band, the capabilities grid, the engines grid and the screenshot gallery. Tokens only. */

/* ---------------------------------------------------- hero: shipment card --- */
.fl-ship { position: absolute; right: 0; bottom: calc(-78 * var(--u)); width: calc(244 * var(--u)); padding: 14px 16px; border-radius: var(--radius-card);
  border: 1px solid var(--chert-dark-border); background: color-mix(in srgb, var(--chert-dark-surface) 82%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-modal); animation: sx-float 7s ease-in-out infinite; }
.fl-ship__head { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--chert-dark-muted); }
.fl-ship__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chert-orange); animation: sx-blink 1.6s ease-in-out infinite; }
.fl-ship__tag { margin-inline-start: auto; font-family: var(--font-ui); font-size: 10.5px; padding: 1px 7px; border-radius: var(--radius-pill); border: 1px solid var(--chert-dark-border); }
.fl-ship__steps { list-style: none; margin: 12px 0 10px; padding: 0; display: grid; gap: 7px; }
.fl-ship__steps li { position: relative; padding-inline-start: 22px; font-size: 13px; color: var(--chert-dark-muted); }
.fl-ship__steps li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 1.5px solid var(--chert-dark-border); }
.fl-ship__steps li.is-done { color: var(--chert-dark-text); }
.fl-ship__steps li.is-done::before { background: var(--chert-success); border-color: var(--chert-success); }
.fl-ship__steps li.is-now { color: var(--chert-dark-text); font-weight: 700; }
.fl-ship__steps li.is-now::before { border-color: var(--chert-orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--chert-orange) 25%, transparent); animation: sx-blink 1.6s ease-in-out infinite; }
.fl-ship__eta { display: flex; align-items: baseline; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--chert-dark-border); color: var(--chert-dark-muted); font-size: 12px; }
.fl-ship__eta b { font-size: 20px; color: var(--chert-dark-text); font-weight: 700; }
.fl-ship__foot { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--chert-dark-muted); }
@media (max-width: 760px) { .fl-ship { display: none; } }

/* ------------------------------------------------------------- doors --- */
.fl-doors { background: var(--chert-surface-alt); }

/* ------------------------------------------------------ capabilities --- */
.fl-caps { background: var(--chert-surface-alt); }
.fl-caps__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.fl-cap { display: flex; flex-direction: column; padding: 22px 22px 18px; border-radius: 18px; border: 1px solid var(--chert-border); background: var(--chert-surface);
  transition: translate var(--dur-slow) var(--ease), box-shadow var(--dur-slow), border-color var(--dur-slow), opacity .8s var(--ease), transform .8s var(--ease); }
.js .fl-cap.sx-reveal { transition-delay: 0s, 0s, 0s, calc(var(--k, 0) * 60ms), calc(var(--k, 0) * 60ms); }
.fl-cap:hover { translate: 0 -3px; box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--chert-orange) 50%, var(--chert-border)); }
.fl-cap__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fl-cap__top .sx-pillar__icon { margin: 0; flex: none; }
.fl-cap h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.fl-cap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.fl-cap li { position: relative; padding-inline-start: 18px; font-size: 14.5px; color: var(--chert-muted); line-height: 1.45; }
.fl-cap li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--chert-orange); transform: rotate(45deg); }
[lang="ar"] .fl-cap li { line-height: var(--lh-ar); }

/* ----------------------------------------------------------- engines --- */
.fl-engines { background: var(--chert-cream); }
.fl-engines__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.fl-engine { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 20px; border: 1px solid var(--chert-border); background: var(--chert-surface);
  transition: translate var(--dur-slow) var(--ease), box-shadow var(--dur-slow), border-color var(--dur-slow), opacity .8s var(--ease), transform .8s var(--ease); }
.js .fl-engine.sx-reveal { transition-delay: calc(var(--k, 0) * 90ms), 0s, 0s, calc(var(--k, 0) * 90ms), calc(var(--k, 0) * 90ms); }
.fl-engine:hover { translate: 0 -4px; box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--chert-orange) 50%, var(--chert-border)); }
.fl-engine__kicker { margin: 18px 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--chert-orange-deep); }
[lang="ar"] .fl-engine__kicker { letter-spacing: normal; font-size: 13px; text-transform: none; }
.fl-engine h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; }
.fl-engine p:not(.fl-engine__kicker) { margin: 0 0 14px; color: var(--chert-muted); }
.fl-engine__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12.5px; color: var(--chert-ink); text-decoration: none; }
a.fl-engine__link:hover { color: var(--chert-orange-deep); }
span.fl-engine__link { color: var(--chert-muted); }

/* ----------------------------------------------------------- gallery --- */
.fl-gallery { color: var(--chert-dark-text); background:
  radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--chert-orange) 14%, transparent), transparent 70%), var(--chert-dark); }
.fl-gallery .sx-eyebrow { color: var(--chert-orange); }
.fl-gallery__grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.fl-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--chert-dark-border); background: var(--chert-dark-surface); box-shadow: var(--shadow-modal);
  transition: translate var(--dur-slow) var(--ease), border-color var(--dur-slow), opacity .8s var(--ease), transform .8s var(--ease); }
.js .fl-shot.sx-reveal { transition-delay: 0s, 0s, calc(var(--k, 0) * 110ms), calc(var(--k, 0) * 110ms); }
.fl-shot:hover { translate: 0 -4px; border-color: color-mix(in srgb, var(--chert-orange) 55%, var(--chert-dark-border)); }
.fl-shot__frame { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--chert-dark-border); }
.fl-shot__frame span { width: 9px; height: 9px; border-radius: 50%; background: var(--chert-dark-border); }
.fl-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.fl-shot figcaption { padding: 12px 16px 14px; font-size: 14px; color: var(--chert-dark-muted); }
[lang="ar"] .fl-shot figcaption, [lang="ar"] .fl-cap li, [lang="ar"] .fl-engine__kicker, [lang="ar"] .fl-ship__steps li { unicode-bidi: plaintext; }

[lang="ar"] .sx-eyebrow { text-transform: none; }

/* Arabic: labels that mix Arabic with Latin product names ("لماذا CHERT") take their direction from
   their first strong character, like shell.css does for text blocks; Arabic never sits in the mono face. */
[lang="ar"] .sx-nav__links a, [lang="ar"] .sx-nav__actions a, [lang="ar"] .btn, [lang="ar"] .sx-btn-ghost,
[lang="ar"] .sx-jbtn, [lang="ar"] .sx-foot__links a, [lang="ar"] .fl-ship__eta span { unicode-bidi: plaintext; }
[lang="ar"] span.fl-engine__link, [lang="ar"] .fl-ship__foot { font-family: var(--font-ar); font-size: 13px; unicode-bidi: plaintext; }
