/* REBOTA WORLD — photo and video layer (world/_media.php), 19 Oct 2026.
   Hero clips play behind the 3D earth; a dark shade keeps the headline readable. */
.rw-hero.has-media { background: #000; }
/* No live blur over moving video: the browser would re-blur every frame (stutter). Solid bars instead. */
body:has(.rw-hero.has-media) .rw-hd, body:has(.rw-hero.has-media) .rw-hd.scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(6,9,15,.94) !important; }
body:has(.rw-hero.has-media) .rw-ticker { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(6,9,15,.82) !important; }
.rw-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.rw-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.rw-slide.on { opacity: 1; }
/* Clips play at their own 1080p, never scaled (sharp, like egig.in); photos get a slow zoom. */
.rw-slide video, .rw-slide > img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes rwKen { from { transform: scale(1.1); } to { transform: scale(1.02); } }
.rw-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 40%, rgba(0,0,0,.08) 70%, rgba(0,0,0,.2) 100%),
              linear-gradient(0deg, rgba(0,0,0,.8), transparent 45%), linear-gradient(180deg, rgba(0,0,0,.55), transparent 22%); }
/* The earth stays over the clips; on desktop world.js draws it on the right end, the copy goes left. */
.rw-hero.has-media canvas { z-index: 1; }
/* The earth lives in the platform section on these pages (world.js moves it there). */
.rw-pglobe { position: relative; overflow: hidden; }
.rw-pglobe > #rwGlobe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; transform: none; }
.rw-pglobe > .wrap { position: relative; z-index: 1; pointer-events: none; }
.rw-pglobe > .wrap a, .rw-pglobe > .wrap button { pointer-events: auto; }
@media (min-width: 900px) { .rw-pglobe > .wrap > * { max-width: 64vw; } }
@media (max-width: 899px) { .rw-pglobe > #rwGlobe { opacity: .35; pointer-events: none; } }
.rw-hero.has-media .rw-scroll { display: none; }
@media (min-width: 900px) {
  .rw-hero.has-media .wrap { padding-left: var(--gut); }
  .rw-hero.has-media .wrap > * { max-width: 46vw; }
  .rw-hero.has-media .rw-drag { left: auto; right: 22vw; transform: translateX(50%); }
}
.rw-chip { position: absolute; z-index: 3; right: max(24px, 2.2%); bottom: 12%; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(10,10,10,.82); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.rw-chip img { width: 30px; height: 30px; border-radius: 8px; }
.rw-chip b { display: block; font: 600 15px/1.2 Inter, system-ui, sans-serif; }
.rw-chip small { display: block; font: 500 12px/1.3 Inter, system-ui, sans-serif; color: rgba(255,255,255,.7); }
.rw-chip.in { animation: rwChip .6s .25s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rwChip { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* The chip sits bottom-right, over the generator's sparkle mark. */
.rw-sctl { position: absolute; z-index: 3; right: max(24px, 2.2%); bottom: calc(12% + 70px); display: flex; align-items: center; gap: 12px; }
.rw-spause { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35); cursor: pointer; display: grid; place-items: center; padding: 0; }
.rw-spause i { width: 8px; height: 10px; border-left: 2px solid #fff; border-right: 2px solid #fff; }
.rw-hero.is-paused .rw-spause i { width: 0; height: 0; border: 0; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.rw-sdots { display: flex; gap: 6px; }
.rw-sdots button { width: 26px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.rw-sdots i { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); }
.rw-sdots button.on i { background: #1F6FEB; }
.rw-spause:focus-visible, .rw-sdots button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Band below the hero: surreal "business turning into data" image + sub-industry photos. */
.rw-band { position: relative; background: #000; color: #fff; overflow: hidden; padding: clamp(80px, 10vw, 150px) 0; }
.rw-band > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.rw-band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.86) 38%, rgba(0,0,0,.25) 78%), linear-gradient(0deg, #000, transparent 40%); }
.rw-band .wrap { position: relative; z-index: 2; }
.rw-band .rw-kick { color: rgba(255,255,255,.55); }
.rw-band h2 { color: #fff; max-width: 18ch; }
.rw-band h2 span { color: #1F6FEB; }
.rw-band .lede { margin-top: 24px; max-width: 56ch; color: rgba(255,255,255,.74); font-size: var(--t-l, 19px); line-height: 1.5; }
.rw-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 48px 0 0; padding: 0; list-style: none; }
.rw-gal li { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; border: 1px solid rgba(255,255,255,.14); background: #111; }
.rw-gal a { position: absolute; inset: 0; color: inherit; text-decoration: none; }
.rw-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.rw-gal li:hover img { transform: scale(1.06); }
.rw-gal .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; background: linear-gradient(0deg, rgba(0,0,0,.88), transparent); }
.rw-gal .cap b { display: block; font: 600 16px/1.25 Inter, system-ui, sans-serif; }
.rw-gal .cap small { display: block; margin-top: 2px; font: 500 12px/1.3 Inter, system-ui, sans-serif; color: rgba(255,255,255,.66); }

/* Texture behind the ecosystem section; photo behind the closing call to action. */
.rw-tex { background-color: #000 !important; background-image: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)), var(--tex); background-size: cover; background-position: center; }
.rw-final.has-bg { position: relative; background: linear-gradient(90deg, rgba(31,111,235,.97) 0%, rgba(31,111,235,.85) 45%, rgba(31,111,235,.5) 100%), var(--bgimg) center / cover no-repeat, #1F6FEB; }

/* Related links (world/_media.php rwRelated) */
.rw-rel { padding: clamp(56px, 7vw, 96px) 0; }
.rw-rel-l { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.rw-rel-l a { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(127,127,127,.35); color: inherit; text-decoration: none; font: 500 15px/1.3 Inter, system-ui, sans-serif; }
.rw-rel-l a:hover { border-color: #1F6FEB; color: #1F6FEB; }

/* Lower sections, freelancer.com-style: dark, full-bleed artwork and clips (19 Oct 2026). */
.rw-secvid { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
/* Never scaled (full 1080p); a dark corner hides the generator's mark. */
.rw-secvid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rw-secvid::after { content: ''; position: absolute; inset: 0; background: radial-gradient(260px 180px at 100% 100%, #000 30%, transparent 100%), linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.3) 100%), linear-gradient(0deg, rgba(0,0,0,.6), transparent 40%); }
.rw-final.has-vid, .rw-contact.has-vid { position: relative; overflow: hidden; background: #000; }
.rw-final.has-vid > .wrap, .rw-contact.has-vid > .wrap { position: relative; z-index: 1; }
.rw-final.has-vid h2 span:nth-child(odd) i { color: #fff; } .rw-final.has-vid h2 span:nth-child(even) i { color: #1F6FEB; }
.rw-final.has-vid .btn-p { background: #1F6FEB; color: #fff; }
.rw-contact.has-vid .rw-secvid::after { background: linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,.6)); }
.rw-contact.has-vid .rw-ct { background: rgba(0,0,0,.6); }
.rw-fmgrid { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); column-gap: 32px; border-top: 1px solid rgba(255,255,255,.16); }
.rw-fmgrid a { display: flex; justify-content: space-between; gap: 12px; padding: 17px 2px; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.86); text-decoration: none; font: 500 16px/1.3 Inter, system-ui, sans-serif; transition: color .2s, padding .2s; }
.rw-fmgrid a::after { content: '→'; color: #1F6FEB; opacity: 0; transition: opacity .2s; }
.rw-fmgrid a:hover { color: #fff; padding-left: 8px; } .rw-fmgrid a:hover::after { opacity: 1; }
.rw-fmgrid a.all { color: #1F6FEB; font-weight: 600; } .rw-fmgrid a.all::after { content: none; }
#countries.rw-cx { background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55) 40%, rgba(0,0,0,.92) 85%), var(--tex) center top / 100% auto no-repeat, #000 !important; color: #fff; --tx: #fff; --tx-2: rgba(255,255,255,.72); --tx-3: rgba(255,255,255,.5); --line: rgba(255,255,255,.16); }
#countries.rw-cx .rw-state { color: #fff !important; }
#countries.rw-cx .rw-kick { color: rgba(255,255,255,.55); }
#countries.rw-cx .rw-cty, #countries.rw-cx .rw-cty h3, #countries.rw-cx .rw-cty dd { color: #fff; }
#countries.rw-cx .rw-cty:hover { background: rgba(31,111,235,.18) !important; }
#countries.rw-cx .rw-find input { background: rgba(0,0,0,.55); color: #fff; border-color: rgba(255,255,255,.22); }
#countries.rw-cx .rw-find input::placeholder { color: rgba(255,255,255,.45); }
#countries.rw-cx .rw-reg button { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.22); }
#countries.rw-cx .rw-reg button.on { background: #1F6FEB; border-color: #1F6FEB; color: #fff; }
.rw-apps.has-photo { background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.9)), var(--bgimg) center / cover no-repeat, #000 !important; }
.rw-apps.has-photo .rw-app { background: rgba(0,0,0,.55); }
.rw-rel.rw-tex .rw-rel-l a { color: rgba(255,255,255,.88); border-color: rgba(255,255,255,.22); background: rgba(0,0,0,.45); }
.rw-rel.rw-tex .rw-rel-l a:hover { color: #fff; border-color: #1F6FEB; }
/* Sub-industry photos as a mosaic: the first tile large, the rest around it. */
.rw-gal.rw-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); }
.rw-gal.rw-mosaic li { aspect-ratio: auto; }
.rw-gal.rw-mosaic li:first-child { grid-column: span 2; grid-row: span 2; }
.rw-gal.rw-mosaic li:first-child .cap b { font-size: 22px; }
.rw-gal.rw-mosaic li:nth-child(4):last-child, .rw-gal.rw-mosaic li:nth-child(5):nth-last-child(2), .rw-gal.rw-mosaic li:nth-child(6):last-child { grid-column: span 2; }
@media (max-width: 760px) {
  .rw-gal.rw-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; }
  .rw-gal.rw-mosaic li:nth-child(n+2) { grid-column: auto; }
  .rw-fmgrid { grid-template-columns: 1fr; }
}

/* Sector page middle (_sector-flow.php, 20 Oct 2026): photos as full-bleed backgrounds, freelancer.com-style. */
.fx-who { position: relative; min-height: min(100vh, 920px); display: flex; align-items: flex-end; color: #fff; background: #000; overflow: hidden; padding: clamp(110px, 14vw, 180px) 0 40px; }
.fx-who-bg, .fx-bg { position: absolute; inset: 0; }
.fx-bg { background-size: cover; background-position: center; }
.fx-who-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.12) 100%), linear-gradient(0deg, rgba(0,0,0,.92), transparent 42%); }
.fx-who > .wrap { position: relative; z-index: 1; width: 100%; }
.fx-who h2 { color: #fff; max-width: 16ch; font-size: clamp(34px, 4.4vw, 68px) !important; }
.fx-st-hd h2 { font-size: clamp(34px, 4.4vw, 68px) !important; } .fx-who h2 span { color: #1F6FEB; }
.fx-lede { margin-top: 22px; max-width: 52ch; color: rgba(255,255,255,.8); font-size: var(--t-l, 19px); line-height: 1.5; }
.fx-cta { margin-top: 28px; display: inline-flex; }
.fx-tabs { margin-top: clamp(40px, 8vh, 90px); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid rgba(255,255,255,.22); }
.fx-tabs { list-style: none; padding: 0; margin-bottom: 0; }
.fx-tabs li { border-top: 2px solid transparent; margin-top: -1px; color: rgba(255,255,255,.82); padding: 16px 14px 6px 0; display: grid; gap: 6px; }
.fx-tabs li:first-child { border-top-color: #1F6FEB; }
.fx-tabs i { font-style: normal; font-size: 11px; letter-spacing: .1em; }
.fx-tabs b { font: 600 16px/1.25 Inter, system-ui, sans-serif; }
.fx-stages { position: relative; color: #fff; padding: clamp(90px, 11vw, 160px) 0; background: linear-gradient(180deg, rgba(0,0,0,.92), rgba(0,0,0,.68) 40%, rgba(0,0,0,.94)), var(--bgimg, none) center / cover no-repeat, #000; }
.fx-st-hd { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.fx-st-hd h2 { color: #fff; } .fx-st-hd h2 span { color: #1F6FEB; }
.fx-st-hd p { color: rgba(255,255,255,.76); font-size: var(--t-l, 19px); line-height: 1.5; margin: 0; }
.fx-st { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid rgba(255,255,255,.2); }
.fx-st li { padding: 26px 22px 8px 0; margin-right: 22px; border-right: 1px solid rgba(255,255,255,.12); }
.fx-st li:last-child { border-right: 0; margin-right: 0; }
.fx-n { color: #1F6FEB; font-size: 12px; letter-spacing: .1em; }
.fx-st h3 { font: 700 24px/1.05 var(--f-uc, sans-serif); text-transform: uppercase; margin: 12px 0 8px; color: #fff; }
.fx-l { color: #fff; font-weight: 600; margin: 0 0 10px; }
.fx-d { color: rgba(255,255,255,.66); font-size: 14.5px; line-height: 1.5; margin: 0; }
.fx-m { margin: 16px 0 4px; font-size: 10.5px; letter-spacing: .08em; color: #6EA8FF; text-transform: uppercase; }
.fx-r { margin: 0; font-size: 10.5px; letter-spacing: .06em; color: rgba(255,255,255,.55); text-transform: uppercase; } .fx-r i { font-style: normal; color: #1F6FEB; }
.fx-cover.has-vid { position: relative; overflow: hidden; background: #000 !important; }
.fx-cover.has-vid > .wrap { position: relative; z-index: 1; }
.fx-cover.has-vid .rw-secvid::after { background: radial-gradient(260px 180px at 100% 100%, #000 30%, transparent 100%), linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.7) 60%, rgba(0,0,0,.55)); }
/* Tighter rhythm: less empty space between sections. */
.rw-sec, .fx-stages, .ux-cover { padding-top: clamp(64px, 7vw, 112px) !important; padding-bottom: clamp(64px, 7vw, 112px) !important; }
.rw-rel { padding-top: 56px !important; padding-bottom: 56px !important; }
/* Home: ten industry panels, each photo a full-bleed background, two per band (index.php). */
.fx-ind-hd { color: #fff; padding: clamp(64px, 7vw, 112px) 0 clamp(40px, 4vw, 64px); background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.55)), var(--bgimg, none) center / cover no-repeat, #000; }
.fx-ind-hd h2 span { color: #1F6FEB; }
.fx-ind { background: #000; }
/* One industry per full-width section: its photo behind, the copy on one side (alternating). */
.fx-ip { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; padding: clamp(72px, 8vw, 120px) 0; color: #fff; background-size: cover; background-position: center; background-color: #0b0f17; isolation: isolate; }
.fx-ip::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.12) 78%), linear-gradient(0deg, rgba(0,0,0,.55), transparent 40%); }
.fx-ip-r::before { background: linear-gradient(270deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.12) 78%), linear-gradient(0deg, rgba(0,0,0,.55), transparent 40%); }
.fx-ip > .wrap { width: 100%; }
.fx-ip-in { max-width: 620px; display: grid; gap: 14px; }
.fx-ip-r .fx-ip-in { margin-left: auto; }
.fx-ip .fx-n { color: #6EA8FF; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.fx-ip h3 { font: 700 clamp(34px, 4.2vw, 64px)/.95 var(--f-uc, sans-serif); text-transform: uppercase; margin: 0; }
.fx-ip-line { margin: 0; color: #1F6FEB; font: 700 clamp(18px, 1.7vw, 24px)/1.2 var(--f-uc, sans-serif); text-transform: uppercase; }
.fx-ip-intro { margin: 0; color: rgba(255,255,255,.8); font-size: 17px; line-height: 1.55; }
.fx-ip-g { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin-top: 10px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.fx-ip-g b { display: block; font: 700 15px/1.2 var(--f-uc, sans-serif); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.fx-ip-g span { display: block; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.5; }
.fx-ip-who { margin: 6px 0 0; color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.6; }
.fx-ip-acts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 10px; }
.fx-go { color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; } .fx-go:hover { color: #6EA8FF; }
@media (max-width: 760px) {
  .fx-ip { min-height: 0; padding: 72px 0 56px; }
  .fx-ip::before, .fx-ip-r::before { background: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.78) 60%, rgba(0,0,0,.45) 100%); }
  .fx-ip-g { grid-template-columns: 1fr; }
}
#countries:not(.fx-all) .rw-cty:nth-child(n+9) { display: none; }
.fx-more { margin-top: 22px; background: none; border: 1px solid var(--line); color: var(--tx); border-radius: 999px; height: 44px; padding: 0 22px; cursor: pointer; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.fx-more:hover { border-color: #1F6FEB; color: #1F6FEB; }
#countries.fx-all .fx-more { display: none; }
@media (max-width: 760px) {
  .fx-who { min-height: auto; padding-top: 96px; }
  .fx-tabs { grid-template-columns: 1fr 1fr; }
  .fx-st-hd { grid-template-columns: 1fr; gap: 20px; }
  .fx-st { grid-template-columns: 1fr; margin-top: 40px; }
  .fx-st li { border-right: 0; margin-right: 0; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
}

@media (max-width: 980px) {
  .rw-shade { background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.35) 100%); }
  .rw-chip { right: 12px; bottom: 12px; top: auto; padding: 8px 12px 8px 8px; } .rw-chip img { width: 24px; height: 24px; } .rw-chip b { font-size: 13px; }
  .rw-sctl { right: auto; left: var(--gut, 16px); bottom: 22px; top: auto; }
  .rw-hero.has-media .wrap { padding-bottom: 84px; padding-top: 140px; justify-content: flex-end; }
  .rw-hero.has-media .rw-scroll { display: none; }
  .rw-band > .bg { object-position: 70% center; opacity: .6; }
}
/* Phones: the whole width of each hero clip is shown (16:9 band under the header, like egig.in), copy below it. */
@media (max-width: 760px) {
  .rw-hero.has-media { --vb: calc(env(safe-area-inset-top, 0px) + 92px); --vh: 56.25vw; }
  .rw-hero.has-media { min-height: 0 !important; height: auto !important; max-height: none !important; }
  .rw-hero.has-media .rw-slides { top: var(--vb); bottom: auto; height: var(--vh); }
  .rw-hero.has-media .rw-shade { background: linear-gradient(180deg, #000 0, transparent var(--vb), transparent calc(var(--vb) + var(--vh) - 60px), #000 calc(var(--vb) + var(--vh))); }
  .rw-hero.has-media .rw-chip { top: calc(var(--vb) + var(--vh) - 44px); bottom: auto; right: 6px; padding: 5px 9px 5px 5px; gap: 7px; border-radius: 10px; }
  .rw-hero.has-media .rw-chip img { width: 20px; height: 20px; } .rw-hero.has-media .rw-chip b { font-size: 12px; } .rw-hero.has-media .rw-chip small { font-size: 10px; }
  .rw-hero.has-media .rw-sctl { top: calc(var(--vb) + var(--vh) + 12px); bottom: auto; left: var(--gut, 16px); right: auto; }
  .rw-hero.has-media .wrap { justify-content: flex-start; padding-top: calc(var(--vb) + var(--vh) + 56px); padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .rw-slide.on > img, .rw-chip.in { animation: none; }
}
/* Phones (19 Oct 2026): hero clip 20% bigger than the 16:9 band, centred on it and overlapping its edges (text stays put);
   every section photo / clip uses the same 16:9 x1.2 frame at the top of its section, fading to black, copy below. */
@media (max-width: 760px) {
  .rw-hero.has-media { overflow: hidden; }
  .rw-hero.has-media .rw-slides { top: calc(var(--vb) - 5.625vw); height: 67.5vw; left: -10vw; right: auto; width: 120vw; }
  .fx-ip, .fx-ind-hd { background-size: 120vw 67.5vw !important; background-position: center top !important; background-repeat: no-repeat !important; background-color: #000 !important; }
  .fx-ip { padding-top: 54vw; }
  .fx-ip::before, .fx-ip-r::before { background: linear-gradient(180deg, rgba(0,0,0,.15) 0, rgba(0,0,0,.25) 40vw, #000 67.5vw, #000 100%); }
  .fx-ind-hd { background: linear-gradient(180deg, rgba(0,0,0,.2) 0, #000 67.5vw), var(--bgimg, none) center top / 120vw 67.5vw no-repeat, #000 !important; padding-top: 54vw; }
  .fx-stages { background: linear-gradient(180deg, rgba(0,0,0,.2) 0, #000 67.5vw), var(--bgimg, none) center top / 120vw 67.5vw no-repeat, #000; padding-top: 54vw !important; }
  .rw-apps.has-photo { background: linear-gradient(180deg, rgba(0,0,0,.2) 0, #000 67.5vw), var(--bgimg) center top / 120vw 67.5vw no-repeat, #000 !important; padding-top: 54vw !important; }
  .rw-final.has-bg { background: linear-gradient(180deg, rgba(31,111,235,.3) 0, #1F6FEB 67.5vw), var(--bgimg) center top / 120vw 67.5vw no-repeat, #1F6FEB; padding-top: 54vw !important; }
  .rw-tex { background-image: linear-gradient(180deg, rgba(0,0,0,.2) 0, #000 67.5vw), var(--tex); background-size: 100% 100%, 120vw 67.5vw; background-position: 0 0, center top; background-repeat: no-repeat; padding-top: 54vw !important; }
  .fx-who { padding-top: 54vw; }
  .fx-who-bg { left: -10vw; right: auto; width: 120vw; bottom: auto; height: 67.5vw; }
  .fx-who-bg::after { background: linear-gradient(180deg, rgba(0,0,0,.15) 40%, #000 100%); }
  .rw-secvid { left: -10vw; right: auto; width: 120vw; bottom: auto; height: 67.5vw; }
  .rw-secvid::after, .fx-cover.has-vid .rw-secvid::after, .rw-contact.has-vid .rw-secvid::after { background: linear-gradient(180deg, rgba(0,0,0,.15) 40%, #000 100%); }
  .fx-cover.has-vid, .rw-contact.has-vid, .has-vid { padding-top: 54vw !important; }
}
/* Phones: no gap between the clip controls and the copy below them. */
@media (max-width: 760px) {
  .rw-hero.has-media .rw-sctl { top: calc(var(--vb) + var(--vh) + 8px); }
  .rw-hero.has-media .wrap { padding-top: calc(var(--vb) + var(--vh) + 50px) !important; min-height: 0 !important; justify-content: flex-start !important; }
  .rw-hero.has-media .wrap > :first-child { margin-top: 0 !important; }
}
/* Home industry sections: the whole section opens its sector page (stretched link), "Start free" stays its own link. */
.fx-ip { cursor: pointer; }
.fx-ip .fx-ip-acts .btn-p { position: static; }
.fx-ip .fx-ip-acts .btn-p::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.fx-ip .fx-go, .fx-ip a:not(.btn-p) { position: relative; z-index: 2; }
.fx-ip .fx-ip-in { user-select: text; }
/* Phones: hero clip frame as in the owner's screenshot (full width, about 62.5vw tall, controls just under it). */
@media (max-width: 760px) {
  .rw-hero.has-media .rw-slides { top: calc(var(--vb) - 3.1vw); height: 62.5vw; left: 0; right: 0; width: 100vw; }
  .rw-hero.has-media .rw-chip { top: calc(var(--vb) + 59.4vw - 50px); }
  .rw-hero.has-media .rw-sctl { top: calc(var(--vb) + 59.4vw + 10px); }
  .rw-hero.has-media .wrap { padding-top: calc(var(--vb) + 59.4vw + 54px) !important; }
  .rw-hero.has-media .rw-shade { background: linear-gradient(180deg, #000 0, transparent calc(var(--vb) - 3vw), transparent calc(var(--vb) + 52vw), #000 calc(var(--vb) + 59.4vw)); }
}
/* Phones: the clip zoomed a little and carried down behind the pause button and slide bars. */
@media (max-width: 760px) {
  .rw-hero.has-media .rw-slides { height: calc(62.5vw + 52px); width: calc(100vw + 84px); left: -42px; right: auto; }
  .rw-hero.has-media .rw-shade { background: linear-gradient(180deg, #000 0, transparent calc(var(--vb) - 3vw), transparent calc(var(--vb) + 59.4vw + 10px), #000 calc(var(--vb) + 59.4vw + 52px)); }
}
/* Header buttons over the hero clips: their own backgrounds so they read on any frame. */
.rw-signin { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.22); color: #fff !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rw-signin:hover { border-color: #1F6FEB; background: rgba(31,111,235,.18); }
header .btn.btn-p { background: #1F6FEB; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 4px 16px rgba(0,0,0,.45), 0 0 0 1px rgba(31,111,235,.35); }
/* Header on phones/tablets: the Sign in button sits at the right, next to the menu button. */
@media (max-width: 980px) {
  .rw-hd .wrap > .btn-p { margin-left: auto; margin-right: 10px; }
}
/* 20 Oct 2026: header = text-style "Sign in" + blue "Start free". Sign in takes the free space, Start free sits beside it. */
.rw-signin { height: 34px; padding: 0 14px; font: 500 13px/1 var(--f-t, Inter, sans-serif); white-space: nowrap; }
/* 20 Oct 2026: order swapped, "Start free" first, then "Sign in". */
.rw-hd .btn-p + .rw-signin { margin-left: 10px; }
@media (max-width: 980px) { .rw-hd .wrap > .btn-p { margin-right: 0; } .rw-signin { margin-right: 10px; height: 32px; padding: 0 12px; } .rw-hd .btn-p + .rw-signin { margin-left: 8px; } }
@media (max-width: 370px) { .rw-signin { display: none; } .rw-hd .wrap > .btn-p { margin-left: auto !important; } }
/* Sticky "Start free" bar on phones and tablets (20 Oct 2026): sector pages ran ~11 screens without a sign-up button.
   Shown once the hero is passed, hidden while another Start-free button is on screen (world/assets/media.js). */
.rw-sticky { display: none; }
@media (max-width: 980px) {
  .rw-sticky { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px; background: rgba(10,10,10,.94); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 30px rgba(0,0,0,.5); color: #fff; transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.7,.2,1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .rw-sticky.on { transform: none; }
  .rw-sticky[hidden] { display: none; }
  .rw-sticky span { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
  .rw-sticky b { font: 600 14px/1.15 var(--f-t, Inter, sans-serif); }
  .rw-sticky small { font: 500 11.5px/1.2 var(--f-t, Inter, sans-serif); color: rgba(255,255,255,.66); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rw-sticky .btn-p { flex: none; height: 42px; padding: 0 16px; background: #1F6FEB; border-color: #1F6FEB; }
  body.rw-lead-on .rw-sticky, body.rw-menu-on .rw-sticky { transform: translateY(140%); }
}
/* Free plan note under the hero buttons (20 Oct 2026, world/index.php + sector.php). */
.rw-hero-foot .acts .rw-free { flex-basis: 100%; margin-top: 2px; font-size: 11px; color: rgba(255,255,255,.72); letter-spacing: .06em; }
