/* Home — the hero is the CargoX Group hero (OneNote · Sections Website · "Cargo Group"),
   rebuilt in plain CSS/JS: the world map is now Syria, the yellow is the emblem's gold. */
.sw-hero {
  --dir: 1;
  position: relative; display: flex; flex-direction: column; min-height: 100svh; min-height: max(100svh, 720px);
  margin-top: -76px; padding-top: 76px; overflow: hidden; isolation: isolate; color: var(--white);
  background: radial-gradient(90% 80% at 75% 30%, var(--green-700), var(--green-950) 70%);
}
html[dir="rtl"] .sw-hero { --dir: -1; }
.sw-hero-film { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sw-hero::before { /* keeps white type legible over any frame of the film */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(6 26 14 / .62), rgb(6 26 14 / .1) 55%, rgb(6 26 14 / .45)), linear-gradient(0deg, rgb(6 26 14 / .7), transparent 38%);
}
html[dir="rtl"] .sw-hero::before { transform: scaleX(-1); }
.sw-hero-body { display: flex; flex-direction: column; flex: 1; opacity: 0; transition: opacity .3s; }
.sw-hero.is-ready .sw-hero-body { opacity: 1; }

.sw-hero-main {
  flex: 1; display: grid; grid-template-columns: minmax(0, 2.17fr) minmax(0, 1fr); align-items: start;
  gap: clamp(20px, 4vh, 48px); padding: clamp(24px, 7vh, 110px) var(--gut) 0;
}
.sw-h1 { overflow: clip; font: 800 clamp(50px, min(13.5vh, 10.5vw), 210px)/.8 var(--f-display); letter-spacing: -.01em; text-transform: uppercase; }
html[lang="ar"] .sw-h1 { font-size: clamp(54px, min(12vh, 9vw), 170px); line-height: 1.08; letter-spacing: 0; }
.sw-h1 span {
  display: block; opacity: 0; transform: translateX(calc(var(--from) * var(--dir)));
  transition: transform .85s var(--ease), opacity .85s var(--ease);
}
.sw-h1 span:nth-child(1) { --from: -900px; }
.sw-h1 span:nth-child(2) { --from: 900px; margin-inline-start: .52em; color: var(--gold-300); transition-delay: .13s; }
.sw-h1 span:nth-child(3) { --from: -900px; transition-delay: .26s; }
.is-ready .sw-h1 span { opacity: 1; transform: none; }

.sw-hero-side { display: flex; flex-direction: column; gap: clamp(14px, 2.4vh, 30px); }
.sw-tag { font: 500 clamp(21px, min(3.4vh, 2.4vw), 40px)/1.02 var(--f-text); letter-spacing: -.02em; }
html[lang="ar"] .sw-tag { line-height: 1.35; letter-spacing: 0; }
.sw-tag > span { display: block; white-space: nowrap; }
.sw-tag > span:nth-child(2) { margin-inline-start: 1.4em; }
.sw-tag i {
  display: inline-block; font-style: normal; margin-inline-end: .24em; opacity: 0;
  transform: translateY(100%) perspective(600px) rotateX(45deg);
  transition: transform .6s var(--ease), opacity .6s var(--ease); transition-delay: var(--d);
}
.is-ready .sw-tag i { opacity: 1; transform: none; }
.sw-hero-note { max-width: 34ch; font-size: clamp(13px, min(1.6vh, 1.1vw), 17px); line-height: 1.35; color: var(--on-dark-70); opacity: 0; transition: opacity .6s 2.3s; }
.is-ready .sw-hero-note { opacity: 1; }

.sw-hero-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(12px, 3vh, 32px) var(--gut) clamp(18px, 5vh, 60px);
}
.sw-stat { display: flex; align-items: center; gap: .9em; opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease) .45s, transform .65s var(--ease) .45s; }
.is-ready .sw-stat { opacity: 1; transform: none; }
.sw-stat b { font: 800 clamp(56px, min(9vh, 6.5vw), 110px)/1 var(--f-display); color: var(--gold-300); }
.sw-stat span { font-size: clamp(15px, min(1.7vh, 1.2vw), 19px); line-height: 1.25; }
.sw-stat i { flex: none; display: grid; place-items: center; width: clamp(42px, min(5.6vh, 4vw), 66px); aspect-ratio: 1; border-radius: 50%; background: var(--white); color: var(--green-900); }
.sw-stat i svg { width: 62%; }

/* the pill with a ring cut out of its end, straight from the CargoX spec */
.sw-pill {
  position: relative; display: block; flex: none; height: clamp(50px, min(6.2vh, 4.6vw), 68px); aspect-ratio: 434 / 68;
  color: var(--green-950); text-decoration: none; opacity: 0; transform: translateX(calc(60px * var(--dir)));
  transition: opacity .7s var(--ease) .5s, transform .7s var(--ease) .5s;
}
.is-ready .sw-pill { opacity: 1; transform: none; }
.is-ready .sw-pill:hover { transform: scale(1.06) translateY(-2px); transition-delay: 0s; }
.sw-pill > svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--gold-300); }
html[dir="rtl"] .sw-pill > svg { transform: scaleX(-1); }
.sw-pill-arrow { position: absolute; inset-inline-end: 0; top: 3.6%; width: 15.6%; height: 92%; display: grid; place-items: center; }
.sw-pill-arrow svg { width: 38%; transform: rotate(calc(-135deg * var(--dir))); transition: transform .35s cubic-bezier(.25, .46, .45, .94); }
.sw-pill:hover .sw-pill-arrow svg { transform: rotate(calc(-90deg * var(--dir))); }
.sw-pill-label { position: absolute; inset-inline: 0 15.6%; top: 50%; transform: translateY(-50%); text-align: center; font-weight: 600; font-size: clamp(15px, min(1.8vh, 1.3vw), 20px); white-space: nowrap; }

@media (max-width: 900px) {
  .sw-hero-main { grid-template-columns: 1fr; }
  .sw-hero-foot { flex-direction: column; align-items: stretch; }
  .sw-pill { width: 100%; height: 58px; aspect-ratio: auto; }
  .sw-pill > svg { display: none; }
  .sw-pill { border-radius: 999px; background: var(--gold-300); }
  .sw-pill-arrow { display: none; }
  .sw-pill-label { inset-inline: 0; }
  .sw-hero-note { display: none; }
  .sw-tag > span { white-space: normal; }
  .sw-tag > span:nth-child(2) { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-h1 span, .sw-tag i, .sw-stat, .sw-pill, .sw-hero-note { transition: none !important; }
}

/* ── the Syria map ──────────────────────────────────── */
.sw-map { position: relative; aspect-ratio: 1000 / 797; }
.sw-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; direction: ltr; } /* neighbours run on past the frame; anchors stay physical in RTL */
.sw-map .land { fill: rgb(255 255 255 / .045); stroke: rgb(255 255 255 / .12); stroke-width: 1; }
.sw-map .prov { fill: rgb(255 255 255 / .1); stroke: rgb(255 255 255 / .38); stroke-width: 1.1; stroke-linejoin: round; transition: fill .25s; }
.sw-map .prov.is-hot { fill: rgb(240 196 106 / .42); }
.sw-map .feed { fill: none; stroke: var(--gold-300); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sw-map .reach { fill: none; stroke: rgb(255 255 255 / .55); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sw-map.is-live .feed, .sw-map.is-live .reach { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s ease-in-out var(--d); }
.sw-map .dot { transform-box: fill-box; transform-origin: center; transform: scale(0); fill: var(--white); }
.sw-map.is-live .dot { transform: scale(1); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1) var(--d); }
.sw-map .hub { fill: var(--gold-300); }
.sw-map .port rect { fill: var(--gold-300); stroke: var(--green-950); stroke-width: 3; }
.sw-map .port, .sw-map .lbl { opacity: 0; }
.sw-map.is-live .port, .sw-map.is-live .lbl { opacity: 1; transition: opacity .5s var(--d); }
.sw-map .lbl { font: 600 22px/1 var(--f-text); fill: var(--white); paint-order: stroke; stroke: rgb(6 26 14 / .75); stroke-width: 5px; stroke-linejoin: round; }
.sw-map .lbl.is-port { fill: var(--gold-300); font-size: 24px; }
.sw-map .lbl.is-prov { font-size: 19px; font-weight: 500; fill: rgb(255 255 255 / .8); }
.sw-map .arrow { fill: var(--gold-300); opacity: 0; }
.sw-map.is-live .arrow { opacity: 1; transition: opacity .4s 1.7s; }
/* on concrete */
.sw-map.is-light .land { fill: rgb(12 42 23 / .05); stroke: rgb(12 42 23 / .1); }
.sw-map.is-light .prov { fill: rgb(12 42 23 / .1); stroke: var(--stone-50); stroke-width: 2; }
.sw-map.is-light .prov.is-hot { fill: var(--gold-300); }
.sw-map.is-light .reach { stroke: rgb(12 42 23 / .45); }
.sw-map.is-light .feed, .sw-map.is-light .arrow, .sw-map.is-light .hub { stroke: var(--gold-500); fill: var(--gold-500); }
.sw-map.is-light .feed { fill: none; }
.sw-map.is-light .dot:not(.hub) { fill: var(--green-900); }
.sw-map.is-light .lbl { fill: var(--green-900); stroke: rgb(238 237 232 / .85); }
.sw-map.is-light .lbl.is-port { fill: #8a5a1c; }
@media (prefers-reduced-motion: reduce) { .sw-map * { transition: none !important; } .sw-map .arrow { display: none; } }

/* ── home sections ──────────────────────────────────── */
.sw-provinces { padding: 26px 0; background: var(--gold-300); color: var(--green-950); font: 800 clamp(40px, 7vw, 92px)/1 var(--f-display); text-transform: uppercase; }
.sw-provinces .vs-velocity-marquee { --vs-velocity-marquee-gap: .45em; --vs-velocity-marquee-speed: 60; --vs-velocity-marquee-skew: 8; }
.sw-provinces .vs-velocity-marquee-spin { width: .62em; height: .62em; }
.vs-spotlight-grid {
  --vs-spotlight-grid-accent: var(--gold-300); --vs-spotlight-grid-card: #10331d; --vs-spotlight-grid-ink: #fff;
  --vs-spotlight-grid-muted: rgb(255 255 255 / .62); --vs-spotlight-grid-line: rgb(255 255 255 / .1); --vs-spotlight-grid-font: var(--f-text);
}
.vs-stack-cards { --vs-stack-cards-paper: var(--stone-50); --vs-stack-cards-ink: var(--green-900); --vs-stack-cards-accent: var(--gold-500); --vs-stack-cards-top: 96px; width: min(1040px, 100%); }
.sw-sec .vs-stack-cards, .sw-sec .vs-stack-cards-tab { font-family: var(--f-text); }
.sw-sec .vs-stack-cards-num, .sw-sec .vs-stack-cards-title { font-family: var(--f-display); font-weight: 800; }
.vs-stack-cards-seal { font-family: "Cairo", sans-serif; font-weight: 800; }
.vs-logo-cloud { --vs-logo-cloud-ink: var(--green-900); --vs-logo-cloud-rest: .7; --vs-logo-cloud-size: clamp(2rem, 4vw, 3.4rem); --vs-logo-cloud-gap: 4.5rem; --vs-logo-cloud-font: var(--f-display); }
.vs-logo-cloud-logo { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.vs-logo-cloud-label { font-size: 15px; }
.sw-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px); }
.sw-about .vs-chrome-logo { --vs-chrome-logo-bg: var(--green-950); --vs-chrome-logo-light: #ffbf5e; --vs-chrome-logo-height: min(72svh, 640px); --vs-chrome-logo-idle: .3; border-radius: 28px; }
.sw-about p { max-width: 46ch; margin-top: 22px; color: var(--on-dark-70); font-size: 18px; }
.sw-about p:first-of-type { color: var(--white); font-size: 22px; }
@media (max-width: 900px) { .sw-about { grid-template-columns: 1fr; } .sw-about .vs-chrome-logo { --vs-chrome-logo-height: 420px; } }
.sw-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 96px); }
@media (max-width: 900px) { .sw-faq { grid-template-columns: 1fr; } }
.sw-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.sw-end .vs-split-flap-button { --vs-split-flap-size: clamp(1.1rem, 2.6vw, 1.7rem); }
.vs-ink-preloader-ghost * { vector-effect: non-scaling-stroke; }   /* the outline stays a hairline at any size */

/* logo images inside the brand marquee, and the link under it */
.vs-logo-cloud-logo img { display: block; height: 1.15em; width: auto; max-width: 9em; object-fit: contain; }
.sw-brands-more { margin: 10px 0 0; text-align: center; }
.sw-link { color: var(--green-900); font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-decoration-color: var(--gold-500); }

.vs-logo-cloud-logo img.is-tall { height: 1.7em; max-width: 6em; }
